mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-04 20:07:36 +00:00
calls-contacts-box: Stop using GtkShadowType property
https://docs.gtk.org/gtk4/migrating-3to4.html#stop-using-gtkshadowtype-and-gtkrelief-properties It can probably be replaced later by a CSS style, if necessary Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
parent
3617f7b7cb
commit
a80001bd0e
1 changed files with 0 additions and 2 deletions
|
@ -73,12 +73,10 @@ adjust_style (CallsContactsBox *self, GtkWidget *widget)
|
|||
g_return_if_fail (CALLS_IS_CONTACTS_BOX (self));
|
||||
|
||||
if (gtk_widget_get_mapped (widget)) {
|
||||
gtk_frame_set_shadow_type (GTK_FRAME (self->contacts_frame), GTK_SHADOW_NONE);
|
||||
gtk_widget_set_vexpand (self->contacts_frame, TRUE);
|
||||
gtk_style_context_add_class (gtk_widget_get_style_context (self->contacts_listbox),
|
||||
"no-background");
|
||||
} else {
|
||||
gtk_frame_set_shadow_type (GTK_FRAME (self->contacts_frame), GTK_SHADOW_ETCHED_IN);
|
||||
gtk_widget_set_vexpand (self->contacts_frame, FALSE);
|
||||
gtk_style_context_remove_class (gtk_widget_get_style_context (self->contacts_listbox),
|
||||
"no-background");
|
||||
|
|
Loading…
Reference in a new issue