diff options
author | Tor Lillqvist <tml@iki.fi> | 1999-12-11 23:04:55 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 1999-12-11 23:04:55 +0000 |
commit | 9c00803e192d27f72660da07b0eeb39199d6f03f (patch) | |
tree | e16963c7ead77dedabbc966f98371b48b3b863fa /gdk/win32 | |
parent | d723183795d0f3df801262770f5198e5403e685f (diff) | |
download | gtk+-9c00803e192d27f72660da07b0eeb39199d6f03f.tar.gz |
Must mark also gdk_error_warnings and gdk_error_code as GDKVAR, as they
1999-12-11 Tor Lillqvist <tml@iki.fi>
* gdk/gdkprivate.h: Must mark also gdk_error_warnings and
gdk_error_code as GDKVAR, as they are referred outside GDK.
* gdk/win32/gdkinput-win32.c: Remove debugging leftover.
* gdk/win32/gdkwindow-win32.c (gdk_window_new): Assure title is
non-NULL.
* gtk/gtkdnd.c
* gtk/gtklayout.c
* gtk/gtkplug.c
* gtk/gtkselection.c
* gtk/gtksocket.c
* gtk/gtkwindow.c: Include x11/gdkx.h *or* win32/gdkwin32.c as
appropriate. There must be a cleaner way to handle this?
* gtk/gtkrc.c: Must include windows.h on Win32.
* gtk/testgtk.c: No need to include gdkx.h.
* gtk/makefile.cygwin: Correct invokation of genmarshal.pl.
Diffstat (limited to 'gdk/win32')
-rw-r--r-- | gdk/win32/gdkinput-win32.c | 2 | ||||
-rw-r--r-- | gdk/win32/gdkwindow-win32.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gdk/win32/gdkinput-win32.c b/gdk/win32/gdkinput-win32.c index 9c6a29c66e..7550be4c4d 100644 --- a/gdk/win32/gdkinput-win32.c +++ b/gdk/win32/gdkinput-win32.c @@ -96,8 +96,6 @@ struct _GdkDevicePrivate { #define TWOPI (2.*G_PI) -#define PING() g_print("%s: %d\n",__FILE__,__LINE__) - /* Forward declarations */ static gint gdk_input_enable_window (GdkWindow *window, diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c index d0d3a7a2dc..1a47054553 100644 --- a/gdk/win32/gdkwindow-win32.c +++ b/gdk/win32/gdkwindow-win32.c @@ -314,6 +314,8 @@ gdk_window_new (GdkWindow *parent, title = attributes->title; else title = g_get_prgname (); + if (!title) + title = "GDK client window"; GDK_WINDOW_WIN32DATA (window)->event_mask = GDK_STRUCTURE_MASK | attributes->event_mask; |