fit the style better

This commit is contained in:
rakslice 2025-01-22 18:52:53 -08:00
parent 05cd8b0a8d
commit cb42bdf64d
3 changed files with 6 additions and 6 deletions

View File

@ -72,11 +72,11 @@ static void add_volume_entry_guessed(const char * filename);
#endif
struct opt_desc {
opt_desc(int l, GCallback f, GtkWidget **s=NULL) : label_id(l), func(f), save_ref(s) {}
int label_id;
GtkSignalFunc func;
GtkWidget ** save_ref;
opt_desc(int label_id, GCallback func, GtkWidget **save_ref=NULL) : label_id(label_id), func(func), save_ref(save_ref) { }
};
struct combo_desc {

View File

@ -105,11 +105,11 @@ gchar * tchar_to_g_utf8(const TCHAR * str) {
struct opt_desc {
opt_desc(int l, GCallback f, GtkWidget **s=NULL) : label_id(l), func(f), save_ref(s) {}
int label_id;
GtkSignalFunc func;
GtkWidget ** save_ref;
opt_desc(int label_id, GCallback func, GtkWidget **save_ref=NULL) : label_id(label_id), func(func), save_ref(save_ref) { }
};
struct combo_desc {

View File

@ -73,11 +73,11 @@ static void add_volume_entry_guessed(const char * filename);
#endif
struct opt_desc {
opt_desc(int l, GCallback f, GtkWidget **s=NULL) : label_id(l), func(f), save_ref(s) {}
int label_id;
GCallback func;
GtkWidget ** save_ref;
opt_desc(int label_id, GCallback func, GtkWidget **save_ref=NULL) : label_id(label_id), func(func), save_ref(save_ref) { }
};
struct combo_desc {