From 10f047cf4ce86b7ff32050279214faac3c294f11 Mon Sep 17 00:00:00 2001 From: Tim Janik Date: Thu, 28 Jun 2001 17:12:40 +0000 Subject: up version to 1.3.7, interface age 0, binary age 0. depend on glib 1.3.7. Thu Jun 28 17:18:41 2001 Tim Janik * configure.in (GTK_MICRO_VERSION): up version to 1.3.7, interface age 0, binary age 0. depend on glib 1.3.7. * gtk/gtkcontainer.c: remove g_signal_handlers_disconnect_by_func() hack. * gtk/gtkmenubar.c: same here. * gtk/gtkcontainer.c (gtk_container_focus_tab): fix param-spec retrival. * gtk/gtkcolorsel.c (gtk_color_selection_init): fix connect_data() usage. * gtk/gtkentry.c (gtk_entry_focus_in): same here. * gtk/gtkmenubar.c (add_to_window): likewise. * gtk/gtktextbtree.c: and here... * gtk/gtktextview.c (gtk_text_view_ensure_layout): same thing. * gtk/gtktoolbar.c (gtk_toolbar_init): once more. * gtk/gtktreemodel.c (connect_ref_callbacks): and another time. * gtk/gtktreeviewcolumn.c: (_gtk_tree_view_column_set_tree_view): yet again. * demos/gtk-demo/images.c (progressive_timeout): demonstrate signal connections without g_signal_connect_data(). * demos/gtk-demo/stock_browser.c (do_stock_browser): second demo of the matter. * demos/testpixbuf.c (main): running out of equality phrases for the ChangeLog, but had to adapt connections here as well. * demos/testanimation.c (progressive_timeout): and for the fun of it, tackled this the same way. * tests/testtext.c (create_view): ok, it's becoming a pain at this point, but had enough enery for one more fix. * tests/testtreecolumns.c (main): stand up man, do your work! * tests/testtreeview.c (set_columns_type): ok, this is the last file i fix, either that's been all of it or CVS gtk is broken yet again. --- gtk/gtktextbtree.c | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) (limited to 'gtk/gtktextbtree.c') diff --git a/gtk/gtktextbtree.c b/gtk/gtktextbtree.c index 40e6ca022c..8fb9dd1285 100644 --- a/gtk/gtktextbtree.c +++ b/gtk/gtktextbtree.c @@ -409,17 +409,15 @@ _gtk_text_btree_new (GtkTextTagTable *table, g_object_ref (G_OBJECT (tree->table)); - tree->tag_changed_handler = g_signal_connect_data (G_OBJECT (tree->table), - "tag_changed", - G_CALLBACK (tag_changed_cb), - tree, - NULL, FALSE, FALSE); - - tree->tag_removed_handler = g_signal_connect_data (G_OBJECT (tree->table), - "tag_removed", - G_CALLBACK (tag_removed_cb), - tree, - NULL, FALSE, FALSE); + tree->tag_changed_handler = g_signal_connect (G_OBJECT (tree->table), + "tag_changed", + G_CALLBACK (tag_changed_cb), + tree); + + tree->tag_removed_handler = g_signal_connect (G_OBJECT (tree->table), + "tag_removed", + G_CALLBACK (tag_removed_cb), + tree); tree->mark_table = g_hash_table_new (g_str_hash, g_str_equal); tree->child_anchor_table = NULL; -- cgit v1.2.1