]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkhbox.c
Use the slice allocator for many small allocations.
[~andy/gtk] / gtk / gtkhbox.c
index 3a4c0de3451b82bad431516acb7a06e9d51e8f3b..4c610bee2aa03b88db328440f6db5472ca988136 100644 (file)
@@ -26,6 +26,8 @@
 
 #include <config.h>
 #include "gtkhbox.h"
+#include "gtkintl.h"
+#include "gtkalias.h"
 
 
 static void gtk_hbox_class_init    (GtkHBoxClass   *klass);
@@ -56,7 +58,7 @@ gtk_hbox_get_type (void)
        (GInstanceInitFunc) gtk_hbox_init,
       };
 
-      hbox_type = g_type_register_static (GTK_TYPE_BOX, "GtkHBox",
+      hbox_type = g_type_register_static (GTK_TYPE_BOX, I_("GtkHBox"),
                                          &hbox_info, 0);
     }
 
@@ -331,3 +333,6 @@ gtk_hbox_size_allocate (GtkWidget     *widget,
        }
     }
 }
+
+#define __GTK_HBOX_C__
+#include "gtkaliasdef.c"