[Xfce4-commits] <xfce4-notes-plugin:master> Vala-git: fix error implementing overriden method as private

Mike Massonnet noreply at xfce.org
Sun Dec 19 20:10:01 CET 2010


Updating branch refs/heads/master
         to 0e6f28300a96e8971caf21ff33b914f2779a97a2 (commit)
       from b9840f297e566be896ea683195017a6e508c984b (commit)

commit 0e6f28300a96e8971caf21ff33b914f2779a97a2
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Sun Dec 19 12:03:57 2010 +0100

    Vala-git: fix error implementing overriden method as private

 lib/icon-button.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/icon-button.vala b/lib/icon-button.vala
index dbf495d..7816ce1 100644
--- a/lib/icon-button.vala
+++ b/lib/icon-button.vala
@@ -114,7 +114,7 @@ namespace Xnp {
 			Object (icon_type: icon_type);
 		}
 
-		private override void draw_icon (Cairo.Context cr, int width, int height) {
+		protected override void draw_icon (Cairo.Context cr, int width, int height) {
 			switch (icon_type) {
 				case TitleBarButtonType.CLOSE:
 					draw_close_button (cr, width, height);



More information about the Xfce4-commits mailing list