Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.

svn path=/trunk/; revision=19238
This commit is contained in:
Christian Persch 2007-12-25 10:01:14 +00:00
parent 535e29c380
commit 8b9693f815
57 changed files with 117 additions and 413 deletions

View File

@ -1,3 +1,7 @@
2007-12-22 Christian Persch <chpe@gnome.org>
* modules/other/gail/*.h: Use G_BEGIN_DECLS/G_END_DECLS. Bug #505268.
2007-12-22 Christian Persch <chpe@gnome.org> 2007-12-22 Christian Persch <chpe@gnome.org>
* modules/other/gail/*.[ch]: Remove relocations from the atk * modules/other/gail/*.[ch]: Remove relocations from the atk

View File

@ -21,18 +21,13 @@
#ifndef __GAIL_PRIVATE_MACROS_H__ #ifndef __GAIL_PRIVATE_MACROS_H__
#define __GAIL_PRIVATE_MACROS_H__ #define __GAIL_PRIVATE_MACROS_H__
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
/* Note: these macros are logic macros, not intended to warn on failure. */ /* Note: these macros are logic macros, not intended to warn on failure. */
#define gail_return_val_if_fail(a, b) if (!(a)) return (b) #define gail_return_val_if_fail(a, b) if (!(a)) return (b)
#define gail_return_if_fail(a) if (!(a)) return #define gail_return_if_fail(a) if (!(a)) return
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_PRIVATE_MACROS_H__ */ #endif /* __GAIL_PRIVATE_MACROS_H__ */

View File

@ -22,10 +22,7 @@
#include <atk/atk.h> #include <atk/atk.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_ADJUSTMENT (gail_adjustment_get_type ()) #define GAIL_TYPE_ADJUSTMENT (gail_adjustment_get_type ())
#define GAIL_ADJUSTMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_ADJUSTMENT, GailAdjustment)) #define GAIL_ADJUSTMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_ADJUSTMENT, GailAdjustment))
@ -53,9 +50,6 @@ struct _GailAdjustmentClass
AtkObject *gail_adjustment_new (GtkAdjustment *adjustment); AtkObject *gail_adjustment_new (GtkAdjustment *adjustment);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_ADJUSTMENT_H__ */ #endif /* __GAIL_ADJUSTMENT_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h> #include <gail/gailwidget.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_ARROW (gail_arrow_get_type ()) #define GAIL_TYPE_ARROW (gail_arrow_get_type ())
#define GAIL_ARROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_ARROW, GailArrow)) #define GAIL_ARROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_ARROW, GailArrow))
@ -51,9 +49,6 @@ struct _GailArrowClass
GailWidgetClass parent_class; GailWidgetClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_ARROW_H__ */ #endif /* __GAIL_ARROW_H__ */

View File

@ -23,9 +23,7 @@
#include <atk/atk.h> #include <atk/atk.h>
#include <gail/gailrenderercell.h> #include <gail/gailrenderercell.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_BOOLEAN_CELL (gail_boolean_cell_get_type ()) #define GAIL_TYPE_BOOLEAN_CELL (gail_boolean_cell_get_type ())
#define GAIL_BOOLEAN_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_BOOLEAN_CELL, GailBooleanCell)) #define GAIL_BOOLEAN_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_BOOLEAN_CELL, GailBooleanCell))
@ -52,9 +50,6 @@ struct _GailBooleanCellClass
AtkObject *gail_boolean_cell_new (void); AtkObject *gail_boolean_cell_new (void);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_TREE_VIEW_BOOLEAN_CELL_H__ */ #endif /* __GAIL_TREE_VIEW_BOOLEAN_CELL_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_BOX (gail_box_get_type ()) #define GAIL_TYPE_BOX (gail_box_get_type ())
#define GAIL_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_BOX, GailBox)) #define GAIL_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_BOX, GailBox))
@ -49,9 +47,6 @@ struct _GailBoxClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_BOX_H__ */ #endif /* __GAIL_BOX_H__ */

View File

@ -24,10 +24,7 @@
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
#include <libgail-util/gailtextutil.h> #include <libgail-util/gailtextutil.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_BUTTON (gail_button_get_type ()) #define GAIL_TYPE_BUTTON (gail_button_get_type ())
#define GAIL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_BUTTON, GailButton)) #define GAIL_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_BUTTON, GailButton))
@ -67,9 +64,6 @@ struct _GailButtonClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_BUTTON_H__ */ #endif /* __GAIL_BUTTON_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_CALENDAR (gail_calendar_get_type ()) #define GAIL_TYPE_CALENDAR (gail_calendar_get_type ())
#define GAIL_CALENDAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CALENDAR, GailCalendar)) #define GAIL_CALENDAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CALENDAR, GailCalendar))
@ -49,9 +47,6 @@ struct _GailCalendarClass
GailWidgetClass parent_class; GailWidgetClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_CALENDAR_H__ */ #endif /* __GAIL_CALENDAR_H__ */

View File

@ -22,10 +22,7 @@
#include <atk/atk.h> #include <atk/atk.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_CELL (gail_cell_get_type ()) #define GAIL_TYPE_CELL (gail_cell_get_type ())
#define GAIL_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CELL, GailCell)) #define GAIL_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CELL, GailCell))
@ -70,7 +67,6 @@ struct _ActionInfo {
ACTION_FUNC do_action_func; ACTION_FUNC do_action_func;
}; };
void gail_cell_initialise (GailCell *cell, void gail_cell_initialise (GailCell *cell,
GtkWidget *widget, GtkWidget *widget,
AtkObject *parent, AtkObject *parent,
@ -99,12 +95,6 @@ gboolean gail_cell_remove_action (GailCell *cell,
gboolean gail_cell_remove_action_by_name (GailCell *cell, gboolean gail_cell_remove_action_by_name (GailCell *cell,
const gchar *action_name); const gchar *action_name);
G_END_DECLS
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __GAIL_CELL_H__ */ #endif /* __GAIL_CELL_H__ */

View File

@ -25,9 +25,7 @@
#include <atk/atkutil.h> #include <atk/atkutil.h>
#include <gail/gailcell.h> #include <gail/gailcell.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
/* /*
* The GailCellParent interface should be supported by any object which * The GailCellParent interface should be supported by any object which
@ -82,7 +80,6 @@ void gail_cell_parent_get_cell_area (GailCellParent *parent,
gboolean gail_cell_parent_grab_focus (GailCellParent *parent, gboolean gail_cell_parent_grab_focus (GailCellParent *parent,
GailCell *cell); GailCell *cell);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_CELL_PARENT_H__ */ #endif /* __GAIL_CELL_PARENT_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailmenuitem.h> #include <gail/gailmenuitem.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_CHECK_MENU_ITEM (gail_check_menu_item_get_type ()) #define GAIL_TYPE_CHECK_MENU_ITEM (gail_check_menu_item_get_type ())
#define GAIL_CHECK_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CHECK_MENU_ITEM, GailCheckMenuItem)) #define GAIL_CHECK_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CHECK_MENU_ITEM, GailCheckMenuItem))
@ -51,9 +49,6 @@ struct _GailCheckMenuItemClass
AtkObject* gail_check_menu_item_new (GtkWidget *widget); AtkObject* gail_check_menu_item_new (GtkWidget *widget);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_CHECK_MENU_ITEM_H__ */ #endif /* __GAIL_CHECK_MENU_ITEM_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailsubmenuitem.h> #include <gail/gailsubmenuitem.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_CHECK_SUB_MENU_ITEM (gail_check_sub_menu_item_get_type ()) #define GAIL_TYPE_CHECK_SUB_MENU_ITEM (gail_check_sub_menu_item_get_type ())
#define GAIL_CHECK_SUB_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CHECK_SUB_MENU_ITEM, GailCheckSubMenuItem)) #define GAIL_CHECK_SUB_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CHECK_SUB_MENU_ITEM, GailCheckSubMenuItem))
@ -51,9 +49,6 @@ struct _GailCheckSubMenuItemClass
AtkObject* gail_check_sub_menu_item_new (GtkWidget *widget); AtkObject* gail_check_sub_menu_item_new (GtkWidget *widget);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_CHECK_SUB_MENU_ITEM_H__ */ #endif /* __GAIL_CHECK_SUB_MENU_ITEM_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_CLIST (gail_clist_get_type ()) #define GAIL_TYPE_CLIST (gail_clist_get_type ())
#define GAIL_CLIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CLIST, GailCList)) #define GAIL_CLIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CLIST, GailCList))
@ -62,9 +60,6 @@ struct _GailCListClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_CLIST_H__ */ #endif /* __GAIL_CLIST_H__ */

View File

@ -23,9 +23,7 @@
#include <atk/atk.h> #include <atk/atk.h>
#include <gail/gailcell.h> #include <gail/gailcell.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_CLIST_CELL (gail_clist_cell_get_type ()) #define GAIL_TYPE_CLIST_CELL (gail_clist_cell_get_type ())
#define GAIL_CLIST_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CLIST_CELL, GailCListCell)) #define GAIL_CLIST_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CLIST_CELL, GailCListCell))
@ -51,9 +49,6 @@ struct _GailCListCellClass
AtkObject *gail_clist_cell_new (void); AtkObject *gail_clist_cell_new (void);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_CLIST_CELL_H__ */ #endif /* __GAIL_CLIST_CELL_H__ */

View File

@ -23,10 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_COMBO (gail_combo_get_type ()) #define GAIL_TYPE_COMBO (gail_combo_get_type ())
#define GAIL_COMBO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_COMBO, GailCombo)) #define GAIL_COMBO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_COMBO, GailCombo))
@ -57,9 +54,6 @@ struct _GailComboClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_COMBO_H__ */ #endif /* __GAIL_COMBO_H__ */

View File

@ -23,10 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_COMBO_BOX (gail_combo_box_get_type ()) #define GAIL_TYPE_COMBO_BOX (gail_combo_box_get_type ())
#define GAIL_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_COMBO_BOX, GailComboBox)) #define GAIL_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_COMBO_BOX, GailComboBox))
@ -58,9 +55,6 @@ struct _GailComboBoxClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_COMBO_BOX_H__ */ #endif /* __GAIL_COMBO_BOX_H__ */

View File

@ -23,10 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h> #include <gail/gailwidget.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_CONTAINER (gail_container_get_type ()) #define GAIL_TYPE_CONTAINER (gail_container_get_type ())
#define GAIL_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CONTAINER, GailContainer)) #define GAIL_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CONTAINER, GailContainer))
@ -62,9 +59,6 @@ struct _GailContainerClass
gpointer data); gpointer data);
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_CONTAINER_H__ */ #endif /* __GAIL_CONTAINER_H__ */

View File

@ -23,9 +23,7 @@
#include <atk/atk.h> #include <atk/atk.h>
#include <gail/gailcell.h> #include <gail/gailcell.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_CONTAINER_CELL (gail_container_cell_get_type ()) #define GAIL_TYPE_CONTAINER_CELL (gail_container_cell_get_type ())
#define GAIL_CONTAINER_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CONTAINER_CELL, GailContainerCell)) #define GAIL_CONTAINER_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_CONTAINER_CELL, GailContainerCell))
@ -62,10 +60,6 @@ void
gail_container_cell_remove_child (GailContainerCell *container, gail_container_cell_remove_child (GailContainerCell *container,
GailCell *child); GailCell *child);
G_END_DECLS
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __GAIL_TREE_VIEW_TEXT_CELL_H__ */ #endif /* __GAIL_TREE_VIEW_TEXT_CELL_H__ */

View File

@ -24,9 +24,7 @@
#include <gail/gailwidget.h> #include <gail/gailwidget.h>
#include <libgail-util/gailtextutil.h> #include <libgail-util/gailtextutil.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_ENTRY (gail_entry_get_type ()) #define GAIL_TYPE_ENTRY (gail_entry_get_type ())
#define GAIL_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_ENTRY, GailEntry)) #define GAIL_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_ENTRY, GailEntry))
@ -68,9 +66,6 @@ struct _GailEntryClass
GailWidgetClass parent_class; GailWidgetClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_ENTRY_H__ */ #endif /* __GAIL_ENTRY_H__ */

View File

@ -24,9 +24,7 @@
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
#include <libgail-util/gailtextutil.h> #include <libgail-util/gailtextutil.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_EXPANDER (gail_expander_get_type ()) #define GAIL_TYPE_EXPANDER (gail_expander_get_type ())
#define GAIL_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_EXPANDER, GailExpander)) #define GAIL_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_EXPANDER, GailExpander))
@ -56,9 +54,6 @@ struct _GailExpanderClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_EXPANDER_H__ */ #endif /* __GAIL_EXPANDER_H__ */

View File

@ -23,10 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_FRAME (gail_frame_get_type ()) #define GAIL_TYPE_FRAME (gail_frame_get_type ())
#define GAIL_FRAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_FRAME, GailFrame)) #define GAIL_FRAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_FRAME, GailFrame))
@ -50,9 +47,6 @@ struct _GailFrameClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_FRAME_H__ */ #endif /* __GAIL_FRAME_H__ */

View File

@ -22,9 +22,7 @@
#include <atk/atk.h> #include <atk/atk.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_HTML_BOX (gail_html_box_get_type ()) #define GAIL_TYPE_HTML_BOX (gail_html_box_get_type ())
#define GAIL_HTML_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_HTML_BOX, GailHtmlBox)) #define GAIL_HTML_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_HTML_BOX, GailHtmlBox))
@ -48,9 +46,6 @@ struct _GailHtmlBoxClass
GType gail_html_box_get_type (void); GType gail_html_box_get_type (void);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_HTML_BOX_H__ */ #endif /* __GAIL_HTML_BOX_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h> #include <gail/gailwidget.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_IMAGE (gail_image_get_type ()) #define GAIL_TYPE_IMAGE (gail_image_get_type ())
#define GAIL_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_IMAGE, GailImage)) #define GAIL_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_IMAGE, GailImage))
@ -52,9 +50,6 @@ struct _GailImageClass
GailWidgetClass parent_class; GailWidgetClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_IMAGE_H__ */ #endif /* __GAIL_IMAGE_H__ */

View File

@ -23,9 +23,7 @@
#include <atk/atk.h> #include <atk/atk.h>
#include <gail/gailrenderercell.h> #include <gail/gailrenderercell.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_IMAGE_CELL (gail_image_cell_get_type ()) #define GAIL_TYPE_IMAGE_CELL (gail_image_cell_get_type ())
#define GAIL_IMAGE_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_IMAGE_CELL, GailImageCell)) #define GAIL_IMAGE_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_IMAGE_CELL, GailImageCell))
@ -54,9 +52,6 @@ struct _GailImageCellClass
AtkObject *gail_image_cell_new (void); AtkObject *gail_image_cell_new (void);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_TREE_VIEW_IMAGE_CELL_H__ */ #endif /* __GAIL_TREE_VIEW_IMAGE_CELL_H__ */

View File

@ -24,9 +24,7 @@
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
#include <libgail-util/gailtextutil.h> #include <libgail-util/gailtextutil.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_ITEM (gail_item_get_type ()) #define GAIL_TYPE_ITEM (gail_item_get_type ())
#define GAIL_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_ITEM, GailItem)) #define GAIL_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_ITEM, GailItem))
@ -54,9 +52,6 @@ struct _GailItemClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_ITEM_H__ */ #endif /* __GAIL_ITEM_H__ */

View File

@ -24,9 +24,7 @@
#include <gail/gailwidget.h> #include <gail/gailwidget.h>
#include <libgail-util/gailtextutil.h> #include <libgail-util/gailtextutil.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_LABEL (gail_label_get_type ()) #define GAIL_TYPE_LABEL (gail_label_get_type ())
#define GAIL_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_LABEL, GailLabel)) #define GAIL_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_LABEL, GailLabel))
@ -57,9 +55,6 @@ struct _GailLabelClass
GailWidgetClass parent_class; GailWidgetClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_LABEL_H__ */ #endif /* __GAIL_LABEL_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_LIST (gail_list_get_type ()) #define GAIL_TYPE_LIST (gail_list_get_type ())
#define GAIL_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_LIST, GailList)) #define GAIL_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_LIST, GailList))
@ -49,9 +47,6 @@ struct _GailListClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_LIST_H__ */ #endif /* __GAIL_LIST_H__ */

View File

@ -23,10 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailmenushell.h> #include <gail/gailmenushell.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_MENU (gail_menu_get_type ()) #define GAIL_TYPE_MENU (gail_menu_get_type ())
#define GAIL_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_MENU_SHELL, GailMenu)) #define GAIL_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_MENU_SHELL, GailMenu))
@ -50,9 +47,6 @@ struct _GailMenuClass
GailMenuShellClass parent_class; GailMenuShellClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_MENU_H__ */ #endif /* __GAIL_MENU_H__ */

View File

@ -23,10 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailitem.h> #include <gail/gailitem.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_MENU_ITEM (gail_menu_item_get_type ()) #define GAIL_TYPE_MENU_ITEM (gail_menu_item_get_type ())
#define GAIL_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_MENU_ITEM, GailMenuItem)) #define GAIL_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_MENU_ITEM, GailMenuItem))
@ -56,9 +53,6 @@ struct _GailMenuItemClass
AtkObject* gail_menu_item_new (GtkWidget *widget); AtkObject* gail_menu_item_new (GtkWidget *widget);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_MENU_ITEM_H__ */ #endif /* __GAIL_MENU_ITEM_H__ */

View File

@ -23,10 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_MENU_SHELL (gail_menu_shell_get_type ()) #define GAIL_TYPE_MENU_SHELL (gail_menu_shell_get_type ())
#define GAIL_MENU_SHELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_MENU_SHELL, GailMenuShell)) #define GAIL_MENU_SHELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_MENU_SHELL, GailMenuShell))
@ -50,9 +47,6 @@ struct _GailMenuShellClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_MENU_SHELL_H__ */ #endif /* __GAIL_MENU_SHELL_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_NOTEBOOK (gail_notebook_get_type ()) #define GAIL_TYPE_NOTEBOOK (gail_notebook_get_type ())
#define GAIL_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_NOTEBOOK, GailNotebook)) #define GAIL_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_NOTEBOOK, GailNotebook))
@ -63,9 +61,6 @@ struct _GailNotebookClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_NOTEBOOK_H__ */ #endif /* __GAIL_NOTEBOOK_H__ */

View File

@ -25,9 +25,7 @@
#include <gail/gailnotebook.h> #include <gail/gailnotebook.h>
#include <libgail-util/gailtextutil.h> #include <libgail-util/gailtextutil.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_NOTEBOOK_PAGE (gail_notebook_page_get_type ()) #define GAIL_TYPE_NOTEBOOK_PAGE (gail_notebook_page_get_type ())
#define GAIL_NOTEBOOK_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),GAIL_TYPE_NOTEBOOK_PAGE, GailNotebookPage)) #define GAIL_NOTEBOOK_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),GAIL_TYPE_NOTEBOOK_PAGE, GailNotebookPage))
@ -61,10 +59,6 @@ struct _GailNotebookPageClass
AtkObject *gail_notebook_page_new(GtkNotebook *notebook, gint pagenum); AtkObject *gail_notebook_page_new(GtkNotebook *notebook, gint pagenum);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_NOTEBOOK_PAGE_H__ */ #endif /* __GAIL_NOTEBOOK_PAGE_H__ */

View File

@ -22,9 +22,7 @@
#include <atk/atk.h> #include <atk/atk.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_OBJECT (gail_object_get_type ()) #define GAIL_TYPE_OBJECT (gail_object_get_type ())
#define GAIL_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_OBJECT, GailObject) #define GAIL_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_OBJECT, GailObject)
@ -48,9 +46,6 @@ struct _GailObjectClass
AtkGObjectAccessibleClass parent_class; AtkGObjectAccessibleClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_OBJECT_H__ */ #endif /* __GAIL_OBJECT_H__ */

View File

@ -23,10 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailbutton.h> #include <gail/gailbutton.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_OPTION_MENU (gail_option_menu_get_type ()) #define GAIL_TYPE_OPTION_MENU (gail_option_menu_get_type ())
#define GAIL_OPTION_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_OPTION_MENU, GailOptionMenu)) #define GAIL_OPTION_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_OPTION_MENU, GailOptionMenu))
@ -50,9 +47,6 @@ struct _GailOptionMenuClass
GailButtonClass parent_class; GailButtonClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_OPTION_MENU_H__ */ #endif /* __GAIL_OPTION_MENU_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_PANED (gail_paned_get_type ()) #define GAIL_TYPE_PANED (gail_paned_get_type ())
#define GAIL_PANED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_PANED, GailPaned)) #define GAIL_PANED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_PANED, GailPaned))
@ -49,9 +47,6 @@ struct _GailPanedClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_PANED_H__ */ #endif /* __GAIL_PANED_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h> #include <gail/gailwidget.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_PIXMAP (gail_pixmap_get_type ()) #define GAIL_TYPE_PIXMAP (gail_pixmap_get_type ())
#define GAIL_PIXMAP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_PIXMAP, GailPixmap)) #define GAIL_PIXMAP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_PIXMAP, GailPixmap))
@ -52,9 +50,6 @@ struct _GailPixmapClass
GailWidgetClass parent_class; GailWidgetClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_PIXMAP_H__ */ #endif /* __GAIL_PIXMAP_H__ */

View File

@ -23,10 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h> #include <gail/gailwidget.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_PROGRESS_BAR (gail_progress_bar_get_type ()) #define GAIL_TYPE_PROGRESS_BAR (gail_progress_bar_get_type ())
#define GAIL_PROGRESS_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_PROGRESS_BAR, GailProgressBar)) #define GAIL_PROGRESS_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_PROGRESS_BAR, GailProgressBar))
@ -52,9 +49,6 @@ struct _GailProgressBarClass
GailWidgetClass parent_class; GailWidgetClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_PROGRESS_BAR_H__ */ #endif /* __GAIL_PROGRESS_BAR_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailtogglebutton.h> #include <gail/gailtogglebutton.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_RADIO_BUTTON (gail_radio_button_get_type ()) #define GAIL_TYPE_RADIO_BUTTON (gail_radio_button_get_type ())
#define GAIL_RADIO_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_RADIO_BUTTON, GailRadioButton)) #define GAIL_RADIO_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_RADIO_BUTTON, GailRadioButton))
@ -51,9 +49,6 @@ struct _GailRadioButtonClass
GailToggleButtonClass parent_class; GailToggleButtonClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_RADIO_BUTTON_H__ */ #endif /* __GAIL_RADIO_BUTTON_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailcheckmenuitem.h> #include <gail/gailcheckmenuitem.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_RADIO_MENU_ITEM (gail_radio_menu_item_get_type ()) #define GAIL_TYPE_RADIO_MENU_ITEM (gail_radio_menu_item_get_type ())
#define GAIL_RADIO_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_RADIO_MENU_ITEM, GailRadioMenuItem)) #define GAIL_RADIO_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_RADIO_MENU_ITEM, GailRadioMenuItem))
@ -53,9 +51,6 @@ struct _GailRadioMenuItemClass
AtkObject* gail_radio_menu_item_new (GtkWidget *widget); AtkObject* gail_radio_menu_item_new (GtkWidget *widget);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_RADIO_MENU_ITEM_H__ */ #endif /* __GAIL_RADIO_MENU_ITEM_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailchecksubmenuitem.h> #include <gail/gailchecksubmenuitem.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_RADIO_SUB_MENU_ITEM (gail_radio_sub_menu_item_get_type ()) #define GAIL_TYPE_RADIO_SUB_MENU_ITEM (gail_radio_sub_menu_item_get_type ())
#define GAIL_RADIO_SUB_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_RADIO_SUB_MENU_ITEM, GailRadioSubMenuItem)) #define GAIL_RADIO_SUB_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_RADIO_SUB_MENU_ITEM, GailRadioSubMenuItem))
@ -53,9 +51,6 @@ struct _GailRadioSubMenuItemClass
AtkObject* gail_radio_sub_menu_item_new (GtkWidget *widget); AtkObject* gail_radio_sub_menu_item_new (GtkWidget *widget);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_RADIO_SUB_MENU_ITEM_H__ */ #endif /* __GAIL_RADIO_SUB_MENU_ITEM_H__ */

View File

@ -23,10 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h> #include <gail/gailwidget.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_RANGE (gail_range_get_type ()) #define GAIL_TYPE_RANGE (gail_range_get_type ())
#define GAIL_RANGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_RANGE, GailRange)) #define GAIL_RANGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_RANGE, GailRange))
@ -56,9 +53,6 @@ struct _GailRangeClass
GailWidgetClass parent_class; GailWidgetClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_RANGE_H__ */ #endif /* __GAIL_RANGE_H__ */

View File

@ -23,9 +23,7 @@
#include <atk/atk.h> #include <atk/atk.h>
#include <gail/gailcell.h> #include <gail/gailcell.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_RENDERER_CELL (gail_renderer_cell_get_type ()) #define GAIL_TYPE_RENDERER_CELL (gail_renderer_cell_get_type ())
#define GAIL_RENDERER_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_RENDERER_CELL, GailRendererCell)) #define GAIL_RENDERER_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_RENDERER_CELL, GailRendererCell))
@ -57,9 +55,6 @@ gail_renderer_cell_update_cache (GailRendererCell *cell, gboolean emit_change_si
AtkObject *gail_renderer_cell_new (void); AtkObject *gail_renderer_cell_new (void);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_TREE_VIEW_TEXT_CELL_H__ */ #endif /* __GAIL_TREE_VIEW_TEXT_CELL_H__ */

View File

@ -24,9 +24,7 @@
#include <gail/gailrange.h> #include <gail/gailrange.h>
#include <libgail-util/gailtextutil.h> #include <libgail-util/gailtextutil.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_SCALE (gail_scale_get_type ()) #define GAIL_TYPE_SCALE (gail_scale_get_type ())
#define GAIL_SCALE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_SCALE, GailScale)) #define GAIL_SCALE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_SCALE, GailScale))
@ -52,9 +50,6 @@ struct _GailScaleClass
GailRangeClass parent_class; GailRangeClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_SCALE_H__ */ #endif /* __GAIL_SCALE_H__ */

View File

@ -23,10 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailrange.h> #include <gail/gailrange.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_SCROLLBAR (gail_scrollbar_get_type ()) #define GAIL_TYPE_SCROLLBAR (gail_scrollbar_get_type ())
#define GAIL_SCROLLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_SCROLLBAR, GailScrollbar)) #define GAIL_SCROLLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_SCROLLBAR, GailScrollbar))
@ -50,9 +47,6 @@ struct _GailScrollbarClass
GailRangeClass parent_class; GailRangeClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_SCROLLBAR_H__ */ #endif /* __GAIL_SCROLLBAR_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_SCROLLED_WINDOW (gail_scrolled_window_get_type ()) #define GAIL_TYPE_SCROLLED_WINDOW (gail_scrolled_window_get_type ())
#define GAIL_SCROLLED_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_SCROLLED_WINDOW, GailScrolledWindow)) #define GAIL_SCROLLED_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_SCROLLED_WINDOW, GailScrolledWindow))
@ -49,9 +47,6 @@ struct _GailScrolledWindowClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_SCROLLED_WINDOW_H__ */ #endif /* __GAIL_SCROLLED_WINDOW_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailwidget.h> #include <gail/gailwidget.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_SEPARATOR (gail_separator_get_type ()) #define GAIL_TYPE_SEPARATOR (gail_separator_get_type ())
#define GAIL_SEPARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_SEPARATOR, GailSeparator)) #define GAIL_SEPARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_SEPARATOR, GailSeparator))
@ -49,9 +47,6 @@ struct _GailSeparatorClass
GailWidgetClass parent_class; GailWidgetClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_SEPARATOR_H__ */ #endif /* __GAIL_SEPARATOR_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailentry.h> #include <gail/gailentry.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_SPIN_BUTTON (gail_spin_button_get_type ()) #define GAIL_TYPE_SPIN_BUTTON (gail_spin_button_get_type ())
#define GAIL_SPIN_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_SPIN_BUTTON, GailSpinButton)) #define GAIL_SPIN_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_SPIN_BUTTON, GailSpinButton))
@ -51,9 +49,6 @@ struct _GailSpinButtonClass
GailEntryClass parent_class; GailEntryClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_SPIN_BUTTON_H__ */ #endif /* __GAIL_SPIN_BUTTON_H__ */

View File

@ -24,9 +24,7 @@
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
#include <libgail-util/gailtextutil.h> #include <libgail-util/gailtextutil.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_STATUSBAR (gail_statusbar_get_type ()) #define GAIL_TYPE_STATUSBAR (gail_statusbar_get_type ())
#define GAIL_STATUSBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_STATUSBAR, GailStatusbar)) #define GAIL_STATUSBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_STATUSBAR, GailStatusbar))
@ -52,9 +50,6 @@ struct _GailStatusbarClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_STATUSBAR_H__ */ #endif /* __GAIL_STATUSBAR_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailmenuitem.h> #include <gail/gailmenuitem.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_SUB_MENU_ITEM (gail_sub_menu_item_get_type ()) #define GAIL_TYPE_SUB_MENU_ITEM (gail_sub_menu_item_get_type ())
#define GAIL_SUB_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_SUB_MENU_ITEM, GailSubMenuItem)) #define GAIL_SUB_MENU_ITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_SUB_MENU_ITEM, GailSubMenuItem))
@ -52,9 +50,6 @@ struct _GailSubMenuItemClass
AtkObject* gail_sub_menu_item_new (GtkWidget *widget); AtkObject* gail_sub_menu_item_new (GtkWidget *widget);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_SUB_MENU_ITEM_H__ */ #endif /* __GAIL_SUB_MENU_ITEM_H__ */

View File

@ -24,9 +24,7 @@
#include <gail/gailrenderercell.h> #include <gail/gailrenderercell.h>
#include <libgail-util/gailtextutil.h> #include <libgail-util/gailtextutil.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_TEXT_CELL (gail_text_cell_get_type ()) #define GAIL_TYPE_TEXT_CELL (gail_text_cell_get_type ())
#define GAIL_TEXT_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_TEXT_CELL, GailTextCell)) #define GAIL_TEXT_CELL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_TEXT_CELL, GailTextCell))
@ -56,9 +54,6 @@ struct _GailTextCellClass
AtkObject *gail_text_cell_new (void); AtkObject *gail_text_cell_new (void);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_TREE_VIEW_TEXT_CELL_H__ */ #endif /* __GAIL_TREE_VIEW_TEXT_CELL_H__ */

View File

@ -24,9 +24,7 @@
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
#include <libgail-util/gailtextutil.h> #include <libgail-util/gailtextutil.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_TEXT_VIEW (gail_text_view_get_type ()) #define GAIL_TYPE_TEXT_VIEW (gail_text_view_get_type ())
#define GAIL_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_TEXT_VIEW, GailTextView)) #define GAIL_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_TEXT_VIEW, GailTextView))
@ -62,9 +60,6 @@ struct _GailTextViewClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_TEXT_VIEW_H__ */ #endif /* __GAIL_TEXT_VIEW_H__ */

View File

@ -23,9 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailbutton.h> #include <gail/gailbutton.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_TOGGLE_BUTTON (gail_toggle_button_get_type ()) #define GAIL_TYPE_TOGGLE_BUTTON (gail_toggle_button_get_type ())
#define GAIL_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_TOGGLE_BUTTON, GailToggleButton)) #define GAIL_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_TOGGLE_BUTTON, GailToggleButton))
@ -49,9 +47,6 @@ struct _GailToggleButtonClass
GailButtonClass parent_class; GailButtonClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_TOGGLE_BUTTON_H__ */ #endif /* __GAIL_TOGGLE_BUTTON_H__ */

View File

@ -22,9 +22,7 @@
#include <atk/atk.h> #include <atk/atk.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_TOPLEVEL (gail_toplevel_get_type ()) #define GAIL_TYPE_TOPLEVEL (gail_toplevel_get_type ())
#define GAIL_TOPLEVEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_TOPLEVEL, GailToplevel)) #define GAIL_TOPLEVEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_TOPLEVEL, GailToplevel))
@ -49,8 +47,6 @@ struct _GailToplevelClass
AtkObjectClass parent_class; AtkObjectClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_TOPLEVEL_H__ */ #endif /* __GAIL_TOPLEVEL_H__ */

View File

@ -24,9 +24,7 @@
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
#include <gail/gailcell.h> #include <gail/gailcell.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_TREE_VIEW (gail_tree_view_get_type ()) #define GAIL_TYPE_TREE_VIEW (gail_tree_view_get_type ())
#define GAIL_TREE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_TREE_VIEW, GailTreeView)) #define GAIL_TREE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_TREE_VIEW, GailTreeView))
@ -68,9 +66,6 @@ struct _GailTreeViewClass
AtkObject* gail_tree_view_ref_focus_cell (GtkTreeView *treeview); AtkObject* gail_tree_view_ref_focus_cell (GtkTreeView *treeview);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_TREE_VIEW_H__ */ #endif /* __GAIL_TREE_VIEW_H__ */

View File

@ -22,9 +22,7 @@
#include <atk/atk.h> #include <atk/atk.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_UTIL (gail_util_get_type ()) #define GAIL_TYPE_UTIL (gail_util_get_type ())
#define GAIL_UTIL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_UTIL, GailUtil)) #define GAIL_UTIL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_UTIL, GailUtil))
@ -71,10 +69,6 @@ struct _GailMiscClass
AtkMiscClass parent_class; AtkMiscClass parent_class;
}; };
G_END_DECLS
#ifdef __cplusplus
}
#endif /* __cplusplus */
#endif /* __GAIL_UTIL_H__ */ #endif /* __GAIL_UTIL_H__ */

View File

@ -22,10 +22,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_WIDGET (gail_widget_get_type ()) #define GAIL_TYPE_WIDGET (gail_widget_get_type ())
#define GAIL_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_WIDGET, GailWidget)) #define GAIL_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_WIDGET, GailWidget))
@ -63,9 +60,6 @@ struct _GailWidgetClass
AtkObject* gail_widget_new (GtkWidget *widget); AtkObject* gail_widget_new (GtkWidget *widget);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_WIDGET_H__ */ #endif /* __GAIL_WIDGET_H__ */

View File

@ -23,10 +23,7 @@
#include <gtk/gtkaccessible.h> #include <gtk/gtkaccessible.h>
#include <gail/gailcontainer.h> #include <gail/gailcontainer.h>
G_BEGIN_DECLS
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define GAIL_TYPE_WINDOW (gail_window_get_type ()) #define GAIL_TYPE_WINDOW (gail_window_get_type ())
#define GAIL_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_WINDOW, GailWindow)) #define GAIL_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_WINDOW, GailWindow))
@ -53,9 +50,6 @@ struct _GailWindowClass
GailContainerClass parent_class; GailContainerClass parent_class;
}; };
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GAIL_WINDOW_H__ */ #endif /* __GAIL_WINDOW_H__ */