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

Comparing BasiliskII/src/Unix/main_unix.cpp (file contents):
Revision 1.42 by cebix, 2002-01-15T14:58:37Z vs.
Revision 1.43 by cebix, 2002-01-22T17:15:09Z

# Line 51 | Line 51 | struct sigstate {
51   #ifdef ENABLE_GTK
52   # include <gtk/gtk.h>
53   # include <gdk/gdk.h>
54 + # ifdef HAVE_GNOMEUI
55 + #  include <gnome.h>
56 + # endif
57   #endif
58  
59   #ifdef ENABLE_XF86_DGA
# Line 222 | Line 225 | int main(int argc, char **argv)
225          printf(" %s\n", GetString(STR_ABOUT_TEXT2));
226  
227   #ifdef ENABLE_GTK
228 + #ifdef HAVE_GNOMEUI
229 +        // Init GNOME/GTK
230 +        char version[16];
231 +        sprintf(version, "%d.%d", VERSION_MAJOR, VERSION_MINOR);
232 +        gnome_init("Basilisk II", version, argc, argv);
233 + #else
234          // Init GTK
235          gtk_set_locale();
236          gtk_init(&argc, &argv);
237 + #endif
238          x_display_name = gdk_get_display(); // gtk_init() handles and removes the "--display" argument
239   #endif
240  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines