Some TODO consolidation.

This commit is contained in:
Pietro Gagliardi 2015-05-01 10:11:22 -04:00
parent 7dc7c5a5cd
commit 122b1b0d2c
3 changed files with 1 additions and 2 deletions

View File

@ -34,6 +34,7 @@
- make their headers generated by an IDL
- make sure complain()s don't have \n at the end; add one on each platform
- add a `[libui]` to the beginning of the message
- figure out what to do on Windows and GTK+ if we don't have menus but the user wants a menubar (zero-height widget? don't bother? complain?)
ultimately:
- add some sort of runtime type checking

View File

@ -275,7 +275,6 @@ static void appendMenuItem(GtkMenuShell *submenu, struct menuItem *item, uiWindo
g_hash_table_insert(item->windows, menuitem, ww);
}
// TODO should this return a zero-height widget (or NULL) if there are no menus defined?
GtkWidget *makeMenubar(uiWindow *w)
{
GtkWidget *menubar;

View File

@ -264,7 +264,6 @@ static HMENU makeMenu(struct menu *m)
return menu;
}
// TODO should this return a zero-height widget (or NULL) if there are no menus defined?
HMENU makeMenubar(void)
{
HMENU menubar;