summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2007-12-01 20:03:42 +0000
committerjoncruz <joncruz@users.sourceforge.net>2007-12-01 20:03:42 +0000
commitdd9ba557ff0f93420166afda263a24b97ca59ebd (patch)
tree04e77088c59efd9c3727f2643f83f7dea68a385a /src/ui
parentFix emphasized line drawing for axonometric grid (diff)
downloadinkscape-dd9ba557ff0f93420166afda263a24b97ca59ebd.tar.gz
inkscape-dd9ba557ff0f93420166afda263a24b97ca59ebd.zip
Warning cleanup (including OFFSET_OF warning)
(bzr r4150)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/widget/panel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/widget/panel.cpp b/src/ui/widget/panel.cpp
index 1e868191d..cad344e63 100644
--- a/src/ui/widget/panel.cpp
+++ b/src/ui/widget/panel.cpp
@@ -39,7 +39,7 @@ static const int PANEL_SETTING_NEXTFREE = 3;
* Construct a Panel
*/
-Panel::Panel(Glib::ustring const &label, gchar const *prefs_path,
+Panel::Panel(Glib::ustring const &label, gchar const *prefs_path,
int verb_num, Glib::ustring const &apply_label,
bool menu_desired) :
_prefs_path(prefs_path),
@@ -395,7 +395,7 @@ void Panel::_regItem(Gtk::MenuItem* item, int group, int id)
item->show();
}
-void Panel::_handleAction(int set_id, int item_id)
+void Panel::_handleAction(int /*set_id*/, int /*item_id*/)
{
// for subclasses to override
}
@@ -406,7 +406,7 @@ Panel::_apply()
g_warning("Apply button clicked for panel [Panel::_apply()]");
}
-Gtk::Button *
+Gtk::Button *
Panel::addResponseButton(const Glib::ustring &button_text, int response_id)
{
Gtk::Button *button = new Gtk::Button(button_text);