aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2008-06-04 04:00:15 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2008-06-04 04:00:15 +0800
commit2e763ace9acb387920b0f10d90737f8fd2271d03 (patch)
treeff8dc39613534cf883b0bd762da629ab6e1fe759
parenta6a2b0baca614dd41e0221900c9de4f5345e5069 (diff)
downloadgsoc2013-evolution-2e763ace9acb387920b0f10d90737f8fd2271d03.tar
gsoc2013-evolution-2e763ace9acb387920b0f10d90737f8fd2271d03.tar.gz
gsoc2013-evolution-2e763ace9acb387920b0f10d90737f8fd2271d03.tar.bz2
gsoc2013-evolution-2e763ace9acb387920b0f10d90737f8fd2271d03.tar.lz
gsoc2013-evolution-2e763ace9acb387920b0f10d90737f8fd2271d03.tar.xz
gsoc2013-evolution-2e763ace9acb387920b0f10d90737f8fd2271d03.tar.zst
gsoc2013-evolution-2e763ace9acb387920b0f10d90737f8fd2271d03.zip
gtk_window_set_policy -> gtk_window_set_resizable + other cleanups.
2008-06-03 Kjartan Maraas <kmaraas@gnome.org> * filter-part.c: (main): gtk_window_set_policy -> gtk_window_set_resizable + other cleanups. svn path=/trunk/; revision=35590
-rw-r--r--filter/ChangeLog5
-rw-r--r--filter/filter-part.c14
2 files changed, 12 insertions, 7 deletions
diff --git a/filter/ChangeLog b/filter/ChangeLog
index f6998fe6ac..32e27840e1 100644
--- a/filter/ChangeLog
+++ b/filter/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-03 Kjartan Maraas <kmaraas@gnome.org>
+
+ * filter-part.c: (main): gtk_window_set_policy ->
+ gtk_window_set_resizable + other cleanups.
+
2008-05-22 Matthew Barnes <mbarnes@redhat.com>
** Fixes part of bug #534360
diff --git a/filter/filter-part.c b/filter/filter-part.c
index 91bd6655d6..7bf7e3c506 100644
--- a/filter/filter-part.c
+++ b/filter/filter-part.c
@@ -528,18 +528,18 @@ int main(int argc, char **argv)
w = filter_part_get_widget (ff);
dialog = gtk_dialog_new ();
- gtk_dialog_add_buttons ((GtkDialog *) dialog, GTK_BUTTONS_OK, NULL);
- gtk_dialog_set_has_separator ((GtkDialog *) dialog, FALSE);
- gtk_window_set_title ((GtkWindow *) dialog, _("Test"));
- gtk_window_set_policy ((GtkWindow *) dialog, FALSE, TRUE, FALSE);
- gtk_box_pack_start ((GtkBox *) dialog->vbox, w, TRUE, TRUE, 0);
+ gtk_dialog_add_buttons (GTK_DIALOG (dialog), GTK_BUTTONS_OK, NULL);
+ gtk_dialog_set_has_separator (GTK_DIALOG (dialog), FALSE);
+ gtk_window_set_title (GTK_WINDOW (dialog), _("Test"));
+ gtk_window_set_resizable (GTK_WINDOW (dialog), TRUE);
+ gtk_box_pack_start (GTK_BOX (dialog->vbox), w, TRUE, TRUE, 0);
- gtk_dialog_run ((GtkDialog *) dialog);
+ gtk_dialog_run (GTK_DIALOG (dialog));
gtk_widget_destroy (dialog);
code = g_string_new ("");
filter_part_build_code (ff, code);
- printf("code is:\n%s\n", code->str);
+ printf ("code is:\n%s\n", code->str);
return 0;
}