SpaceFM broken after libplacebo upgrade and won't compile
by kgha from LinuxQuestions.org on (#6NYYP)
My favourite file manager SpaceFM (yes, I know it hasn't been upgraded since 2018) broke after yesterday's libplacebo upgrade, missing libplacebo.so.338.
No big deal, just rebuild then - but building fails with
Code:exo/exo-icon-view.c: In function iexo_icon_view_initi:
exo/exo-icon-view.c:1243:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
1243 | icon_view->priv = EXO_ICON_VIEW_GET_PRIVATE (icon_view);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
exo/exo-icon-view.c: In function iexo_icon_view_key_press_eventi:
exo/exo-icon-view.c:2686:27: error: assignment to iGdkWindow *i {aka istruct _GdkDrawable *i} from incompatible pointer type iGObject *i {aka istruct _GObject *i} [-Wincompatible-pointer-types]
2686 | new_event->key.window = g_object_ref (G_OBJECT (gtk_widget_get_window (GTK_WIDGET(icon_view->priv->search_entry))));
| ^
make[1]: *** [Makefile:1517: exo/spacefm-exo-icon-view.o] Error 1
make[1]: Leaving directory '/tmp/SBo/spacefm-1.0.6/src'
make: *** [Makefile:507: all-recursive] Error 1Haven't got a clue to what can be behind this. Any ideas gratefully welcomed.
No big deal, just rebuild then - but building fails with
Code:exo/exo-icon-view.c: In function iexo_icon_view_initi:
exo/exo-icon-view.c:1243:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE"
1243 | icon_view->priv = EXO_ICON_VIEW_GET_PRIVATE (icon_view);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
exo/exo-icon-view.c: In function iexo_icon_view_key_press_eventi:
exo/exo-icon-view.c:2686:27: error: assignment to iGdkWindow *i {aka istruct _GdkDrawable *i} from incompatible pointer type iGObject *i {aka istruct _GObject *i} [-Wincompatible-pointer-types]
2686 | new_event->key.window = g_object_ref (G_OBJECT (gtk_widget_get_window (GTK_WIDGET(icon_view->priv->search_entry))));
| ^
make[1]: *** [Makefile:1517: exo/spacefm-exo-icon-view.o] Error 1
make[1]: Leaving directory '/tmp/SBo/spacefm-1.0.6/src'
make: *** [Makefile:507: all-recursive] Error 1Haven't got a clue to what can be behind this. Any ideas gratefully welcomed.