|
|
|
|
@ -1357,4 +1357,14 @@ void yon_calendar_popover_open(GtkEntry *TargetEntry,GtkWidget *PopupTarget){
|
|
|
|
|
g_signal_connect(G_OBJECT(popover),"closed",G_CALLBACK(yon_on_popover_closed),NULL);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
config_str yon_resource_open_file(const char *path, int *size){
|
|
|
|
|
config_str parsed = NULL;
|
|
|
|
|
char *modules;
|
|
|
|
|
gsize sz;
|
|
|
|
|
GFile *file = g_file_new_for_uri(path);
|
|
|
|
|
g_file_load_contents(file,NULL,&modules,&sz,NULL,NULL);
|
|
|
|
|
parsed = yon_char_parse(modules,size,"\n");
|
|
|
|
|
return parsed;
|
|
|
|
|
}
|
|
|
|
|
#endif
|