diff options
author | nyamatongwe <unknown> | 2011-04-07 15:22:34 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-04-07 15:22:34 +1000 |
commit | 3e6878d1a8538fce1be98aabe04aab891a6159a4 (patch) | |
tree | a19ff64612011f60035171cf6ce9f85db95b6f12 /gtk | |
parent | 046dc2bb0faa9f98c59679420388ebd37d326dcc (diff) | |
download | scintilla-mirror-3e6878d1a8538fce1be98aabe04aab891a6159a4.tar.gz |
Previous change to -1x-1 requisition caused warnings so use 1x1.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/ScintillaGTK.cxx | 4 |
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); |