From 73133002046a6da168a38e76789360b3985c4b38 Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Fri, 10 Aug 2001 13:52:11 +0000 Subject: Make this compile again. 2001-08-10 Peter Williams * rule-context.c (rule_context_add_rule_gui): Make this compile again. svn path=/trunk/; revision=11877 --- filter/rule-context.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'filter/rule-context.c') diff --git a/filter/rule-context.c b/filter/rule-context.c index dcc0f70274..cf5d13acb7 100644 --- a/filter/rule-context.c +++ b/filter/rule-context.c @@ -437,9 +437,9 @@ rule_context_add_rule_gui (RuleContext *f, FilterRule *rule, const char *title, w = filter_rule_get_widget (rule, f); dialog = gnome_dialog_new (title, GNOME_STOCK_BUTTON_OK, GNOME_STOCK_BUTTON_CANCEL, NULL); - gtk_window_set_policy (GTK_WINDOW (gd), FALSE, TRUE, FALSE); + gtk_window_set_policy (GTK_WINDOW (dialog), FALSE, TRUE, FALSE); gtk_box_pack_start (GTK_BOX (GNOME_DIALOG (dialog)->vbox), w, TRUE, TRUE, 0); - gtk_window_set_default_size (GTK_WINDOW (gd), 600, 400); + gtk_window_set_default_size (GTK_WINDOW (dialog), 600, 400); gtk_widget_show (w); gtk_object_set_data_full (GTK_OBJECT (dialog), "rule", rule, (GtkDestroyNotify) gtk_object_unref); @@ -448,7 +448,7 @@ rule_context_add_rule_gui (RuleContext *f, FilterRule *rule, const char *title, gtk_signal_connect (GTK_OBJECT (dialog), "clicked", new_rule_clicked, f); gtk_object_ref (GTK_OBJECT (f)); gtk_object_set_data_full (GTK_OBJECT (dialog), "context", f, (GtkDestroyNotify) gtk_object_unref); - gtk_widget_show (gialog); + gtk_widget_show (dialog); } void -- cgit