Changeset c479242


Ignore:
Timestamp:
2020-04-05T13:53:06Z (5 years ago)
Author:
dequis <dx@…>
Branches:
master
Children:
3da21ce
Parents:
b15cbc4
Message:

events_glib: fix some g_main_loop deprecation warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/events_glib.c

    rb15cbc4 rc479242  
    5151{
    5252        if (loop == NULL) {
    53                 loop = g_main_new(FALSE);
     53                loop = g_main_loop_new(NULL, FALSE);
    5454        }
    5555}
     
    5757void b_main_run()
    5858{
    59         g_main_run(loop);
     59        g_main_loop_run(loop);
    6060}
    6161
    6262void b_main_quit()
    6363{
    64         g_main_quit(loop);
     64        g_main_loop_quit(loop);
    6565}
    6666
    6767void b_main_iteration()
    6868{
    69         g_main_iteration(FALSE);
     69        g_main_context_iteration(NULL, FALSE);
    7070        event_debug("b_main_iteration()\n");
    7171}
Note: See TracChangeset for help on using the changeset viewer.