Commit 7053beae authored by Sebastian Ramacher's avatar Sebastian Ramacher

Query girara version during runtime

Signed-off-by: Sebastian Ramacher's avatarSebastian Ramacher <sebastian+dev@ramacher.at>
parent 7dc8b0fc
......@@ -505,3 +505,9 @@ widget_remove_class(GtkWidget* widget, const char* styleclass)
gtk_style_context_remove_class(context, styleclass);
}
}
const char*
girara_version(void)
{
return GIRARA_VERSION;
}
......@@ -143,4 +143,11 @@ char* girara_replace_substring(const char* string, const char* old, const char*
*/
bool girara_exec_with_argument_list(girara_session_t* session, girara_list_t* argument_list);
/**
* Return version of girara.
*
* @return version string
*/
const char* girara_version(void);
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment