deleted old callback
This commit is contained in:
6
tray.h
6
tray.h
@@ -36,12 +36,6 @@ static void _tray_menu_cb(GtkMenuItem *item, gpointer data) {
|
|||||||
m->cb(m);
|
m->cb(m);
|
||||||
}
|
}
|
||||||
|
|
||||||
// static void _tray_submenu_cb(GtkMenuItem *item, gpointer data) {
|
|
||||||
// (void)item;
|
|
||||||
// struct tray_submenu *s_m = (struct tray_submenu *)data;
|
|
||||||
// s_m->cb(s_m);
|
|
||||||
// }
|
|
||||||
|
|
||||||
static int tray_init(struct tray *tray) {
|
static int tray_init(struct tray *tray) {
|
||||||
if (gtk_init_check(0, NULL) == FALSE) {
|
if (gtk_init_check(0, NULL) == FALSE) {
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user