summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-10-09 14:59:54 +0300
committermonsta <[email protected]>2017-10-09 14:59:54 +0300
commit29022b45fb9a3acb743f2a80e41ca440580761b3 (patch)
tree02d14c659c325dcff66f19114cc9bf86700f7f4d
parent9a5f07e008367db8676586551e71357443a2aa21 (diff)
downloadmate-utils-29022b45fb9a3acb743f2a80e41ca440580761b3.tar.bz2
mate-utils-29022b45fb9a3acb743f2a80e41ca440580761b3.tar.xz
baobab: set parent window for About dialog
avoids runtime warning about transient parent
-rw-r--r--baobab/src/callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/baobab/src/callbacks.c b/baobab/src/callbacks.c
index 61c2ab95..5fb0aa07 100644
--- a/baobab/src/callbacks.c
+++ b/baobab/src/callbacks.c
@@ -93,7 +93,7 @@ on_about_activate (GtkMenuItem *menuitem, gpointer user_data)
static const gchar copyright[] = "Copyright \xc2\xa9 2005-2010 Fabio Marzocca";
- gtk_show_about_dialog (NULL,
+ gtk_show_about_dialog (GTK_WINDOW (baobab.window),
"comments", _("A graphical tool to analyze disk usage."),
"version", VERSION,
"copyright", copyright,