--- src/main-panel-plugin.vala 2013-01-03 10:59:53.000000000 -0500 +++ src/main-panel-plugin.vala-fixed 2013-01-03 11:01:04.000000000 -0500 @@ -36,7 +36,7 @@ Xfce.textdomain (Config.GETTEXT_PACKAGE, Config.PACKAGE_LOCALE_DIR); application = new Xnp.Application (save_location (true)); - button = Xfce.panel_create_button (); + button = (Gtk.Button) Xfce.panel_create_button (); image = new Xfce.PanelImage.from_source ("xfce4-notes-plugin"); button.add (image); button.clicked.connect (() => { application.show_hide_notes (); });