summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-05-26 14:34:24 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-05-26 14:34:24 +0000
commita21f711c671d54f68e42c0dda2334c9a5f205104 (patch)
tree6f5ee2f4acb7428c4a42a8ca7c1aa9b1f818794f /examples
parent5327e28edd1facde06ee1eb1746e581a38e7ba34 (diff)
downloadgdk-pixbuf-a21f711c671d54f68e42c0dda2334c9a5f205104.tar.gz
examples/gtkdial/gtkdial.h use G_BEGIN/END_DECLS.
2008-05-26 Michael Natterer <mitch@imendio.com> * examples/gtkdial/gtkdial.h * modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS. svn path=/trunk/; revision=20179
Diffstat (limited to 'examples')
-rw-r--r--examples/gtkdial/gtkdial.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/examples/gtkdial/gtkdial.h b/examples/gtkdial/gtkdial.h
index 850d7ea1e..7f9096df9 100644
--- a/examples/gtkdial/gtkdial.h
+++ b/examples/gtkdial/gtkdial.h
@@ -1,4 +1,3 @@
-
/* GTK - The GIMP Toolkit
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
@@ -17,6 +16,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
+
#ifndef __GTK_DIAL_H__
#define __GTK_DIAL_H__
@@ -26,9 +26,7 @@
#include <gtk/gtkwidget.h>
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
#define GTK_DIAL(obj) GTK_CHECK_CAST (obj, gtk_dial_get_type (), GtkDial)
@@ -83,9 +81,9 @@ void gtk_dial_set_update_policy (GtkDial *dial,
void gtk_dial_set_adjustment (GtkDial *dial,
GtkAdjustment *adjustment);
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+
+
+G_END_DECLS
#endif /* __GTK_DIAL_H__ */