[gtk+] inspector: Hide request mode for non-widgets



commit 0ad259a178f5172364c3acce41f8d5cde0f571c6
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Dec 11 17:11:07 2015 -0500

    inspector: Hide request mode for non-widgets
    
    Only widgets have a request mode.

 gtk/inspector/misc-info.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/inspector/misc-info.c b/gtk/inspector/misc-info.c
index 71684d2..e65ff65 100644
--- a/gtk/inspector/misc-info.c
+++ b/gtk/inspector/misc-info.c
@@ -439,6 +439,7 @@ gtk_inspector_misc_info_set_object (GtkInspectorMiscInfo *sl,
   else
     {
       gtk_widget_hide (sl->priv->state_row);
+      gtk_widget_hide (sl->priv->request_mode_row);
       gtk_widget_hide (sl->priv->mnemonic_label_row);
       gtk_widget_hide (sl->priv->allocated_size_row);
       gtk_widget_hide (sl->priv->clip_area_row);


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