diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c
index f04a2c3190..1dd75a4427 100644
--- a/demos/widget-factory/widget-factory.c
+++ b/demos/widget-factory/widget-factory.c
@@ -107,6 +107,13 @@ dismiss (GtkWidget *button)
gtk_revealer_set_reveal_child (GTK_REVEALER (w), FALSE);
}
+static gboolean
+pulse_it (GtkWidget *widget)
+{
+ gtk_progress_bar_pulse (GTK_PROGRESS_BAR (widget));
+ return TRUE;
+}
+
int
main (int argc, char *argv[])
{
@@ -128,6 +135,9 @@ main (int argc, char *argv[])
window = GTK_WIDGET (gtk_builder_get_object (builder, "window"));
gtk_builder_connect_signals (builder, NULL);
+ widget = (GtkWidget*) gtk_builder_get_object (builder, "progressbar3");
+ g_timeout_add (250, (GSourceFunc)pulse_it, widget);
+
widget = (GtkWidget*) gtk_builder_get_object (builder, "darkmenuitem");
g_signal_connect (widget, "toggled", G_CALLBACK (dark_toggled), NULL);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (widget), dark);
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui
index b7a1e9ab72..3360b4fb4a 100644
--- a/demos/widget-factory/widget-factory.ui
+++ b/demos/widget-factory/widget-factory.ui
@@ -1271,6 +1271,19 @@ Suspendisse feugiat quam quis dolor accumsan cursus.
1
+
+
+
+ False
+ False
+ 2
+
+
False