From 64b15c5cb7c8d2987e7f8f3c356f7612836a955d Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Tue, 3 Jun 2008 18:35:02 +0000 Subject: Migrate from gtk_window_set_policy() to gtk_window_set_resizable() and 2008-06-03 Kjartan Maraas * e-cell-date-edit.c: (e_cell_date_edit_init): * e-dateedit.c: (create_children): * e-multi-config-dialog.c: (e_multi_config_dialog_init): * e-unicode.h: * test-calendar.c: (main): * test-dateedit.c: (main): * test-info-label.c: (main): Migrate from gtk_window_set_policy() to gtk_window_set_resizable() and clean up a bunch of coding style issues along the way. svn path=/trunk/; revision=35584 --- widgets/misc/test-info-label.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets/misc/test-info-label.c') diff --git a/widgets/misc/test-info-label.c b/widgets/misc/test-info-label.c index c47e02c5a0..1557a27889 100644 --- a/widgets/misc/test-info-label.c +++ b/widgets/misc/test-info-label.c @@ -58,9 +58,9 @@ main (int argc, char **argv) app = gnome_app_new ("Test", "Test"); gtk_window_set_default_size (GTK_WINDOW (app), 400, 400); - gtk_window_set_policy (GTK_WINDOW (app), FALSE, TRUE, FALSE); + gtk_window_set_resizable (GTK_WINDOW (app), TRUE); - g_signal_connect((app), "delete_event", G_CALLBACK (delete_event_cb), NULL); + g_signal_connect (app, "delete_event", G_CALLBACK (delete_event_cb), NULL); info_label = e_info_label_new ("stock_default-folder"); e_info_label_set_info ((EInfoLabel *) info_label, "Component Name", "An annoyingly long component message"); -- cgit v1.2.3