summaryrefslogtreecommitdiff
path: root/src/tools
diff options
context:
space:
mode:
authorHavoc Pennington <hp@src.gnome.org>2002-10-17 16:20:50 +0000
committerHavoc Pennington <hp@src.gnome.org>2002-10-17 16:20:50 +0000
commit4eb8a93c83228aafeb9a70877992e3214781d404 (patch)
treef35ab0880cc8dbf1eb81c86e1cb6f5bf3831ca16 /src/tools
parent3da0b1c7d9a83d797645f3220bdf893e17e5f7e8 (diff)
downloadmetacity-4eb8a93c83228aafeb9a70877992e3214781d404.tar.gz
metacity-4eb8a93c83228aafeb9a70877992e3214781d404.tar.bz2
debug enhancements
Diffstat (limited to 'src/tools')
-rw-r--r--src/tools/metacity-window-demo.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tools/metacity-window-demo.c b/src/tools/metacity-window-demo.c
index f4bd7ff..0102fbe 100644
--- a/src/tools/metacity-window-demo.c
+++ b/src/tools/metacity-window-demo.c
@@ -225,6 +225,7 @@ make_dialog (GtkWidget *parent,
int depth)
{
GtkWidget *dialog;
+ char *str;
dialog = gtk_message_dialog_new (GTK_WINDOW (parent),
GTK_DIALOG_DESTROY_WITH_PARENT,
@@ -233,6 +234,10 @@ make_dialog (GtkWidget *parent,
"Here is a dialog %d",
depth);
+ str = g_strdup_printf ("%d dialog", depth);
+ gtk_window_set_title (GTK_WINDOW (dialog), str);
+ g_free (str);
+
gtk_dialog_add_button (GTK_DIALOG (dialog),
"Open child dialog",
GTK_RESPONSE_ACCEPT);