summaryrefslogtreecommitdiff
path: root/src/emacsgtkfixed.c
diff options
context:
space:
mode:
authorJoakim Verona <joakim@verona.se>2011-07-18 01:26:27 +0200
committerJoakim Verona <joakim@verona.se>2011-07-18 01:26:27 +0200
commite9e9f8a3ff2ed8851e8ef1997d3a3911dbecd00d (patch)
treee86f8c262138738eee7172e27e4cbf6bcb3273e8 /src/emacsgtkfixed.c
parentb0ec5b0839c3f2687b4dddc385ae22b72f96db99 (diff)
downloademacs-e9e9f8a3ff2ed8851e8ef1997d3a3911dbecd00d.tar.gz
cleanups
Diffstat (limited to 'src/emacsgtkfixed.c')
-rw-r--r--src/emacsgtkfixed.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/emacsgtkfixed.c b/src/emacsgtkfixed.c
index e7d1690605c..5a0e57d0146 100644
--- a/src/emacsgtkfixed.c
+++ b/src/emacsgtkfixed.c
@@ -42,8 +42,6 @@ static void emacs_fixed_get_preferred_height (GtkWidget *widget,
gint *natural);
G_DEFINE_TYPE (EmacsFixed, emacs_fixed, GTK_TYPE_FIXED)
-
-
void aloc_callback(GtkWidget* child, GtkWidget* fixed){
GtkAllocation child_allocation;
GtkRequisition child_requisition;
@@ -76,7 +74,7 @@ static void emacs_fixed_gtk_widget_size_allocate (GtkWidget *widget,
parent_class = g_type_class_peek_parent (klass);
parent_class->size_allocate (widget, allocation);
-
+
//then modify allocations
gtk_container_foreach (widget,
aloc_callback,
@@ -97,9 +95,7 @@ emacs_fixed_class_init (EmacsFixedClass *klass)
widget_class->get_preferred_width = emacs_fixed_get_preferred_width;
widget_class->get_preferred_height = emacs_fixed_get_preferred_height;
-
widget_class->size_allocate = emacs_fixed_gtk_widget_size_allocate;
-
g_type_class_add_private (klass, sizeof (EmacsFixedPrivate));
}