[gtk+] filechooserwidget: Remvoe useless gtk_widget_show call
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] filechooserwidget: Remvoe useless gtk_widget_show call
- Date: Mon, 13 Mar 2017 14:39:37 +0000 (UTC)
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]