aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/idoscalemenuitem.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c
index dd13b53..f355b64 100644
--- a/src/idoscalemenuitem.c
+++ b/src/idoscalemenuitem.c
@@ -446,4 +446,16 @@ ido_scale_menu_item_new_with_range (const gchar *label,
NULL);
}
+GtkWidget*
+ido_scale_menu_item_get_scale (IdoScaleMenuItem *menuitem)
+{
+ IdoScaleMenuItemPrivate *priv;
+
+ g_return_val_if_fail (IDO_IS_SCALE_MENU_ITEM (menuitem), NULL);
+
+ priv = GET_PRIVATE (menuitem);
+
+ return priv->scale;
+}
+
#define __IDO_SCALE_MENU_ITEM_C__