diff options
author | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2021-10-27 12:54:53 -0300 |
---|---|---|
committer | Georges Basile Stavracas Neto <georges.stavracas@gmail.com> | 2021-10-28 11:22:46 -0300 |
commit | 035ccf0578240b76d568c8778f5254afcb4df67f (patch) | |
tree | d77e0c58c7949536a30e7da0a3482e5ae9287bb2 /lib/bluetooth-settings-widget.c | |
parent | fe1ba190bde21e41ddd44493330e57e5261bfff1 (diff) | |
download | gnome-bluetooth-035ccf0578240b76d568c8778f5254afcb4df67f.tar.gz |
lib: Adapt to GtkImage API changes
GtkImage doesn't receive the icon size enum in its constructor anymore,
so drop it from the constructors. Set the icon-size to large for the
BluetoothSettingsWidget class in the UI file, so that the icon continues
with the same icon size it used to have.
Diffstat (limited to 'lib/bluetooth-settings-widget.c')
-rw-r--r-- | lib/bluetooth-settings-widget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bluetooth-settings-widget.c b/lib/bluetooth-settings-widget.c index 85aed150..f55428aa 100644 --- a/lib/bluetooth-settings-widget.c +++ b/lib/bluetooth-settings-widget.c @@ -1183,7 +1183,7 @@ update_properties (BluetoothSettingsWidget *self, priv->selected_name = alias; /* Icon */ - gtk_image_set_from_icon_name (GTK_IMAGE (WID ("image")), icon, GTK_ICON_SIZE_DIALOG); + gtk_image_set_from_icon_name (GTK_IMAGE (WID ("image")), icon); /* Connection */ button = GTK_SWITCH (WID ("switch_connection")); |