]> Pileus Git - ~andy/gtk/blobdiff - gdk/x11/gdkdrawable-x11.h
Use gdk_window_get_root_cords to get popup position for combobox
[~andy/gtk] / gdk / x11 / gdkdrawable-x11.h
index e4b8a61fcffe591b4035ab047142b58dade2f1b9..7ff60085a1a6e8cf5e27caa1af80af9e7f566de2 100644 (file)
 #ifndef __GDK_DRAWABLE_X11_H__
 #define __GDK_DRAWABLE_X11_H__
 
-#include <config.h>
+#include "config.h"
 
 #include <gdk/gdkdrawable.h>
 
 #include <X11/Xlib.h>
 #include <X11/extensions/Xrender.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
 
 /* Drawable implementation for X11
  */
@@ -95,8 +93,6 @@ void  _gdk_x11_convert_to_format      (guchar           *src_buf,
 void _gdk_x11_drawable_finish           (GdkDrawable  *drawable);
 void _gdk_x11_drawable_update_size      (GdkDrawable  *drawable);
 
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
 
 #endif /* __GDK_DRAWABLE_X11_H__ */