sip-account-widget: compose with GtkBin instead of subclassing GtkBox

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
Anton Lazarev
2023-08-26 22:25:49 -07:00
parent 2141c1ffc2
commit 9fa0539ad6
3 changed files with 228 additions and 223 deletions

View File

@@ -51,7 +51,7 @@ static GParamSpec *props[PROP_LAST_PROP];
struct _CallsSipAccountWidget {
GtkBox parent;
GtkBin parent;
/* Header bar */
GtkWidget *header_add;
@@ -87,7 +87,7 @@ struct _CallsSipAccountWidget {
gboolean port_self_change;
};
G_DEFINE_TYPE (CallsSipAccountWidget, calls_sip_account_widget, GTK_TYPE_BOX)
G_DEFINE_TYPE (CallsSipAccountWidget, calls_sip_account_widget, GTK_TYPE_BIN)
static gboolean