summaryrefslogtreecommitdiff
path: root/gtk/gtktreeviewcolumn.c
diff options
context:
space:
mode:
authorHavoc Pennington <hp@redhat.com>2001-06-29 16:30:25 +0000
committerHavoc Pennington <hp@src.gnome.org>2001-06-29 16:30:25 +0000
commit49c1e6dc8969a06d5b016700f3a64e31d082b7e3 (patch)
tree332dd8c4e49797a25d359f979ce5c796389dca5e /gtk/gtktreeviewcolumn.c
parent1bbcf0394f0d871d875a330394c6cc07281a177d (diff)
downloadgtk+-49c1e6dc8969a06d5b016700f3a64e31d082b7e3.tar.gz
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/)
Diffstat (limited to 'gtk/gtktreeviewcolumn.c')
-rw-r--r--gtk/gtktreeviewcolumn.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/gtk/gtktreeviewcolumn.c b/gtk/gtktreeviewcolumn.c
index 677a213ece..f79f6c2cdd 100644
--- a/gtk/gtktreeviewcolumn.c
+++ b/gtk/gtktreeviewcolumn.c
@@ -156,13 +156,13 @@ gtk_tree_view_column_class_init (GtkTreeViewColumnClass *class)
object_class->get_property = gtk_tree_view_column_get_property;
tree_column_signals[CLICKED] =
- g_signal_newc ("clicked",
- GTK_CLASS_TYPE (object_class),
- G_SIGNAL_RUN_LAST,
- G_STRUCT_OFFSET (GtkTreeViewColumnClass, clicked),
- NULL, NULL,
- gtk_marshal_VOID__VOID,
- GTK_TYPE_NONE, 0);
+ g_signal_new ("clicked",
+ GTK_CLASS_TYPE (object_class),
+ G_SIGNAL_RUN_LAST,
+ G_STRUCT_OFFSET (GtkTreeViewColumnClass, clicked),
+ NULL, NULL,
+ gtk_marshal_VOID__VOID,
+ GTK_TYPE_NONE, 0);
g_object_class_install_property (object_class,
PROP_VISIBLE,
@@ -849,10 +849,10 @@ gtk_tree_view_column_setup_sort_column_id_callback (GtkTreeViewColumn *tree_colu
if (tree_column->sort_column_changed_signal == 0)
tree_column->sort_column_changed_signal =
- g_signal_connectc (G_OBJECT (model), "sort_column_changed",
- GTK_SIGNAL_FUNC (gtk_tree_view_model_sort_column_changed),
- tree_column, FALSE);
-
+ g_signal_connect (G_OBJECT (model), "sort_column_changed",
+ GTK_SIGNAL_FUNC (gtk_tree_view_model_sort_column_changed),
+ tree_column);
+
if (gtk_tree_sortable_get_sort_column_id (GTK_TREE_SORTABLE (model),
&real_sort_column_id,
&real_order) &&
@@ -1870,10 +1870,10 @@ gtk_tree_view_column_set_sort_column_id (GtkTreeViewColumn *tree_column,
gtk_tree_view_column_set_clickable (tree_column, TRUE);
if (! tree_column->sort_clicked_signal)
- tree_column->sort_clicked_signal = g_signal_connectc (G_OBJECT (tree_column),
- "clicked",
- G_CALLBACK (gtk_tree_view_column_sort),
- NULL, FALSE);
+ tree_column->sort_clicked_signal = g_signal_connect (G_OBJECT (tree_column),
+ "clicked",
+ G_CALLBACK (gtk_tree_view_column_sort),
+ NULL);
gtk_tree_view_column_setup_sort_column_id_callback (tree_column);
}