diff src/ui-gtk.c @ 2168:95fee4a1420e

[xemacs-hg @ 2004-07-07 12:00:58 by malcolmp] Working GK tab_control widget. Other GTK widgets drawn with the correct location and size.
author malcolmp
date Wed, 07 Jul 2004 12:01:07 +0000
parents 91d4c8c65a0f
children 04bc9d2f42c7
line wrap: on
line diff
--- a/src/ui-gtk.c	Wed Jul 07 01:52:17 2004 +0000
+++ b/src/ui-gtk.c	Wed Jul 07 12:01:07 2004 +0000
@@ -11,7 +11,7 @@
 #include "lisp.h"
 
 #include "buffer.h"
-#include "console-gtk.h"
+#include "console-gtk-impl.h"
 #include "device.h"
 #include "elhash.h"
 #include "event-gtk.h"
@@ -980,7 +980,7 @@
   emacs_gtk_object_data *data = NULL;
   GUI_ID id = 0;
 
-  id = (GUI_ID) gtk_object_get_data (obj, "xemacs::gui_id");
+  id = (GUI_ID) gtk_object_get_data (obj, GTK_DATA_GUI_IDENTIFIER);
 
   if (id)
     {
@@ -996,7 +996,7 @@
       retval = wrap_emacs_gtk_object (data);
 
       id = new_gui_id ();
-      gtk_object_set_data (obj, "xemacs::gui_id", (gpointer) id);
+      gtk_object_set_data (obj, GTK_DATA_GUI_IDENTIFIER, (gpointer) id);
       gcpro_popup_callbacks (id, retval);
       gtk_object_ref (obj);
       gtk_signal_connect (obj, "destroy", GTK_SIGNAL_FUNC (__notice_object_destruction), (gpointer)id);