GDK-Win32: Avoid Redefinition of _GDK_EXTERN
Include config.h first so that _GDK_EXTERN may be defined once and only once during the build, so that we do not get warnings/ errors for macro redefinition. https://bugzilla.gnome.org/show_bug.cgi?id=701251
This commit is contained in:
parent
2812f782b3
commit
850d0e70be
@ -21,6 +21,8 @@
|
|||||||
* files for a list of changes. These files are distributed with
|
* files for a list of changes. These files are distributed with
|
||||||
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
|
* GTK+ at ftp://ftp.gtk.org/pub/gtk/.
|
||||||
*/
|
*/
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -36,8 +38,6 @@
|
|||||||
#include "gdkkeysprivate.h"
|
#include "gdkkeysprivate.h"
|
||||||
#include "gdkwin32keys.h"
|
#include "gdkwin32keys.h"
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
struct _GdkWin32KeymapClass
|
struct _GdkWin32KeymapClass
|
||||||
{
|
{
|
||||||
GdkKeymapClass parent_class;
|
GdkKeymapClass parent_class;
|
||||||
|
@ -15,6 +15,8 @@
|
|||||||
* You should have received a copy of the GNU Lesser General Public
|
* You should have received a copy of the GNU Lesser General Public
|
||||||
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
#include "config.h"
|
||||||
|
|
||||||
#include <gdk/gdktestutils.h>
|
#include <gdk/gdktestutils.h>
|
||||||
#include <gdk/gdkkeysyms.h>
|
#include <gdk/gdkkeysyms.h>
|
||||||
#include <win32/gdkwin32.h>
|
#include <win32/gdkwin32.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user