- Rename gdk_drag_context_get_action to

gdk_drag_context_get_selected_action
This commit is contained in:
mkasik 2010-06-21 13:30:08 +00:00
parent 4d494b180a
commit 00279dad80
2 changed files with 25 additions and 1 deletions

View File

@ -0,0 +1,17 @@
--- 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);
}
}

View File

@ -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.org/sources/%{name}/2.31/%{name}-%{version
# 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 "Document" to the file properties dialog.
%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 %{_datadir}/glib-2.0/schemas ||:
%{_libdir}/nautilus/extensions-2.0/libevince-properties-page.so
%changelog
* Mon Jun 21 2010 Marek Kasik <mkasik@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@redhat.com> - 2.31.3-2
- Rebuild against new poppler