visualizer: remove DzlBin usage

We can just use GtkBin for now, and in GTK 4 we'll switch to using
GtkWidget as the parent type. But this helps us progress on de-dazzling.
This commit is contained in:
Christian Hergert
2021-09-28 13:01:24 -07:00
parent 94d7e90206
commit fb16745723
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ typedef struct
GtkAllocation cache_alloc;
} SysprofVisualizerPrivate;
G_DEFINE_TYPE_WITH_PRIVATE (SysprofVisualizer, sysprof_visualizer, DZL_TYPE_BIN)
G_DEFINE_TYPE_WITH_PRIVATE (SysprofVisualizer, sysprof_visualizer, GTK_TYPE_BIN)
enum {
PROP_0,

View File

@ -24,7 +24,7 @@
# error "Only <sysprof-ui.h> can be included directly."
#endif
#include <dazzle.h>
#include <gtk/gtk.h>
#include <sysprof.h>
G_BEGIN_DECLS
@ -44,11 +44,11 @@ typedef struct
#define SYSPROF_TYPE_VISUALIZER (sysprof_visualizer_get_type())
SYSPROF_AVAILABLE_IN_ALL
G_DECLARE_DERIVABLE_TYPE (SysprofVisualizer, sysprof_visualizer, SYSPROF, VISUALIZER, DzlBin)
G_DECLARE_DERIVABLE_TYPE (SysprofVisualizer, sysprof_visualizer, SYSPROF, VISUALIZER, GtkBin)
struct _SysprofVisualizerClass
{
DzlBinClass parent_class;
GtkBinClass parent_class;
void (*set_reader) (SysprofVisualizer *self,
SysprofCaptureReader *reader);