gtk2/examples/application1
Mohammed Sadiq 22ae9d0884 examples: use G_DECLARE_FINAL_TYPE in applications
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
2016-09-10 09:01:08 -04:00
..
exampleapp.c examples: use G_DECLARE_FINAL_TYPE in applications 2016-09-10 09:01:08 -04:00
exampleapp.desktop
exampleapp.h examples: use G_DECLARE_FINAL_TYPE in applications 2016-09-10 09:01:08 -04:00
exampleapp.png
exampleappwin.c examples: use G_DECLARE_FINAL_TYPE in applications 2016-09-10 09:01:08 -04:00
exampleappwin.h examples: use G_DECLARE_FINAL_TYPE in applications 2016-09-10 09:01:08 -04:00
main.c Make include order consistent in example applications 2014-11-28 23:57:16 -05:00
Makefile.am Beautify example Makefiles a bit 2014-11-29 00:26:52 -05:00
Makefile.example Fix example Makefiles 2016-07-03 13:54:11 -04:00
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