[gtk+/quartz-integration: 104/108] accellabel: Remove leftover debug code



commit 67ae2b9aa3ecb352f7be5233648f972c71d864bd
Author: Benjamin Otte <otte redhat com>
Date:   Mon May 2 20:07:49 2011 +0200

    accellabel: Remove leftover debug code
    
    The disabling of the check was added in
    63a0ab5e73a618e4fe907f69a1bd6a74cb399dc2
    
    Ooops.

 gtk/gtkaccellabel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c
index 07e8820..d7ca9b1 100644
--- a/gtk/gtkaccellabel.c
+++ b/gtk/gtkaccellabel.c
@@ -388,7 +388,7 @@ gtk_accel_label_draw (GtkWidget *widget,
   gtk_widget_get_allocation (widget, &allocation);
   gtk_widget_get_preferred_size (widget, NULL, &requisition);
 
-  if (allocation.width >= requisition.width + ac_width && FALSE)
+  if (allocation.width >= requisition.width + ac_width)
     {
       GtkStyleContext *context;
       PangoLayout *label_layout;



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