[monet/monet-xml: 6/10] gtk-style: print out messages when unhandled items are drawn



commit 90f627cd3877563c3aa12e6d9fa1c0969eb6ab74
Author: Thomas Wood <thos gnome org>
Date:   Mon Apr 5 15:44:43 2010 +0100

    gtk-style: print out messages when unhandled items are drawn

 monet-gtk/style.c |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/monet-gtk/style.c b/monet-gtk/style.c
index 86d49c1..a330a71 100644
--- a/monet-gtk/style.c
+++ b/monet-gtk/style.c
@@ -207,11 +207,7 @@ monet_gtk_draw_shadow (GtkStyle      *style,
                             mn_state, mn_flags);
     }
   else
-    {
-      monet_gtk_style_parent_class->draw_shadow (style, window, state_type,
-                                                 shadow_type, area, widget,
-                                                 detail, x, y, width, height);
-    }
+    printf ("draw_shadow: %s\n", detail);
 
   cairo_destroy (cr);
 }
@@ -287,6 +283,9 @@ monet_gtk_draw_box (GtkStyle      *style,
       mn_style_paint_menu_bar (mn_style, cr, x, y, width, height, mn_palette,
                                mn_state, mn_flags);
     }
+  else
+    printf ("draw_box: %s\n", detail);
+
 
   cairo_destroy (cr);
 }



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