ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/Unix/prefs_editor_gtk.cpp
(Generate patch)

Comparing BasiliskII/src/Unix/prefs_editor_gtk.cpp (file contents):
Revision 1.30 by gbeauche, 2005-11-22T20:29:46Z vs.
Revision 1.31 by gbeauche, 2005-11-22T21:53:24Z

# Line 60 | Line 60 | static void read_settings(void);
60   *  Utility functions
61   */
62  
63 + #if ! GLIB_CHECK_VERSION(2,0,0)
64 + #define G_OBJECT(obj)                                                   GTK_OBJECT(obj)
65 + #define g_object_get_data(obj, key)                             gtk_object_get_data((obj), (key))
66 + #define g_object_set_data(obj, key, data)               gtk_object_set_data((obj), (key), (data))
67 + #endif
68 +
69   struct opt_desc {
70          int label_id;
71          GtkSignalFunc func;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines