aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/printing/test-contact-print-style-editor.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-07 15:38:30 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-07 15:38:30 +0800
commitb89320e2f3d0a8c69dd6ecfd33b125481cd837d8 (patch)
tree441c0942eadeccf13e244ab3df496ca7ef5dabc2 /addressbook/printing/test-contact-print-style-editor.c
parentb59fb51176c10c48865572b27d697c6cc51358d3 (diff)
downloadgsoc2013-evolution-b89320e2f3d0a8c69dd6ecfd33b125481cd837d8.tar
gsoc2013-evolution-b89320e2f3d0a8c69dd6ecfd33b125481cd837d8.tar.gz
gsoc2013-evolution-b89320e2f3d0a8c69dd6ecfd33b125481cd837d8.tar.bz2
gsoc2013-evolution-b89320e2f3d0a8c69dd6ecfd33b125481cd837d8.tar.lz
gsoc2013-evolution-b89320e2f3d0a8c69dd6ecfd33b125481cd837d8.tar.xz
gsoc2013-evolution-b89320e2f3d0a8c69dd6ecfd33b125481cd837d8.tar.zst
gsoc2013-evolution-b89320e2f3d0a8c69dd6ecfd33b125481cd837d8.zip
port this to gnome2/gnomeprint2.
2002-11-06 Chris Toshok <toshok@ximian.com> * printing/e-contact-print-envelope.c: port this to gnome2/gnomeprint2. * printing/e-contact-print-style-editor.c: same. * printing/e-contact-print.c: same. * printing/test-contact-print-style-editor.c: same. * printing/test-print.c: same. * printing/e-contact-print.glade: libglade-convert to libglade-2. * printing/Makefile.am (contact_print_test_LDADD) (contact_print_style_editor_test_LDADD): remove libcamel.la from these for the time being to get things linking. svn path=/trunk/; revision=18628
Diffstat (limited to 'addressbook/printing/test-contact-print-style-editor.c')
-rw-r--r--addressbook/printing/test-contact-print-style-editor.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/addressbook/printing/test-contact-print-style-editor.c b/addressbook/printing/test-contact-print-style-editor.c
index 0ac169468c..48bed93450 100644
--- a/addressbook/printing/test-contact-print-style-editor.c
+++ b/addressbook/printing/test-contact-print-style-editor.c
@@ -24,7 +24,7 @@
#include <stdlib.h>
#include <gtk/gtkmain.h>
#include <libgnomeui/gnome-app.h>
-#include <libgnomeui/gnome-init.h>
+#include <libgnomeui/gnome-ui-init.h>
#include "e-contact-print-style-editor.h"
/* This is a horrible thing to do, but it is just a test. */
@@ -65,7 +65,10 @@ int main( int argc, char *argv[] )
/* bindtextdomain (PACKAGE, GNOMELOCALEDIR);
textdomain (PACKAGE);*/
- gnome_init( "Contact Print Style Editor Test", VERSION, argc, argv);
+ gnome_program_init ("Contact Print Style Editor Test", VERSION,
+ LIBGNOMEUI_MODULE,
+ argc, argv,
+ NULL);
glade_gnome_init ();
@@ -76,13 +79,13 @@ int main( int argc, char *argv[] )
gnome_app_set_contents( GNOME_APP( app ), editor );
/* 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_widget_show_all( app );
- gtk_main();
+ bonobo_main();
/* Not reached. */
return 0;