diff options
author | Chris Toshok <toshok@ximian.com> | 2002-11-06 16:20:46 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2002-11-06 16:20:46 +0800 |
commit | 4d53826308a95d959a986b7b7cc57abf80e85862 (patch) | |
tree | 7ad0d3e7149359af775c0a2b068ebf1be8f99045 /addressbook/gui/contact-editor/test-editor.c | |
parent | d73b3bb496a3738d12442386231f3b2fa18967a6 (diff) | |
download | gsoc2013-evolution-4d53826308a95d959a986b7b7cc57abf80e85862.tar gsoc2013-evolution-4d53826308a95d959a986b7b7cc57abf80e85862.tar.gz gsoc2013-evolution-4d53826308a95d959a986b7b7cc57abf80e85862.tar.bz2 gsoc2013-evolution-4d53826308a95d959a986b7b7cc57abf80e85862.tar.lz gsoc2013-evolution-4d53826308a95d959a986b7b7cc57abf80e85862.tar.xz gsoc2013-evolution-4d53826308a95d959a986b7b7cc57abf80e85862.tar.zst gsoc2013-evolution-4d53826308a95d959a986b7b7cc57abf80e85862.zip |
ignore the marshal generated stuff.
2002-11-05 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/.cvsignore: ignore the marshal generated
stuff.
* gui/contact-editor/Makefile.am: typical port stuff. add
marshaller generation foo, dist it...
* gui/contact-editor/e-contact-editor-address.[ch]: Port to GObject/gnome2.
* gui/contact-editor/e-contact-editor-fullname.c: Port to GObject/gnome2.
* gui/contact-editor/e-contact-editor.c: Port to GObject/gnome2.
* gui/contact-editor/e-contact-quick-add.c: Port to GObject/gnome2.
* gui/contact-editor/e-contact-save-as.[ch]: Port to GObject/gnome2.
* gui/contact-editor/test-editor.c: Port to GObject/gnome2.
svn path=/trunk/; revision=18589
Diffstat (limited to 'addressbook/gui/contact-editor/test-editor.c')
-rw-r--r-- | addressbook/gui/contact-editor/test-editor.c | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/addressbook/gui/contact-editor/test-editor.c b/addressbook/gui/contact-editor/test-editor.c index e6b46adb83..6e871bdf38 100644 --- a/addressbook/gui/contact-editor/test-editor.c +++ b/addressbook/gui/contact-editor/test-editor.c @@ -24,9 +24,10 @@ #include <stdlib.h> #include <gtk/gtkmain.h> #include <libgnomeui/gnome-app.h> -#include <libgnomeui/gnome-init.h> +#include <libgnomeui/gnome-ui-init.h> #include <glade/glade.h> #include "e-contact-editor.h" +#include "ebook/e-card.h" #define TEST_VCARD \ "BEGIN:VCARD @@ -115,10 +116,7 @@ int main( int argc, char *argv[] ) char *cardstr; EContactEditor *ce; - /* bindtextdomain (PACKAGE, GNOMELOCALEDIR); - textdomain (PACKAGE);*/ - - gnome_init( "Contact Editor Test", VERSION, argc, argv); + gnome_program_init("Contact Editor Test", VERSION, LIBGNOMEUI_MODULE, argc, argv, NULL); glade_gnome_init (); @@ -129,13 +127,13 @@ int main( int argc, char *argv[] ) if (cardstr == NULL) cardstr = TEST_VCARD; - ce = e_contact_editor_new (e_card_new_with_default_charset (cardstr, "ISO-8859-1"), TRUE, NULL, FALSE); - gtk_signal_connect (GTK_OBJECT (ce), "editor_closed", - GTK_SIGNAL_FUNC (editor_closed_cb), NULL); + ce = e_contact_editor_new (NULL, e_card_new_with_default_charset (cardstr, "ISO-8859-1"), TRUE, FALSE); + g_signal_connect (ce, "editor_closed", + G_CALLBACK (editor_closed_cb), NULL); - ce = e_contact_editor_new (e_card_new_with_default_charset (cardstr, "ISO-8859-1"), TRUE, NULL, FALSE); - gtk_signal_connect (GTK_OBJECT (ce), "editor_closed", - GTK_SIGNAL_FUNC (editor_closed_cb), NULL); + ce = e_contact_editor_new (NULL, e_card_new_with_default_charset (cardstr, "ISO-8859-1"), TRUE, FALSE); + g_signal_connect (ce, "editor_closed", + G_CALLBACK (editor_closed_cb), NULL); gtk_main(); |