mirror of
https://github.com/kanjitalk755/macemu.git
synced 2025-03-13 09:32:54 +00:00
GTK2 GUI: replace brace-or-equals default with explicit constructor default
This commit is contained in:
parent
2efce1ddd0
commit
05cd8b0a8d
@ -74,7 +74,9 @@ static void add_volume_entry_guessed(const char * filename);
|
||||
struct opt_desc {
|
||||
int label_id;
|
||||
GtkSignalFunc func;
|
||||
GtkWidget ** save_ref = NULL;
|
||||
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 {
|
||||
|
@ -107,7 +107,9 @@ gchar * tchar_to_g_utf8(const TCHAR * str) {
|
||||
struct opt_desc {
|
||||
int label_id;
|
||||
GtkSignalFunc func;
|
||||
GtkWidget ** save_ref = NULL;
|
||||
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 {
|
||||
|
@ -75,7 +75,9 @@ static void add_volume_entry_guessed(const char * filename);
|
||||
struct opt_desc {
|
||||
int label_id;
|
||||
GCallback func;
|
||||
GtkWidget ** save_ref = NULL;
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user