[totem] properties: Don't set the same flag twice



commit a8bb4abeda447d4e0ed597322b115d72bae47191
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jan 22 19:08:40 2014 +0100

    properties: Don't set the same flag twice

 src/plugins/properties/totem-movie-properties.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/properties/totem-movie-properties.c b/src/plugins/properties/totem-movie-properties.c
index 35d421b..edd25b2 100644
--- a/src/plugins/properties/totem-movie-properties.c
+++ b/src/plugins/properties/totem-movie-properties.c
@@ -259,7 +259,7 @@ impl_activate (PeasActivatable *plugin)
        parent = totem_object_get_main_window (totem);
        pi->priv->dialog = gtk_dialog_new_with_buttons (_("Properties"),
                                                        parent,
-                                                       GTK_DIALOG_MODAL | GTK_DIALOG_USE_HEADER_BAR | 
GTK_DIALOG_USE_HEADER_BAR,
+                                                       GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT | 
GTK_DIALOG_USE_HEADER_BAR,
                                                        _("Close"),
                                                        GTK_RESPONSE_CLOSE,
                                                        NULL);


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