Remove bogus GTK_OBJECT cast. Hopefully got it right now...
2003-02-14 Matthias Clasen <maclas@gmx.de> * gtk/gtktextview.c (popup_targets_received): Remove bogus GTK_OBJECT cast. Hopefully got it right now... (gtk_text_view_move_cursor_internal): Add a default: to avoid compiler warnings.
This commit is contained in:
committed by
Matthias Clasen
parent
4cd9b035c7
commit
ea243d2ea9
@@ -1,3 +1,10 @@
|
||||
2003-02-14 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextview.c (popup_targets_received): Remove bogus
|
||||
GTK_OBJECT cast. Hopefully got it right now...
|
||||
(gtk_text_view_move_cursor_internal): Add a default: to avoid
|
||||
compiler warnings.
|
||||
|
||||
2003-02-14 Glynn Foster <glynn.foster@sun.com>
|
||||
|
||||
* gtk/gtktextview.c: (popup_targets_received): Use g_signal_connect
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
2003-02-14 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextview.c (popup_targets_received): Remove bogus
|
||||
GTK_OBJECT cast. Hopefully got it right now...
|
||||
(gtk_text_view_move_cursor_internal): Add a default: to avoid
|
||||
compiler warnings.
|
||||
|
||||
2003-02-14 Glynn Foster <glynn.foster@sun.com>
|
||||
|
||||
* gtk/gtktextview.c: (popup_targets_received): Use g_signal_connect
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
2003-02-14 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextview.c (popup_targets_received): Remove bogus
|
||||
GTK_OBJECT cast. Hopefully got it right now...
|
||||
(gtk_text_view_move_cursor_internal): Add a default: to avoid
|
||||
compiler warnings.
|
||||
|
||||
2003-02-14 Glynn Foster <glynn.foster@sun.com>
|
||||
|
||||
* gtk/gtktextview.c: (popup_targets_received): Use g_signal_connect
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
2003-02-14 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextview.c (popup_targets_received): Remove bogus
|
||||
GTK_OBJECT cast. Hopefully got it right now...
|
||||
(gtk_text_view_move_cursor_internal): Add a default: to avoid
|
||||
compiler warnings.
|
||||
|
||||
2003-02-14 Glynn Foster <glynn.foster@sun.com>
|
||||
|
||||
* gtk/gtktextview.c: (popup_targets_received): Use g_signal_connect
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
2003-02-14 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktextview.c (popup_targets_received): Remove bogus
|
||||
GTK_OBJECT cast. Hopefully got it right now...
|
||||
(gtk_text_view_move_cursor_internal): Add a default: to avoid
|
||||
compiler warnings.
|
||||
|
||||
2003-02-14 Glynn Foster <glynn.foster@sun.com>
|
||||
|
||||
* gtk/gtktextview.c: (popup_targets_received): Use g_signal_connect
|
||||
|
||||
@@ -4569,6 +4569,9 @@ gtk_text_view_move_cursor_internal (GtkTextView *text_view,
|
||||
case GTK_MOVEMENT_PARAGRAPHS:
|
||||
adj = get_vadjustment (text_view);
|
||||
break;
|
||||
default:
|
||||
adj = get_vadjustment (text_view);
|
||||
break;
|
||||
}
|
||||
|
||||
if (count > 0)
|
||||
@@ -6563,7 +6566,7 @@ popup_targets_received (GtkClipboard *clipboard,
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL (text_view->popup_menu), menuitem);
|
||||
|
||||
menuitem = gtk_menu_item_new_with_label (_("Select All"));
|
||||
g_signal_connect (G_OBJECT (menuitem), "activate",
|
||||
g_signal_connect (menuitem, "activate",
|
||||
G_CALLBACK (select_all_cb), text_view);
|
||||
gtk_widget_show (menuitem);
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL (text_view->popup_menu), menuitem);
|
||||
|
||||
Reference in New Issue
Block a user