comparison 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
comparison
equal deleted inserted replaced
2053:11e709117623 2054:91d4c8c65a0f
362 static gboolean 362 static gboolean
363 scrollbar_cb (GtkAdjustment *adj, gpointer user_data) 363 scrollbar_cb (GtkAdjustment *adj, gpointer user_data)
364 { 364 {
365 /* This function can GC */ 365 /* This function can GC */
366 int vertical = (int) user_data; 366 int vertical = (int) user_data;
367 struct frame *f = gtk_object_get_data (GTK_OBJECT (adj), "xemacs::frame"); 367 struct frame *f = (struct frame*) gtk_object_get_data (GTK_OBJECT (adj), "xemacs::frame");
368 struct scrollbar_instance *instance; 368 struct scrollbar_instance *instance;
369 GUI_ID id = (GUI_ID) gtk_object_get_data (GTK_OBJECT (adj), "xemacs::gui_id"); 369 GUI_ID id = (GUI_ID) gtk_object_get_data (GTK_OBJECT (adj), "xemacs::gui_id");
370 Lisp_Object win, frame; 370 Lisp_Object win, frame;
371 struct window_mirror *mirror; 371 struct window_mirror *mirror;
372 Lisp_Object event_type = Qnil; 372 Lisp_Object event_type = Qnil;