Mailinglist Archive: yast-devel (101 mails)

< Previous Next >
[yast-devel] ABI again
  • From: Martin Vidner <mvidner@xxxxxxx>
  • Date: Thu, 17 Jan 2008 10:51:42 +0100
  • Message-id: <20080117095142.GD23056@xxxxxxxxxxxxxxxx>
URL: http://svn.opensuse.org/viewcvs/yast?rev=43683&view=rev
Log:
consistent constness

Modified:
trunk/core/libyui/src/YCheckBox.h
trunk/core/libyui/src/YCheckBoxFrame.cc
trunk/core/libyui/src/YCheckBoxFrame.h
...
Modified: trunk/core/libyui/src/YCheckBox.h
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/core/libyui/src/YCheckBox.h?rev=43683&r1=43682&r2=43683&view=diff
==============================================================================
--- trunk/core/libyui/src/YCheckBox.h (original)
+++ trunk/core/libyui/src/YCheckBox.h Wed Jan 16 18:39:06 2008
@@ -173,7 +173,7 @@
*
* Reimplemented from YWidget.
**/
- virtual string shortcutString() { return label(); }
+ virtual string shortcutString() const { return label(); }

/**
* Set the string of this widget that holds the keyboard shortcut.

This too is a change in the ABI. Please do not forget to add
dependencies to the spec file.

yast2-$UI.spec: Requires: yast2-core >= $NEWCORE

Recently I saw a bug where a user updated only yast2-core by mistake
but not the UIs and it started crashing too.
It would be prevented by
yast2-core.spec: Conflicts: yast2-$UI < $NEWUI (for all UIs)
but I am reluctant about that one.

--
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner

Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups