summaryrefslogtreecommitdiff
path: root/demos/gtk-demo/main.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2019-05-31 04:52:13 +0200
committerMatthias Clasen <mclasen@redhat.com>2020-05-30 19:26:45 -0400
commitfcdc5030bd8f9127801884c52224432e14dc0100 (patch)
tree050f65a48bde8a6594af9557dc9bc45c2f66512f /demos/gtk-demo/main.c
parentaad9adf8c33bd38b720989fb01c924ac511e5540 (diff)
downloadgtk+-fcdc5030bd8f9127801884c52224432e14dc0100.tar.gz
gtk-demo: Introduce awards
We need a way to get a useful listbox, so here we go!
Diffstat (limited to 'demos/gtk-demo/main.c')
-rw-r--r--demos/gtk-demo/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index 9d802b8c1f..a54e791844 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -8,6 +8,7 @@
#include <gtk/gtk.h>
#include <glib/gstdio.h>
+#include "award.h"
#include "demos.h"
static GtkWidget *info_view;
@@ -113,6 +114,7 @@ activate_inspector (GSimpleAction *action,
gpointer user_data)
{
gtk_window_set_interactive_debugging (TRUE);
+ award ("demo-inspector");
}
static void
@@ -1031,6 +1033,8 @@ activate (GApplication *app)
gtk_tree_view_collapse_all (GTK_TREE_VIEW (treeview));
+ award ("demo-start");
+
gtk_widget_show (GTK_WIDGET (window));
g_object_unref (builder);