Ticket #58082: gimp_gimpdisplayshell-draw_c.diff

File gimp_gimpdisplayshell-draw_c.diff, 596 bytes (added by rmottola (Riccardo), 2 years ago)

new patch for 2.10.10

  • app/display/gimpdisplayshell-draw.c

    old new  
    151151    gdk_window_get_scale_factor (
    152152      gtk_widget_get_window (gtk_widget_get_toplevel (GTK_WIDGET (shell))));
    153153#elif defined(GDK_WINDOWING_QUARTZ)
     154#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
    154155  /* gtk2/osx retina support */
    155156  if ([
    156157      [NSScreen mainScreen]
     
    162163    }
    163164  }
    164165#endif
     166#endif
    165167
    166168  scale  = MIN (scale, GIMP_DISPLAY_RENDER_MAX_SCALE);
    167169  scale *= MAX (shell->scale_x, shell->scale_y);