summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2007-11-02 08:00:40 +0000
committerjoncruz <joncruz@users.sourceforge.net>2007-11-02 08:00:40 +0000
commitabcd0cd508385848239660e4f6873b85982aad58 (patch)
tree5389a868c995ecbff6cb438644a805d4a7fa0212 /src/ui
parentfix bug [ 1824359 ] Gradient isn't snapping with ctrl pressed (diff)
downloadinkscape-abcd0cd508385848239660e4f6873b85982aad58.tar.gz
inkscape-abcd0cd508385848239660e4f6873b85982aad58.zip
warning cleanup
(bzr r4012)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/view/edit-widget.cpp6
-rw-r--r--src/ui/widget/rotateable.h32
2 files changed, 19 insertions, 19 deletions
diff --git a/src/ui/view/edit-widget.cpp b/src/ui/view/edit-widget.cpp
index 066d4d0ba..f99658f97 100644
--- a/src/ui/view/edit-widget.cpp
+++ b/src/ui/view/edit-widget.cpp
@@ -937,7 +937,7 @@ EditWidget::initAccelMap()
}
bool
-EditWidget::onEntryFocusIn (GdkEventFocus* ev)
+EditWidget::onEntryFocusIn (GdkEventFocus* /*ev*/)
{
Gdk::ModifierType m = static_cast<Gdk::ModifierType>(0);
Gtk::AccelMap::change_entry ("<Actions>//Zoom100", 0, m, false);
@@ -950,7 +950,7 @@ EditWidget::onEntryFocusIn (GdkEventFocus* ev)
}
bool
-EditWidget::onEntryFocusOut (GdkEventFocus* ev)
+EditWidget::onEntryFocusOut (GdkEventFocus* /*ev*/)
{
Gdk::ModifierType m = static_cast<Gdk::ModifierType>(0);
Gtk::AccelMap::change_entry ("<Actions>//Zoom100", '1', m, false);
@@ -1514,7 +1514,7 @@ EditWidget::setCoordinateStatus (NR::Point p)
}
void
-EditWidget::setMessage (Inkscape::MessageType type, gchar const* msg)
+EditWidget::setMessage (Inkscape::MessageType /*type*/, gchar const* msg)
{
_select_status.set_markup (msg? msg : "");
}
diff --git a/src/ui/widget/rotateable.h b/src/ui/widget/rotateable.h
index 65f3c598c..79a6daa5b 100644
--- a/src/ui/widget/rotateable.h
+++ b/src/ui/widget/rotateable.h
@@ -23,29 +23,29 @@ namespace Widget {
class Rotateable: public Gtk::EventBox
{
public:
- Rotateable();
+ Rotateable();
- ~Rotateable();
+ ~Rotateable();
- bool on_click(GdkEventButton *event);
- bool on_motion(GdkEventMotion *event);
- bool on_release(GdkEventButton *event);
+ bool on_click(GdkEventButton *event);
+ bool on_motion(GdkEventMotion *event);
+ bool on_release(GdkEventButton *event);
- double axis;
- double current_axis;
- double maxdecl;
+ double axis;
+ double current_axis;
+ double maxdecl;
private:
- double drag_started_x;
- double drag_started_y;
- guint modifier;
- bool dragging;
- bool working;
+ double drag_started_x;
+ double drag_started_y;
+ guint modifier;
+ bool dragging;
+ bool working;
guint get_single_modifier(guint old, guint state);
- virtual void do_motion (double by, guint state) {}
- virtual void do_release (double by, guint state) {}
+ virtual void do_motion (double /*by*/, guint /*state*/) {}
+ virtual void do_release (double /*by*/, guint /*state*/) {}
};
} // namespace Widget
@@ -54,7 +54,7 @@ private:
#endif // INKSCAPE_UI_ROTATEABLE_H
-/*
+/*
Local Variables:
mode:c++
c-file-style:"stroustrup"