diff -r 8b4a41b6fe60 -r ef97228bc5f0 pidgin/gtk3compat.h --- a/pidgin/gtk3compat.h Sun Apr 14 21:45:09 2013 +0200 +++ b/pidgin/gtk3compat.h Mon Apr 15 00:48:17 2013 +0200 @@ -28,10 +28,15 @@ #if !GTK_CHECK_VERSION(3,2,0) #define GTK_FONT_CHOOSER GTK_FONT_SELECTION_DIALOG -#define gtk_font_chooser_dialog_new(x,y) gtk_font_selection_dialog_new(x) #define gtk_font_chooser_get_font gtk_font_selection_dialog_get_font_name #define gtk_font_chooser_set_font gtk_font_selection_dialog_set_font_name +static inline GtkWidget * gtk_font_chooser_dialog_new(const gchar *title, + GtkWindow *parent) +{ + return gtk_font_selection_dialog_new(title); +} + #if !GTK_CHECK_VERSION(3,0,0) #define gdk_x11_window_get_xid GDK_WINDOW_XWINDOW