[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:
parent
a8b8ca57bc
commit
d64fbae8c7
1 changed files with 5 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue