[gtk+] filechooserwidget: Remvoe useless gtk_widget_show call



commit a65fbf2d49a0b1ba5cc78bfb4e533a5cbe22e611
Author: Timm Bäder <mail baedert org>
Date:   Mon Mar 13 12:45:38 2017 +0100

    filechooserwidget: Remvoe useless gtk_widget_show call
    
    And a comment above. Even if it is not correct, it doesn't matter since
    we call gtk_widget_show on it again later in that function.

 gtk/gtkfilechooserwidget.c |    6 +-----
 1 files changed, 1 insertions(+), 5 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 292d50f..7627744 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -2923,11 +2923,7 @@ set_extra_widget (GtkFileChooserWidget *impl,
   GtkFileChooserWidgetPrivate *priv = impl->priv;
 
   if (extra_widget)
-    {
-      g_object_ref (extra_widget);
-      /* FIXME: is this right ? */
-      gtk_widget_show (extra_widget);
-    }
+    g_object_ref (extra_widget);
 
   if (priv->extra_widget)
     {


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