2005-07-21 Tor Lillqvist <tml@novell.com>
- * gtk/gtkwindow.c (gtk_window_show): No need for ifdef, can now
- use GTK_IS_PLUG() with all backends.
-
* gtk/gtk.symbols: Make GtkPlug/Socket API available with all
backends.
* gtk/gtkxembed.c (_gtk_xembed_message_name): New function, used
in error messages and debugging output.
+ * gtk/gtkwindow.c (gtk_window_show): No need for ifdef, can now
+ use GTK_IS_PLUG() with all backends.
+
+ * tests/testsocket_common.c: Make it work on Win32, too.
+
2005-07-21 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Use
2005-07-21 Tor Lillqvist <tml@novell.com>
- * gtk/gtkwindow.c (gtk_window_show): No need for ifdef, can now
- use GTK_IS_PLUG() with all backends.
-
* gtk/gtk.symbols: Make GtkPlug/Socket API available with all
backends.
* gtk/gtkxembed.c (_gtk_xembed_message_name): New function, used
in error messages and debugging output.
+ * gtk/gtkwindow.c (gtk_window_show): No need for ifdef, can now
+ use GTK_IS_PLUG() with all backends.
+
+ * tests/testsocket_common.c: Make it work on Win32, too.
+
2005-07-21 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Use
2005-07-21 Tor Lillqvist <tml@novell.com>
- * gtk/gtkwindow.c (gtk_window_show): No need for ifdef, can now
- use GTK_IS_PLUG() with all backends.
-
* gtk/gtk.symbols: Make GtkPlug/Socket API available with all
backends.
* gtk/gtkxembed.c (_gtk_xembed_message_name): New function, used
in error messages and debugging output.
+ * gtk/gtkwindow.c (gtk_window_show): No need for ifdef, can now
+ use GTK_IS_PLUG() with all backends.
+
+ * tests/testsocket_common.c: Make it work on Win32, too.
+
2005-07-21 Tor Lillqvist <tml@novell.com>
* gdk/win32/gdkwindow-win32.c (gdk_window_set_title): Use
#undef GTK_DISABLE_DEPRECATED
#include <config.h>
-#include "x11/gdkx.h"
#include <gtk/gtk.h>
+#if defined (GDK_WINDOWING_X11)
+#include "x11/gdkx.h"
+#elif defined (GDK_WINDOWING_WIN32)
+#include "win32/gdkwin32.h"
+#endif
enum
{
gtk_widget_show_all (window);
if (GTK_WIDGET_REALIZED (window))
+#if defined (GDK_WINDOWING_X11)
return GDK_WINDOW_XID (window->window);
+#elif defined (GDK_WINDOWING_WIN32)
+ return (guint32) GDK_WINDOW_HWND (window->window);
+#endif
else
return 0;
}