summaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-mount
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-02-11 14:03:51 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2007-02-11 14:03:51 +0800
commit39b73593eaaa9ea0bf432bc7f974c1e7605d153a (patch)
tree08643c4b4cff4f5e6826c08545ed10e264dc098c /sysutils/gnome-mount
parent592adcf45fb172a0698286e551b59abd2d35c3c6 (diff)
downloadmarcuscom-ports-39b73593eaaa9ea0bf432bc7f974c1e7605d153a.tar
marcuscom-ports-39b73593eaaa9ea0bf432bc7f974c1e7605d153a.tar.gz
marcuscom-ports-39b73593eaaa9ea0bf432bc7f974c1e7605d153a.tar.bz2
marcuscom-ports-39b73593eaaa9ea0bf432bc7f974c1e7605d153a.tar.lz
marcuscom-ports-39b73593eaaa9ea0bf432bc7f974c1e7605d153a.tar.xz
marcuscom-ports-39b73593eaaa9ea0bf432bc7f974c1e7605d153a.tar.zst
marcuscom-ports-39b73593eaaa9ea0bf432bc7f974c1e7605d153a.zip
Do not call gtk_widget_unref() on unrealized GtkMessageDialogs as this leads
to errors. Reported by: mezz git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8291 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'sysutils/gnome-mount')
-rw-r--r--sysutils/gnome-mount/Makefile4
-rw-r--r--sysutils/gnome-mount/files/patch-src_gnome-mount.c20
2 files changed, 21 insertions, 3 deletions
diff --git a/sysutils/gnome-mount/Makefile b/sysutils/gnome-mount/Makefile
index 0365dabc7..5dbb65de5 100644
--- a/sysutils/gnome-mount/Makefile
+++ b/sysutils/gnome-mount/Makefile
@@ -3,12 +3,12 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/sysutils/gnome-mount/Makefile,v 1.11 2006/12/20 21:17:56 pav Exp $
+# $MCom: ports/sysutils/gnome-mount/Makefile,v 1.12 2006/12/31 20:44:44 marcus Exp $
#
PORTNAME= gnome-mount
PORTVERSION= 0.5
-PORTREVISION= 5
+PORTREVISION= 6
CATEGORIES= sysutils gnome
MASTER_SITES= http://people.freedesktop.org/~david/dist/
diff --git a/sysutils/gnome-mount/files/patch-src_gnome-mount.c b/sysutils/gnome-mount/files/patch-src_gnome-mount.c
index 786dbc40c..19de73ccd 100644
--- a/sysutils/gnome-mount/files/patch-src_gnome-mount.c
+++ b/sysutils/gnome-mount/files/patch-src_gnome-mount.c
@@ -1,5 +1,5 @@
--- src/gnome-mount.c.orig Sun Sep 17 01:17:54 2006
-+++ src/gnome-mount.c Sun Nov 26 16:28:25 2006
++++ src/gnome-mount.c Sun Feb 11 01:03:16 2007
@@ -51,9 +51,14 @@
#include <libhal.h>
#include <libhal-storage.h>
@@ -17,6 +17,24 @@
#include <sys/mnttab.h>
#endif
+@@ -380,7 +385,7 @@ show_error_dialog_mount (LibHalVolume *v
+ } else if (strcmp (error_name, "org.freedesktop.Hal.Device.Volume.AlreadyMounted") == 0) {
+
+ /* don't show any dialog for this */
+- gtk_widget_unref (w);
++ gtk_widget_destroy (w);
+ w = NULL;
+
+ #if 0
+@@ -399,7 +404,7 @@ show_error_dialog_mount (LibHalVolume *v
+ *
+ * Don't show any dialog for this.
+ */
+- gtk_widget_unref (w);
++ gtk_widget_destroy (w);
+ w = NULL;
+
+ } else {
@@ -582,19 +587,24 @@ static char *
get_mntent_mount_point(const char *device_file)
{