[gtk/gtk-demo-tweaks: 6/9] gtk-demo: Cosmetics
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-demo-tweaks: 6/9] gtk-demo: Cosmetics
- Date: Sun, 7 Jun 2020 02:16:35 +0000 (UTC)
commit e94268944bfc2c674719bbb91c3a7f0b47168994
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jun 6 21:42:07 2020 -0400
gtk-demo: Cosmetics
Make the titles of some demos match between sidebar
and window.
demos/gtk-demo/fixed.c | 4 ++--
demos/gtk-demo/sliding_puzzle.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/demos/gtk-demo/fixed.c b/demos/gtk-demo/fixed.c
index 12d9920f6e..3c79633cde 100644
--- a/demos/gtk-demo/fixed.c
+++ b/demos/gtk-demo/fixed.c
@@ -1,4 +1,4 @@
-/* Fixed layout
+/* Fixed Layout
*
* GtkFixed is a container that allows placing and transforming
* widgets manually.
@@ -126,7 +126,7 @@ create_demo_window (GtkWidget *do_widget)
window = gtk_window_new ();
gtk_window_set_display (GTK_WINDOW (window), gtk_widget_get_display (do_widget));
- gtk_window_set_title (GTK_WINDOW (window), "Fixed layout");
+ gtk_window_set_title (GTK_WINDOW (window), "Fixed Layout");
gtk_window_set_default_size (GTK_WINDOW (window), 600, 400);
g_signal_connect (window, "destroy", G_CALLBACK (close_window), NULL);
diff --git a/demos/gtk-demo/sliding_puzzle.c b/demos/gtk-demo/sliding_puzzle.c
index 28f98eaea2..e56cd05581 100644
--- a/demos/gtk-demo/sliding_puzzle.c
+++ b/demos/gtk-demo/sliding_puzzle.c
@@ -1,4 +1,4 @@
-/* Sliding puzzle
+/* Sliding Puzzle
*
* This demo demonstrates how to use gestures and paintables to create a
* small sliding puzzle game.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]