minor code cleanup in gimp_statusbar_class_init()

This commit is contained in:
Sven Neumann 2004-06-19 14:01:42 +00:00
parent af16921d9b
commit f7519497c6
1 changed files with 5 additions and 9 deletions

View File

@ -112,18 +112,14 @@ gimp_statusbar_get_type (void)
static void
gimp_statusbar_class_init (GimpStatusbarClass *klass)
{
GObjectClass *g_object_class = G_OBJECT_CLASS (klass);
GtkObjectClass *gtk_object_class = GTK_OBJECT_CLASS (klass);
GtkWidgetClass *gtk_widget_class = GTK_WIDGET_CLASS (klass);
GtkContainerClass *gtk_container_class = GTK_CONTAINER_CLASS (klass);
GtkObjectClass *object_class = GTK_OBJECT_CLASS (klass);
GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass);
parent_class = g_type_class_peek_parent (klass);
gtk_object_class->destroy = gimp_statusbar_destroy;
object_class->destroy = gimp_statusbar_destroy;
klass->messages_mem_chunk = g_mem_chunk_new ("GimpStatusbar messages mem chunk",
klass->messages_mem_chunk = g_mem_chunk_new ("GimpStatusbar messages",
sizeof (GimpStatusbarMsg),
sizeof (GimpStatusbarMsg) * 64,
G_ALLOC_AND_FREE);
@ -149,7 +145,7 @@ gimp_statusbar_class_init (GimpStatusbarClass *klass)
G_TYPE_UINT,
G_TYPE_STRING);
gtk_widget_class_install_style_property (gtk_widget_class,
gtk_widget_class_install_style_property (widget_class,
g_param_spec_enum ("shadow_type",
_("Shadow type"),
_("Style of bevel around the statusbar text"),