Sorry I'm a novice at using git and gtk but I'd like to learn but this has got me stumped: Straight pull .. I've tried a few tarballs as well same issue I am aware this is a work in progress .. here is the error .. my builds are partially automated via gentoo ebuild mechanism but I do manual configures and makes as well (xdt-autogen etc.) Making all in src make[2]: Entering directory `/var/tmp/portage/xfce-extra/xfce4-notes-plugin-9999/work/xfce4-notes-plugin-9999/src' GEN main-panel-plugin.c main-panel-plugin.vala:39.3-39.38: error: Assignment: Cannot convert from `Gtk.Widget' to `Gtk.Button' button = Xfce.panel_create_button (); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can you point me in the right direction?
added a cast to line 39 fixes issue .. sorry I'm not versed in patch generation is there a specific edit tool which makes it simple to do? i.e. preserves a backup copy .. I'm just using mousepad-0.3.0 fix for error in main-panel-plugin.vala line 39 last one shown here public override void @construct () { Xfce.textdomain (Config.GETTEXT_PACKAGE, Config.PACKAGE_LOCALE_DIR); application = new Xnp.Application (save_location (true)); button = (Gtk.Button) Xfce.panel_create_button ();
Created attachment 4831 main-panel-plugin-cast.patch I've submitted a patch hope it's correct format let me know plugin is working at present
Created attachment 4832 main-panel-plugin-cast.patch replacement has directory src info in patch and this applies better
fixed in latest http://git.xfce.org/panel-plugins/xfce4-notes-plugin/snapshot/xfce4-notes-plugin-7a6ca567716144389ab2cdcbabca6203c1c0e707.tar.bz2
thanks for following and updating the status of the bug :)