From 4f8ce5f258a290f00fc0ebbf13f5e3db3b0b45bd Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Tue, 2 Aug 2011 16:40:51 +0100 Subject: MainWindow: add API to show the preferences window https://bugzilla.gnome.org/show_bug.cgi?id=655884 --- src/empathy-main-window.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/empathy-main-window.c') diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index a9e76a286..4aa720a0b 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -1875,9 +1875,8 @@ main_window_edit_blocked_contacts_cb (GtkAction *action, G_CALLBACK (gtk_widget_destroy), NULL); } -static void -main_window_edit_preferences_cb (GtkAction *action, - EmpathyMainWindow *window) +void +empathy_main_window_show_preferences (EmpathyMainWindow *window) { EmpathyMainWindowPriv *priv = GET_PRIV (window); @@ -1892,6 +1891,13 @@ main_window_edit_preferences_cb (GtkAction *action, } } +static void +main_window_edit_preferences_cb (GtkAction *action, + EmpathyMainWindow *window) +{ + empathy_main_window_show_preferences (window); +} + static void main_window_help_about_cb (GtkAction *action, EmpathyMainWindow *window) -- cgit v1.2.3