aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-define-views-model.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2001-01-25 00:56:26 +0800
committerChris Lahey <clahey@src.gnome.org>2001-01-25 00:56:26 +0800
commit93e1f0e581a8f48c5a4596f3325d4dbba5e222cc (patch)
tree20daab3fe6f314ca19b0143e43ce9f43d47150ff /widgets/menus/gal-define-views-model.c
parentb07b0ca2603b7952b7e6c395d0a68b1fe744a0ff (diff)
downloadgsoc2013-evolution-93e1f0e581a8f48c5a4596f3325d4dbba5e222cc.tar
gsoc2013-evolution-93e1f0e581a8f48c5a4596f3325d4dbba5e222cc.tar.gz
gsoc2013-evolution-93e1f0e581a8f48c5a4596f3325d4dbba5e222cc.tar.bz2
gsoc2013-evolution-93e1f0e581a8f48c5a4596f3325d4dbba5e222cc.tar.lz
gsoc2013-evolution-93e1f0e581a8f48c5a4596f3325d4dbba5e222cc.tar.xz
gsoc2013-evolution-93e1f0e581a8f48c5a4596f3325d4dbba5e222cc.tar.zst
gsoc2013-evolution-93e1f0e581a8f48c5a4596f3325d4dbba5e222cc.zip
Have the argument system do type checking on our "collection" argument.
2001-01-24 Christopher James Lahey <clahey@helixcode.com> * gal-define-views-dialog.c (gal_define_views_dialog_class_init): Have the argument system do type checking on our "collection" argument. Refactored the setting of the "collection" argument into a set_argument function. * gal-define-views-model.c (gal_define_views_model_class_init): Have the argument system do type checking on our "collection" argument. svn path=/trunk/; revision=7783
Diffstat (limited to 'widgets/menus/gal-define-views-model.c')
-rw-r--r--widgets/menus/gal-define-views-model.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/widgets/menus/gal-define-views-model.c b/widgets/menus/gal-define-views-model.c
index 367ec65dc7..70e0638d18 100644
--- a/widgets/menus/gal-define-views-model.c
+++ b/widgets/menus/gal-define-views-model.c
@@ -155,7 +155,7 @@ gal_define_views_model_class_init (GtkObjectClass *object_class)
gtk_object_add_arg_type ("GalDefineViewsModel::editable", GTK_TYPE_BOOL,
GTK_ARG_READWRITE, ARG_EDITABLE);
- gtk_object_add_arg_type ("GalDefineViewsModel::collection", GTK_TYPE_OBJECT,
+ gtk_object_add_arg_type ("GalDefineViewsModel::collection", GAL_VIEW_COLLECTION_TYPE,
GTK_ARG_READWRITE, ARG_COLLECTION);
model_class->column_count = gdvm_col_count;