summaryrefslogtreecommitdiff
path: root/tests/test7/gtkvumeter.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test7/gtkvumeter.c')
-rw-r--r--tests/test7/gtkvumeter.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test7/gtkvumeter.c b/tests/test7/gtkvumeter.c
index 34a2038..48e7885 100644
--- a/tests/test7/gtkvumeter.c
+++ b/tests/test7/gtkvumeter.c
@@ -208,7 +208,8 @@ static void gtk_vu_meter_size_allocate (GtkWidget *widget, GtkAllocation *alloca
if (GTK_WIDGET_REALIZED (widget)) {
if (vumeter->vertical == TRUE) { /* veritcal */
gdk_window_move_resize (widget->window, allocation->x, allocation->y,
- VERTICAL_VUMETER_WIDTH, MAX(allocation->height, MIN_VERTICAL_VUMETER_HEIGHT));
+ //VERTICAL_VUMETER_WIDTH, MAX(allocation->height, MIN_VERTICAL_VUMETER_HEIGHT));
+ MAX(VERTICAL_VUMETER_WIDTH,allocation->width), MAX(allocation->height, MIN_VERTICAL_VUMETER_HEIGHT));
} else { /* horizontal */
gdk_window_move_resize (widget->window, allocation->x, allocation->y,
MAX(allocation->width, MIN_HORIZONTAL_VUMETER_WIDTH), HORIZONTAL_VUMETER_HEIGHT);