010-ardesia-gcc10-fix.patch 403 B

1234567891011121314151617181920212223
  1. --- a/src/bar.c
  2. +++ b/src/bar.c
  3. @@ -26,6 +26,8 @@
  4. #include <utils.h>
  5. #include <bar.h>
  6. +GtkBuilder *bar_gtk_builder = NULL;
  7. +
  8. /*
  9. * Calculate the better position where put the bar.
  10. */
  11. --- a/src/utils.h
  12. +++ b/src/utils.h
  13. @@ -62,7 +62,7 @@
  14. /* The gtk builder object of the bar window */
  15. -GtkBuilder *bar_gtk_builder;
  16. +extern GtkBuilder *bar_gtk_builder;
  17. #define PROGRAM_NAME "Ardesia"