Updating branch refs/heads/master
to 08643272caef08634773b3074de7b2cadffb0926 (commit)
from c42ab58051aaf30ade4496de05fc27e4540eb961 (commit)
commit 08643272caef08634773b3074de7b2cadffb0926
Author: Andrzej <[email protected]>
Date: Fri Dec 20 09:35:58 2013 +0000
pager: fallback for case when pager is not yet set
Just in case. Not needed on my system.
plugins/pager/pager.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/plugins/pager/pager.c b/plugins/pager/pager.c
index 7b716a2..149e19e 100644
--- a/plugins/pager/pager.c
+++ b/plugins/pager/pager.c
@@ -580,9 +580,14 @@ pager_plugin_size_request (GtkWidget *widget,
requisition->height = (gint) (requisition->width / n_cols /
plugin->ratio * plugin->rows);
}
}
- else
+ else if (plugin->pager)
{
gtk_widget_size_request (plugin->pager, requisition);
}
+ else // initial fallback
+ {
+ requisition->width = 1;
+ requisition->height = 1;
+ }
}
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits