[yast-commit] r56983 - in /trunk/gtk/src: YGBarGraph.cc YGTable.cc
Author: coolo Date: Mon Apr 27 11:28:16 2009 New Revision: 56983 URL: http://svn.opensuse.org/viewcvs/yast?rev=56983&view=rev Log: fix two issues with gcc 4.4 Modified: trunk/gtk/src/YGBarGraph.cc trunk/gtk/src/YGTable.cc Modified: trunk/gtk/src/YGBarGraph.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGBarGraph.cc?rev=56983&r1=56982&r2=56983&view=diff ============================================================================== --- trunk/gtk/src/YGBarGraph.cc (original) +++ trunk/gtk/src/YGBarGraph.cc Mon Apr 27 11:28:16 2009 @@ -38,7 +38,7 @@ static GdkColor ycolorToGdk (const YColor &ycolor) { - GdkColor color = { 0, ycolor.red() << 8, ycolor.green() << 8, ycolor.blue() << 8 }; + GdkColor color = { 0, guint16(ycolor.red() << 8), guint16(ycolor.green() << 8), guint16(ycolor.blue() << 8) }; return color; } Modified: trunk/gtk/src/YGTable.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/gtk/src/YGTable.cc?rev=56983&r1=56982&r2=56983&view=diff ============================================================================== --- trunk/gtk/src/YGTable.cc (original) +++ trunk/gtk/src/YGTable.cc Mon Apr 27 11:28:16 2009 @@ -156,7 +156,6 @@ return 80; } -protected: // toggled by user (through clicking on the renderer or some other action) void toggle (GtkTreePath *path, gint column) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
coolo@svn.opensuse.org