gimp r24687 - in branches/gimp-2-4: . plug-ins/imagemap
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r24687 - in branches/gimp-2-4: . plug-ins/imagemap
- Date: Wed, 23 Jan 2008 12:03:03 +0000 (GMT)
Author: neo
Date: Wed Jan 23 12:03:03 2008
New Revision: 24687
URL: http://svn.gnome.org/viewvc/gimp?rev=24687&view=rev
Log:
2008-01-23 Sven Neumann <sven gimp org>
* plug-ins/imagemap/imap_about.c: check for the GTK+ version and
adjust the property name accordingly.
Modified:
branches/gimp-2-4/ChangeLog
branches/gimp-2-4/plug-ins/imagemap/imap_about.c
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:03:03 2008
@@ -36,11 +36,13 @@
static GtkWidget *dialog;
if (!dialog)
{
- const gchar* authors[] = {"Maurits Rijk (m rijk chello nl)", NULL};
+ const gchar *authors[] = { "Maurits Rijk (m rijk chello nl)", NULL };
+ const gchar *property_name = (gtk_check_version (2, 12, 0) ?
+ "program-name" : "name");
dialog = g_object_new (GTK_TYPE_ABOUT_DIALOG,
"transient-for", get_dialog(),
- "name", _("Image Map Plug-In"),
+ property_name, _("Image Map Plug-In"),
"version", "2.3",
"authors", authors,
"copyright",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]