mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
6a98588ed0
commit
487fe8784c
3 changed files with 24 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue