summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2021-02-10 17:38:23 +0100
committerBastien Nocera <hadess@hadess.net>2021-02-17 12:02:14 +0100
commit0d7aa9cb1dba9d7b0b33d66635c58bc03db68f28 (patch)
treef22decf1f6794bfbddd57bb8cdf50f15aa9ff008
parent4e076b2718f6f1abdf3bff9a757011411739f12a (diff)
downloadgnome-bluetooth-0d7aa9cb1dba9d7b0b33d66635c58bc03db68f28.tar.gz
lib: Remove use of _composite_child()
-rw-r--r--lib/bluetooth-chooser.c4
-rw-r--r--lib/bluetooth-filter-widget.c4
2 files changed, 0 insertions, 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