summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2008-04-24 03:06:59 +0000
committerpjrm <pjrm@users.sourceforge.net>2008-04-24 03:06:59 +0000
commitd0f19de871aa0d370297327bb0b429fa0eddc443 (patch)
tree5b60e73cf7fc88c6862a77ce7ab3a842efb73781 /src/ui
parentfix a couple of g++-4.3 compile errors. (diff)
downloadinkscape-d0f19de871aa0d370297327bb0b429fa0eddc443.tar.gz
inkscape-d0f19de871aa0d370297327bb0b429fa0eddc443.zip
noop: Address a couple of warnings from g++-4.3.
(bzr r5504)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/widget/labelled.cpp4
-rw-r--r--src/ui/widget/labelled.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/widget/labelled.cpp b/src/ui/widget/labelled.cpp
index 8f9eda3d7..72c4f6785 100644
--- a/src/ui/widget/labelled.cpp
+++ b/src/ui/widget/labelled.cpp
@@ -71,13 +71,13 @@ void Labelled::setWidgetSizeRequest(int width, int height)
}
-const Gtk::Widget* const
+Gtk::Widget const *
Labelled::getWidget() const
{
return _widget;
}
-const Gtk::Label* const
+Gtk::Label const *
Labelled::getLabel() const
{
return _label;
diff --git a/src/ui/widget/labelled.h b/src/ui/widget/labelled.h
index 1823aeef2..3685944a4 100644
--- a/src/ui/widget/labelled.h
+++ b/src/ui/widget/labelled.h
@@ -36,8 +36,8 @@ public:
* Allow the setting of the width of the labelled widget
*/
void setWidgetSizeRequest(int width, int height);
- const Gtk::Widget* const getWidget() const;
- const Gtk::Label* const getLabel() const;
+ Gtk::Widget const *getWidget() const;
+ Gtk::Label const *getLabel() const;
protected:
Gtk::Widget *_widget;