gui: fix get_current_canvas() prototype.

This commit is contained in:
Nedko Arnaudov 2010-03-21 18:53:58 +02:00
parent 856d9f5f89
commit 3ee262014b
2 changed files with 2 additions and 2 deletions

View File

@ -280,7 +280,7 @@ bool set_view_name(graph_view_handle view, const char * cname)
return true; return true;
} }
canvas_handle get_current_canvas() canvas_handle get_current_canvas(void)
{ {
if (g_current_view == NULL) if (g_current_view == NULL)
{ {

View File

@ -49,7 +49,7 @@ void activate_view(graph_view_handle view);
const char * get_view_name(graph_view_handle view); const char * get_view_name(graph_view_handle view);
const char * get_view_opath(graph_view_handle view); const char * get_view_opath(graph_view_handle view);
bool set_view_name(graph_view_handle view, const char * name); bool set_view_name(graph_view_handle view, const char * name);
canvas_handle get_current_canvas(); canvas_handle get_current_canvas(void);
ladish_app_supervisor_proxy_handle graph_view_get_app_supervisor(graph_view_handle view); ladish_app_supervisor_proxy_handle graph_view_get_app_supervisor(graph_view_handle view);
bool app_run_custom(graph_view_handle view, const char * command, const char * name, bool run_in_terminal, uint8_t level); bool app_run_custom(graph_view_handle view, const char * command, const char * name, bool run_in_terminal, uint8_t level);