From fd77c2d67e99425b8914b4398da6a2e45d3d40cc Mon Sep 17 00:00:00 2001 From: kwm Date: Thu, 10 Jun 2010 16:00:58 +0000 Subject: Chase gtk 2.21 api chance. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14245 df743ca5-7f9a-e211-a948-0013205c9059 --- graphics/evince/Makefile | 3 ++- ...ch-cut-n-paste_toolbar-editor_egg-editable-toolbar.c | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 graphics/evince/files/patch-cut-n-paste_toolbar-editor_egg-editable-toolbar.c (limited to 'graphics') 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 # # $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); + } + } + -- cgit v1.2.3