summaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-05-26 06:53:07 +0000
committermarcus <marcus@FreeBSD.org>2005-05-26 06:53:07 +0000
commit96ed7c52b5ad573df43add465aed4ca28240a148 (patch)
tree15bb27649a89a9a9f595cd4fededc17a9c084d06 /x11-toolkits
parentb7de733f5766a42b59cdb0f397a53ad2826c4d2f (diff)
downloadFreeBSD-ports-96ed7c52b5ad573df43add465aed4ca28240a148.zip
FreeBSD-ports-96ed7c52b5ad573df43add465aed4ca28240a148.tar.gz
Fix a potential crash in Evolution when closing a window.
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/gal2/Makefile1
-rw-r--r--x11-toolkits/gal2/files/patch-gal_widgets_e-canvas.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11-toolkits/gal2/Makefile b/x11-toolkits/gal2/Makefile
index 9968f70..f7e3ae1 100644
--- a/x11-toolkits/gal2/Makefile
+++ b/x11-toolkits/gal2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gal2
PORTVERSION= 2.4.2
+PORTREVISION= 1
CATEGORIES= x11-toolkits gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/2.4
diff --git a/x11-toolkits/gal2/files/patch-gal_widgets_e-canvas.c b/x11-toolkits/gal2/files/patch-gal_widgets_e-canvas.c
new file mode 100644
index 0000000..10dc71d
--- /dev/null
+++ b/x11-toolkits/gal2/files/patch-gal_widgets_e-canvas.c
@@ -0,0 +1,11 @@
+--- gal/widgets/e-canvas.c.orig Tue May 24 01:16:33 2005
++++ gal/widgets/e-canvas.c Tue May 24 01:16:51 2005
+@@ -1015,7 +1015,7 @@ void e_canvas_popup_tooltip (ECanvas *ca
+
+ void e_canvas_hide_tooltip (ECanvas *canvas)
+ {
+- if (canvas->tooltip_window) {
++ if (canvas && canvas->tooltip_window) {
+ gtk_widget_destroy (canvas->tooltip_window);
+ canvas->tooltip_window = NULL;
+ }
OpenPOWER on IntegriCloud