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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user