From 4489f80507cfe232bb70fbd7a94980d1c6cd2d55 Mon Sep 17 00:00:00 2001 From: Alexander von Gluck IV Date: Tue, 7 Mar 2023 12:27:36 -0600 Subject: [PATCH] protocols/matrix: Fix icon --- protocols/matrix/Makefile | 2 +- protocols/matrix/MatrixProtocol.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/protocols/matrix/Makefile b/protocols/matrix/Makefile index 033197e..31506a7 100644 --- a/protocols/matrix/Makefile +++ b/protocols/matrix/Makefile @@ -65,7 +65,7 @@ RSRCS = # - if your library does not follow the standard library naming scheme, # you need to specify the path to the library and it's name. # (e.g. for mylib.a, specify "mylib.a" or "path/mylib.a") -LIBS = be bnetapi localestub matrix_client network $(STDCPPLIBS) +LIBS = be bnetapi localestub interface matrix_client network $(STDCPPLIBS) # Specify additional paths to directories following the standard libXXX.so diff --git a/protocols/matrix/MatrixProtocol.cpp b/protocols/matrix/MatrixProtocol.cpp index eb88d4f..f71d768 100644 --- a/protocols/matrix/MatrixProtocol.cpp +++ b/protocols/matrix/MatrixProtocol.cpp @@ -158,8 +158,7 @@ MatrixProtocol::Commands() BBitmap* MatrixProtocol::Icon() const { - return NULL; -// return ReadNodeIcon(fAddOnPath.Path(), B_LARGE_ICON, true); + return ReadNodeIcon(fAddOnPath.Path(), B_LARGE_ICON, true); }