Mercurial > pidgin.yaz
diff src/main.c @ 7501:3e85281aef0b
[gaim-migrate @ 8114]
Removal of two gtk2.2isms:
1) gdk_get_display_arg_name() is gtk2.2 only
2) g_str_has_suffix() is gtk2.2 only
committer: Tailor Script <tailor@pidgin.im>
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Thu, 13 Nov 2003 15:41:27 +0000 |
parents | 08ce2a94d9c7 |
children | 8beec54d1855 |
line wrap: on
line diff
--- a/src/main.c Thu Nov 13 15:14:14 2003 +0000 +++ b/src/main.c Thu Nov 13 15:41:27 2003 +0000 @@ -816,11 +816,13 @@ return 0; } +#if GTK_CHECK_VERSION(2,2,0) if(! gui_check) { const char *display_name_arg = gdk_get_display_arg_name (); g_warning ("cannot open display: %s", display_name_arg ? display_name_arg : " "); return 1; } +#endif gaim_gtk_stock_init();