mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
22ae9d0884
G_DECLARE_FINAL_TYPE was introduced in glib 2.44. We shall use that now so that lots of boilerplate code can be reduced. https://bugzilla.gnome.org/show_bug.cgi?id=770278 |
||
---|---|---|
.. | ||
exampleapp.c | ||
exampleapp.desktop | ||
exampleapp.h | ||
exampleapp.png | ||
exampleappwin.c | ||
exampleappwin.h | ||
main.c | ||
Makefile.am | ||
Makefile.example | ||
README |
To make gnome-shell use the desktop file and icon for this example while running it uninstalled, do the following: mkdir -p ~/.local/share/applications sed -e "s#@bindir@#$PWD#" exampleapp.desktop \ > ~/.local/share/applications/lt-exampleapp.desktop mkdir -p ~/.local/share/icons/hicolor/48x48/apps cp exampleapp.png ~/.local/share/icons/hicolor/48x48/apps