]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkinfobar.h
label: Fix memleak
[~andy/gtk] / gtk / gtkinfobar.h
index 530ebfb9ceb1a3510678c79d236876f78f7deacc..a7e351a62128becb91b2d621b299be47995de62c 100644 (file)
@@ -15,9 +15,7 @@
  * Lesser General Public License for more details.
  *
  * You should have received a copy of the GNU Lesser General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 /*
  * Modified by the GTK+ Team, 2008-2009.
  */
 
+#ifndef __GTK_INFO_BAR_H__
+#define __GTK_INFO_BAR_H__
+
 #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
 #error "Only <gtk/gtk.h> can be included directly."
 #endif
 
-#ifndef __GTK_INFO_BAR_H__
-#define __GTK_INFO_BAR_H__
-
-#include <gtk/gtkhbox.h>
+#include <gtk/gtkbox.h>
 #include <gtk/gtkenums.h>
 
 G_BEGIN_DECLS
@@ -58,7 +56,7 @@ typedef struct _GtkInfoBar GtkInfoBar;
 
 struct _GtkInfoBar
 {
-  GtkHBox parent;
+  GtkBox parent;
 
   /*< private > */
   GtkInfoBarPrivate *priv;
@@ -67,7 +65,7 @@ struct _GtkInfoBar
 
 struct _GtkInfoBarClass
 {
-  GtkHBoxClass parent_class;
+  GtkBoxClass parent_class;
 
   /* Signals */
   void (* response) (GtkInfoBar *info_bar, gint response_id);
@@ -80,8 +78,6 @@ struct _GtkInfoBarClass
   void (*_gtk_reserved2) (void);
   void (*_gtk_reserved3) (void);
   void (*_gtk_reserved4) (void);
-  void (*_gtk_reserved5) (void);
-  void (*_gtk_reserved6) (void);
 };
 
 GType          gtk_info_bar_get_type               (void) G_GNUC_CONST;