[gtk+] Making GtkCellLayout "no cell area yet" warning a g_critical instead.



commit 04494c5df0df3c9867ecc1b0116b761e68557c1c
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Thu Jan 13 23:02:34 2011 +0900

    Making GtkCellLayout "no cell area yet" warning a g_critical instead.

 gtk/gtkcelllayout.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcelllayout.c b/gtk/gtkcelllayout.c
index d5bce42..d56747c 100644
--- a/gtk/gtkcelllayout.c
+++ b/gtk/gtkcelllayout.c
@@ -94,7 +94,7 @@
 #include "gtkintl.h"
 
 #define warn_no_cell_area(func)					\
-  g_warning ("%s: Called but no GtkCellArea is available yet", func)
+  g_critical ("%s: Called but no GtkCellArea is available yet", func)
 
 typedef GtkCellLayoutIface GtkCellLayoutInterface;
 G_DEFINE_INTERFACE (GtkCellLayout, gtk_cell_layout, G_TYPE_OBJECT);



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