evolution r35590 - trunk/filter
- From: kmaraas svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r35590 - trunk/filter
- Date: Tue, 3 Jun 2008 20:00:15 +0000 (UTC)
Author: kmaraas
Date: Tue Jun 3 20:00:15 2008
New Revision: 35590
URL: http://svn.gnome.org/viewvc/evolution?rev=35590&view=rev
Log:
2008-06-03 Kjartan Maraas <kmaraas gnome org>
* filter-part.c: (main): gtk_window_set_policy ->
gtk_window_set_resizable + other cleanups.
Modified:
trunk/filter/ChangeLog
trunk/filter/filter-part.c
Modified: trunk/filter/filter-part.c
==============================================================================
--- trunk/filter/filter-part.c (original)
+++ trunk/filter/filter-part.c Tue Jun 3 20:00:15 2008
@@ -528,18 +528,18 @@
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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]