[gtk+] gtk-demo: Avoid a compiler warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk-demo: Avoid a compiler warning
- Date: Sun, 13 Apr 2014 05:14:11 +0000 (UTC)
commit 71fdf845a74e8065fd7d4214ca8baa54261080c0
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Apr 12 22:13:40 2014 -0700
gtk-demo: Avoid a compiler warning
demos/gtk-demo/links.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/gtk-demo/links.c b/demos/gtk-demo/links.c
index f0c6d80..fa3075d 100644
--- a/demos/gtk-demo/links.c
+++ b/demos/gtk-demo/links.c
@@ -33,7 +33,7 @@ activate_link (GtkWidget *label,
"The term <i>keynav</i> is a shorthand for "
"keyboard navigation and refers to the process of using "
"a program (exclusively) via keyboard input.");
- gtk_window_set_modal (dialog, TRUE);
+ gtk_window_set_modal (GTK_WINDOW (dialog), TRUE);
gtk_window_present (GTK_WINDOW (dialog));
g_signal_connect (dialog, "response", G_CALLBACK (response_cb), NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]