import-file-row: Receive a context

Modify the GcalImportFileRow struct to now have the
property GcalContext.
This commit is contained in:
Otávio Silva
2024-07-20 20:20:16 +00:00
committed by Georges Basile Stavracas Neto
parent f0d004c1e7
commit b8903657c5
3 changed files with 27 additions and 3 deletions
+4 -1
View File
@@ -22,12 +22,15 @@
#include <adwaita.h>
#include "gcal-context.h"
G_BEGIN_DECLS
#define GCAL_TYPE_IMPORT_FILE_ROW (gcal_import_file_row_get_type())
G_DECLARE_FINAL_TYPE (GcalImportFileRow, gcal_import_file_row, GCAL, IMPORT_FILE_ROW, AdwBin)
GtkWidget* gcal_import_file_row_new (GFile *file,
GtkWidget* gcal_import_file_row_new (GcalContext *context,
GFile *file,
GtkSizeGroup *title_sizegroup);
GPtrArray* gcal_import_file_row_get_ical_components (GcalImportFileRow *self);