[geany/geany] e250ee: Fix version check for GtkFontChooserDialog (oops)

Colomban Wendling git-noreply at geany.org
Tue Jan 29 14:49:39 UTC 2013


Branch:      refs/heads/gtk3-support
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Tue, 29 Jan 2013 14:49:39 UTC
Commit:      e250ee8ec36957040f1fdbb5e28bcb8f2dc4b802
             https://github.com/geany/geany/commit/e250ee8ec36957040f1fdbb5e28bcb8f2dc4b802

Log Message:
-----------
Fix version check for GtkFontChooserDialog (oops)


Modified Paths:
--------------
    src/dialogs.c

Modified: src/dialogs.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -823,7 +823,7 @@ gboolean dialogs_show_unsaved_file(GeanyDocument *doc)
 #ifndef G_OS_WIN32
 /* Use GtkFontChooserDialog on GTK3.2 for consistency, and because
  * GtkFontSelectionDialog is somewhat broken on 3.4 */
-#if GTK_CHECK_VERSION(3, 0, 0)
+#if GTK_CHECK_VERSION(3, 2, 0)
 #	undef GTK_FONT_SELECTION_DIALOG
 #	define GTK_FONT_SELECTION_DIALOG				GTK_FONT_CHOOSER_DIALOG
 



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list