From 487fe8784cee913b177dffcee83fe6df5c9b2ca6 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Tue, 19 Mar 2013 14:09:28 -0700 Subject: Make slider labels consistent in print dialog To make this easier I created a new helper function create_label that takes printf style arguments. I assumed this would be usable in many places but ended up finding just one other obvious use for it. Signed-off-by: Dirk Hohndel --- display-gtk.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'display-gtk.h') diff --git a/display-gtk.h b/display-gtk.h index 498fceda5..5a8bd29eb 100644 --- a/display-gtk.h +++ b/display-gtk.h @@ -73,6 +73,8 @@ extern const char *get_active_text(GtkComboBox *); extern void set_active_text(GtkComboBox *, const char *); extern GtkWidget *combo_box_with_model_and_entry(GtkListStore *); +extern GtkWidget *create_label(const char *fmt, ...); + extern gboolean icon_click_cb(GtkWidget *w, GdkEventButton *event, gpointer data); unsigned int amount_selected; -- cgit v1.2.3-70-g09d2