From d074a82a8c1427eeafc1c2f65db0a00c0755bac8 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Mon, 5 Jul 2004 00:02:09 +0000 Subject: Support also GDK_ACTION_COPY. Fix #145254. 2004-07-05 Marco Pesenti Gritti * 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. --- src/ephy-notebook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ephy-notebook.c') 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); -- cgit v1.2.3