summaryrefslogtreecommitdiff
path: root/gtk/gtkhandlebox.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/gtkhandlebox.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/gtkhandlebox.c')
-rw-r--r--gtk/gtkhandlebox.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/gtkhandlebox.c b/gtk/gtkhandlebox.c
index 15bd74595..b9bbe125f 100644
--- a/gtk/gtkhandlebox.c
+++ b/gtk/gtkhandlebox.c
@@ -26,7 +26,6 @@
*/
#include <stdlib.h>
-#include "gdkx.h"
#include "gtkhandlebox.h"
#include "gtkmain.h"
#include "gtksignal.h"
@@ -1026,7 +1025,7 @@ gtk_handle_box_motion (GtkWidget *widget,
*/
new_x = 0;
new_y = 0;
- gdk_window_get_pointer (GDK_ROOT_PARENT(), &new_x, &new_y, NULL);
+ gdk_window_get_pointer (NULL, &new_x, &new_y, NULL);
new_x += hb->float_allocation.x;
new_y += hb->float_allocation.y;