gimp r24689 - in branches/gimp-2-4: . app/dialogs plug-ins/imagemap



Author: neo
Date: Wed Jan 23 12:15:21 2008
New Revision: 24689
URL: http://svn.gnome.org/viewvc/gimp?rev=24689&view=rev

Log:
2008-01-23  Sven Neumann  <sven gimp org>

	* app/dialogs/about-dialog.c (about_dialog_create): use a 
run-time
	check for the GTK+ version instead of a compile time one.



Modified:
   branches/gimp-2-4/ChangeLog
   branches/gimp-2-4/app/dialogs/about-dialog.c
   branches/gimp-2-4/plug-ins/imagemap/imap_about.c

Modified: branches/gimp-2-4/app/dialogs/about-dialog.c
==============================================================================
--- branches/gimp-2-4/app/dialogs/about-dialog.c	(original)
+++ branches/gimp-2-4/app/dialogs/about-dialog.c	Wed Jan 23 12:15:21 2008
@@ -112,11 +112,9 @@
                              "role",               "about-dialog",
                              "window-position",    GTK_WIN_POS_CENTER,
                              "title",              _("About GIMP"),
-#if GTK_CHECK_VERSION (2, 11, 0)
-                             "program-name",       GIMP_ACRONYM,
-#else
-                             "name",               GIMP_ACRONYM,
-#endif
+                             (gtk_check_version (2, 12, 0) ?
+                              "name" :
+                              "program-name"),     GIMP_ACRONYM,
                              "version",            GIMP_VERSION,
                              "copyright",          GIMP_COPYRIGHT,
                              "comments",           GIMP_NAME,

Modified: branches/gimp-2-4/plug-ins/imagemap/imap_about.c
==============================================================================
--- branches/gimp-2-4/plug-ins/imagemap/imap_about.c	(original)
+++ branches/gimp-2-4/plug-ins/imagemap/imap_about.c	Wed Jan 23 12:15:21 2008
@@ -38,7 +38,7 @@
      {
        const gchar *authors[]     = { "Maurits Rijk (m rijk chello nl)", NULL };
        const gchar *property_name = (gtk_check_version (2, 12, 0) ?
-                                     "program-name" : "name");
+                                     "name" : "program-name");
 
        dialog = g_object_new (GTK_TYPE_ABOUT_DIALOG,
                               "transient-for", get_dialog(),



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]