From: pjrm Date: Thu, 24 Apr 2008 03:06:59 +0000 (+0000) Subject: noop: Address a couple of warnings from g++-4.3. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=a9e22dcc8516faae7cb85ace970792da266b81cf;p=inkscape.git noop: Address a couple of warnings from g++-4.3. --- 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;