Mercurial > hg > xemacs-beta
diff src/scrollbar-gtk.c @ 2054:91d4c8c65a0f
[xemacs-hg @ 2004-05-02 04:06:51 by malcolmp]
Fix warnings and errors when building GTK using C++ and --use-union-type.
author | malcolmp |
---|---|
date | Sun, 02 May 2004 04:07:01 +0000 |
parents | a8d8f419b459 |
children | 95fee4a1420e |
line wrap: on
line diff
--- a/src/scrollbar-gtk.c Sat May 01 21:50:40 2004 +0000 +++ b/src/scrollbar-gtk.c Sun May 02 04:07:01 2004 +0000 @@ -364,7 +364,7 @@ { /* This function can GC */ int vertical = (int) user_data; - struct frame *f = gtk_object_get_data (GTK_OBJECT (adj), "xemacs::frame"); + struct frame *f = (struct frame*) gtk_object_get_data (GTK_OBJECT (adj), "xemacs::frame"); struct scrollbar_instance *instance; GUI_ID id = (GUI_ID) gtk_object_get_data (GTK_OBJECT (adj), "xemacs::gui_id"); Lisp_Object win, frame;