comparison pidgin/gtksession.c @ 29522:739886e6dac2

propagate from branch 'im.pidgin.pidgin' (head 667654b3309008b53bf4d9df02bd401d1ede8db5) to branch 'im.pidgin.pidgin.next.minor' (head e37d7dfead3e1864f8de0c0397a8f6471af07e29)
author John Bailey <rekkanoryo@rekkanoryo.org>
date Mon, 12 Oct 2009 22:40:37 +0000
parents 21277e69e06c
children 3057fd96be81
comparison
equal deleted inserted replaced
28747:f55bd60e2738 29522:739886e6dac2
161 if (config_dir) { 161 if (config_dir) {
162 ret[j++] = g_strdup("--config"); 162 ret[j++] = g_strdup("--config");
163 ret[j++] = g_strdup(config_dir); 163 ret[j++] = g_strdup(config_dir);
164 } 164 }
165 165
166 #if GTK_CHECK_VERSION(2,2,0)
167 ret[j++] = g_strdup("--display"); 166 ret[j++] = g_strdup("--display");
168 ret[j++] = g_strdup((gchar *)gdk_display_get_name(gdk_display_get_default())); 167 ret[j++] = g_strdup((gchar *)gdk_display_get_name(gdk_display_get_default()));
169 #endif
170 168
171 ret[j++] = NULL; 169 ret[j++] = NULL;
172 170
173 return ret; 171 return ret;
174 } 172 }