aboutsummaryrefslogtreecommitdiffstats
path: root/mail/claws-mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail/claws-mail')
-rw-r--r--mail/claws-mail/Makefile1
-rw-r--r--mail/claws-mail/files/patch-src_toolbar.c31
2 files changed, 32 insertions, 0 deletions
diff --git a/mail/claws-mail/Makefile b/mail/claws-mail/Makefile
index faee870875cc..15754a14a47a 100644
--- a/mail/claws-mail/Makefile
+++ b/mail/claws-mail/Makefile
@@ -7,6 +7,7 @@
PORTNAME= claws-mail
PORTVERSION= 3.0.1
+PORTREVISION= 1
CATEGORIES= mail news ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= sylpheed-claws
diff --git a/mail/claws-mail/files/patch-src_toolbar.c b/mail/claws-mail/files/patch-src_toolbar.c
new file mode 100644
index 000000000000..068f5ca68669
--- /dev/null
+++ b/mail/claws-mail/files/patch-src_toolbar.c
@@ -0,0 +1,31 @@
+diff -u -r1.43.2.82 -r1.43.2.83
+--- src/toolbar.c 2007/08/30 16:11:57 1.43.2.82
++++ src/toolbar.c 2007/09/18 17:07:51 1.43.2.83
+@@ -1643,8 +1643,10 @@
+ GTK_CONTAINER(child)); \
+ btn = (GtkWidget *)gchild->data; \
+ arr = (GtkWidget *)(gchild->next?gchild->next->data:NULL); \
++ g_list_free(gchild); \
+ gchild = gtk_container_get_children(GTK_CONTAINER(arr)); \
+ gtk_widget_set_size_request(GTK_WIDGET(gchild->data), 9, -1); \
++ g_list_free(gchild); \
+ }
+
+ #define MAKE_MENU(entries,path,btn) { \
+@@ -2073,6 +2075,7 @@
+ GtkWidget *btn = (GtkWidget *)gchild->data; \
+ GtkWidget *arr = (GtkWidget *) \
+ (gchild->next?gchild->next->data:NULL); \
++ g_list_free(gchild); \
+ if (GTK_IS_BUTTON(btn)) \
+ in_btn1 = GTK_BUTTON(btn)->in_button; \
+ if (GTK_IS_BUTTON(arr)) \
+@@ -2095,6 +2098,7 @@
+ GtkWidget *btn = (GtkWidget *)gchild->data; \
+ GtkWidget *arr = (GtkWidget *) \
+ (gchild->next?gchild->next->data:NULL); \
++ g_list_free(gchild); \
+ if (GTK_IS_BUTTON(btn)) \
+ GTK_BUTTON(btn)->in_button = in_btn1; \
+ if (GTK_IS_BUTTON(arr)) \
+