diff options
Diffstat (limited to 'src/gtk-util-routines.c')
-rw-r--r-- | src/gtk-util-routines.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gtk-util-routines.c b/src/gtk-util-routines.c index 4117dfda..4e622060 100644 --- a/src/gtk-util-routines.c +++ b/src/gtk-util-routines.c @@ -129,6 +129,12 @@ void set_active(GtkWidget *tb, int active) } +void set_combo_id(GtkWidget *cb, const char *id) +{ + gtk_combo_box_set_active_id(GTK_COMBO_BOX(cb), id); +} + + void redraw_widget(GtkWidget *wid) { gint w, h; |