aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2010-01-25 08:54:55 -0600
committerCody Russell <crussell@canonical.com>2010-01-25 08:54:55 -0600
commit902d58deb860b9546b7b69c913c10a89d2da758d (patch)
tree302f7e4aa27abd5c07ba4299ddb90827641ecd8f /src
parentebb7b05f5a94c0974894f41991af3185f2560598 (diff)
downloadayatana-ido-902d58deb860b9546b7b69c913c10a89d2da758d.tar.gz
ayatana-ido-902d58deb860b9546b7b69c913c10a89d2da758d.tar.bz2
ayatana-ido-902d58deb860b9546b7b69c913c10a89d2da758d.zip
Add ido_scale_menu_item_get_scale() function
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__