aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-notebook.c
diff options
context:
space:
mode:
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);