diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2012-08-17 19:34:28 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2012-08-17 19:34:28 (GMT) |
commit | b226ca8a19e746521f6f0c1e3b71deed7ea9ab2e (patch) | |
tree | bd6c389c7e3a673f7d29fe75f7f8280a3b58d4ec /src/gtkext/gtkdockpanel.c | |
parent | 9cfe738c2e9bb49eb2872e92bc4422c548edb517 (diff) |
Removed all references to the drop window.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@260 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtkdockpanel.c')
-rw-r--r-- | src/gtkext/gtkdockpanel.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gtkext/gtkdockpanel.c b/src/gtkext/gtkdockpanel.c index 79a4a0e..4b9668b 100644 --- a/src/gtkext/gtkdockpanel.c +++ b/src/gtkext/gtkdockpanel.c @@ -28,7 +28,6 @@ #include <string.h> -#include "gtkdropwindow.h" #include "iodamarshal.h" @@ -244,9 +243,8 @@ static void gtk_dock_panel_init(GtkDockPanel *dpanel) - dpanel->dropwin = gtk_drop_window_new(); - +#if 0 /* Make the "well label" a DnD destination. */ gtk_drag_dest_set ( @@ -257,6 +255,7 @@ static void gtk_dock_panel_init(GtkDockPanel *dpanel) n_targets, /* size of list */ GDK_ACTION_COPY /* what to do with data after dropped */ ); +#endif } @@ -397,6 +396,7 @@ static gboolean gtk_dock_panel_drag_motion_cb(GtkDockPanel *dpanel, GdkDragConte gint new_y; /* OrdonnĂ©e de la fenĂȘtre */ GtkRequisition req; /* Taille actuelle du panneau */ +#if 0 if (!gtk_widget_get_visible(dpanel->dropwin)) { gdk_window_get_origin(GTK_WIDGET(dpanel)->window, &new_x, &new_y); @@ -409,7 +409,7 @@ static gboolean gtk_dock_panel_drag_motion_cb(GtkDockPanel *dpanel, GdkDragConte gtk_widget_show(dpanel->dropwin); } - +#endif return FALSE; } @@ -434,7 +434,7 @@ static gboolean gtk_dock_panel_drag_motion_cb(GtkDockPanel *dpanel, GdkDragConte static void gtk_dock_panel_drag_leave_cb(GtkDockPanel *dpanel, GdkDragContext *context, guint time, gpointer data) { - gtk_widget_hide(dpanel->dropwin); + //gtk_widget_hide(dpanel->dropwin); } |