aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook/gui/contact-editor/e-contact-save-as.c
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-11-08 17:23:47 +0800
committerChris Toshok <toshok@src.gnome.org>2002-11-08 17:23:47 +0800
commit6bba9fe3b287e5ff7a2b0a5191ae3c549f9bc6c5 (patch)
tree0215afa2031450a7c907cdf8d970b35f91a95495 /addressbook/gui/contact-editor/e-contact-save-as.c
parent9e31d0070e39d8d85667dc6f882392214518df7b (diff)
downloadgsoc2013-evolution-6bba9fe3b287e5ff7a2b0a5191ae3c549f9bc6c5.tar
gsoc2013-evolution-6bba9fe3b287e5ff7a2b0a5191ae3c549f9bc6c5.tar.gz
gsoc2013-evolution-6bba9fe3b287e5ff7a2b0a5191ae3c549f9bc6c5.tar.bz2
gsoc2013-evolution-6bba9fe3b287e5ff7a2b0a5191ae3c549f9bc6c5.tar.lz
gsoc2013-evolution-6bba9fe3b287e5ff7a2b0a5191ae3c549f9bc6c5.tar.xz
gsoc2013-evolution-6bba9fe3b287e5ff7a2b0a5191ae3c549f9bc6c5.tar.zst
gsoc2013-evolution-6bba9fe3b287e5ff7a2b0a5191ae3c549f9bc6c5.zip
more porting work.
2002-11-08 Chris Toshok <toshok@ximian.com> * gui/contact-editor/e-contact-editor.c: more porting work. * e-contact-editor-fullname.[ch]: more porting work. * e-contact-editor.c: more porting work. * e-contact-quick-add.c: more porting work. * e-contact-save-as.c: more porting work. * test-editor.c: more porting work. * e-contact-editor-confirm-delete.glade, file-exists.glade, fulladdr.glade, fullname.glade: run these through libglade-convert. svn path=/trunk/; revision=18663
Diffstat (limited to 'addressbook/gui/contact-editor/e-contact-save-as.c')
-rw-r--r--addressbook/gui/contact-editor/e-contact-save-as.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-save-as.c b/addressbook/gui/contact-editor/e-contact-save-as.c
index a7fc8b4bed..2713cc6d21 100644
--- a/addressbook/gui/contact-editor/e-contact-save-as.c
+++ b/addressbook/gui/contact-editor/e-contact-save-as.c
@@ -26,8 +26,7 @@
#include <fcntl.h>
#include <gtk/gtkfilesel.h>
#include <gtk/gtksignal.h>
-#include <gtk/gtk.h>
-#include <libgnomeui/gnome-dialog.h>
+#include <gtk/gtkdialog.h>
#include <gal/util/e-util.h>
#include <gal/widgets/e-unicode.h>
#include <libgnome/gnome-i18n.h>
@@ -130,9 +129,9 @@ e_contact_save_as(char *title, ECard *card, GtkWindow *parent_window)
filesel = GTK_FILE_SELECTION(gtk_file_selection_new(title));
- gtk_object_get (GTK_OBJECT (card),
- "file_as", &name,
- NULL);
+ g_object_get (card,
+ "file_as", &name,
+ NULL);
locale_name = e_utf8_to_locale_string (name);
file = make_safe_filename (g_get_home_dir(), locale_name);
gtk_file_selection_set_filename (filesel, file);
@@ -169,9 +168,9 @@ e_contact_list_save_as(char *title, GList *list, GtkWindow *parent_window)
/* This is a filename. Translators take note. */
if (list && list->data && list->next == NULL) {
char *name, *locale_name, *file;
- gtk_object_get (GTK_OBJECT (list->data),
- "file_as", &name,
- NULL);
+ g_object_get (list->data,
+ "file_as", &name,
+ NULL);
locale_name = e_utf8_to_locale_string (name);
file = make_safe_filename (g_get_home_dir(), locale_name);
gtk_file_selection_set_filename (filesel, file);