diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-06-28 11:43:57 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-06-28 11:43:57 +0800 |
commit | 152d0a62b44bd0f12b7ddfc834267183405e4f0b (patch) | |
tree | dbcf5d91d82527d698451dcc47b82d08578ed88e /math | |
parent | 1d5cb0f6b3309aded361802d9169fe5a311db779 (diff) | |
download | marcuscom-ports-152d0a62b44bd0f12b7ddfc834267183405e4f0b.tar marcuscom-ports-152d0a62b44bd0f12b7ddfc834267183405e4f0b.tar.gz marcuscom-ports-152d0a62b44bd0f12b7ddfc834267183405e4f0b.tar.bz2 marcuscom-ports-152d0a62b44bd0f12b7ddfc834267183405e4f0b.tar.lz marcuscom-ports-152d0a62b44bd0f12b7ddfc834267183405e4f0b.tar.xz marcuscom-ports-152d0a62b44bd0f12b7ddfc834267183405e4f0b.tar.zst marcuscom-ports-152d0a62b44bd0f12b7ddfc834267183405e4f0b.zip |
Fix the build with the new GTK+.
Submitted by: Pawel Worach <pawel.worach@gmail.com>
Obtained from: GNOME SVN
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9089 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'math')
-rw-r--r-- | math/gnumeric/Makefile | 4 | ||||
-rw-r--r-- | math/gnumeric/files/patch-src_widgets_gnumeric-expr-entry.c | 35 |
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"); |