Skip to content
  • Carlos Garnacho's avatar
    gtkapplication: Stash DESKTOP_STARTUP_ID on a constructor · 224a53d9
    Carlos Garnacho authored
    It might be too late to do it at GtkApplication::add_platform_data time,
    since the envvar may be consumed earlier on if gdk_display_open() happened
    to be called before (eg. through gtk_get_option_group(TRUE)).
    
    Stash the envvar in a constructor function, so its ensured to happen before
    it can get consumed.
    
    Closes: #1754
    224a53d9