[gtk/matthiasc/for-master: 4/4] Fix compiler warnings
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/matthiasc/for-master: 4/4] Fix compiler warnings
- Date: Thu, 15 Oct 2020 20:33:56 +0000 (UTC)
commit 92585b75fab493b07c1e96a0a77f1479fce17aff
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Oct 15 16:33:35 2020 -0400
Fix compiler warnings
demos/gtk-demo/textview.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/demos/gtk-demo/textview.c b/demos/gtk-demo/textview.c
index e117d7a635..8d58099cff 100644
--- a/demos/gtk-demo/textview.c
+++ b/demos/gtk-demo/textview.c
@@ -591,8 +591,8 @@ easter_egg_callback (GtkWidget *button,
g_object_unref (buffer);
window = gtk_window_new ();
- gtk_window_set_transient_for (window, GTK_WINDOW (gtk_widget_get_root (button)));
- gtk_window_set_modal (window, TRUE);
+ gtk_window_set_transient_for (GTK_WINDOW (window), GTK_WINDOW (gtk_widget_get_root (button)));
+ gtk_window_set_modal (GTK_WINDOW (window), TRUE);
sw = gtk_scrolled_window_new ();
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (sw),
GTK_POLICY_AUTOMATIC,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]