Skip to content
  • Thomas Haller's avatar
    gmain: remove unnecessary initialization of *timeout in prepare() callbacks · cdda1948
    Thomas Haller authored
    Note that the prepare callback only has one caller, which pre-initializes
    the timeout argument to -1. That may be an implementation detail and not
    publicly promised, but it wouldn't make sense to do it any other way in
    the caller.
    
    Also, note that g_unix_signal_watch_prepare() and the UNIX branch of
    g_child_watch_prepare() already relied on that.
    cdda1948