Skip to content

Commit

Permalink
Merge pull request #276 from codebrainz/win32-includes
Browse files Browse the repository at this point in the history
Re-order win32.[ch] includes a little bit to unbreak build
  • Loading branch information
eht16 committed May 24, 2014
2 parents 1bacf86 + 238ab56 commit 34de4b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/win32.c
Expand Up @@ -23,6 +23,7 @@
* Special functions for the win32 platform, to provide native dialogs.
*/

#include "win32.h"

#ifdef G_OS_WIN32

Expand All @@ -45,8 +46,6 @@
#include <glib/gstdio.h>
#include <gdk/gdkwin32.h>

#include "win32.h"

#include "document.h"
#include "support.h"
#include "utils.h"
Expand Down
5 changes: 4 additions & 1 deletion src/win32.h
Expand Up @@ -22,10 +22,13 @@
#ifndef GEANY_WIN32_H
#define GEANY_WIN32_H 1

#ifdef G_OS_WIN32
#include "document.h"

#include "gtkcompat.h"


#ifdef G_OS_WIN32

G_BEGIN_DECLS

void win32_show_pref_file_dialog(GtkEntry *item);
Expand Down

0 comments on commit 34de4b6

Please sign in to comment.