diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-01-13 06:54:29 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-01-14 03:17:42 +0800 |
commit | a6d296b998729abc78e634844cc4a3aeda7d0327 (patch) | |
tree | 136c24bd250a288f8152cd563969f3954adc75be /filter | |
parent | 4d114e022ca38e7aeb6cc2cc3715f7dca69c82a6 (diff) | |
download | gsoc2013-evolution-a6d296b998729abc78e634844cc4a3aeda7d0327.tar.gz gsoc2013-evolution-a6d296b998729abc78e634844cc4a3aeda7d0327.tar.zst gsoc2013-evolution-a6d296b998729abc78e634844cc4a3aeda7d0327.zip |
Baby steps toward GSEAL compliance.
Diffstat (limited to 'filter')
-rw-r--r-- | filter/e-rule-editor.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/filter/e-rule-editor.c b/filter/e-rule-editor.c index 3cb148e5aa..5fdb7dc0a8 100644 --- a/filter/e-rule-editor.c +++ b/filter/e-rule-editor.c @@ -352,7 +352,9 @@ rule_edit (GtkWidget *widget, ERuleEditor *editor) gtk_window_set_title ((GtkWindow *) editor->dialog, _("Edit Rule")); gtk_window_set_default_size (GTK_WINDOW (editor->dialog), 650, 400); gtk_window_set_resizable (GTK_WINDOW (editor->dialog), TRUE); - gtk_widget_set_parent_window (GTK_WIDGET (editor->dialog), GTK_WIDGET (editor)->window); + gtk_widget_set_parent_window ( + GTK_WIDGET (editor->dialog), + gtk_widget_get_window (GTK_WIDGET (editor))); gtk_container_set_border_width ((GtkContainer *) editor->dialog, 6); content_area = gtk_dialog_get_content_area (GTK_DIALOG (editor->dialog)); |