summaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/gnumeric/Makefile4
-rw-r--r--math/gnumeric/files/patch-src_widgets_gnumeric-expr-entry.c35
2 files changed, 37 insertions, 2 deletions
diff --git a/math/gnumeric/Makefile b/math/gnumeric/Makefile
index 5952ac5c6..02bb75b6d 100644
--- a/math/gnumeric/Makefile
+++ b/math/gnumeric/Makefile
@@ -3,12 +3,12 @@
# Whom: Yukihiro Nakai <Nakai@technologist.com>
#
# $FreeBSD$
-# $MCom: ports/math/gnumeric/Makefile,v 1.31 2007/05/19 21:36:14 marcus Exp $
+# $MCom: ports/math/gnumeric/Makefile,v 1.32 2007/05/30 17:59:38 mezz Exp $
#
PORTNAME= gnumeric
PORTVERSION= 1.7.10
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= math gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:R}
diff --git a/math/gnumeric/files/patch-src_widgets_gnumeric-expr-entry.c b/math/gnumeric/files/patch-src_widgets_gnumeric-expr-entry.c
new file mode 100644
index 000000000..e020c2903
--- /dev/null
+++ b/math/gnumeric/files/patch-src_widgets_gnumeric-expr-entry.c
@@ -0,0 +1,35 @@
+--- src/widgets/gnumeric-expr-entry.c 2007/06/18 15:49:42 15609
++++ src/widgets/gnumeric-expr-entry.c 2007/06/18 17:17:20 15610
+@@ -176,14 +176,14 @@
+ g_assert (GTK_IS_CONTAINER (old_entry_parent));
+
+ g_object_set_data_full (G_OBJECT (entry), "old_entry_parent",
+- gtk_widget_ref (old_entry_parent),
+- (GDestroyNotify) gtk_widget_unref);
++ g_object_ref (old_entry_parent),
++ (GDestroyNotify) g_object_unref);
+
+ g_return_if_fail ((GtkWidget *) entry != old_toplevel_child);
+
+ g_object_set_data_full (G_OBJECT (entry), "old_toplevel_child",
+- gtk_widget_ref (old_toplevel_child),
+- (GDestroyNotify) gtk_widget_unref);
++ g_object_ref (old_toplevel_child),
++ (GDestroyNotify) g_object_unref);
+
+ gtk_window_get_size (GTK_WINDOW (toplevel), &width, &height);
+ g_object_set_data (G_OBJECT (entry), "old_window_width", GUINT_TO_POINTER (width));
+@@ -234,11 +234,11 @@
+ old_entry_parent = g_object_get_data (G_OBJECT (entry), "old_entry_parent");
+ g_assert (GTK_IS_CONTAINER (old_entry_parent));
+
+- gtk_widget_ref (GTK_WIDGET (entry));
++ g_object_ref (entry);
+ gtk_container_remove (GTK_CONTAINER (toplevel), GTK_WIDGET (entry));
+ gtk_container_add (GTK_CONTAINER (toplevel), old_toplevel_child);
+ gtk_container_add (GTK_CONTAINER (old_entry_parent), GTK_WIDGET (entry));
+- gtk_widget_unref (GTK_WIDGET (entry));
++ g_object_unref (entry);
+
+ container_props = g_object_get_data (G_OBJECT (entry), "container_props");
+ container_props_pspec = g_object_get_data (G_OBJECT (entry), "container_props_pspec");