aboutsummaryrefslogtreecommitdiff
path: root/src/ui.cc
diff options
context:
space:
mode:
authorjcid <devnull@localhost>2008-08-31 00:16:18 +0200
committerjcid <devnull@localhost>2008-08-31 00:16:18 +0200
commit2d396047ca0890b47cbcf8b0d2705c7e3c7f0288 (patch)
tree88c85af91d2848c9bf66e7b6abc3ce8b3039c5fe /src/ui.cc
parent95c9323aa50d0f280b04351e61b177f75f284399 (diff)
- Removed an obsolete procedure in ui.cc
Diffstat (limited to 'src/ui.cc')
-rw-r--r--src/ui.cc13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/ui.cc b/src/ui.cc
index b805ce59..21d59370 100644
--- a/src/ui.cc
+++ b/src/ui.cc
@@ -315,19 +315,6 @@ static void imageload_cb(Widget *w, void *data)
}
}
-/*
- * File menu item callback.
- */
-static void menu_cb(Widget* w, void*)
-{
- Menu* menu = (Menu*)w;
- Widget* item = menu->get_item();
- MSG("Callback for %s, item is %s\n",
- menu->label() ? menu->label() : "menu bar",
- item ? item->label() ? item->label() : "unnamed" : "none");
- //if (item) item->do_callback();
- menu->value(-1);
-}
//////////////////////////////////////////////////////////////////////////////
// UI class methods