[gtk+/client-side-windows: 16/284] Add g_warning to not yet supported code



commit 3a6d68e8365ce85c194d82b6fcdfcd3f6488074c
Author: Alexander Larsson <alexl redhat com>
Date:   Thu Dec 4 12:57:35 2008 +0100

    Add g_warning to not yet supported code
---
 gdk/gdkwindow.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 2808ecc..a7bade3 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -1080,7 +1080,9 @@ gdk_window_set_has_native (GdkWindow *window, gboolean has_native)
       if (private->parent == NULL ||
 	  GDK_WINDOW_TYPE (private->parent) == GDK_WINDOW_ROOT)
 	return; /* toplevel, must be native */
-      
+
+      g_warning ("Tried to turn native window to client side window, this is not supported yet.");
+
       /* TODO: remove native */
     }
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]