do not try to set construct only property after object is constructed.
2004-01-20 Sivaiah Nallagatla <snallagatla@novell.com> * mime-edit-dialog.c (mime_add_dialog_new ) : do not try to set construct only property after object is constructed. Fixes #128374
This commit is contained in:
parent
c57ad8cc5c
commit
667458e61b
2 changed files with 7 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-01-20 Sivaiah Nallagatla <snallagatla@novell.com>
|
||||
|
||||
* mime-edit-dialog.c (mime_add_dialog_new ) : do not try to set
|
||||
construct only property after object is constructed. Fixes #128374
|
||||
|
||||
2004-01-14 Jody Goldberg <jody@gnome.org>
|
||||
|
||||
* Release 2.5.2
|
||||
|
|
|
@ -406,11 +406,9 @@ mime_add_dialog_new (GtkTreeModel *model, GtkWindow *parent,
|
|||
char const *file_name)
|
||||
{
|
||||
GObject *dialog = g_object_new (mime_edit_dialog_get_type (),
|
||||
"model", model, /* must be before is-add */
|
||||
NULL);
|
||||
g_object_set (dialog,
|
||||
"is-add", TRUE,
|
||||
"model", model, "is-add", TRUE, /* model must be before is-add */
|
||||
NULL);
|
||||
|
||||
if (parent != NULL)
|
||||
gtk_window_set_transient_for (
|
||||
GTK_WINDOW (MIME_EDIT_DIALOG (dialog)->p->dialog_win),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue