aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2010-01-25 10:02:16 -0600
committerCody Russell <crussell@canonical.com>2010-01-25 10:02:16 -0600
commitc4a23ad2483663c72fa4080552d1b52b3fa2fa7e (patch)
treeec4d9d051b7a4d9eceaf2de26c14d2d4b34a282f
parent0696acf9dc2eaf9495dc4d21c17dbe165bd1275b (diff)
parent902d58deb860b9546b7b69c913c10a89d2da758d (diff)
downloadayatana-ido-c4a23ad2483663c72fa4080552d1b52b3fa2fa7e.tar.gz
ayatana-ido-c4a23ad2483663c72fa4080552d1b52b3fa2fa7e.tar.bz2
ayatana-ido-c4a23ad2483663c72fa4080552d1b52b3fa2fa7e.zip
Merge get-scale branch
-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__