statusbar: Remove garbage from header file
authorTimm Bäder <mail@baedert.org>
Mon, 4 Jun 2018 17:13:12 +0000 (19:13 +0200)
committerTimm Bäder <mail@baedert.org>
Mon, 4 Jun 2018 19:58:44 +0000 (21:58 +0200)
Nobody will ever read those comments; documentation belongs into the
soruce file so gtk-doc actually picks it up.

gtk/gtkstatusbar.h

index 880b960dc670ea4261810c7bdb29ab60991b2e33..e52a616f0d0b8238b88bc25ba7ab5196ae53bd23 100644 (file)
@@ -30,7 +30,7 @@
 #error "Only <gtk/gtk.h> can be included directly."
 #endif
 
-#include <gtk/gtkbox.h>
+#include <gtk/gtkwidget.h>
 
 G_BEGIN_DECLS
 
@@ -54,8 +54,6 @@ struct _GtkStatusbarClass
 {
   GtkWidgetClass parent_class;
 
-  gpointer reserved;
-
   void (*text_pushed)  (GtkStatusbar   *statusbar,
                         guint           context_id,
                         const gchar    *text);
@@ -75,13 +73,9 @@ GDK_AVAILABLE_IN_ALL
 GType      gtk_statusbar_get_type      (void) G_GNUC_CONST;
 GDK_AVAILABLE_IN_ALL
 GtkWidget* gtk_statusbar_new           (void);
-/* If you don't want to use contexts, 0 is a predefined global
- * context_id you can pass to push/pop/remove
- */
 GDK_AVAILABLE_IN_ALL
 guint     gtk_statusbar_get_context_id (GtkStatusbar *statusbar,
                                         const gchar  *context_description);
-/* Returns message_id used for gtk_statusbar_remove */
 GDK_AVAILABLE_IN_ALL
 guint      gtk_statusbar_push                  (GtkStatusbar *statusbar,
                                         guint         context_id,