rpms/evince/devel evince-gdk-drag-context.patch, NONE, 1.1 evince.spec, 1.205, 1.206

mkasik mkasik at fedoraproject.org
Mon Jun 21 13:30:08 UTC 2010


Author: mkasik

Update of /cvs/pkgs/rpms/evince/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv23850

Modified Files:
	evince.spec 
Added Files:
	evince-gdk-drag-context.patch 
Log Message:
* Mon Jun 21 2010 Marek Kasik <mkasik at redhat.com> - 2.31.3-3
- Rename gdk_drag_context_get_action to gdk_drag_context_get_selected_action


evince-gdk-drag-context.patch:
 egg-editable-toolbar.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE evince-gdk-drag-context.patch ---
--- evince-2.31.3/cut-n-paste/toolbar-editor/egg-editable-toolbar.c	2010-06-02 14:15:09.000000000 +0200
+++ evince-2.31.3/cut-n-paste/toolbar-editor/egg-editable-toolbar.c	2010-06-21 15:21:06.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);
         }
     }
 


Index: evince.spec
===================================================================
RCS file: /cvs/pkgs/rpms/evince/devel/evince.spec,v
retrieving revision 1.205
retrieving revision 1.206
diff -u -p -r1.205 -r1.206
--- evince.spec	19 Jun 2010 03:09:20 -0000	1.205
+++ evince.spec	21 Jun 2010 13:30:08 -0000	1.206
@@ -6,7 +6,7 @@
 
 Name:           evince
 Version:        2.31.3
-Release:        2%{?dist}
+Release:        3%{?dist}
 Summary:        Document viewer
 
 License:        GPLv2+ and GFDL
@@ -16,6 +16,9 @@ Source0:        http://download.gnome.or
 # https://bugzilla.redhat.com/show_bug.cgi?id=562648
 Patch2:         evince-t1font-mapping.patch
 
+# rename gdk_drag_context_get_action to gdk_drag_context_get_selected_action
+Patch3:         evince-gdk-drag-context.patch
+
 BuildRequires:  gtk2-devel >= %{gtk2_version}
 BuildRequires:  glib2-devel >= %{glib2_version}
 BuildRequires:  poppler-glib-devel >= %{poppler_version}
@@ -105,6 +108,7 @@ It adds an additional tab called "Docume
 %prep
 %setup -q
 %patch2 -p1 -b .t1font-map
+%patch3 -p1 -b .gdk-drag-context
 
 %build
 %configure \
@@ -231,6 +235,9 @@ glib-compile-schemas --allow-any-name %{
 %{_libdir}/nautilus/extensions-2.0/libevince-properties-page.so
 
 %changelog
+* Mon Jun 21 2010 Marek Kasik <mkasik at redhat.com> - 2.31.3-3
+- Rename gdk_drag_context_get_action to gdk_drag_context_get_selected_action
+
 * Fri Jun 18 2010 Matthias Clasen <mclasen at redhat.com> - 2.31.3-2
 - Rebuild against new poppler
 



More information about the scm-commits mailing list