Mercurial > pidgin.yaz
comparison 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 |
comparison
equal
deleted
inserted
replaced
7500:cedf025497c2 | 7501:3e85281aef0b |
---|---|
814 if (opt_version) { | 814 if (opt_version) { |
815 printf("Gaim %s\n",VERSION); | 815 printf("Gaim %s\n",VERSION); |
816 return 0; | 816 return 0; |
817 } | 817 } |
818 | 818 |
819 #if GTK_CHECK_VERSION(2,2,0) | |
819 if(! gui_check) { | 820 if(! gui_check) { |
820 const char *display_name_arg = gdk_get_display_arg_name (); | 821 const char *display_name_arg = gdk_get_display_arg_name (); |
821 g_warning ("cannot open display: %s", display_name_arg ? display_name_arg : " "); | 822 g_warning ("cannot open display: %s", display_name_arg ? display_name_arg : " "); |
822 return 1; | 823 return 1; |
823 } | 824 } |
825 #endif | |
824 | 826 |
825 gaim_gtk_stock_init(); | 827 gaim_gtk_stock_init(); |
826 | 828 |
827 gaim_core_set_ui_ops(gaim_gtk_core_get_ui_ops()); | 829 gaim_core_set_ui_ops(gaim_gtk_core_get_ui_ops()); |
828 | 830 |