diff options
author | Joaquín Cuenca Abela <cuenca@src.gnome.org> | 2003-06-19 22:37:27 +0000 |
---|---|---|
committer | Joaquín Cuenca Abela <cuenca@src.gnome.org> | 2003-06-19 22:37:27 +0000 |
commit | 9b5de02a0e71be8e213e800e907306ba66923478 (patch) | |
tree | bb75dc50d06691758b73bdceeace216b1509dbfd /src/glade-command.c | |
parent | 6b8db0a3d49f04267cd8ac898eae150f39d177a2 (diff) | |
download | glade-9b5de02a0e71be8e213e800e907306ba66923478.tar.gz |
Fix selection.
Diffstat (limited to 'src/glade-command.c')
-rw-r--r-- | src/glade-command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/glade-command.c b/src/glade-command.c index d45f5bd9..36abfa56 100644 --- a/src/glade-command.c +++ b/src/glade-command.c @@ -610,7 +610,7 @@ glade_command_create_execute (GladeCommandCreateDelete *me) GladePlaceholder *placeholder = me->placeholder; glade_project_add_widget (widget->project, widget, widget->parent); - glade_project_selection_set (widget, TRUE); + glade_project_selection_set (widget->project, widget->widget, TRUE); if (!GLADE_WIDGET_IS_TOPLEVEL (widget)) { glade_placeholder_replace_with_widget (placeholder, widget); @@ -812,7 +812,7 @@ glade_command_paste_execute (GladeCommandCutPaste *me) } glade_project_add_widget (project, widget, parent); - glade_project_selection_set (widget, TRUE); + glade_project_selection_set (widget->project, widget->widget, TRUE); if (GTK_IS_WIDGET (widget->widget)) gtk_widget_show_all (GTK_WIDGET (widget->widget)); @@ -938,7 +938,7 @@ glade_command_paste (GladePlaceholder *placeholder) return; } - g_return_if_fail (glade_placeholder_is (placeholder)); + g_return_if_fail (GLADE_IS_PLACEHOLDER (placeholder)); gpw = glade_project_window_get (); widget = gpw->clipboard->curr; |