diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2007-05-02 14:30:23 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2007-05-02 14:30:23 +0800 |
commit | 6e1d5d1bf7e4c1bbac9d1d76fe967acf0dc423d1 (patch) | |
tree | ac3a43b99c28a6f28f4dfc7d2aadbe5c98c819b0 /libempathy-gtk/gossip-preferences.c | |
parent | 8a9cd5deb874be70481ac0193cf7c28933f4b9ce (diff) | |
download | gsoc2013-empathy-6e1d5d1bf7e4c1bbac9d1d76fe967acf0dc423d1.tar gsoc2013-empathy-6e1d5d1bf7e4c1bbac9d1d76fe967acf0dc423d1.tar.gz gsoc2013-empathy-6e1d5d1bf7e4c1bbac9d1d76fe967acf0dc423d1.tar.bz2 gsoc2013-empathy-6e1d5d1bf7e4c1bbac9d1d76fe967acf0dc423d1.tar.lz gsoc2013-empathy-6e1d5d1bf7e4c1bbac9d1d76fe967acf0dc423d1.tar.xz gsoc2013-empathy-6e1d5d1bf7e4c1bbac9d1d76fe967acf0dc423d1.tar.zst gsoc2013-empathy-6e1d5d1bf7e4c1bbac9d1d76fe967acf0dc423d1.zip |
[darcs-to-svn @ Fixing presence and preference dialog]
svn path=/trunk/; revision=22
Diffstat (limited to 'libempathy-gtk/gossip-preferences.c')
-rw-r--r-- | libempathy-gtk/gossip-preferences.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libempathy-gtk/gossip-preferences.c b/libempathy-gtk/gossip-preferences.c index 2f127a515..2179a7efa 100644 --- a/libempathy-gtk/gossip-preferences.c +++ b/libempathy-gtk/gossip-preferences.c @@ -823,7 +823,7 @@ preferences_destroy_cb (GtkWidget *widget, g_free (preferences); } -void +GtkWidget * gossip_preferences_show (void) { static GossipPreferences *preferences; @@ -831,13 +831,13 @@ gossip_preferences_show (void) if (preferences) { gtk_window_present (GTK_WINDOW (preferences->dialog)); - return; + return preferences->dialog; } preferences = g_new0 (GossipPreferences, 1); glade = gossip_glade_get_file ( - "main.glade", + "gossip-preferences.glade", "preferences_dialog", NULL, "preferences_dialog", &preferences->dialog, @@ -882,4 +882,7 @@ gossip_preferences_show (void) } gtk_widget_show (preferences->dialog); + + return preferences->dialog; } + |