summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>1999-11-08 22:33:28 +0000
committerOwen Taylor <otaylor@src.gnome.org>1999-11-08 22:33:28 +0000
commit43529d911c5c47c67c75a62097fc6ee7ef26b05c (patch)
treebf25b7202e6b54d353ea5148ce9343b9b65c8828 /gtk/gtkwidget.c
parentb5f414a1a574ccaf39430cab1f1051b0b5ad207b (diff)
downloadgdk-pixbuf-43529d911c5c47c67c75a62097fc6ee7ef26b05c.tar.gz
Substitute gdkx.h => gdkprivate.h since we need to accesss only
Mon Nov 8 16:40:43 1999 Owen Taylor <otaylor@redhat.com> * gtk/gtkwidget.c: Substitute gdkx.h => gdkprivate.h since we need to accesss only ->children. We need an accessor for the children. * gtk/gtkhandlebox.c gtk/testgtk.c: Substitute G DK_ROOT_PARENT() => NULL, in call to gtk_window_get_pointer() to get rid of gdkx.h include. * gtk/gtkctree.c: Get rid of #include <gdk/gdkx.h> and random references to 'None'. * gtk/gtkclist.c gtk/gtkeditable.c gtk/gtkpreview.c Get rid of unused #include <gdk/gdkx.h> * gtk/gtkrc.c gtk/gtkmain.c: Get rid of #include <gdk/gdkx.h> gdkx.h is _X_ specific stuff. GDK_WINDOWING comes from gdkconfig.h.
Diffstat (limited to 'gtk/gtkwidget.c')
-rw-r--r--gtk/gtkwidget.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 35693a68b..36cf93e46 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -36,7 +36,7 @@
#include "gtkbindings.h"
#include "gtkprivate.h"
#include "gdk/gdk.h"
-#include "gdkx.h"
+#include "gdkprivate.h" /* Used in gtk_reset_shapes_recurse to avoid copy */
#define WIDGET_CLASS(w) GTK_WIDGET_CLASS (GTK_OBJECT (w)->klass)
@@ -4784,9 +4784,6 @@ gtk_reset_shapes_recurse (GtkWidget *widget,
private = (GdkWindowPrivate*) window;
- /* FIXME: We do we need this check? */
- if (GDK_DRAWABLE_DESTROYED (window))
- return;
gdk_window_get_user_data (window, &data);
if (data != widget)
return;