tab: don't inherit from GtkBox

We need center box anyway, which does not expose the class.
This commit is contained in:
Christian Hergert
2021-10-01 13:27:18 -07:00
parent fe290a588b
commit 1085fbb6c5
3 changed files with 32 additions and 53 deletions

View File

@ -28,7 +28,7 @@ G_BEGIN_DECLS
#define SYSPROF_TYPE_TAB (sysprof_tab_get_type())
G_DECLARE_FINAL_TYPE (SysprofTab, sysprof_tab, SYSPROF, TAB, GtkBox)
G_DECLARE_FINAL_TYPE (SysprofTab, sysprof_tab, SYSPROF, TAB, GtkWidget)
GtkWidget *sysprof_tab_new (SysprofDisplay *display);