diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-10-15 16:33:35 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-10-15 16:33:35 -0400 |
commit | 92585b75fab493b07c1e96a0a77f1479fce17aff (patch) | |
tree | 73ba87e0a94b37ba9a17924471573d46635b9f2f /demos | |
parent | 4bd2595421d8629dad2ed66d4656c3a62156bb29 (diff) | |
download | gtk+-92585b75fab493b07c1e96a0a77f1479fce17aff.tar.gz |
Fix compiler warnings
Diffstat (limited to 'demos')
-rw-r--r-- | demos/gtk-demo/textview.c | 4 |
1 files 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, |