aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-04-07 15:22:34 +1000
committernyamatongwe <devnull@localhost>2011-04-07 15:22:34 +1000
commit5e80410bb388d5a73c647b80d308e97c73a22972 (patch)
treecf6176778dc57a67cc4cdebb80be27267c0d951f
parent3ffd5d2e5c272dcd933bb898eed507511abf64e4 (diff)
downloadscintilla-mirror-5e80410bb388d5a73c647b80d308e97c73a22972.tar.gz
Previous change to -1x-1 requisition caused warnings so use 1x1.
-rw-r--r--gtk/ScintillaGTK.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index 646871ad4..3ef4e1752 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -609,8 +609,8 @@ gint ScintillaGTK::FocusOut(GtkWidget *widget, GdkEventFocus * /*event*/) {
void ScintillaGTK::SizeRequest(GtkWidget *widget, GtkRequisition *requisition) {
ScintillaGTK *sciThis = ScintillaFromWidget(widget);
- requisition->width = -1;
- requisition->height = -1;
+ requisition->width = 1;
+ requisition->height = 1;
GtkRequisition child_requisition;
gtk_widget_size_request(PWidget(sciThis->scrollbarh), &child_requisition);
gtk_widget_size_request(PWidget(sciThis->scrollbarv), &child_requisition);