diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2007-01-18 18:21:47 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2007-01-18 18:21:47 +0000 |
commit | a9bc2c95c51378400be31c42fe518c3af90bd595 (patch) | |
tree | 87fdf629235ac56abe77341939d9ac734cc13bc5 /x11-toolkits | |
parent | da616062af92139e3b6073263124e6dcb5100d59 (diff) | |
download | ports-a9bc2c95c51378400be31c42fe518c3af90bd595.tar.gz ports-a9bc2c95c51378400be31c42fe518c3af90bd595.zip |
Notes
Diffstat (limited to 'x11-toolkits')
-rw-r--r-- | x11-toolkits/gtk20/Makefile | 2 | ||||
-rw-r--r-- | x11-toolkits/gtk20/files/patch-gtk_gtkrecentchoosermenu.c | 21 | ||||
-rw-r--r-- | x11-toolkits/gtk30/Makefile | 2 | ||||
-rw-r--r-- | x11-toolkits/gtk30/files/patch-gtk_gtkrecentchoosermenu.c | 21 |
4 files changed, 44 insertions, 2 deletions
diff --git a/x11-toolkits/gtk20/Makefile b/x11-toolkits/gtk20/Makefile index 1a7e5ee99a4a..a7f0568c0d0d 100644 --- a/x11-toolkits/gtk20/Makefile +++ b/x11-toolkits/gtk20/Makefile @@ -8,7 +8,7 @@ PORTNAME= gtk PORTVERSION= 2.10.8 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \ ftp://ftp.gtk.org/pub/gtk/v2.10/ \ diff --git a/x11-toolkits/gtk20/files/patch-gtk_gtkrecentchoosermenu.c b/x11-toolkits/gtk20/files/patch-gtk_gtkrecentchoosermenu.c new file mode 100644 index 000000000000..dd10610a2cc2 --- /dev/null +++ b/x11-toolkits/gtk20/files/patch-gtk_gtkrecentchoosermenu.c @@ -0,0 +1,21 @@ +--- gtk/gtkrecentchoosermenu.c 2007/01/15 13:09:58 17157 ++++ gtk/gtkrecentchoosermenu.c 2007/01/17 12:30:18 17172 +@@ -941,6 +941,8 @@ + item = gtk_image_menu_item_new_with_label (text); + } + ++ g_free (text); ++ + label = GTK_BIN (item)->child; + if (label) + { +@@ -962,9 +964,6 @@ + G_CALLBACK (item_activate_cb), + menu); + +-out: +- g_free (label); +- + return item; + } + diff --git a/x11-toolkits/gtk30/Makefile b/x11-toolkits/gtk30/Makefile index 1a7e5ee99a4a..a7f0568c0d0d 100644 --- a/x11-toolkits/gtk30/Makefile +++ b/x11-toolkits/gtk30/Makefile @@ -8,7 +8,7 @@ PORTNAME= gtk PORTVERSION= 2.10.8 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= x11-toolkits MASTER_SITES= ${MASTER_SITE_GNOME:S,%SUBDIR%,sources/gtk+/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}/,} \ ftp://ftp.gtk.org/pub/gtk/v2.10/ \ diff --git a/x11-toolkits/gtk30/files/patch-gtk_gtkrecentchoosermenu.c b/x11-toolkits/gtk30/files/patch-gtk_gtkrecentchoosermenu.c new file mode 100644 index 000000000000..dd10610a2cc2 --- /dev/null +++ b/x11-toolkits/gtk30/files/patch-gtk_gtkrecentchoosermenu.c @@ -0,0 +1,21 @@ +--- gtk/gtkrecentchoosermenu.c 2007/01/15 13:09:58 17157 ++++ gtk/gtkrecentchoosermenu.c 2007/01/17 12:30:18 17172 +@@ -941,6 +941,8 @@ + item = gtk_image_menu_item_new_with_label (text); + } + ++ g_free (text); ++ + label = GTK_BIN (item)->child; + if (label) + { +@@ -962,9 +964,6 @@ + G_CALLBACK (item_activate_cb), + menu); + +-out: +- g_free (label); +- + return item; + } + |