[gtk+] gtk-demo: Make the color chooser example non-resizable
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk-demo: Make the color chooser example non-resizable
- Date: Sat, 7 Oct 2017 00:42:12 +0000 (UTC)
commit 0caec25ee06372c4d0011c6912a7f0c6e5f720f5
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Oct 6 19:48:03 2017 -0400
gtk-demo: Make the color chooser example non-resizable
No need for it.
demos/gtk-demo/colorsel.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/demos/gtk-demo/colorsel.c b/demos/gtk-demo/colorsel.c
index c5c50e9..bf396dc 100644
--- a/demos/gtk-demo/colorsel.c
+++ b/demos/gtk-demo/colorsel.c
@@ -73,6 +73,7 @@ do_colorsel (GtkWidget *do_widget)
gtk_window_set_screen (GTK_WINDOW (window),
gtk_widget_get_screen (do_widget));
gtk_window_set_title (GTK_WINDOW (window), "Color Chooser");
+ gtk_window_set_resizable (GTK_WINDOW (window), FALSE);
g_signal_connect (window, "destroy",
G_CALLBACK (gtk_widget_destroyed), &window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]