[gnome-bluetooth/wip/hadess/cleanups: 10/11] lib: Remove use of _composite_child()
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-bluetooth/wip/hadess/cleanups: 10/11] lib: Remove use of _composite_child()
- Date: Wed, 10 Feb 2021 16:40:48 +0000 (UTC)
commit dcdd182621558b6ea7e0a8b6ed4ec7de86d09e23
Author: Bastien Nocera <hadess hadess net>
Date: Wed Feb 10 17:38:23 2021 +0100
lib: Remove use of _composite_child()
lib/bluetooth-chooser.c | 4 ----
lib/bluetooth-filter-widget.c | 4 ----
2 files changed, 8 deletions(-)
---
diff --git a/lib/bluetooth-chooser.c b/lib/bluetooth-chooser.c
index 180ea449..f76ad8c0 100644
--- a/lib/bluetooth-chooser.c
+++ b/lib/bluetooth-chooser.c
@@ -770,8 +770,6 @@ bluetooth_chooser_init(BluetoothChooser *self)
GtkWidget *vbox;
GtkWidget *hbox;
- gtk_widget_push_composite_child ();
-
g_object_set (G_OBJECT (self), "orientation", GTK_ORIENTATION_VERTICAL, NULL);
priv->client = bluetooth_client_new ();
@@ -843,8 +841,6 @@ bluetooth_chooser_init(BluetoothChooser *self)
G_CALLBACK(filter_type_changed_cb), NULL);
g_signal_connect(self, "notify::device-category-filter",
G_CALLBACK(filter_category_changed_cb), NULL);
-
- gtk_widget_pop_composite_child ();
}
static GObject *
diff --git a/lib/bluetooth-filter-widget.c b/lib/bluetooth-filter-widget.c
index 88f28605..a7a8b26a 100644
--- a/lib/bluetooth-filter-widget.c
+++ b/lib/bluetooth-filter-widget.c
@@ -209,8 +209,6 @@ bluetooth_filter_widget_init(BluetoothFilterWidget *filter)
GtkWidget *table;
GtkCellRenderer *renderer;
- gtk_widget_push_composite_child ();
-
g_object_set (G_OBJECT (filter), "orientation", GTK_ORIENTATION_VERTICAL, NULL);
gtk_box_set_homogeneous (GTK_BOX (filter), FALSE);
@@ -310,8 +308,6 @@ bluetooth_filter_widget_init(BluetoothFilterWidget *filter)
/* The services filter */
filter->device_service_filter = NULL;
-
- gtk_widget_pop_composite_child ();
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]