[gtk+] image: handle PROP_STORAGE_TYPE in get_property()



commit e24fd5f463c0f11608186335b9a5c53595d354f0
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Mar 2 12:47:59 2012 -0500

    image: handle PROP_STORAGE_TYPE in get_property()
    
    Fallout from GtkIconHelper transition.

 gtk/gtkimage.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 73d5fdf..ef3d0be 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -468,6 +468,9 @@ gtk_image_get_property (GObject     *object,
     case PROP_USE_FALLBACK:
       g_value_set_boolean (value, _gtk_icon_helper_get_use_fallback (priv->icon_helper));
       break;
+    case PROP_STORAGE_TYPE:
+      g_value_set_enum (value, _gtk_icon_helper_get_storage_type (priv->icon_helper));
+      break;
     default:
       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
       break;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]