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
This commit is contained in:
Michael Natterer 2008-05-26 14:34:24 +00:00 committed by Michael Natterer
parent 5327e28edd
commit a21f711c67
3 changed files with 12 additions and 14 deletions

View File

@ -1,3 +1,8 @@
2008-05-26 Michael Natterer <mitch@imendio.com>
* examples/gtkdial/gtkdial.h
* modules/input/gtkimcontextthai.h: use G_BEGIN/END_DECLS.
2008-05-26 Michael Natterer <mitch@imendio.com> 2008-05-26 Michael Natterer <mitch@imendio.com>
* gtk/gtkimmodule.h: fix indentation. * gtk/gtkimmodule.h: fix indentation.

View File

@ -1,4 +1,3 @@
/* GTK - The GIMP Toolkit /* GTK - The GIMP Toolkit
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
* *
@ -17,6 +16,7 @@
* Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA. * Boston, MA 02111-1307, USA.
*/ */
#ifndef __GTK_DIAL_H__ #ifndef __GTK_DIAL_H__
#define __GTK_DIAL_H__ #define __GTK_DIAL_H__
@ -26,9 +26,7 @@
#include <gtk/gtkwidget.h> #include <gtk/gtkwidget.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
#define GTK_DIAL(obj) GTK_CHECK_CAST (obj, gtk_dial_get_type (), GtkDial) #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, void gtk_dial_set_adjustment (GtkDial *dial,
GtkAdjustment *adjustment); GtkAdjustment *adjustment);
#ifdef __cplusplus
}
#endif /* __cplusplus */ G_END_DECLS
#endif /* __GTK_DIAL_H__ */ #endif /* __GTK_DIAL_H__ */

View File

@ -24,9 +24,7 @@
#include <gtk/gtkimcontext.h> #include <gtk/gtkimcontext.h>
#ifdef __cplusplus G_BEGIN_DECLS
extern "C" {
#endif /* __cplusplus */
extern GType gtk_type_im_context_thai; extern GType gtk_type_im_context_thai;
@ -74,9 +72,6 @@ GtkIMContextThaiISCMode
gtk_im_context_thai_set_isc_mode (GtkIMContextThai *context_thai, gtk_im_context_thai_set_isc_mode (GtkIMContextThai *context_thai,
GtkIMContextThaiISCMode mode); GtkIMContextThaiISCMode mode);
#ifdef __cplusplus G_END_DECLS
}
#endif /* __cplusplus */
#endif /* __GTK_IM_CONTEXT_THAI_H__ */ #endif /* __GTK_IM_CONTEXT_THAI_H__ */