diff options
author | Tim Janik <timj@gtk.org> | 2001-06-28 17:12:40 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2001-06-28 17:12:40 +0000 |
commit | 10f047cf4ce86b7ff32050279214faac3c294f11 (patch) | |
tree | 0ac0c649284a19fb3d6a4c32dd458ce42b4b6f62 /demos | |
parent | cd3ddf900fe4c392ba864bd6d12d914de211114a (diff) | |
download | gtk+-10f047cf4ce86b7ff32050279214faac3c294f11.tar.gz |
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 <timj@gtk.org>
* 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.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/images.c | 18 | ||||
-rw-r--r-- | demos/gtk-demo/stock_browser.c | 8 | ||||
-rw-r--r-- | demos/testanimation.c | 19 | ||||
-rw-r--r-- | demos/testpixbuf.c | 20 |
4 files changed, 28 insertions, 37 deletions
diff --git a/demos/gtk-demo/images.c b/demos/gtk-demo/images.c index 343810979c..d2090428eb 100644 --- a/demos/gtk-demo/images.c +++ b/demos/gtk-demo/images.c @@ -224,17 +224,15 @@ progressive_timeout (gpointer data) pixbuf_loader = gdk_pixbuf_loader_new (); - g_signal_connect_data (G_OBJECT (pixbuf_loader), - "area_prepared", - G_CALLBACK (progressive_prepared_callback), - image, - NULL, FALSE, FALSE); + g_signal_connect (G_OBJECT (pixbuf_loader), + "area_prepared", + G_CALLBACK (progressive_prepared_callback), + image); - g_signal_connect_data (G_OBJECT (pixbuf_loader), - "area_updated", - G_CALLBACK (progressive_updated_callback), - image, - NULL, FALSE, FALSE); + g_signal_connect (G_OBJECT (pixbuf_loader), + "area_updated", + G_CALLBACK (progressive_updated_callback), + image); } /* leave timeout installed */ diff --git a/demos/gtk-demo/stock_browser.c b/demos/gtk-demo/stock_browser.c index 6ac5c1f395..a850a428d7 100644 --- a/demos/gtk-demo/stock_browser.c +++ b/demos/gtk-demo/stock_browser.c @@ -500,10 +500,10 @@ do_stock_browser (void) selection = gtk_tree_view_get_selection (GTK_TREE_VIEW (treeview)); gtk_tree_selection_set_mode (selection, GTK_TREE_SELECTION_SINGLE); - g_signal_connect_data (G_OBJECT (selection), - "changed", - G_CALLBACK (selection_changed), - NULL, NULL, FALSE, FALSE); + g_signal_connect (G_OBJECT (selection), + "changed", + G_CALLBACK (selection_changed), + NULL); } if (!GTK_WIDGET_VISIBLE (window)) diff --git a/demos/testanimation.c b/demos/testanimation.c index 82b932c2d0..e0ce24e8f5 100644 --- a/demos/testanimation.c +++ b/demos/testanimation.c @@ -285,17 +285,14 @@ progressive_timeout (gpointer data) lc->pixbuf_loader = gdk_pixbuf_loader_new (); - g_signal_connect_data (G_OBJECT (lc->pixbuf_loader), - "area_prepared", - G_CALLBACK (progressive_prepared_callback), - image, - NULL, FALSE, FALSE); - - g_signal_connect_data (G_OBJECT (lc->pixbuf_loader), - "area_updated", - G_CALLBACK (progressive_updated_callback), - image, - NULL, FALSE, FALSE); + g_signal_connect (G_OBJECT (lc->pixbuf_loader), + "area_prepared", + G_CALLBACK (progressive_prepared_callback), + image); + g_signal_connect (G_OBJECT (lc->pixbuf_loader), + "area_updated", + G_CALLBACK (progressive_updated_callback), + image); } /* leave timeout installed */ diff --git a/demos/testpixbuf.c b/demos/testpixbuf.c index a2ecbe1f08..8f80d31180 100644 --- a/demos/testpixbuf.c +++ b/demos/testpixbuf.c @@ -605,18 +605,14 @@ main (int argc, char **argv) status.rgbwin = &rgb_window; status.buf = g_malloc (readlen); - g_signal_connect_data (G_OBJECT(pixbuf_loader), - "area_prepared", - GTK_SIGNAL_FUNC(progressive_prepared_callback), - &rgb_window, - NULL, FALSE, FALSE); - - g_signal_connect_data (G_OBJECT(pixbuf_loader), - "area_updated", - GTK_SIGNAL_FUNC(progressive_updated_callback), - &rgb_window, - NULL, FALSE, FALSE); - + g_signal_connect (G_OBJECT(pixbuf_loader), + "area_prepared", + GTK_SIGNAL_FUNC(progressive_prepared_callback), + &rgb_window); + g_signal_connect (G_OBJECT(pixbuf_loader), + "area_updated", + GTK_SIGNAL_FUNC(progressive_updated_callback), + &rgb_window); status.imagefile = fopen (argv[1], "r"); g_assert (status.imagefile != NULL); |