shell: Fix wrong function being used to get width
get width better than get height...
This commit is contained in:
parent
7d7fc2e124
commit
5d228b707a
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ cc_notebook_get_preferred_width (GtkWidget *widget,
|
||||||
notebook = CC_NOTEBOOK (widget);
|
notebook = CC_NOTEBOOK (widget);
|
||||||
|
|
||||||
if (notebook->priv->selected_page == NULL) {
|
if (notebook->priv->selected_page == NULL) {
|
||||||
gtk_widget_get_preferred_height (notebook->priv->embed, minimum_width, natural_width);
|
gtk_widget_get_preferred_width (notebook->priv->embed, minimum_width, natural_width);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue