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
+1 -1
View File
@@ -143,7 +143,7 @@ setup_files (GcalImportDialog *self,
AdwPreferencesGroup *group;
GtkWidget *row;
row = gcal_import_file_row_new (files[i], self->title_sizegroup);
row = gcal_import_file_row_new (self->context, files[i], self->title_sizegroup);
g_signal_connect (row, "file-loaded", G_CALLBACK (on_import_row_file_loaded_cb), self);
group = ADW_PREFERENCES_GROUP (adw_preferences_group_new ());