aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@gnome.org>2004-07-05 08:02:09 +0800
committerMarco Pesenti Gritti <marco@src.gnome.org>2004-07-05 08:02:09 +0800
commitd074a82a8c1427eeafc1c2f65db0a00c0755bac8 (patch)
treee769c054b6fd0f9919964bdea931484091095baa /src/ephy-notebook.c
parent88b80a860b47b19756c162df89307a58a43ceeeb (diff)
downloadgsoc2013-epiphany-d074a82a8c1427eeafc1c2f65db0a00c0755bac8.tar
gsoc2013-epiphany-d074a82a8c1427eeafc1c2f65db0a00c0755bac8.tar.gz
gsoc2013-epiphany-d074a82a8c1427eeafc1c2f65db0a00c0755bac8.tar.bz2
gsoc2013-epiphany-d074a82a8c1427eeafc1c2f65db0a00c0755bac8.tar.lz
gsoc2013-epiphany-d074a82a8c1427eeafc1c2f65db0a00c0755bac8.tar.xz
gsoc2013-epiphany-d074a82a8c1427eeafc1c2f65db0a00c0755bac8.tar.zst
gsoc2013-epiphany-d074a82a8c1427eeafc1c2f65db0a00c0755bac8.zip
Support also GDK_ACTION_COPY. Fix #145254.
2004-07-05 Marco Pesenti Gritti <marco@gnome.org> * src/bookmarks/ephy-bookmark-action.c: (drag_motion_cb): Support also GDK_ACTION_COPY. Fix #145254. * src/ephy-notebook.c: (notebook_drag_data_received_cb): Use the notebook to access the toplevel, data passed to the signal can be NULL.
Diffstat (limited to 'src/ephy-notebook.c')
-rw-r--r--src/ephy-notebook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-notebook.c b/src/ephy-notebook.c
index e09543f72..e55fdc03f 100644
--- a/src/ephy-notebook.c
+++ b/src/ephy-notebook.c
@@ -629,7 +629,7 @@ notebook_drag_data_received_cb (GtkWidget* widget, GdkDragContext *context,
{
EphyWindow *window;
- window = EPHY_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (tab)));
+ window = EPHY_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (widget)));
ephy_window_load_in_tabs (window, tab, uri_list);
gnome_vfs_uri_list_free (uri_list);