Commit 411241fb authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Cleanup. (#169648, Fabricio Barros Cabral)

2005-06-12  Matthias Clasen  <mclasen@redhat.com>

	* gdk/*.h: Cleanup.  (#169648, Fabricio Barros Cabral)
parent 28bebc86
2005-06-12 Matthias Clasen <mclasen@redhat.com>
* gdk/*.h: Cleanup. (#169648, Fabricio Barros Cabral)
* gdk/gdkcairo.c: Small doc additions.
* gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row):
......
2005-06-12 Matthias Clasen <mclasen@redhat.com>
* gdk/*.h: Cleanup. (#169648, Fabricio Barros Cabral)
* gdk/gdkcairo.c: Small doc additions.
* gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row):
......
2005-06-12 Matthias Clasen <mclasen@redhat.com>
* gdk/*.h: Cleanup. (#169648, Fabricio Barros Cabral)
* gdk/gdkcairo.c: Small doc additions.
* gtk/gtktreeview.c (gtk_tree_view_maybe_begin_dragging_row):
......
......@@ -54,9 +54,7 @@
#include <gdk/gdkvisual.h>
#include <gdk/gdkwindow.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
/* Initialization, exit and events
......@@ -209,9 +207,7 @@ void gdk_threads_set_lock_functions (GCallback enter_fn,
# define GDK_THREADS_LEAVE()
#endif /* !G_THREADS_ENABLED */
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_H__ */
......@@ -3,9 +3,7 @@
#include <gdk/gdktypes.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
typedef struct _GdkDragContext GdkDragContext;
......@@ -138,8 +136,6 @@ void gdk_drag_abort (GdkDragContext *context,
guint32 time_);
gboolean gdk_drag_drop_succeeded (GdkDragContext *context);
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_DND_H__ */
......@@ -8,9 +8,7 @@
#include <cairo.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
typedef struct _GdkDrawableClass GdkDrawableClass;
typedef struct _GdkTrapezoid GdkTrapezoid;
......@@ -391,8 +389,6 @@ GdkImage *gdk_drawable_copy_to_image (GdkDrawable *drawable,
GdkRegion *gdk_drawable_get_clip_region (GdkDrawable *drawable);
GdkRegion *gdk_drawable_get_visible_region (GdkDrawable *drawable);
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_DRAWABLE_H__ */
......@@ -6,9 +6,7 @@
#include <gdk/gdkdnd.h>
#include <gdk/gdkinput.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
#define GDK_TYPE_EVENT (gdk_event_get_type ())
......@@ -512,8 +510,6 @@ gboolean gdk_setting_get (const gchar *name,
GValue *value);
#endif /* GDK_MULTIHEAD_SAFE */
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_EVENTS_H__ */
......@@ -6,9 +6,7 @@
#include <gdk/gdktypes.h>
#include <pango/pango-font.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
#define GDK_TYPE_FONT gdk_font_get_type ()
......@@ -107,9 +105,7 @@ GdkDisplay * gdk_font_get_display (GdkFont *font);
#endif /* GDK_DISABLE_DEPRECATED */
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_FONT_H__ */
......
......@@ -4,9 +4,7 @@
#include <gdk/gdkcolor.h>
#include <gdk/gdktypes.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
typedef struct _GdkGCValues GdkGCValues;
typedef struct _GdkGCClass GdkGCClass;
......@@ -269,8 +267,6 @@ GdkScreen * gdk_gc_get_screen (GdkGC *gc);
#define gdk_gc_destroy gdk_gc_unref
#endif /* GDK_DISABLE_DEPRECATED */
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_DRAWABLE_H__ */
......@@ -3,9 +3,7 @@
#include <gdk/gdktypes.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
#define GDK_TYPE_DEVICE (gdk_device_get_type ())
#define GDK_DEVICE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DEVICE, GdkDevice))
......@@ -142,8 +140,6 @@ void gdk_input_set_extension_events (GdkWindow *window,
GdkDevice *gdk_device_get_core_pointer (void);
#endif
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_INPUT_H__ */
......@@ -383,8 +383,6 @@ void _gdk_windowing_gc_get_background (GdkGC *gc,
void _gdk_image_exit (void);
void _gdk_windowing_exit (void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_INTERNALS_H__ */
......@@ -29,9 +29,7 @@
#include <gdk/gdktypes.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
typedef struct _GdkKeymapKey GdkKeymapKey;
......@@ -120,8 +118,6 @@ guint32 gdk_keyval_to_unicode (guint keyval) G_GNUC_CONST;
guint gdk_unicode_to_keyval (guint32 wc) G_GNUC_CONST;
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_KEYS_H__ */
......@@ -22,9 +22,7 @@
#include <gdk/gdktypes.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
/* Pango interaction */
......@@ -151,8 +149,6 @@ struct _GdkPangoAttrEmbossed
PangoAttribute *gdk_pango_attr_stipple_new (GdkBitmap *stipple);
PangoAttribute *gdk_pango_attr_embossed_new (gboolean embossed);
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_FONT_H__ */
......@@ -4,9 +4,7 @@
#include <gdk/gdktypes.h>
#include <gdk/gdkdrawable.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
typedef struct _GdkPixmapObject GdkPixmapObject;
typedef struct _GdkPixmapObjectClass GdkPixmapObjectClass;
......@@ -92,8 +90,6 @@ GdkPixmap* gdk_pixmap_lookup_for_display (GdkDisplay *display,
#define gdk_pixmap_unref gdk_drawable_unref
#endif /* GDK_DISABLE_DEPRECATED */
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_PIXMAP_H__ */
......@@ -3,9 +3,7 @@
#include <gdk/gdktypes.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
typedef enum
{
......@@ -90,8 +88,6 @@ gboolean gdk_utf8_to_compound_text_for_display (GdkDisplay *display,
void gdk_free_text_list (gchar **list);
void gdk_free_compound_text (guchar *ctext);
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_PROPERTY_H__ */
......@@ -3,9 +3,7 @@
#include <gdk/gdktypes.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
/* GC fill rule for polygons
* EvenOddRule
......@@ -79,9 +77,7 @@ void gdk_region_spans_intersect_foreach (GdkRegion *region,
GdkSpanFunc function,
gpointer data);
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_REGION_H__ */
......@@ -29,9 +29,7 @@
#include <gdk/gdktypes.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
typedef struct _GdkRgbCmap GdkRgbCmap;
......@@ -140,9 +138,7 @@ gboolean gdk_rgb_ditherable (void);
gboolean gdk_rgb_colormap_ditherable (GdkColormap *cmap);
#endif
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_RGB_H__ */
......@@ -3,9 +3,7 @@
#include <gdk/gdktypes.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
/* Predefined atoms relating to selections. In general, one will need to use
* gdk_intern_atom
......@@ -78,8 +76,6 @@ void gdk_selection_send_notify_for_display (GdkDisplay *display,
GdkAtom property,
guint32 time_);
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_SELECTION_H__ */
......@@ -56,9 +56,7 @@
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
/* Type definitions for the basic structures.
......@@ -202,9 +200,7 @@ struct _GdkSpan
gint width;
};
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_TYPES_H__ */
......@@ -5,9 +5,7 @@
#include <gdk/gdktypes.h>
#include <gdk/gdkevents.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
typedef struct _GdkGeometry GdkGeometry;
typedef struct _GdkWindowAttr GdkWindowAttr;
......@@ -587,8 +585,6 @@ GdkWindow *gdk_get_default_root_window (void);
gdk_draw_pixmap(drawable,gc,source_drawable,source_x,source_y,x,y,width,height)
#endif /* GDK_DISABLE_DEPRECATED */
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_WINDOW_H__ */
......@@ -30,9 +30,7 @@
#include <gdk/gdkdrawable.h>
#include <gdk/win32/gdkwin32.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
/* Drawable implementation for Win32
*/
......@@ -72,8 +70,6 @@ HDC _gdk_win32_drawable_acquire_dc (GdkDrawable *drawable);
void _gdk_win32_drawable_release_dc (GdkDrawable *drawable);
void _gdk_win32_drawable_finish (GdkDrawable *drawable);
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_DRAWABLE_WIN32_H__ */
......@@ -30,9 +30,7 @@
#include <gdk/win32/gdkdrawable-win32.h>
#include <gdk/gdkpixmap.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
/* Pixmap implementation for Win32
*/
......@@ -64,8 +62,6 @@ struct _GdkPixmapImplWin32Class
GType _gdk_pixmap_impl_win32_get_type (void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_PIXMAP_WIN32_H__ */
......@@ -29,9 +29,7 @@
#include <gdk/win32/gdkdrawable-win32.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
typedef struct _GdkWin32PositionInfo GdkWin32PositionInfo;
......@@ -96,8 +94,6 @@ struct _GdkWindowImplWin32Class
GType _gdk_window_impl_win32_get_type (void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_WINDOW_WIN32_H__ */
......@@ -36,9 +36,7 @@
#include <X11/Xmd.h>
#ifdef __cplusplus
extern "C" {
#endif
G_BEGIN_DECLS
typedef struct {
unsigned long flags;
......@@ -133,8 +131,6 @@ typedef PropMotifWmInfo PropMwmInfo;
#define PROP_MOTIF_WM_INFO_ELEMENTS 2
#define PROP_MWM_INFO_ELEMENTS PROP_MOTIF_WM_INFO_ELEMENTS
#ifdef __cplusplus
}
#endif
G_END_DECLS
#endif /* MWMUTIL_H_INCLUDED */
......@@ -34,9 +34,7 @@
#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__ */
......@@ -30,9 +30,7 @@
#include <gdk/x11/gdkdrawable-x11.h>
#include <gdk/gdkpixmap.h>
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
G_BEGIN_DECLS
/* Pixmap implementation for X11
*/
......@@ -65,8 +63,6 @@ struct _GdkPixmapImplX11Class
GType gdk_pixmap_impl_x11_get_type (void);
#ifdef __cplusplus
}
#endif /* __cplusplus */
G_END_DECLS
#endif /* __GDK_PIXMAP_X11_H__ */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment