• R/O
  • HTTP
  • SSH
  • HTTPS

ruby-gtk3: Commit

Ruby GTK3移行後のメインリポジトリ


Commit MetaInfo

Revision8a92b69eb6bd53563f58e71c426ae90e631a5089 (tree)
Time2019-01-04 13:59:24
AuthorShyouzou Sugitani <shy@user...>
CommiterShyouzou Sugitani

Log Message

misc fixes

Change Summary

Incremental Difference

--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,5 @@
11 Fri January 4 2019 Shyouzou Sugitani <shy@users.osdn.me>
2+ * Ruby移植時のミスなどを修正した.
23 * 描画処理の負荷低減を「猫どりふ」、「きのこ」、"easyballoon"
34 まで拡大した.
45
--- a/lib/ninix/balloon.rb
+++ b/lib/ninix/balloon.rb
@@ -1369,7 +1369,7 @@ module Balloon
13691369 end
13701370
13711371 def append_sstp_marker
1372- return unless @sstp_surface.nil?
1372+ return if @sstp_surface.nil?
13731373 if @text_buffer.empty?
13741374 line = 0
13751375 offset = 0
@@ -1473,7 +1473,7 @@ module Balloon
14731473 mx = (x + text_w)
14741474 my = (y + (@font_height + @line_space) / 2)
14751475 my = (my - mh / 2)
1476- cr = @darea.get_window().cairo_create()
1476+ cr = @darea.window.create_cairo_context
14771477 cr.set_source(@sstp_surface, mx, my)
14781478 cr.paint()
14791479 end
Show on old repository browser