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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* gtk/gtktreeselection.c (gtk_tree_selection_selected_foreach):
......
......@@ -23,11 +23,10 @@ menuitem_cb (gpointer callback_data,
gtk_item_factory_path_from_widget (widget));
/* Close dialog on user response */
g_signal_connectc (G_OBJECT (dialog),
g_signal_connect (G_OBJECT (dialog),
"response",
G_CALLBACK (gtk_widget_destroy),
NULL,
FALSE);
NULL);
gtk_widget_show (dialog);
}
......@@ -71,11 +70,10 @@ toolbar_cb (GtkWidget *button,
"You selected a toolbar button");
/* Close dialog on user response */
g_signal_connectc (G_OBJECT (dialog),
g_signal_connect (G_OBJECT (dialog),
"response",
G_CALLBACK (gtk_widget_destroy),
NULL,
FALSE);
NULL);
gtk_widget_show (dialog);
}
......@@ -201,9 +199,9 @@ do_appwindow (void)
gtk_window_set_title (GTK_WINDOW (window), "Application Window");
/* 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),
&window, FALSE);
&window);
table = gtk_table_new (1, 4, FALSE);
......@@ -314,15 +312,15 @@ do_appwindow (void)
/* Show text widget info in the statusbar */
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (contents));
g_signal_connectc (G_OBJECT (buffer),
g_signal_connect (G_OBJECT (buffer),
"changed",
G_CALLBACK (update_statusbar),
statusbar, FALSE);
statusbar);
g_signal_connectc (G_OBJECT (buffer),
g_signal_connect (G_OBJECT (buffer),
"mark_set", /* cursor moved */
G_CALLBACK (mark_set_callback),
statusbar, FALSE);
statusbar);
update_statusbar (buffer, GTK_STATUSBAR (statusbar));
}
......
......@@ -716,8 +716,8 @@ create_tree (void)
gtk_tree_view_append_column (GTK_TREE_VIEW (tree_view),
GTK_TREE_VIEW_COLUMN (column));
g_signal_connectc (G_OBJECT (selection), "changed", GTK_SIGNAL_FUNC (selection_cb), model, FALSE);
gtk_signal_connect (GTK_OBJECT (tree_view), "row_activated", GTK_SIGNAL_FUNC (row_activated_cb), model);
g_signal_connect (G_OBJECT (selection), "changed", GTK_SIGNAL_FUNC (selection_cb), model);
g_signal_connect (G_OBJECT (tree_view), "row_activated", GTK_SIGNAL_FUNC (row_activated_cb), model);
return tree_view;
}
......
......@@ -40,6 +40,7 @@ GtkTreeSelection
</para>
@model:
@path:
@iter:
@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>
* make-inline-pixbuf.c test-gdk-pixbuf.c test-loaders.c
......
......@@ -112,7 +112,7 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
object_class->finalize = gdk_pixbuf_loader_finalize;
pixbuf_loader_signals[AREA_PREPARED] =
g_signal_newc ("area_prepared",
g_signal_new ("area_prepared",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkPixbufLoaderClass, area_prepared),
......@@ -121,7 +121,7 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
G_TYPE_NONE, 0);
pixbuf_loader_signals[AREA_UPDATED] =
g_signal_newc ("area_updated",
g_signal_new ("area_updated",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkPixbufLoaderClass, area_updated),
......@@ -134,7 +134,7 @@ gdk_pixbuf_loader_class_init (GdkPixbufLoaderClass *class)
G_TYPE_INT);
pixbuf_loader_signals[CLOSED] =
g_signal_newc ("closed",
g_signal_new ("closed",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GdkPixbufLoaderClass, closed),
......
......@@ -1556,7 +1556,7 @@ gtk_entry_focus_out (GtkWidget *widget,
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,
entry);
......
......@@ -443,7 +443,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
GTK_TYPE_POINTER,
GTK_TYPE_UINT);
notebook_signals[FOCUS_TAB] =
g_signal_newc ("focus_tab",
g_signal_new ("focus_tab",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkNotebookClass, focus_tab),
......@@ -452,7 +452,7 @@ gtk_notebook_class_init (GtkNotebookClass *class)
G_TYPE_NONE, 1,
GTK_TYPE_NOTEBOOK_TAB);
notebook_signals[SELECT_PAGE] =
g_signal_newc ("select_page",
g_signal_new ("select_page",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkNotebookClass, select_page),
......
......@@ -132,7 +132,7 @@ gtk_option_menu_class_init (GtkOptionMenuClass *class)
parent_class = gtk_type_class (gtk_button_get_type ());
signals[CHANGED] =
g_signal_newc ("changed",
g_signal_new ("changed",
G_OBJECT_CLASS_TYPE (class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkOptionMenuClass, changed),
......
......@@ -226,7 +226,7 @@ gtk_range_class_init (GtkRangeClass *class)
class->stepper_detail = "stepper";
signals[VALUE_CHANGED] =
g_signal_newc ("value_changed",
g_signal_new ("value_changed",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkRangeClass, value_changed),
......@@ -235,7 +235,7 @@ gtk_range_class_init (GtkRangeClass *class)
G_TYPE_NONE, 0);
signals[MOVE_SLIDER] =
g_signal_newc ("move_slider",
g_signal_new ("move_slider",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
G_STRUCT_OFFSET (GtkRangeClass, move_slider),
......
......@@ -133,7 +133,7 @@ gtk_scale_class_init (GtkScaleClass *class)
range_class->get_range_border = gtk_scale_get_range_border;
signals[FORMAT_VALUE] =
g_signal_newc ("format_value",
g_signal_new ("format_value",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkScaleClass, format_value),
......
......@@ -283,7 +283,7 @@ gtk_spin_button_class_init (GtkSpinButtonClass *class)
GTK_TYPE_INT, 1, GTK_TYPE_POINTER);
spinbutton_signals[OUTPUT] =
g_signal_newc ("output",
g_signal_new ("output",
G_TYPE_FROM_CLASS(object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET(GtkSpinButtonClass, output),
......
......@@ -158,7 +158,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
klass->changed = gtk_text_buffer_real_changed;
signals[INSERT_TEXT] =
g_signal_newc ("insert_text",
g_signal_new ("insert_text",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, insert_text),
......@@ -171,7 +171,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
GTK_TYPE_INT);
signals[INSERT_PIXBUF] =
g_signal_newc ("insert_pixbuf",
g_signal_new ("insert_pixbuf",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, insert_pixbuf),
......@@ -183,7 +183,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
GDK_TYPE_PIXBUF);
signals[INSERT_CHILD_ANCHOR] =
g_signal_newc ("insert_child_anchor",
g_signal_new ("insert_child_anchor",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, insert_child_anchor),
......@@ -195,7 +195,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
GTK_TYPE_TEXT_CHILD_ANCHOR);
signals[DELETE_RANGE] =
g_signal_newc ("delete_range",
g_signal_new ("delete_range",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, delete_range),
......@@ -207,7 +207,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
GTK_TYPE_TEXT_ITER | G_SIGNAL_TYPE_STATIC_SCOPE);
signals[CHANGED] =
g_signal_newc ("changed",
g_signal_new ("changed",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, changed),
......@@ -217,7 +217,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
0);
signals[MODIFIED_CHANGED] =
g_signal_newc ("modified_changed",
g_signal_new ("modified_changed",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, modified_changed),
......@@ -227,7 +227,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
0);
signals[MARK_SET] =
g_signal_newc ("mark_set",
g_signal_new ("mark_set",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, mark_set),
......@@ -239,7 +239,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
GTK_TYPE_TEXT_MARK);
signals[MARK_DELETED] =
g_signal_newc ("mark_deleted",
g_signal_new ("mark_deleted",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, mark_deleted),
......@@ -250,7 +250,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
GTK_TYPE_TEXT_MARK);
signals[APPLY_TAG] =
g_signal_newc ("apply_tag",
g_signal_new ("apply_tag",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, apply_tag),
......@@ -263,7 +263,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
GTK_TYPE_TEXT_ITER);
signals[REMOVE_TAG] =
g_signal_newc ("remove_tag",
g_signal_new ("remove_tag",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, remove_tag),
......@@ -276,7 +276,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
GTK_TYPE_TEXT_ITER);
signals[BEGIN_USER_ACTION] =
g_signal_newc ("begin_user_action",
g_signal_new ("begin_user_action",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, begin_user_action),
......@@ -286,7 +286,7 @@ gtk_text_buffer_class_init (GtkTextBufferClass *klass)
0);
signals[END_USER_ACTION] =
g_signal_newc ("end_user_action",
g_signal_new ("end_user_action",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextBufferClass, end_user_action),
......
......@@ -173,7 +173,7 @@ gtk_text_layout_class_init (GtkTextLayoutClass *klass)
klass->free_line_data = gtk_text_layout_real_free_line_data;
signals[INVALIDATED] =
g_signal_newc ("invalidated",
g_signal_new ("invalidated",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextLayoutClass, invalidated),
......@@ -183,7 +183,7 @@ gtk_text_layout_class_init (GtkTextLayoutClass *klass)
0);
signals[CHANGED] =
g_signal_newc ("changed",
g_signal_new ("changed",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextLayoutClass, changed),
......@@ -196,7 +196,7 @@ gtk_text_layout_class_init (GtkTextLayoutClass *klass)
GTK_TYPE_INT);
signals[ALLOCATE_CHILD] =
g_signal_newc ("allocate_child",
g_signal_new ("allocate_child",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextLayoutClass, allocate_child),
......
......@@ -616,7 +616,7 @@ gtk_text_tag_class_init (GtkTextTagClass *klass)
_("Whether this tag affects text visibility"));
signals[EVENT] =
g_signal_newc ("event",
g_signal_new ("event",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
GTK_SIGNAL_OFFSET (GtkTextTagClass, event),
......
......@@ -72,7 +72,7 @@ gtk_text_tag_table_class_init (GtkTextTagTableClass *klass)
object_class->finalize = gtk_text_tag_table_finalize;
signals[TAG_CHANGED] =
g_signal_newc ("tag_changed",
g_signal_new ("tag_changed",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextTagTableClass, tag_changed),
......@@ -84,7 +84,7 @@ gtk_text_tag_table_class_init (GtkTextTagTableClass *klass)
G_TYPE_BOOLEAN);
signals[TAG_ADDED] =
g_signal_newc ("tag_added",
g_signal_new ("tag_added",
GTK_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextTagTableClass, tag_added),
......@@ -95,7 +95,7 @@ gtk_text_tag_table_class_init (GtkTextTagTableClass *klass)
G_TYPE_OBJECT);
signals[TAG_REMOVED] =
g_signal_newc ("tag_removed",
g_signal_new ("tag_removed",
GTK_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTextTagTableClass, tag_removed),
......
......@@ -3439,7 +3439,7 @@ gtk_text_view_focus_out_event (GtkWidget *widget, GdkEventFocus *event)
gtk_text_view_check_cursor_blink (text_view);
}
g_signal_disconnect_by_func (gdk_keymap_get_default (),
g_signal_handlers_disconnect_by_func (gdk_keymap_get_default (),
keymap_direction_changed,
text_view);
......
......@@ -159,7 +159,7 @@ gtk_tips_query_class_init (GtkTipsQueryClass *class)
GTK_TYPE_STRING,
GTK_TYPE_STRING);
tips_query_signals[SIGNAL_WIDGET_SELECTED] =
g_signal_newc ("widget_selected",
g_signal_new ("widget_selected",
G_TYPE_FROM_CLASS(object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET(GtkTipsQueryClass, widget_selected),
......
......@@ -71,7 +71,7 @@ gtk_tree_model_base_init (gpointer g_class)
if (! initialized)
{
g_signal_newc ("range_changed",
g_signal_new ("range_changed",
GTK_TYPE_TREE_MODEL,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTreeModelIface, range_changed),
......@@ -82,7 +82,7 @@ gtk_tree_model_base_init (gpointer g_class)
GTK_TYPE_TREE_ITER,
GTK_TYPE_TREE_PATH,
GTK_TYPE_TREE_ITER);
g_signal_newc ("inserted",
g_signal_new ("inserted",
GTK_TYPE_TREE_MODEL,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTreeModelIface, inserted),
......@@ -91,7 +91,7 @@ gtk_tree_model_base_init (gpointer g_class)
G_TYPE_NONE, 2,
GTK_TYPE_TREE_PATH,
GTK_TYPE_TREE_ITER);
g_signal_newc ("has_child_toggled",
g_signal_new ("has_child_toggled",
GTK_TYPE_TREE_MODEL,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTreeModelIface, has_child_toggled),
......@@ -100,7 +100,7 @@ gtk_tree_model_base_init (gpointer g_class)
G_TYPE_NONE, 2,
GTK_TYPE_TREE_PATH,
GTK_TYPE_TREE_ITER);
g_signal_newc ("deleted",
g_signal_new ("deleted",
GTK_TYPE_TREE_MODEL,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTreeModelIface, deleted),
......@@ -108,7 +108,7 @@ gtk_tree_model_base_init (gpointer g_class)
gtk_marshal_VOID__BOXED,
G_TYPE_NONE, 1,
GTK_TYPE_TREE_PATH);
g_signal_newc ("reordered",
g_signal_new ("reordered",
GTK_TYPE_TREE_MODEL,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTreeModelIface, reordered),
......
......@@ -294,29 +294,25 @@ gtk_tree_model_sort_set_model (GtkTreeModelSort *tree_model_sort,
gint i, n_columns;
tree_model_sort->changed_id =
g_signal_connectc (child_model,
g_signal_connect (child_model,
"range_changed",
G_CALLBACK (gtk_tree_model_sort_range_changed),
tree_model_sort,
FALSE);
tree_model_sort);
tree_model_sort->inserted_id =
g_signal_connectc (child_model,
g_signal_connect (child_model,
"inserted",
G_CALLBACK (gtk_tree_model_sort_inserted),
tree_model_sort,
FALSE);
tree_model_sort);
tree_model_sort->has_child_toggled_id =
g_signal_connectc (child_model,
g_signal_connect (child_model,
"has_child_toggled",
G_CALLBACK (gtk_tree_model_sort_has_child_toggled),
tree_model_sort,
FALSE);
tree_model_sort);
tree_model_sort->deleted_id =
g_signal_connectc (child_model,
g_signal_connect (child_model,
"deleted",
G_CALLBACK (gtk_tree_model_sort_deleted),
tree_model_sort,
FALSE);
tree_model_sort);
tree_model_sort->flags = gtk_tree_model_get_flags (child_model);
n_columns = gtk_tree_model_get_n_columns (child_model);
......
......@@ -56,7 +56,7 @@ gtk_tree_sortable_base_init (gpointer g_class)
if (! initialized)
{
g_signal_newc ("sort_column_changed",
g_signal_new ("sort_column_changed",
GTK_TYPE_TREE_SORTABLE,
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTreeSortableIface, sort_column_changed),
......
......@@ -575,7 +575,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
GTK_TYPE_TREE_VIEW_COLUMN);
tree_view_signals[TEST_EXPAND_ROW] =
g_signal_newc ("test_expand_row",
g_signal_new ("test_expand_row",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTreeViewClass, test_expand_row),
......@@ -586,7 +586,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
GTK_TYPE_TREE_PATH);
tree_view_signals[TEST_COLLAPSE_ROW] =
g_signal_newc ("test_collapse_row",
g_signal_new ("test_collapse_row",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTreeViewClass, test_collapse_row),
......@@ -597,7 +597,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
GTK_TYPE_TREE_PATH);
tree_view_signals[ROW_EXPANDED] =
g_signal_newc ("row_expanded",
g_signal_new ("row_expanded",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTreeViewClass, row_expanded),
......@@ -608,7 +608,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
GTK_TYPE_TREE_PATH);
tree_view_signals[ROW_COLLAPSED] =
g_signal_newc ("row_collapsed",
g_signal_new ("row_collapsed",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTreeViewClass, row_collapsed),
......@@ -619,7 +619,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
GTK_TYPE_TREE_PATH);
tree_view_signals[COLUMNS_CHANGED] =
g_signal_newc ("columns_changed",
g_signal_new ("columns_changed",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (GtkTreeViewClass, columns_changed),
......@@ -628,7 +628,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
G_TYPE_NONE, 0);
tree_view_signals[BEGIN_EXTENDED_SELECTION] =
g_signal_newc ("begin_extended_selection",
g_signal_new ("begin_extended_selection",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | GTK_RUN_ACTION,
G_STRUCT_OFFSET (GtkTreeViewClass, begin_extended_selection),
......@@ -637,7 +637,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
G_TYPE_NONE, 0);
tree_view_signals[END_EXTENDED_SELECTION] =
g_signal_newc ("end_extended_selection",
g_signal_new ("end_extended_selection",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | GTK_RUN_ACTION,
G_STRUCT_OFFSET (GtkTreeViewClass, end_extended_selection),
......@@ -646,7 +646,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
G_TYPE_NONE, 0);
tree_view_signals[BEGIN_FREE_MOTION] =
g_signal_newc ("begin_free_motion",
g_signal_new ("begin_free_motion",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | GTK_RUN_ACTION,
G_STRUCT_OFFSET (GtkTreeViewClass, begin_free_motion),
......@@ -655,7 +655,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
G_TYPE_NONE, 0);
tree_view_signals[END_FREE_MOTION] =
g_signal_newc ("end_free_motion",
g_signal_new ("end_free_motion",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | GTK_RUN_ACTION,
G_STRUCT_OFFSET (GtkTreeViewClass, end_free_motion),
......@@ -664,7 +664,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
G_TYPE_NONE, 0);
tree_view_signals[MOVE_CURSOR] =
g_signal_newc ("move_cursor",
g_signal_new ("move_cursor",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | GTK_RUN_ACTION,
G_STRUCT_OFFSET (GtkTreeViewClass, move_cursor),
......@@ -673,7 +673,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
GTK_TYPE_NONE, 2, GTK_TYPE_MOVEMENT_STEP, GTK_TYPE_INT);
tree_view_signals[SELECT_CURSOR_ROW] =
g_signal_newc ("select_cursor_row",
g_signal_new ("select_cursor_row",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | GTK_RUN_ACTION,
G_STRUCT_OFFSET (GtkTreeViewClass, select_cursor_row),
......@@ -682,7 +682,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
GTK_TYPE_NONE, 0);
tree_view_signals[TOGGLE_CURSOR_ROW] =
g_signal_newc ("toggle_cursor_row",
g_signal_new ("toggle_cursor_row",
G_TYPE_FROM_CLASS (object_class),
G_SIGNAL_RUN_LAST | GTK_RUN_ACTION,
G_STRUCT_OFFSET (GtkTreeViewClass, toggle_cursor_row),
......@@ -691,7 +691,7 @@ gtk_tree_view_class_init (GtkTreeViewClass *class)
GTK_TYPE_NONE, 0);
tree_view_signals[EXPAND_COLLAPSE_CURSOR_ROW] =
g_signal_newc ("expand_collapse_cursor_row",
g_signal_new ("expand_collapse_cursor_row",