summaryrefslogtreecommitdiffstats
path: root/graphics/evince
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-06-11 00:00:58 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2010-06-11 00:00:58 +0800
commitfd77c2d67e99425b8914b4398da6a2e45d3d40cc (patch)
tree5307ac98a98460abdd71dc818e99a78c01ec7a11 /graphics/evince
parentda835d3a0fc5b21d9bd1c65f3c0022ed4b36a42c (diff)
downloadmarcuscom-ports-fd77c2d67e99425b8914b4398da6a2e45d3d40cc.tar
marcuscom-ports-fd77c2d67e99425b8914b4398da6a2e45d3d40cc.tar.gz
marcuscom-ports-fd77c2d67e99425b8914b4398da6a2e45d3d40cc.tar.bz2
marcuscom-ports-fd77c2d67e99425b8914b4398da6a2e45d3d40cc.tar.lz
marcuscom-ports-fd77c2d67e99425b8914b4398da6a2e45d3d40cc.tar.xz
marcuscom-ports-fd77c2d67e99425b8914b4398da6a2e45d3d40cc.tar.zst
marcuscom-ports-fd77c2d67e99425b8914b4398da6a2e45d3d40cc.zip
Chase gtk 2.21 api chance.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14245 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'graphics/evince')
-rw-r--r--graphics/evince/Makefile3
-rw-r--r--graphics/evince/files/patch-cut-n-paste_toolbar-editor_egg-editable-toolbar.c17
2 files changed, 19 insertions, 1 deletions
diff --git a/graphics/evince/Makefile b/graphics/evince/Makefile
index 1e6819273..3eb0d812f 100644
--- a/graphics/evince/Makefile
+++ b/graphics/evince/Makefile
@@ -3,11 +3,12 @@
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
-# $MCom$
+# $MCom: ports/graphics/evince/Makefile,v 1.139 2010/06/08 09:26:39 kwm Exp $
#
PORTNAME= evince
PORTVERSION= 2.31.3
+PORTREVISION= 1
CATEGORIES= graphics print gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome2
diff --git a/graphics/evince/files/patch-cut-n-paste_toolbar-editor_egg-editable-toolbar.c b/graphics/evince/files/patch-cut-n-paste_toolbar-editor_egg-editable-toolbar.c
new file mode 100644
index 000000000..2d0688d75
--- /dev/null
+++ b/graphics/evince/files/patch-cut-n-paste_toolbar-editor_egg-editable-toolbar.c
@@ -0,0 +1,17 @@
+--- cut-n-paste/toolbar-editor/egg-editable-toolbar.c.orig 2010-06-10 17:54:30.000000000 +0200
++++ cut-n-paste/toolbar-editor/egg-editable-toolbar.c 2010-06-10 17:55:15.000000000 +0200
+@@ -695,12 +695,12 @@ toolbar_drag_data_received_cb (GtkToolba
+ gint tpos = get_toolbar_position (etoolbar, GTK_WIDGET (toolbar));
+ egg_toolbars_model_add_item (etoolbar->priv->model, tpos, ipos, name);
+ gtk_drag_finish (context, TRUE,
+- gdk_drag_context_get_action (context) == GDK_ACTION_MOVE, time);
++ gdk_drag_context_get_selected_action (context) == GDK_ACTION_MOVE, time);
+ }
+ else
+ {
+ gtk_drag_finish (context, FALSE,
+- gdk_drag_context_get_action (context) == GDK_ACTION_MOVE, time);
++ gdk_drag_context_get_selected_action (context) == GDK_ACTION_MOVE, time);
+ }
+ }
+