Include files outside of the extern "C" block. Makes some C++ compiler
2000-07-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de> * gdk-pixbuf/gdk-pixbuf.h, gtk/gtkhsv.h, gtk/gtktextbtree.h, gtk/gtktextbuffer.h, gtk/gtktextchild.h, gtk/gtktextdisplay.h, gtk/gtktextiter.h, gtk/gtktextiterprivate.h, gtk/gtktextlayout.h, gtk/gtktextmarkprivate.h, gtk/gtktextsegment.h, gtk/gtktexttag.h, gtk/gtktexttagtable.h, gtk/gtktexttypes.h, gtk/gtktextview.h, gtk/gtktypeutils.h: Include files outside of the extern "C" block. Makes some C++ compiler happy. Reported by Denis Vakatov <vakatov@peony.nlm.nih.gov>. I really hope not to have caused a merging nightmare for all the branches out there. Otherwise I'll be available for crucifixion.
This commit is contained in:
committed by
Sebastian Wilhelmi
parent
8ac34068ba
commit
1e166c0693
@ -1,6 +1,11 @@
|
||||
#ifndef GTK_TEXT_BUFFER_H
|
||||
#define GTK_TEXT_BUFFER_H
|
||||
|
||||
#include <gtk/gtkwidget.h>
|
||||
#include <gtk/gtktexttagtable.h>
|
||||
#include <gtk/gtktextiter.h>
|
||||
#include <gtk/gtktextmark.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
@ -10,11 +15,6 @@ extern "C" {
|
||||
* GtkTextBTree is the PRIVATE internal representation of it.
|
||||
*/
|
||||
|
||||
#include <gtk/gtkwidget.h>
|
||||
#include <gtk/gtktexttagtable.h>
|
||||
#include <gtk/gtktextiter.h>
|
||||
#include <gtk/gtktextmark.h>
|
||||
|
||||
typedef struct _GtkTextBTree GtkTextBTree;
|
||||
|
||||
#define GTK_TYPE_TEXT_BUFFER (gtk_text_buffer_get_type())
|
||||
|
||||
Reference in New Issue
Block a user