[gtk+/wip/matthiasc/dnd-animation: 1/7] dnd: Remove an unused struct field
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/dnd-animation: 1/7] dnd: Remove an unused struct field
- Date: Tue, 8 Dec 2015 00:29:30 +0000 (UTC)
commit b9a40333770930d433de501617712113e86c7c9e
Author: Matthias Clasen <mclasen redhat com>
Date: Mon Dec 7 18:32:57 2015 -0500
dnd: Remove an unused struct field
We only have one screen nowadays, so the fallback_icon is
never used.
gtk/gtkdnd.c | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/gtk/gtkdnd.c b/gtk/gtkdnd.c
index f0c8c0b..20ec74e 100644
--- a/gtk/gtkdnd.c
+++ b/gtk/gtkdnd.c
@@ -98,7 +98,6 @@ struct _GtkDragSourceInfo
GdkDragContext *context; /* drag context */
GtkWidget *icon_window; /* Window for drag */
GtkWidget *icon_widget; /* Widget for drag */
- GtkWidget *fallback_icon; /* Window for drag used on other screens */
GtkWidget *ipc_widget; /* GtkInvisible for grab, message passing */
GdkCursor *cursor; /* Cursor for drag */
gint hot_x, hot_y; /* Hot spot for drag */
@@ -3213,13 +3212,6 @@ gtk_drag_remove_icon (GtkDragSourceInfo *info)
gtk_widget_set_opacity (info->icon_widget, 1.0);
if (info->destroy_icon)
gtk_widget_destroy (info->icon_widget);
-
- if (info->fallback_icon)
- {
- gtk_widget_destroy (info->fallback_icon);
- info->fallback_icon = NULL;
- }
-
g_object_unref (info->icon_widget);
info->icon_widget = NULL;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]