Community
Participate
Working Groups
This patch replaces gtk_font_selection_dialog_set_font_name with gtk_font_chooser_set_font for GTK+ 3.2 and higher: http://fedorapeople.org/cgit/aspektor/public_git/eclipse.platform.swt.git/commit/?h=gtk3_set_font
This patch passes GtkFontSelectionDialog as created by gtk_font_selection_dialog_new to gtk_font_chooser_set_font which expects GtkFontChooser. To use gtk_font_chooser_set_font handle has to be initiated by calling gtk_font_chooser_dialog_new.
(In reply to comment #1) > This patch passes GtkFontSelectionDialog as created by > gtk_font_selection_dialog_new to gtk_font_chooser_set_font which expects > GtkFontChooser. > To use gtk_font_chooser_set_font handle has to be initiated by calling > gtk_font_chooser_dialog_new. Thank you for pointing this out, I've decided to put all GtkFontChooser methods that replace GtkFontSelection methods in one patch, to avoid putting bug dependencies. For this reason I am closing both this bug and 390726 and opening one bug with patch for all GtkFontSelection/GtkFontChooser methods.
Please refer to this bug with a patch instead: https://bugs.eclipse.org/bugs/show_bug.cgi?id=390864 *** This bug has been marked as a duplicate of bug 390864 ***