+Fri Jan 8 19:00:17 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkdnd.c (gdk_window_cache_filter): Fixed
+ some list-manipulation breakage.
+
+ * gdk/gdkdnd.c (gdk_window_cache_destroy): Free
+ window cache structure.
+
+ * gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set an
+ event mask on the drag window so clicking on it
+ doesn't pop up root menus, etc.
+
+ * gtk/gtkdnd.c (gtk_drag_button_release_cb): Remove
+ signal handlers at button release.
+
Fri Jan 8 00:42:00 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
+Fri Jan 8 19:00:17 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkdnd.c (gdk_window_cache_filter): Fixed
+ some list-manipulation breakage.
+
+ * gdk/gdkdnd.c (gdk_window_cache_destroy): Free
+ window cache structure.
+
+ * gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set an
+ event mask on the drag window so clicking on it
+ doesn't pop up root menus, etc.
+
+ * gtk/gtkdnd.c (gtk_drag_button_release_cb): Remove
+ signal handlers at button release.
+
Fri Jan 8 00:42:00 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
+Fri Jan 8 19:00:17 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkdnd.c (gdk_window_cache_filter): Fixed
+ some list-manipulation breakage.
+
+ * gdk/gdkdnd.c (gdk_window_cache_destroy): Free
+ window cache structure.
+
+ * gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set an
+ event mask on the drag window so clicking on it
+ doesn't pop up root menus, etc.
+
+ * gtk/gtkdnd.c (gtk_drag_button_release_cb): Remove
+ signal handlers at button release.
+
Fri Jan 8 00:42:00 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
+Fri Jan 8 19:00:17 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkdnd.c (gdk_window_cache_filter): Fixed
+ some list-manipulation breakage.
+
+ * gdk/gdkdnd.c (gdk_window_cache_destroy): Free
+ window cache structure.
+
+ * gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set an
+ event mask on the drag window so clicking on it
+ doesn't pop up root menus, etc.
+
+ * gtk/gtkdnd.c (gtk_drag_button_release_cb): Remove
+ signal handlers at button release.
+
Fri Jan 8 00:42:00 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
+Fri Jan 8 19:00:17 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkdnd.c (gdk_window_cache_filter): Fixed
+ some list-manipulation breakage.
+
+ * gdk/gdkdnd.c (gdk_window_cache_destroy): Free
+ window cache structure.
+
+ * gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set an
+ event mask on the drag window so clicking on it
+ doesn't pop up root menus, etc.
+
+ * gtk/gtkdnd.c (gtk_drag_button_release_cb): Remove
+ signal handlers at button release.
+
Fri Jan 8 00:42:00 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
+Fri Jan 8 19:00:17 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkdnd.c (gdk_window_cache_filter): Fixed
+ some list-manipulation breakage.
+
+ * gdk/gdkdnd.c (gdk_window_cache_destroy): Free
+ window cache structure.
+
+ * gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set an
+ event mask on the drag window so clicking on it
+ doesn't pop up root menus, etc.
+
+ * gtk/gtkdnd.c (gtk_drag_button_release_cb): Remove
+ signal handlers at button release.
+
Fri Jan 8 00:42:00 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
+Fri Jan 8 19:00:17 1999 Owen Taylor <otaylor@redhat.com>
+
+ * gdk/gdkdnd.c (gdk_window_cache_filter): Fixed
+ some list-manipulation breakage.
+
+ * gdk/gdkdnd.c (gdk_window_cache_destroy): Free
+ window cache structure.
+
+ * gtk/gtkdnd.c (gtk_drag_set_icon_pixmap): Set an
+ event mask on the drag window so clicking on it
+ doesn't pop up root menus, etc.
+
+ * gtk/gtkdnd.c (gtk_drag_button_release_cb): Remove
+ signal handlers at button release.
+
Fri Jan 8 00:42:00 1999 Lars Hamann <lars@gtk.org>
* gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
/* GDK - The GIMP Drawing Kit
- * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+ * Copyright (C) 1995-1999 Peter Mattis, Spencer Kimball and Josh MacDonald
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
{
cache->children = g_list_remove_link (cache->children, node);
node->next = above_node->next;
+ if (node->next)
+ node->next->prev = node;
node->prev = above_node;
above_node->next = node;
}
case CreateNotify:
{
XCreateWindowEvent *xcwe = &xevent->xcreatewindow;
+
if (!g_hash_table_lookup (cache->child_hash,
GUINT_TO_POINTER (xcwe->window)))
gdk_window_cache_add (cache, xcwe->window,
g_list_foreach (cache->children, (GFunc)g_free, NULL);
g_list_free (cache->children);
g_hash_table_destroy (cache->child_hash);
+
+ g_free (cache);
}
static Window
/* GDK - The GIMP Drawing Kit
- * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+ * Copyright (C) 1995-1999 Peter Mattis, Spencer Kimball and Josh MacDonald
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
{
cache->children = g_list_remove_link (cache->children, node);
node->next = above_node->next;
+ if (node->next)
+ node->next->prev = node;
node->prev = above_node;
above_node->next = node;
}
case CreateNotify:
{
XCreateWindowEvent *xcwe = &xevent->xcreatewindow;
+
if (!g_hash_table_lookup (cache->child_hash,
GUINT_TO_POINTER (xcwe->window)))
gdk_window_cache_add (cache, xcwe->window,
g_list_foreach (cache->children, (GFunc)g_free, NULL);
g_list_free (cache->children);
g_hash_table_destroy (cache->child_hash);
+
+ g_free (cache);
}
static Window
/* GTK - The GIMP Toolkit
- * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
+ * Copyright (C) 1995-1999 Peter Mattis, Spencer Kimball and Josh MacDonald
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
gtk_widget_push_colormap (colormap);
window = gtk_window_new (GTK_WINDOW_POPUP);
+ gtk_widget_set_events (window, GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK);
gtk_widget_set_app_paintable (GTK_WIDGET (window), TRUE);
gtk_widget_pop_visual ();
if (info->widget)
gtk_widget_unref (info->widget);
- gtk_signal_disconnect_by_data (GTK_OBJECT (info->ipc_widget), info);
gtk_selection_remove_all (info->ipc_widget);
gtk_object_set_data (GTK_OBJECT (info->ipc_widget), "gtk-info", NULL);
source_widgets = g_slist_remove (source_widgets, info->ipc_widget);
}
gtk_grab_remove (widget);
+ gtk_signal_disconnect_by_data (GTK_OBJECT (widget), info);
/* Send on a release pair to the the original
* widget to convince it to release its grab. We need to