aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/widgets/test-reflow.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-06 16:17:14 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-06 16:17:14 +0800
commitd73b3bb496a3738d12442386231f3b2fa18967a6 (patch)
tree19e3144a5bd31fa137eabf81d575f1a5503d7448 /addressbook/gui/widgets/test-reflow.c
parent4e57b96f83fb8d0f79b10d1b219062973a095e56 (diff)
downloadgsoc2013-evolution-d73b3bb496a3738d12442386231f3b2fa18967a6.tar
gsoc2013-evolution-d73b3bb496a3738d12442386231f3b2fa18967a6.tar.gz
gsoc2013-evolution-d73b3bb496a3738d12442386231f3b2fa18967a6.tar.bz2
gsoc2013-evolution-d73b3bb496a3738d12442386231f3b2fa18967a6.tar.lz
gsoc2013-evolution-d73b3bb496a3738d12442386231f3b2fa18967a6.tar.xz
gsoc2013-evolution-d73b3bb496a3738d12442386231f3b2fa18967a6.tar.zst
gsoc2013-evolution-d73b3bb496a3738d12442386231f3b2fa18967a6.zip
Port to GObject/gnome2.
2002-11-05 Chris Toshok <toshok@ximian.com> * gui/widgets/e-addressbook-model.[ch]: Port to GObject/gnome2. * gui/widgets/e-addressbook-reflow-adapter.c: Port to GObject/gnome2. * gui/widgets/e-addressbook-table-adapter.c: Port to GObject/gnome2. * gui/widgets/e-addressbook-util.c: Port to GObject/gnome2. * gui/widgets/e-addressbook-view.[ch]: Port to GObject/gnome2. * gui/widgets/e-minicard-control.c: Port to GObject/gnome2. * gui/widgets/e-minicard-label.[ch]: Port to GObject/gnome2. * gui/widgets/e-minicard-view-widget.[ch]: Port to GObject/gnome2. * gui/widgets/e-minicard-view.[ch]: Port to GObject/gnome2. * gui/widgets/e-minicard-widget-test.c: Port to GObject/gnome2. * gui/widgets/e-minicard-widget.c: Port to GObject/gnome2. * gui/widgets/e-minicard.[ch]: Port to GObject/gnome2. * gui/widgets/gal-view-factory-minicard.c: Port to GObject/gnome2. * gui/widgets/gal-view-minicard.c: Port to GObject/gnome2. * gui/widgets/test-minicard-label.c: Port to GObject/gnome2. * gui/widgets/test-minicard-view.c: Port to GObject/gnome2. * gui/widgets/test-minicard.c: Port to GObject/gnome2. * gui/widgets/test-reflow.c: Port to GObject/gnome2. * gui/widgets/Makefile.am: typical port stuff. add marshaller generation foo, dist it... * gui/widgets/.cvsignore: ignore the marshaller stuff. svn path=/trunk/; revision=18588
Diffstat (limited to 'addressbook/gui/widgets/test-reflow.c')
-rw-r--r--addressbook/gui/widgets/test-reflow.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/addressbook/gui/widgets/test-reflow.c b/addressbook/gui/widgets/test-reflow.c
index 14066c4cd0..79d00cdd82 100644
--- a/addressbook/gui/widgets/test-reflow.c
+++ b/addressbook/gui/widgets/test-reflow.c
@@ -155,9 +155,9 @@ int main( int argc, char *argv[] )
"height", (double) 100,
"minimum_width", (double) 100,
NULL );
- gtk_signal_connect( GTK_OBJECT( canvas ), "reflow",
- GTK_SIGNAL_FUNC( resize ),
- ( gpointer ) app);
+ g_signal_connect( canvas, "reflow",
+ G_CALLBACK ( resize ),
+ ( gpointer ) app);
for ( i = 0; i < 200; i++ )
{
GnomeCanvasItem *item;
@@ -183,13 +183,13 @@ int main( int argc, char *argv[] )
gnome_app_set_contents( GNOME_APP( app ), scrollframe );
/* Connect the signals */
- gtk_signal_connect( GTK_OBJECT( app ), "destroy",
- GTK_SIGNAL_FUNC( destroy_callback ),
- ( gpointer ) app );
+ g_signal_connect( app, "destroy",
+ G_CALLBACK ( destroy_callback ),
+ ( gpointer ) app );
- gtk_signal_connect( GTK_OBJECT( canvas ), "size_allocate",
- GTK_SIGNAL_FUNC( allocate_callback ),
- ( gpointer ) app );
+ g_signal_connect( canvas, "size_allocate",
+ G_CALLBACK ( allocate_callback ),
+ ( gpointer ) app );
gtk_widget_show_all( app );
gdk_window_set_back_pixmap( GTK_LAYOUT(canvas)->bin_window, NULL, FALSE);