[gtk+] widget-factory: Make the entry progress variable too



commit 3c400823167799b167b621549e776688c8624953
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Jun 28 15:23:29 2014 -0400

    widget-factory: Make the entry progress variable too
    
    Make the scale that currently controls the speed of the progressbar
    control the progress speed in the entry as well.

 demos/widget-factory/widget-factory.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/demos/widget-factory/widget-factory.c b/demos/widget-factory/widget-factory.c
index 09b3a09..ff0c3dc 100644
--- a/demos/widget-factory/widget-factory.c
+++ b/demos/widget-factory/widget-factory.c
@@ -182,7 +182,7 @@ pulse_entry (GtkEntry *entry)
 {
   gtk_entry_progress_pulse (entry);
 
-  pulse_entry_id = g_timeout_add (100, (GSourceFunc)pulse_entry, entry);
+  pulse_entry_id = g_timeout_add (pulse_time, (GSourceFunc)pulse_entry, entry);
 
   return G_SOURCE_REMOVE;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]