[GB.GTK3]

* BUG: Dialog.SelectFont() does not crash anymore.


git-svn-id: svn://localhost/gambas/trunk@7126 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2015-06-09 20:49:34 +00:00
parent a8b8ca57bc
commit d64fbae8c7

View file

@ -606,12 +606,17 @@ bool gDialog::selectFolder()
#ifdef GTK3
GType type1, type2;
bool gDialog::selectFont()
{
GtkFontChooserDialog *dialog;
PangoFontDescription *desc;
gFont *font;
type1 = pango_font_family_get_type();
type2 = pango_font_face_get_type();
dialog = (GtkFontChooserDialog *)gtk_font_chooser_dialog_new(DIALOG_title, NULL);
if (DIALOG_font)