SHARE
TWEET

001.maximus_fix_segmentation_fault.patch

a guest Apr 2nd, 2019 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --- a/main.c    2019-02-10 12:14:25.000000000 +0100
  2. +++ b/main.c    2019-04-02 17:22:47.015672332 +0200
  3. @@ -64,7 +64,7 @@
  4.    MaximusApp UNUSED_VARIABLE *app;
  5.    GOptionContext  *context;
  6.    GError *error = NULL;
  7. -  GdkDisplay *gdk_display = gdk_display_get_default ();
  8. +  GdkDisplay *gdk_display;
  9.  
  10.    g_set_application_name ("Maximus");
  11.  
  12. @@ -90,6 +90,7 @@
  13.    g_option_context_parse (context, &argc, &argv, NULL);
  14.    g_option_context_free(context);
  15.  
  16. +  gdk_display = gdk_display_get_default ();
  17.    gdk_x11_display_error_trap_push (gdk_display);
  18.    app = maximus_app_get_default ();
  19.    gdk_x11_display_error_trap_pop_ignored (gdk_display);
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top