treewide: Subclass custom classes from GtkWidget

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
Anton Lazarev
2023-12-13 12:25:46 -08:00
parent bc90d6e64f
commit 4ed1bba0b8
15 changed files with 20 additions and 20 deletions

View File

@@ -33,7 +33,7 @@
#include <handy.h>
struct _CallsContactsBox {
GtkBin parent_instance;
GtkWidget parent_instance;
GtkWidget *search_entry;
GtkWidget *contacts_frame;
@@ -43,7 +43,7 @@ struct _CallsContactsBox {
FolksSimpleQuery *search_query;
};
G_DEFINE_TYPE (CallsContactsBox, calls_contacts_box, GTK_TYPE_BIN);
G_DEFINE_TYPE (CallsContactsBox, calls_contacts_box, GTK_TYPE_WIDGET);
static void
search_changed_cb (CallsContactsBox *self,