From 09e8fe231719c87f7b1b4a22cc7015773bb1be19 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Sat, 16 Nov 2002 23:46:27 +0000 Subject: GtkObject->Gobject and GnomeDialog->GtkDialog work. 2002-11-16 Chris Toshok * gal-view-instance-save-as-dialog.c: GtkObject->Gobject and GnomeDialog->GtkDialog work. * gal-view-new-dialog.[ch]: same. * gal-view-new-dialog.dialog: same. svn path=/trunk/; revision=18799 --- widgets/menus/gal-view-instance-save-as-dialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets/menus/gal-view-instance-save-as-dialog.c') diff --git a/widgets/menus/gal-view-instance-save-as-dialog.c b/widgets/menus/gal-view-instance-save-as-dialog.c index 11099f0b1c..ee61fe8edb 100644 --- a/widgets/menus/gal-view-instance-save-as-dialog.c +++ b/widgets/menus/gal-view-instance-save-as-dialog.c @@ -214,7 +214,7 @@ gal_view_instance_save_as_dialog_init (GalViewInstanceSaveAsDialog *dialog) dialog->model = NULL; etable = glade_xml_get_widget(dialog->gui, "custom-replace"); if (etable) { - dialog->model = g_object_get_data(etable, "GalViewInstanceSaveAsDialog::model"); + dialog->model = g_object_get_data(G_OBJECT (etable), "GalViewInstanceSaveAsDialog::model"); g_object_set(dialog->model, "collection", dialog->instance ? dialog->instance->collection : NULL, NULL); @@ -241,7 +241,7 @@ gal_view_instance_save_as_dialog_create_etable(char *name, char *string1, char * ETableModel *model; model = gal_define_views_model_new(); table = e_table_scrolled_new(model, NULL, SPEC, NULL); - g_object_set_data(table, "GalViewInstanceSaveAsDialog::model", model); + g_object_set_data(G_OBJECT (table), "GalViewInstanceSaveAsDialog::model", model); return table; } -- cgit