diff options
author | Benjamin Otte <otte@redhat.com> | 2019-05-31 04:52:13 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-05-30 19:26:45 -0400 |
commit | fcdc5030bd8f9127801884c52224432e14dc0100 (patch) | |
tree | 050f65a48bde8a6594af9557dc9bc45c2f66512f /demos/gtk-demo/main.c | |
parent | aad9adf8c33bd38b720989fb01c924ac511e5540 (diff) | |
download | gtk+-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.c | 4 |
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); |