gtk+ r20178 - in trunk/modules/other/gail: . libgail-util
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r20178 - in trunk/modules/other/gail: . libgail-util
- Date: Mon, 26 May 2008 14:23:33 +0000 (UTC)
Author: mitch
Date: Mon May 26 14:23:33 2008
New Revision: 20178
URL: http://svn.gnome.org/viewvc/gtk+?rev=20178&view=rev
Log:
2008-05-26 Michael Natterer <mitch imendio com>
* libgail-util/gailmisc.h
* libgail-util/gailtextutil.h: use G_BEGIN/END_DECLS.
Modified:
trunk/modules/other/gail/ChangeLog
trunk/modules/other/gail/libgail-util/gailmisc.h
trunk/modules/other/gail/libgail-util/gailtextutil.h
Modified: trunk/modules/other/gail/libgail-util/gailmisc.h
==============================================================================
--- trunk/modules/other/gail/libgail-util/gailmisc.h (original)
+++ trunk/modules/other/gail/libgail-util/gailmisc.h Mon May 26 14:23:33 2008
@@ -20,14 +20,12 @@
#ifndef __GAIL_MISC_H__
#define __GAIL_MISC_H__
-#ifdef __cplusplus
-extern "C" {
-#endif /*__cplusplus */
-
#include <glib-object.h>
#include <gtk/gtk.h>
#include <pango/pango.h>
+G_BEGIN_DECLS
+
AtkAttributeSet* gail_misc_add_attribute (AtkAttributeSet *attrib_set,
AtkTextAttribute attr,
gchar *value);
@@ -79,8 +77,6 @@
gint *start_offset,
gint *end_offset);
-#ifdef __cplusplus
-}
-#endif /*cplusplus */
+G_END_DECLS
#endif /*__GAIL_MISC_H__ */
Modified: trunk/modules/other/gail/libgail-util/gailtextutil.h
==============================================================================
--- trunk/modules/other/gail/libgail-util/gailtextutil.h (original)
+++ trunk/modules/other/gail/libgail-util/gailtextutil.h Mon May 26 14:23:33 2008
@@ -20,13 +20,11 @@
#ifndef __GAIL_TEXT_UTIL_H__
#define __GAIL_TEXT_UTIL_H__
-#ifdef __cplusplus
-extern "C" {
-#endif /*__cplusplus */
-
#include <glib-object.h>
#include <gtk/gtk.h>
+G_BEGIN_DECLS
+
#define GAIL_TYPE_TEXT_UTIL (gail_text_util_get_type ())
#define GAIL_TEXT_UTIL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAIL_TYPE_TEXT_UTIL, GailTextUtil))
#define GAIL_TEXT_UTIL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAIL_TYPE_TEXT_UTIL, GailTextUtilClass))
@@ -84,8 +82,6 @@
gint start_pos,
gint end_pos);
-#ifdef __cplusplus
-}
-#endif /*cplusplus */
+G_END_DECLS
#endif /*__GAIL_TEXT_UTIL_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]