aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-minicard/test-reflow.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-minicard/test-reflow.c')
-rw-r--r--widgets/e-minicard/test-reflow.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/e-minicard/test-reflow.c b/widgets/e-minicard/test-reflow.c
index 9efc2722dd..4533e0249d 100644
--- a/widgets/e-minicard/test-reflow.c
+++ b/widgets/e-minicard/test-reflow.c
@@ -41,6 +41,9 @@ static void allocate_callback(GtkWidget *canvas, GtkAllocation *allocation, gpoi
gnome_canvas_item_set( reflow,
"height", (double) allocation->height,
NULL );
+ gnome_canvas_item_set( reflow,
+ "minimum_width", (double) allocation->width,
+ NULL );
gtk_object_get(GTK_OBJECT(reflow),
"width", &width,
NULL);
@@ -114,6 +117,7 @@ int main( int argc, char *argv[] )
"x", (double) 0,
"y", (double) 0,
"height", (double) 100,
+ "minimum_width", (double) 100,
NULL );
gtk_signal_connect( GTK_OBJECT( reflow ), "resize",
GTK_SIGNAL_FUNC( resize ),