diff options
author | Milan Crha <mcrha@redhat.com> | 2014-07-10 17:11:40 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2014-07-10 17:12:19 +0800 |
commit | 3c6f0c119aed61e7791cf5031b982ee270130611 (patch) | |
tree | 77f4b3e4e28f4c4b0c8554f56a3b115404c5fd09 | |
parent | bcd0f3b0d90dae28135b9a82ff42f8843485fd35 (diff) | |
download | gsoc2013-evolution-3c6f0c119aed61e7791cf5031b982ee270130611.tar gsoc2013-evolution-3c6f0c119aed61e7791cf5031b982ee270130611.tar.gz gsoc2013-evolution-3c6f0c119aed61e7791cf5031b982ee270130611.tar.bz2 gsoc2013-evolution-3c6f0c119aed61e7791cf5031b982ee270130611.tar.lz gsoc2013-evolution-3c6f0c119aed61e7791cf5031b982ee270130611.tar.xz gsoc2013-evolution-3c6f0c119aed61e7791cf5031b982ee270130611.tar.zst gsoc2013-evolution-3c6f0c119aed61e7791cf5031b982ee270130611.zip |
Remove usages of deprecated gtk_widget_ensure_style()
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-editor.c | 1 | ||||
-rw-r--r-- | addressbook/gui/contact-editor/e-contact-quick-add.c | 2 | ||||
-rw-r--r-- | calendar/gui/dialogs/alarm-dialog.c | 2 | ||||
-rw-r--r-- | calendar/gui/dialogs/alarm-list-dialog.c | 2 | ||||
-rw-r--r-- | e-util/e-alert-dialog.c | 1 | ||||
-rw-r--r-- | e-util/e-charset-combo-box.c | 3 | ||||
-rw-r--r-- | e-util/e-source-selector-dialog.c | 1 | ||||
-rw-r--r-- | e-util/e-table-config.c | 2 | ||||
-rw-r--r-- | mail/em-folder-properties.c | 2 | ||||
-rw-r--r-- | mail/mail-send-recv.c | 2 | ||||
-rw-r--r-- | smime/gui/ca-trust-dialog.c | 2 |
11 files changed, 0 insertions, 20 deletions
diff --git a/addressbook/gui/contact-editor/e-contact-editor.c b/addressbook/gui/contact-editor/e-contact-editor.c index 52277488d1..7569e5a59d 100644 --- a/addressbook/gui/contact-editor/e-contact-editor.c +++ b/addressbook/gui/contact-editor/e-contact-editor.c @@ -4140,7 +4140,6 @@ e_contact_editor_init (EContactEditor *e_contact_editor) e_builder_get_widget (builder, "contact editor"); widget = e_contact_editor->priv->app; - gtk_widget_ensure_style (widget); gtk_window_set_type_hint ( GTK_WINDOW (widget), GDK_WINDOW_TYPE_HINT_NORMAL); container = gtk_dialog_get_action_area (GTK_DIALOG (widget)); diff --git a/addressbook/gui/contact-editor/e-contact-quick-add.c b/addressbook/gui/contact-editor/e-contact-quick-add.c index b6bbccd31e..dbcdd563a8 100644 --- a/addressbook/gui/contact-editor/e-contact-quick-add.c +++ b/addressbook/gui/contact-editor/e-contact-quick-add.c @@ -456,8 +456,6 @@ build_quick_add_dialog (QuickAdd *qa) _("_OK"), GTK_RESPONSE_OK, NULL); - gtk_widget_ensure_style (dialog); - container = gtk_dialog_get_action_area (GTK_DIALOG (dialog)); gtk_container_set_border_width (GTK_CONTAINER (container), 12); container = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); diff --git a/calendar/gui/dialogs/alarm-dialog.c b/calendar/gui/dialogs/alarm-dialog.c index 56c03a1b27..6c590240c0 100644 --- a/calendar/gui/dialogs/alarm-dialog.c +++ b/calendar/gui/dialogs/alarm-dialog.c @@ -1315,8 +1315,6 @@ alarm_dialog_run (GtkWidget *parent, alarm_to_dialog (&dialog); - gtk_widget_ensure_style (dialog.toplevel); - container = gtk_dialog_get_action_area (GTK_DIALOG (dialog.toplevel)); gtk_container_set_border_width (GTK_CONTAINER (container), 12); diff --git a/calendar/gui/dialogs/alarm-list-dialog.c b/calendar/gui/dialogs/alarm-list-dialog.c index 4474ef36ae..f782937846 100644 --- a/calendar/gui/dialogs/alarm-list-dialog.c +++ b/calendar/gui/dialogs/alarm-list-dialog.c @@ -288,8 +288,6 @@ alarm_list_dialog_run (GtkWidget *parent, sensitize_buttons (&dialog); - gtk_widget_ensure_style (dialog.toplevel); - container = gtk_dialog_get_action_area (GTK_DIALOG (dialog.toplevel)); gtk_container_set_border_width (GTK_CONTAINER (container), 12); diff --git a/e-util/e-alert-dialog.c b/e-util/e-alert-dialog.c index 90f6d6d59f..a85c7fe122 100644 --- a/e-util/e-alert-dialog.c +++ b/e-util/e-alert-dialog.c @@ -143,7 +143,6 @@ alert_dialog_constructed (GObject *object) action_area = gtk_dialog_get_action_area (GTK_DIALOG (dialog)); content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); - gtk_widget_ensure_style (GTK_WIDGET (dialog)); gtk_container_set_border_width (GTK_CONTAINER (action_area), 12); gtk_container_set_border_width (GTK_CONTAINER (content_area), 0); diff --git a/e-util/e-charset-combo-box.c b/e-util/e-charset-combo-box.c index 2d67ceb749..0036cf4bb2 100644 --- a/e-util/e-charset-combo-box.c +++ b/e-util/e-charset-combo-box.c @@ -101,9 +101,6 @@ charset_combo_box_run_dialog (ECharsetComboBox *combo_box) _("_Cancel"), GTK_RESPONSE_CANCEL, _("_OK"), GTK_RESPONSE_OK, NULL); - /* Load the broken border width defaults so we can override them. */ - gtk_widget_ensure_style (widget); - dialog = GTK_DIALOG (widget); gtk_dialog_set_default_response (dialog, GTK_RESPONSE_OK); diff --git a/e-util/e-source-selector-dialog.c b/e-util/e-source-selector-dialog.c index 12160a26de..f08c319a77 100644 --- a/e-util/e-source-selector-dialog.c +++ b/e-util/e-source-selector-dialog.c @@ -339,7 +339,6 @@ e_source_selector_dialog_init (ESourceSelectorDialog *dialog) gtk_window_set_title (GTK_WINDOW (dialog), _("Select destination")); gtk_window_set_default_size (GTK_WINDOW (dialog), 320, 240); - gtk_widget_ensure_style (GTK_WIDGET (dialog)); gtk_container_set_border_width (GTK_CONTAINER (content_area), 0); gtk_container_set_border_width (GTK_CONTAINER (action_area), 12); diff --git a/e-util/e-table-config.c b/e-util/e-table-config.c index 73f4e2e0a2..3d928b8ebb 100644 --- a/e-util/e-table-config.c +++ b/e-util/e-table-config.c @@ -1105,8 +1105,6 @@ e_table_config_new (const gchar *header, dialog = GTK_DIALOG (config->dialog_toplevel); - gtk_widget_ensure_style (config->dialog_toplevel); - widget = gtk_dialog_get_content_area (dialog); gtk_container_set_border_width (GTK_CONTAINER (widget), 0); diff --git a/mail/em-folder-properties.c b/mail/em-folder-properties.c index 4fd18ac997..908d5a7b36 100644 --- a/mail/em-folder-properties.c +++ b/mail/em-folder-properties.c @@ -418,8 +418,6 @@ emfp_dialog_run (AsyncContext *context) _("_Close"), GTK_RESPONSE_OK, NULL); gtk_window_set_default_size ((GtkWindow *) dialog, 192, 160); - gtk_widget_ensure_style (dialog); - content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); gtk_container_set_border_width (GTK_CONTAINER (content_area), 12); diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index 87a1957552..6530043e53 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -636,8 +636,6 @@ build_dialog (GtkWindow *parent, "/org/gnome/evolution/mail/send-recv-window/", E_RESTORE_WINDOW_SIZE); - gtk_widget_ensure_style ((GtkWidget *) gd); - container = gtk_dialog_get_action_area (gd); gtk_container_set_border_width (GTK_CONTAINER (container), 6); diff --git a/smime/gui/ca-trust-dialog.c b/smime/gui/ca-trust-dialog.c index 4957379ee5..611c9583c1 100644 --- a/smime/gui/ca-trust-dialog.c +++ b/smime/gui/ca-trust-dialog.c @@ -89,8 +89,6 @@ ca_trust_dialog_show (ECert *cert, ctd_data->dialog = e_builder_get_widget (ctd_data->builder, "ca-trust-dialog"); - gtk_widget_ensure_style (ctd_data->dialog); - dialog = GTK_DIALOG (ctd_data->dialog); action_area = gtk_dialog_get_action_area (dialog); content_area = gtk_dialog_get_content_area (dialog); |