]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtktextchildprivate.h
filechooserbutton: Update the combo box even after the dialog is cancelled
[~andy/gtk] / gtk / gtktextchildprivate.h
index 24bb908e4cee63d32619d8a040a823d77d2d6189..0c9b19c141d900cd37001919f38c4be7d8b77734 100644 (file)
@@ -1,4 +1,4 @@
-/* gtktextchild.c - child pixmaps and widgets
+/* gtktextchildprivate.h - child pixmaps and widgets
  *
  * Copyright (c) 1994 The Regents of the University of California.
  * Copyright (c) 1994-1997 Sun Microsystems, Inc.
  *
  */
 
-#ifndef GTK_TEXT_CHILD_PRIVATE_H
-#define GTK_TEXT_CHILD_PRIVATE_H
+#ifndef __GTK_TEXT_CHILD_PRIVATE_H__
+#define __GTK_TEXT_CHILD_PRIVATE_H__
 
 #include <gtk/gtktexttypes.h>
 
-#ifdef __cplusplus
-extern "C" {
-#endif /* __cplusplus */
+G_BEGIN_DECLS
 
 typedef struct _GtkTextPixbuf GtkTextPixbuf;
 
@@ -75,7 +73,7 @@ struct _GtkTextChildBody
   GtkTextLine *line;
 };
 
-GtkTextLineSegment *_gtk_widget_segment_new      (void);
+GtkTextLineSegment *_gtk_widget_segment_new      (GtkTextChildAnchor *anchor);
 void                _gtk_widget_segment_add      (GtkTextLineSegment *widget_segment,
                                                   GtkWidget          *child);
 void                _gtk_widget_segment_remove   (GtkTextLineSegment *widget_segment,
@@ -85,8 +83,6 @@ void                _gtk_widget_segment_unref    (GtkTextLineSegment *widget_seg
 
 GtkTextLayout*      _gtk_anchored_child_get_layout (GtkWidget *child);
 
-#ifdef __cplusplus
-}
-#endif /* __cplusplus */
+G_END_DECLS
 
 #endif