pidgin/gtk3compat.h

changeset 33275
8da9d2ec671d
parent 33268
a24713d9bbb3
child 33277
d6229108ce71
equal deleted inserted replaced
33274:551fe73e2026 33275:8da9d2ec671d
22 #define _PIDGINGTK3COMPAT_H_ 22 #define _PIDGINGTK3COMPAT_H_
23 23
24 /* This file is internal to Pidgin. Do not use! 24 /* This file is internal to Pidgin. Do not use!
25 * Also, any public API should not depend on this file. 25 * Also, any public API should not depend on this file.
26 */ 26 */
27
28 #if !GTK_CHECK_VERSION(3,2,0)
29
30 #define GTK_FONT_CHOOSER GTK_FONT_SELECTION_DIALOG
31 #define gtk_font_chooser_dialog_new(x,y) gtk_font_selection_dialog_new(x)
32 #define gtk_font_chooser_get_font gtk_font_selection_dialog_get_font_name
33 #define gtk_font_chooser_set_font gtk_font_selection_dialog_set_font_name
27 34
28 #if !GTK_CHECK_VERSION(3,0,0) 35 #if !GTK_CHECK_VERSION(3,0,0)
29 36
30 #define gdk_x11_window_get_xid GDK_WINDOW_XWINDOW 37 #define gdk_x11_window_get_xid GDK_WINDOW_XWINDOW
31 38
167 174
168 #endif /* 2.24.0 */ 175 #endif /* 2.24.0 */
169 176
170 #endif /* 3.0.0 */ 177 #endif /* 3.0.0 */
171 178
179 #endif /* 3.2.0 */
180
172 #endif /* _PIDGINGTK3COMPAT_H_ */ 181 #endif /* _PIDGINGTK3COMPAT_H_ */
173 182

mercurial