main: export the main_loop variable
Other libraries may need to access the main_loop reference, to add or remove events, or to call g_main_loop_quit().
This commit is contained in:
@@ -75,6 +75,8 @@
|
||||
#include <locale.h>
|
||||
#endif
|
||||
|
||||
GMainLoop *main_loop;
|
||||
|
||||
static void changeToUser(void)
|
||||
{
|
||||
#ifndef WIN32
|
||||
@@ -207,7 +209,6 @@ main_notify_triggered(void)
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
Options options;
|
||||
GMainLoop *main_loop;
|
||||
clock_t start;
|
||||
GTimer *save_state_timer;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user