Commit a71ea169f41621fd56d0ab0548f53574054318c1
1 parent
884ec61b
Exists in
master
and in
1 other branch
Fixing linux build.
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/dialogs/load.c
@@ -146,7 +146,7 @@ static void icon_press(GtkEntry *entry, G_GNUC_UNUSED GtkEntryIconPosition icon_ | @@ -146,7 +146,7 @@ static void icon_press(GtkEntry *entry, G_GNUC_UNUSED GtkEntryIconPosition icon_ | ||
146 | GtkBox * box = GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))); | 146 | GtkBox * box = GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))); |
147 | gtk_window_set_resizable(GTK_WINDOW(dialog),FALSE); | 147 | gtk_window_set_resizable(GTK_WINDOW(dialog),FALSE); |
148 | 148 | ||
149 | -#if G_OS_UNIX | 149 | +#ifdef G_OS_UNIX |
150 | gtk_container_set_border_width(GTK_CONTAINER(box),18); | 150 | gtk_container_set_border_width(GTK_CONTAINER(box),18); |
151 | #endif // UNIX | 151 | #endif // UNIX |
152 | 152 |
src/dialogs/save/save.c
@@ -175,7 +175,7 @@ static void icon_press(GtkEntry *entry, G_GNUC_UNUSED GtkEntryIconPosition icon_ | @@ -175,7 +175,7 @@ static void icon_press(GtkEntry *entry, G_GNUC_UNUSED GtkEntryIconPosition icon_ | ||
175 | GtkBox * box = GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))); | 175 | GtkBox * box = GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))); |
176 | gtk_window_set_resizable(GTK_WINDOW(dialog),FALSE); | 176 | gtk_window_set_resizable(GTK_WINDOW(dialog),FALSE); |
177 | 177 | ||
178 | -#if G_OS_UNIX | 178 | +#ifdef G_OS_UNIX |
179 | gtk_container_set_border_width(GTK_CONTAINER(box),18); | 179 | gtk_container_set_border_width(GTK_CONTAINER(box),18); |
180 | #endif // LINUX | 180 | #endif // LINUX |
181 | 181 |