[gnome-dictionary] window: Do not use deprecate composite-child API
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-dictionary] window: Do not use deprecate composite-child API
- Date: Mon, 23 Feb 2015 15:33:07 +0000 (UTC)
commit f353608c72d8faa7a5399f5b7d5fbd47ee6bf030
Author: Emmanuele Bassi <ebassi gnome org>
Date: Mon Feb 23 13:45:48 2015 +0000
window: Do not use deprecate composite-child API
It's useless anyway.
https://bugzilla.gnome.org/show_bug.cgi?id=745022
src/gdict-source-dialog.c | 4 ----
src/gdict-window.c | 4 ----
2 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/gdict-source-dialog.c b/src/gdict-source-dialog.c
index 4964f52..eeb2066 100644
--- a/src/gdict-source-dialog.c
+++ b/src/gdict-source-dialog.c
@@ -584,8 +584,6 @@ gdict_source_dialog_constructor (GType type,
gtk_container_set_border_width (GTK_CONTAINER (dialog), 5);
gtk_box_set_spacing (GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog))), 2);
- gtk_widget_push_composite_child ();
-
/* get the UI from the GtkBuilder file */
dialog->builder = gtk_builder_new ();
gtk_builder_add_from_file (dialog->builder, GDICT_SOURCE_UI, &error);
@@ -660,8 +658,6 @@ gdict_source_dialog_constructor (GType type,
*/
update_dialog_ui (dialog);
- gtk_widget_pop_composite_child ();
-
return object;
}
diff --git a/src/gdict-window.c b/src/gdict-window.c
index 5b958a7..91e2d06 100644
--- a/src/gdict-window.c
+++ b/src/gdict-window.c
@@ -1597,8 +1597,6 @@ gdict_window_constructor (GType type,
/* recover the state */
gdict_window_load_state (window);
- gtk_widget_push_composite_child ();
-
window->main_box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);
gtk_container_add (GTK_CONTAINER (window), window->main_box);
gtk_widget_show (window->main_box);
@@ -1833,8 +1831,6 @@ gdict_window_constructor (GType type,
gtk_widget_grab_focus (window->entry);
- gtk_widget_pop_composite_child ();
-
window->in_construction = FALSE;
return object;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]