aboutsummaryrefslogtreecommitdiff
path: root/src/gtk-util-routines.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtk-util-routines.c')
-rw-r--r--src/gtk-util-routines.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gtk-util-routines.c b/src/gtk-util-routines.c
index 4e622060..ca39d861 100644
--- a/src/gtk-util-routines.c
+++ b/src/gtk-util-routines.c
@@ -135,6 +135,12 @@ void set_combo_id(GtkWidget *cb, const char *id)
}
+const char *get_combo_id(GtkWidget *cb)
+{
+ return gtk_combo_box_get_active_id(GTK_COMBO_BOX(cb));
+}
+
+
void redraw_widget(GtkWidget *wid)
{
gint w, h;