From f9716e53331ccbd0725a14089ad30e9d6c84a463 Mon Sep 17 00:00:00 2001 From: Emilio Pozuelo Monfort Date: Thu, 4 Aug 2011 09:53:25 +0100 Subject: Make the #defines an static array --- src/empathy-call-window.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/empathy-call-window.c') diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c index 215bb5c4d..3ce138f17 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -735,8 +735,12 @@ static void empathy_call_window_settings_cb (GtkAction *action, EmpathyCallWindow *self) { - empathy_launch_program (BIN_DIR, "empathy", - "-p " EMPATHY_PREFERENCES_STR_TAB_CALLS); + gchar *args = g_strdup_printf ("-p %s", + empathy_preferences_tab_to_string (EMPATHY_PREFERENCES_TAB_CALLS)); + + empathy_launch_program (BIN_DIR, "empathy", args); + + g_free (args); } static void -- cgit v1.2.3