diff options
Diffstat (limited to 'e-util/gal-view.c')
-rw-r--r-- | e-util/gal-view.c | 39 |
1 files changed, 1 insertions, 38 deletions
diff --git a/e-util/gal-view.c b/e-util/gal-view.c index 7b3743af72..5e13f4cdc2 100644 --- a/e-util/gal-view.c +++ b/e-util/gal-view.c @@ -28,8 +28,7 @@ struct _GalViewPrivate { enum { PROP_0, - PROP_TITLE, - PROP_TYPE_CODE + PROP_TITLE }; enum { @@ -70,12 +69,6 @@ view_get_property (GObject *object, value, gal_view_get_title ( GAL_VIEW (object))); return; - - case PROP_TYPE_CODE: - g_value_set_string ( - value, gal_view_get_type_code ( - GAL_VIEW (object))); - return; } G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec); @@ -145,17 +138,6 @@ gal_view_class_init (GalViewClass *class) G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - g_object_class_install_property ( - object_class, - PROP_TYPE_CODE, - g_param_spec_string ( - "type-code", - NULL, - NULL, - NULL, - G_PARAM_READABLE | - G_PARAM_STATIC_STRINGS)); - signals[CHANGED] = g_signal_new ( "changed", G_OBJECT_CLASS_TYPE (object_class), @@ -247,25 +229,6 @@ gal_view_set_title (GalView *view, } /** - * gal_view_get_type_code - * @view: The view to get. - * - * Returns: The type of the view. - */ -const gchar * -gal_view_get_type_code (GalView *view) -{ - GalViewClass *class; - - g_return_val_if_fail (GAL_IS_VIEW (view), NULL); - - class = GAL_VIEW_GET_CLASS (view); - g_return_val_if_fail (class->get_type_code != NULL, NULL); - - return class->get_type_code (view); -} - -/** * gal_view_clone * @view: The view to clone. * |