Commit 49c1e6dc authored by Havoc Pennington's avatar Havoc Pennington Committed by Havoc Pennington

fixes to compile with G_DISABLE_COMPAT

2001-06-29  Havoc Pennington  <hp@redhat.com>

       * Throughout: fixes to compile with G_DISABLE_COMPAT
	(s/g_signal_connectc/g_signal_connect/,
	s/g_signal_newc/g_signal_new/,
	s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func/)
parent 1bbcf039
2001-06-29 Havoc Pennington <hp@redhat.com>
* Throughout: fixes to compile with G_DISABLE_COMPAT
(s/g_signal_connectc/g_signal_connect/,
s/g_signal_newc/g_signal_new/,
s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func/)
Fri Jun 29 03:14:16 2001 Jonathan Blandford <jrb@webwynk.net> Fri Jun 29 03:14:16 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
......
2001-06-29 Havoc Pennington <hp@redhat.com>
* Throughout: fixes to compile with G_DISABLE_COMPAT
(s/g_signal_connectc/g_signal_connect/,
s/g_signal_newc/g_signal_new/,
s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func/)
Fri Jun 29 03:14:16 2001 Jonathan Blandford <jrb@webwynk.net> Fri Jun 29 03:14:16 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
......
2001-06-29 Havoc Pennington <hp@redhat.com>
* Throughout: fixes to compile with G_DISABLE_COMPAT
(s/g_signal_connectc/g_signal_connect/,
s/g_signal_newc/g_signal_new/,
s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func/)
Fri Jun 29 03:14:16 2001 Jonathan Blandford <jrb@webwynk.net> Fri Jun 29 03:14:16 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
......
2001-06-29 Havoc Pennington <hp@redhat.com>
* Throughout: fixes to compile with G_DISABLE_COMPAT
(s/g_signal_connectc/g_signal_connect/,
s/g_signal_newc/g_signal_new/,
s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func/)
Fri Jun 29 03:14:16 2001 Jonathan Blandford <jrb@webwynk.net> Fri Jun 29 03:14:16 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
......
2001-06-29 Havoc Pennington <hp@redhat.com>
* Throughout: fixes to compile with G_DISABLE_COMPAT
(s/g_signal_connectc/g_signal_connect/,
s/g_signal_newc/g_signal_new/,
s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func/)
Fri Jun 29 03:14:16 2001 Jonathan Blandford <jrb@webwynk.net> Fri Jun 29 03:14:16 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
......
2001-06-29 Havoc Pennington <hp@redhat.com>
* Throughout: fixes to compile with G_DISABLE_COMPAT
(s/g_signal_connectc/g_signal_connect/,
s/g_signal_newc/g_signal_new/,
s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func/)
Fri Jun 29 03:14:16 2001 Jonathan Blandford <jrb@webwynk.net> Fri Jun 29 03:14:16 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
......
2001-06-29 Havoc Pennington <hp@redhat.com>
* Throughout: fixes to compile with G_DISABLE_COMPAT
(s/g_signal_connectc/g_signal_connect/,
s/g_signal_newc/g_signal_new/,
s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func/)
Fri Jun 29 03:14:16 2001 Jonathan Blandford <jrb@webwynk.net> Fri Jun 29 03:14:16 2001 Jonathan Blandford <jrb@webwynk.net>
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach): * gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
......
...@@ -23,11 +23,10 @@ menuitem_cb (gpointer callback_data, ...@@ -23,11 +23,10 @@ menuitem_cb (gpointer callback_data,
gtk_item_factory_path_from_widget (widget)); gtk_item_factory_path_from_widget (widget));
/* Close dialog on user response */ /* Close dialog on user response */
g_signal_connectc (G_OBJECT (dialog), g_signal_connect (G_OBJECT (dialog),
"response", "response",
G_CALLBACK (gtk_widget_destroy), G_CALLBACK (gtk_widget_destroy),
NULL, NULL);
FALSE);
gtk_widget_show (dialog); gtk_widget_show (dialog);
} }
...@@ -71,11 +70,10 @@ toolbar_cb (GtkWidget *button, ...@@ -71,11 +70,10 @@ toolbar_cb (GtkWidget *button,
"You selected a toolbar button"); "You selected a toolbar button");
/* Close dialog on user response */ /* Close dialog on user response */
g_signal_connectc (G_OBJECT (dialog), g_signal_connect (G_OBJECT (dialog),
"response", "response",
G_CALLBACK (gtk_widget_destroy), G_CALLBACK (gtk_widget_destroy),
NULL, NULL);
FALSE);
gtk_widget_show (dialog); gtk_widget_show (dialog);
} }
...@@ -201,9 +199,9 @@ do_appwindow (void) ...@@ -201,9 +199,9 @@ do_appwindow (void)
gtk_window_set_title (GTK_WINDOW (window), "Application Window"); gtk_window_set_title (GTK_WINDOW (window), "Application Window");
/* NULL window variable when window is closed */ /* NULL window variable when window is closed */
g_signal_connectc (G_OBJECT (window), "destroy", g_signal_connect (G_OBJECT (window), "destroy",
G_CALLBACK (gtk_widget_destroyed), G_CALLBACK (gtk_widget_destroyed),
&window, FALSE); &window);
table = gtk_table_new (1, 4, FALSE); table = gtk_table_new (1, 4, FALSE);
...@@ -314,15 +312,15 @@ do_appwindow (void) ...@@ -314,15 +312,15 @@ do_appwindow (void)
/* Show text widget info in the statusbar */ /* Show text widget info in the statusbar */
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (contents)); buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (contents));
g_signal_connectc (G_OBJECT (buffer), g_signal_connect (G_OBJECT (buffer),
"changed", "changed",
G_CALLBACK (update_statusbar), G_CALLBACK (update_statusbar),
statusbar, FALSE); statusbar);
g_signal_connectc (G_OBJECT (buffer), g_signal_connect (G_OBJECT (buffer),
"mark_set", /* cursor moved */ "mark_set", /* cursor moved */
G_CALLBACK (mark_set_callback), G_CALLBACK (mark_set_callback),
statusbar, FALSE); statusbar);
update_statusbar (buffer, GTK_STATUSBAR (statusbar)); update_statusbar (buffer, GTK_STATUSBAR (statusbar));
} }
......
...@@ -716,8 +716,8 @@ create_tree (void) ...@@ -716,8 +716,8 @@ create_tree (void)
gtk_tree_view_append_column (GTK_TREE_VIEW (tree_view), gtk_tree_view_append_column (GTK_TREE_VIEW (tree_view),
GTK_TREE_VIEW_COLUMN (column)); GTK_TREE_VIEW_COLUMN (column));
g_signal_connectc (G_OBJECT (selection), "changed", GTK_SIGNAL_FUNC (selection_cb), model, FALSE); g_signal_connect (G_OBJECT (selection), "changed", GTK_SIGNAL_FUNC (selection_cb), model);
gtk_signal_connect (GTK_OBJECT (tree_view), "row_activated", GTK_SIGNAL_FUNC (row_activated_cb), model); g_signal_connect (G_OBJECT (tree_view), "row_activated", GTK_SIGNAL_FUNC (row_activated_cb), model);
return tree_view; return tree_view;
} }
......
...@@ -40,6 +40,7 @@ GtkTreeSelection ...@@ -40,6 +40,7 @@ GtkTreeSelection
</para> </para>
@model: @model:
@path:
@iter: @iter:
@data: @data:
......
2001-06-29 Havoc Pennington <hp@redhat.com>
* gdk-pixbuf-loader.c (gdk_pixbuf_loader_class_init): fix for
G_DISABLE_COMPAT
Thu Jun 28 21:54:19 2001 Owen Taylor <otaylor@redhat.com> Thu Jun 28 21:54:19 2001 Owen Taylor <otaylor@redhat.com>
* make-inline-pixbuf.c test-gdk-pixbuf.c test-loaders.c * make-inline-pixbuf.c test-gdk-pixbuf.c test-loaders.c
......
...@@ -112,35 +112,35 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class) ...@@ -112,35 +112,35 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
object_class->finalize = gdk_pixbuf_loader_finalize; object_class->finalize = gdk_pixbuf_loader_finalize;
pixbuf_loader_signals[AREA_PREPARED] = pixbuf_loader_signals[AREA_PREPARED] =
g_signal_newc ("area_prepared", g_signal_new ("area_prepared",
G_TYPE_FROM_CLASS (object_class), G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkPixbufLoaderClass, area_prepared), G_STRUCT_OFFSET (GdkPixbufLoaderClass, area_prepared),
NULL, NULL, NULL, NULL,
gdk_pixbuf_marshal_VOID__VOID, gdk_pixbuf_marshal_VOID__VOID,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
pixbuf_loader_signals[AREA_UPDATED] = pixbuf_loader_signals[AREA_UPDATED] =
g_signal_newc ("area_updated", g_signal_new ("area_updated",
G_TYPE_FROM_CLASS (object_class), G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkPixbufLoaderClass, area_updated), G_STRUCT_OFFSET (GdkPixbufLoaderClass, area_updated),
NULL, NULL, NULL, NULL,
gdk_pixbuf_marshal_VOID__INT_INT_INT_INT, gdk_pixbuf_marshal_VOID__INT_INT_INT_INT,
G_TYPE_NONE, 4, G_TYPE_NONE, 4,
G_TYPE_INT, G_TYPE_INT,
G_TYPE_INT, G_TYPE_INT,
G_TYPE_INT, G_TYPE_INT,
G_TYPE_INT); G_TYPE_INT);
pixbuf_loader_signals[CLOSED] = pixbuf_loader_signals[CLOSED] =
g_signal_newc ("closed", g_signal_new ("closed",
G_TYPE_FROM_CLASS (object_class), G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkPixbufLoaderClass, closed), G_STRUCT_OFFSET (GdkPixbufLoaderClass, closed),
NULL, NULL, NULL, NULL,
gdk_pixbuf_marshal_VOID__VOID, gdk_pixbuf_marshal_VOID__VOID,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
} }
static void static void
......
...@@ -1556,9 +1556,9 @@ gtk_entry_focus_out (GtkWidget *widget, ...@@ -1556,9 +1556,9 @@ gtk_entry_focus_out (GtkWidget *widget,
gtk_entry_check_cursor_blink (entry); gtk_entry_check_cursor_blink (entry);
g_signal_disconnect_by_func (gdk_keymap_get_default (), g_signal_handlers_disconnect_by_func (gdk_keymap_get_default (),
gtk_entry_keymap_direction_changed, gtk_entry_keymap_direction_changed,
entry); entry);
return FALSE; return FALSE;
} }
......
...@@ -443,24 +443,24 @@ gtk_notebook_class_init (GtkNotebookClass *class) ...@@ -443,24 +443,24 @@ gtk_notebook_class_init (GtkNotebookClass *class)
GTK_TYPE_POINTER, GTK_TYPE_POINTER,
GTK_TYPE_UINT); GTK_TYPE_UINT);
notebook_signals[FOCUS_TAB] = notebook_signals[FOCUS_TAB] =
g_signal_newc ("focus_tab", g_signal_new ("focus_tab",
G_TYPE_FROM_CLASS (object_class), G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkNotebookClass, focus_tab), G_STRUCT_OFFSET (GtkNotebookClass, focus_tab),
NULL, NULL, NULL, NULL,
gtk_marshal_VOID__ENUM, gtk_marshal_VOID__ENUM,
G_TYPE_NONE, 1, G_TYPE_NONE, 1,
GTK_TYPE_NOTEBOOK_TAB); GTK_TYPE_NOTEBOOK_TAB);
notebook_signals[SELECT_PAGE] = notebook_signals[SELECT_PAGE] =
g_signal_newc ("select_page", g_signal_new ("select_page",
G_TYPE_FROM_CLASS (object_class), G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkNotebookClass, select_page), G_STRUCT_OFFSET (GtkNotebookClass, select_page),
NULL, NULL, NULL, NULL,
gtk_marshal_VOID__BOOLEAN, gtk_marshal_VOID__BOOLEAN,
G_TYPE_NONE, 1, G_TYPE_NONE, 1,
G_TYPE_BOOLEAN); G_TYPE_BOOLEAN);
binding_set = gtk_binding_set_by_class (object_class); binding_set = gtk_binding_set_by_class (object_class);
gtk_binding_entry_add_signal (binding_set, gtk_binding_entry_add_signal (binding_set,
GDK_Return, 0, GDK_Return, 0,
......
...@@ -132,13 +132,13 @@ gtk_option_menu_class_init (GtkOptionMenuClass *class) ...@@ -132,13 +132,13 @@ gtk_option_menu_class_init (GtkOptionMenuClass *class)
parent_class = gtk_type_class (gtk_button_get_type ()); parent_class = gtk_type_class (gtk_button_get_type ());
signals[CHANGED] = signals[CHANGED] =
g_signal_newc ("changed", g_signal_new ("changed",
G_OBJECT_CLASS_TYPE (class), G_OBJECT_CLASS_TYPE (class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkOptionMenuClass, changed), G_STRUCT_OFFSET (GtkOptionMenuClass, changed),
NULL, NULL, NULL, NULL,
gtk_marshal_VOID__VOID, gtk_marshal_VOID__VOID,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
object_class->destroy = gtk_option_menu_destroy; object_class->destroy = gtk_option_menu_destroy;
......
...@@ -226,24 +226,24 @@ gtk_range_class_init (GtkRangeClass *class) ...@@ -226,24 +226,24 @@ gtk_range_class_init (GtkRangeClass *class)
class->stepper_detail = "stepper"; class->stepper_detail = "stepper";
signals[VALUE_CHANGED] = signals[VALUE_CHANGED] =
g_signal_newc ("value_changed", g_signal_new ("value_changed",
G_TYPE_FROM_CLASS (object_class), G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkRangeClass, value_changed), G_STRUCT_OFFSET (GtkRangeClass, value_changed),
NULL, NULL, NULL, NULL,
gtk_marshal_NONE__NONE, gtk_marshal_NONE__NONE,
G_TYPE_NONE, 0); G_TYPE_NONE, 0);
signals[MOVE_SLIDER] = signals[MOVE_SLIDER] =
g_signal_newc ("move_slider", g_signal_new ("move_slider",
G_TYPE_FROM_CLASS (object_class), G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION, G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkRangeClass, move_slider), G_STRUCT_OFFSET (GtkRangeClass, move_slider),
NULL, NULL, NULL, NULL,
gtk_marshal_VOID__ENUM, gtk_marshal_VOID__ENUM,
G_TYPE_NONE, 1, G_TYPE_NONE, 1,
GTK_TYPE_SCROLL_TYPE); GTK_TYPE_SCROLL_TYPE);
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_UPDATE_POLICY, PROP_UPDATE_POLICY,
......
...@@ -133,14 +133,14 @@ gtk_scale_class_init (GtkScaleClass *class) ...@@ -133,14 +133,14 @@ gtk_scale_class_init (GtkScaleClass *class)
range_class->get_range_border = gtk_scale_get_range_border; range_class->get_range_border = gtk_scale_get_range_border;
signals[FORMAT_VALUE] = signals[FORMAT_VALUE] =
g_signal_newc ("format_value", g_signal_new ("format_value",
G_TYPE_FROM_CLASS (object_class), G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkScaleClass, format_value), G_STRUCT_OFFSET (GtkScaleClass, format_value),
single_string_accumulator, NULL, single_string_accumulator, NULL,
gtk_marshal_STRING__DOUBLE, gtk_marshal_STRING__DOUBLE,
G_TYPE_STRING, 1, G_TYPE_STRING, 1,
G_TYPE_DOUBLE); G_TYPE_DOUBLE);
g_object_class_install_property (gobject_class, g_object_class_install_property (gobject_class,
PROP_DIGITS, PROP_DIGITS,
......
...@@ -283,13 +283,13 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class) ...@@ -283,13 +283,13 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
GTK_TYPE_INT, 1, GTK_TYPE_POINTER); GTK_TYPE_INT, 1, GTK_TYPE_POINTER);
spinbutton_signals[OUTPUT] = spinbutton_signals[OUTPUT] =
g_signal_newc ("output", g_signal_new ("output",
G_TYPE_FROM_CLASS(object_class), G_TYPE_FROM_CLASS(object_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET(GtkSpinButtonClass, output), G_STRUCT_OFFSET(GtkSpinButtonClass, output),
_gtk_boolean_handled_accumulator, NULL, _gtk_boolean_handled_accumulator, NULL,
gtk_marshal_BOOLEAN__VOID, gtk_marshal_BOOLEAN__VOID,
G_TYPE_BOOLEAN, 0); G_TYPE_BOOLEAN, 0);
spinbutton_signals[VALUE_CHANGED] = spinbutton_signals[VALUE_CHANGED] =
gtk_signal_new ("value_changed", gtk_signal_new ("value_changed",
......
...@@ -158,142 +158,142 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass) ...@@ -158,142 +158,142 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
klass->changed = gtk_text_buffer_real_changed; klass->changed = gtk_text_buffer_real_changed;
signals[INSERT_TEXT] = signals[INSERT_TEXT] =
g_signal_newc ("insert_text", g_signal_new ("insert_text",
G_OBJECT_CLASS_TYPE (object_class), G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, insert_text), G_STRUCT_OFFSET (GtkTextBufferClass, insert_text),
NULL, NULL, NULL, NULL,
gtk_marshal_VOID__BOXED_STRING_INT, gtk_marshal_VOID__BOXED_STRING_INT,
GTK_TYPE_NONE, GTK_TYPE_NONE,
3, 3,
GTK_TYPE_TEXT_ITER | G_SIGNAL_TYPE_STATIC_SCOPE, GTK_TYPE_TEXT_ITER | G_SIGNAL_TYPE_STATIC_SCOPE,
GTK_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE, GTK_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE,
GTK_TYPE_INT); GTK_TYPE_INT);
signals[INSERT_PIXBUF] = signals[INSERT_PIXBUF] =
g_signal_newc ("insert_pixbuf", g_signal_new ("insert_pixbuf",
G_OBJECT_CLASS_TYPE (object_class), G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, insert_pixbuf), G_STRUCT_OFFSET (GtkTextBufferClass, insert_pixbuf),
NULL, NULL, NULL, NULL,
gtk_marshal_VOID__BOXED_OBJECT, gtk_marshal_VOID__BOXED_OBJECT,
GTK_TYPE_NONE, GTK_TYPE_NONE,
2, 2,
GTK_TYPE_TEXT_ITER | G_SIGNAL_TYPE_STATIC_SCOPE, GTK_TYPE_TEXT_ITER | G_SIGNAL_TYPE_STATIC_SCOPE,
GDK_TYPE_PIXBUF); GDK_TYPE_PIXBUF);
signals[INSERT_CHILD_ANCHOR] = signals[INSERT_CHILD_ANCHOR] =
g_signal_newc ("insert_child_anchor", g_signal_new ("insert_child_anchor",
G_OBJECT_CLASS_TYPE (object_class), G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, insert_child_anchor), G_STRUCT_OFFSET (GtkTextBufferClass, insert_child_anchor),
NULL, NULL, NULL, NULL,
gtk_marshal_VOID__BOXED_OBJECT, gtk_marshal_VOID__BOXED_OBJECT,
GTK_TYPE_NONE, GTK_TYPE_NONE,
2, 2,
GTK_TYPE_TEXT_ITER | G_SIGNAL_TYPE_STATIC_SCOPE, GTK_TYPE_TEXT_ITER | G_SIGNAL_TYPE_STATIC_SCOPE,
GTK_TYPE_TEXT_CHILD_ANCHOR); GTK_TYPE_TEXT_CHILD_ANCHOR);
signals[DELETE_RANGE] = signals[DELETE_RANGE] =
g_signal_newc ("delete_range", g_signal_new ("delete_range",
G_OBJECT_CLASS_TYPE (object_class), G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, delete_range), G_STRUCT_OFFSET (GtkTextBufferClass, delete_range),
NULL, NULL, NULL, NULL,
gtk_marshal_VOID__BOXED_BOXED, gtk_marshal_VOID__BOXED_BOXED,
GTK_TYPE_NONE, GTK_TYPE_NONE,
2, 2,
GTK_TYPE_TEXT_ITER | G_SIGNAL_TYPE_STATIC_SCOPE, GTK_TYPE_TEXT_ITER | G_SIGNAL_TYPE_STATIC_SCOPE,
GTK_TYPE_TEXT_ITER | G_SIGNAL_TYPE_STATIC_SCOPE); GTK_TYPE_TEXT_ITER | G_SIGNAL_TYPE_STATIC_SCOPE);
signals[CHANGED] = signals[CHANGED] =
g_signal_newc ("changed", g_signal_new ("changed",
G_OBJECT_CLASS_TYPE (object_class), G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, changed), G_STRUCT_OFFSET (GtkTextBufferClass, changed),
NULL, NULL, NULL, NULL,
gtk_marshal_VOID__VOID, gtk_marshal_VOID__VOID,
GTK_TYPE_NONE, GTK_TYPE_NONE,
0); 0);
signals[MODIFIED_CHANGED] = signals[MODIFIED_CHANGED] =
g_signal_newc ("modified_changed", g_signal_new ("modified_changed",
G_OBJECT_CLASS_TYPE (object_class), G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, modified_changed), G_STRUCT_OFFSET (GtkTextBufferClass, modified_changed),
NULL, NULL, NULL, NULL,
gtk_marshal_VOID__VOID, gtk_marshal_VOID__VOID,
GTK_TYPE_NONE, GTK_TYPE_NONE,
0); 0);
signals[MARK_SET] = signals[MARK_SET] =
g_signal_newc ("mark_set", g_signal_new ("mark_set",
G_OBJECT_CLASS_TYPE (object_class), G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, mark_set), G_STRUCT_OFFSET (GtkTextBufferClass, mark_set),
NULL, NULL, NULL, NULL,
gtk_marshal_VOID__BOXED_OBJECT, gtk_marshal_VOID__BOXED_OBJECT,
GTK_TYPE_NONE, GTK_TYPE_NONE,
2, 2,
GTK_TYPE_TEXT_ITER, GTK_TYPE_TEXT_ITER,
GTK_TYPE_TEXT_MARK); GTK_TYPE_TEXT_MARK);
signals[MARK_DELETED] = signals[MARK_DELETED] =
g_signal_newc ("mark_deleted", g_signal_new ("mark_deleted",
G_OBJECT_CLASS_TYPE (object_class), G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST, G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, mark_deleted), G_STRUCT_OFFSET (GtkTextBufferClass, mark_deleted),
NULL, NULL, NULL, NULL,
gtk_marshal_VOID__OBJECT,