]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/dcscreen.cpp
Played a little with sockets.
[wxWidgets.git] / src / gtk / dcscreen.cpp
index 1d71b4e739f3f0d5f97f862494264ce157368a61..96491de8ad601c45a03f8c69f4f18146dde18390 100644 (file)
@@ -126,7 +126,7 @@ gdk_window_transparent_new ( GdkWindow     *parent,
   gprivate->window_type = attributes->window_type;
   gprivate->extension_events = FALSE;
   
   gprivate->window_type = attributes->window_type;
   gprivate->extension_events = FALSE;
   
-#ifndef NEW_GTK_DND_CODE
+#if (GTK_MINOR_VERSION == 0)
   gprivate->dnd_drag_data_type = None;
   gprivate->dnd_drag_data_typesavail =
     gprivate->dnd_drop_data_typesavail = NULL;
   gprivate->dnd_drag_data_type = None;
   gprivate->dnd_drag_data_typesavail =
     gprivate->dnd_drop_data_typesavail = NULL;
@@ -215,7 +215,7 @@ gdk_window_transparent_new ( GdkWindow     *parent,
   if (attributes_mask & GDK_WA_TITLE)
     title = attributes->title;
   else
   if (attributes_mask & GDK_WA_TITLE)
     title = attributes->title;
   else
-#if (GTK_MINOR_VERSION == 1)
+#if (GTK_MINOR_VERSION > 0)
     title = "Unknown"; // GLH: Well I don't know for the moment what to write here.
 #else
     title = gdk_progname;
     title = "Unknown"; // GLH: Well I don't know for the moment what to write here.
 #else
     title = gdk_progname;