time-selector: don't access dconf multiple times for the same key
Instead of accessing 3 times the same key, use the cached version and save up some time.
This commit is contained in:
@@ -55,6 +55,9 @@ GType gcal_time_selector_get_type (void);
|
||||
|
||||
GtkWidget* gcal_time_selector_new (void);
|
||||
|
||||
void gcal_time_selector_set_time_format (GcalTimeSelector *selector,
|
||||
gboolean format_24h);
|
||||
|
||||
void gcal_time_selector_set_time (GcalTimeSelector *selector,
|
||||
gint hours,
|
||||
gint minutes);
|
||||
|
||||
Reference in New Issue
Block a user