mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
@ -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,
|
||||
|
||||
@ -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);
|
||||
|
||||
Reference in New Issue
Block a user