klass->parent_class.snapshot = mz_files_view_snapshot;
klass->parent_class.measure = mz_files_view_measure;
klass->parent_class.size_allocate = mz_files_view_size_allocate;
+ klass->parent_class.parent_class.dispose = mz_files_view_dispose;
}
static void mz_files_view_init(MzFilesView *self) {
gtk_widget_add_controller(GTK_WIDGET(self), GTK_EVENT_CONTROLLER(drag));
}
+void mz_files_view_dispose(GObject *object) {
+ MzFilesView *view = (MzFilesView*)object;
+ mz_files_view_remove_items(view);
+}
+
MzFilesView* mz_files_view_new(void) {
MzFilesView *obj = g_object_new(mz_files_view_get_type(), NULL);
return obj;
MzFilesView* mz_files_view_new(void);
+void mz_files_view_dispose(GObject *object);
+
void mz_files_view_snapshot(GtkWidget *widget, GtkSnapshot *snapshot);
void mz_files_view_measure(GtkWidget *widget,