diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-03-19 14:09:28 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-03-19 14:09:28 -0700 |
commit | 487fe8784cee913b177dffcee83fe6df5c9b2ca6 (patch) | |
tree | 60d48d9c680c894c1a927ba1cb5915babb6da33d /display-gtk.h | |
parent | 6a98588ed02320c4d33c1d848c38a424c90448f3 (diff) | |
download | subsurface-487fe8784cee913b177dffcee83fe6df5c9b2ca6.tar.gz |
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 <dirk@hohndel.org>
Diffstat (limited to 'display-gtk.h')
-rw-r--r-- | display-gtk.h | 2 |
1 files changed, 2 insertions, 0 deletions
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; |