forked from AuroraMiddleware/gtk
pointerfocus: Don't include gtk.h
Also fix up gtktypes.h to include the required glib.h for G_BEGIN_DECLS and gtkdnd.c to include missing includes.
This commit is contained in:
parent
601c5fd734
commit
eb3049d6b5
23
gtk/gtkdnd.c
23
gtk/gtkdnd.c
@ -24,27 +24,24 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "gtkdnd.h"
|
||||
#include "gtkdndprivate.h"
|
||||
#include "gtksettingsprivate.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "gdk/gdk.h"
|
||||
|
||||
#include "gdk/gdkcontentformatsprivate.h"
|
||||
|
||||
#include "gtkdragdest.h"
|
||||
#include "gtkimageprivate.h"
|
||||
#include "gtkintl.h"
|
||||
#include "gtktooltipprivate.h"
|
||||
#include "gtkwindow.h"
|
||||
#include "gtkmain.h"
|
||||
#include "gtkselectionprivate.h"
|
||||
#include "gtksettingsprivate.h"
|
||||
#include "gtktooltipprivate.h"
|
||||
#include "gtkwidgetprivate.h"
|
||||
#include "gtkwindowgroup.h"
|
||||
#include "gtkwindowprivate.h"
|
||||
#include "gtkwidgetprivate.h"
|
||||
|
||||
#include "gdk/gdkcontentformatsprivate.h"
|
||||
|
||||
#include <math.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
/**
|
||||
|
@ -19,12 +19,12 @@
|
||||
#ifndef __GTK_DND_PRIVATE_H__
|
||||
#define __GTK_DND_PRIVATE_H__
|
||||
|
||||
#include "gtkdnd.h"
|
||||
|
||||
#include <gtk/gtkwidget.h>
|
||||
#include <gtk/gtkselection.h>
|
||||
#include <gtk/gtkdragdest.h>
|
||||
|
||||
#include "gtkdragdest.h"
|
||||
#include "gtkimagedefinitionprivate.h"
|
||||
#include "gtkselection.h"
|
||||
#include "gtkwidget.h"
|
||||
|
||||
typedef struct _GtkDragDestSite GtkDragDestSite;
|
||||
struct _GtkDragDestSite
|
||||
|
@ -15,6 +15,8 @@
|
||||
* License along with this library. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include "gtkpointerfocusprivate.h"
|
||||
#include "gtkprivate.h"
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
#ifndef _GTK_POINTER_FOCUS_PRIVATE_H_
|
||||
#define _GTK_POINTER_FOCUS_PRIVATE_H_
|
||||
|
||||
#include <gtk/gtk.h>
|
||||
#include <gtk/gtktypes.h>
|
||||
|
||||
typedef struct _GtkPointerFocus GtkPointerFocus;
|
||||
|
||||
|
@ -29,6 +29,8 @@
|
||||
#error "Only <gtk/gtk.h> can be included directly."
|
||||
#endif
|
||||
|
||||
#include <gdk/gdk.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
typedef struct _GtkAdjustment GtkAdjustment;
|
||||
|
Loading…
Reference in New Issue
Block a user