aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/test-info-label.c
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2008-06-04 02:35:02 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2008-06-04 02:35:02 +0800
commit64b15c5cb7c8d2987e7f8f3c356f7612836a955d (patch)
treea5f45fa3c7790d05e67a315dccea1c729697c08e /widgets/misc/test-info-label.c
parent1986408a1eccdf098ad8d55b552d8e0831ef27fb (diff)
downloadgsoc2013-evolution-64b15c5cb7c8d2987e7f8f3c356f7612836a955d.tar.gz
gsoc2013-evolution-64b15c5cb7c8d2987e7f8f3c356f7612836a955d.tar.zst
gsoc2013-evolution-64b15c5cb7c8d2987e7f8f3c356f7612836a955d.zip
Migrate from gtk_window_set_policy() to gtk_window_set_resizable() and
2008-06-03 Kjartan Maraas <kmaraas@gnome.org> * 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
Diffstat (limited to 'widgets/misc/test-info-label.c')
-rw-r--r--widgets/misc/test-info-label.c4
1 files changed, 2 insertions, 2 deletions
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");