]> www.fi.muni.cz Git - evince.git/commitdiff
[toolbar-editor] Syncing to GDK API changes
authorJose Aliste <jose.aliste@gmail.com>
Sun, 6 Jun 2010 23:50:31 +0000 (19:50 -0400)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Fri, 11 Jun 2010 11:32:57 +0000 (13:32 +0200)
configure.ac
cut-n-paste/toolbar-editor/egg-editable-toolbar.c

index d145c7dde077a1673fdd0f93ffde638521d92680..571a3d0328818b2f4eb18cdb95602360eb953a24 100644 (file)
@@ -122,7 +122,7 @@ AM_CONDITIONAL([PLATFORM_HILDON],[test "$with_platform" = "hildon"])
 AM_CONDITIONAL([PLATFORM_WIN32],[test "$with_platform" = "win32"])
 
 dnl Specify required versions of dependencies
-GTK_REQUIRED=2.21.1
+GTK_REQUIRED=2.21.2
 GLIB_REQUIRED=2.25.7
 KEYRING_REQUIRED=2.22.0
 AC_SUBST([GLIB_REQUIRED])
index 44f032267ae45ac218dfac23dfb53aeba7f84910..9193120ad220288fda00cc5a1241373ef50b3240 100644 (file)
@@ -695,12 +695,12 @@ toolbar_drag_data_received_cb (GtkToolbar         *toolbar,
           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);
         }
     }