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 /e-util | |
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()
Diffstat (limited to 'e-util')
-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 |
4 files changed, 0 insertions, 7 deletions
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); |