From 3c6f0c119aed61e7791cf5031b982ee270130611 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 10 Jul 2014 11:11:40 +0200 Subject: Remove usages of deprecated gtk_widget_ensure_style() --- addressbook/gui/contact-editor/e-contact-editor.c | 1 - addressbook/gui/contact-editor/e-contact-quick-add.c | 2 -- 2 files changed, 3 deletions(-) (limited to 'addressbook/gui') 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)); -- cgit v1.2.3