Commit 15d46dd8 authored by Javier Jardón's avatar Javier Jardón
Browse files

demos: Use gtk_size_request_get_size() instead gtk_widget_size_request()

parent b140884f
......@@ -141,7 +141,8 @@ main(int argc, char **argv)
gtk_widget_show_all (vbox);
/* Compute the size without the drawing area, so we know how big to make the default size */
gtk_widget_size_request (vbox, &scratch_requisition);
gtk_size_request_get_size (GTK_SIZE_REQUEST (vbox),
&scratch_requisition, NULL);
darea = gtk_drawing_area_new ();
gtk_box_pack_start (GTK_BOX (vbox), darea, TRUE, TRUE, 0);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment