X-Git-Url: https://git.llucax.com/software/sadba.git/blobdiff_plain/34be6718234530569786db18f27b71792ea1e9df..de60cb30eb51c69b3e5f699e4ed392fc98c44e1e:/src/lib-display-blanking-status-menu-widget.c?ds=inline diff --git a/src/lib-display-blanking-status-menu-widget.c b/src/lib-display-blanking-status-menu-widget.c index 5c4cdbb..5953c80 100644 --- a/src/lib-display-blanking-status-menu-widget.c +++ b/src/lib-display-blanking-status-menu-widget.c @@ -174,8 +174,7 @@ on_mode_button_clicked (GtkWidget *button, gtk_box_pack_start (GTK_BOX (GTK_DIALOG (priv->mode_dialog)->vbox), pan_area, TRUE, TRUE, 0); - g_object_set (G_OBJECT (pan_area), "height-request", - MIN (350, BLANKING_MODES * 70), NULL); + gtk_widget_set_size_request (pan_area, -1, MIN (350, BLANKING_MODES * 70)); gint mode = BLANKING_MODES; for (int i = 0; i < BLANKING_MODES; i++) {