Date: Tue, 27 Apr 2010 17:13:24 -0400 (EDT) From: Greg Larkin <glarkin@freebsd.org> To: FreeBSD-gnats-submit@freebsd.org Cc: gnome@freebsd.org Subject: [PATCH] devel/libnotifymm: Fix compiler error in notification.h Message-ID: <201004272113.o3RLDOHE028565@fbsd70.entropy.prv>
next in thread | raw e-mail | index | archive | help
>Submitter-Id: current-users >Originator: Greg Larkin >Organization: The FreeBSD Project >Confidential: no >Synopsis: [PATCH] devel/libnotifymm: Fix compiler error in notification.h >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 7.0-RELEASE i386 >Environment: System: FreeBSD fbsd70.entropy.prv 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 >Description: This patch removes some duplicate semicolons in notification.h that cause compiler errors. This was noticed during development of a new port. Added file(s): - files/patch-libnotify__libnotifymm__notification.h Port maintainer (gnome@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- libnotifymm-0.6.1_4.patch begins here --- Index: files/patch-libnotify__libnotifymm__notification.h =================================================================== RCS file: files/patch-libnotify__libnotifymm__notification.h diff -N files/patch-libnotify__libnotifymm__notification.h --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-libnotify__libnotifymm__notification.h 27 Apr 2010 21:11:12 -0000 @@ -0,0 +1,50 @@ +--- ./libnotify/libnotifymm/notification.h.orig 2010-04-23 11:36:40.000000000 -0400 ++++ ./libnotify/libnotifymm/notification.h 2010-04-23 11:37:20.000000000 -0400 +@@ -191,7 +191,7 @@ + * location. If @a attach is <tt>0</tt>, the widget will be unset. + * @param attach The widget to attach to, or <tt>0</tt>. + */ +- void attach_to_widget(Gtk::Widget& attach);; ++ void attach_to_widget(Gtk::Widget& attach); + + /** Attaches the notification to a Gtk::StatusIcon. This will set hints on the + * notification requesting that the notification point to the status icon's +@@ -303,17 +303,16 @@ + * specified callback function will be called. + */ + void add_action(const Glib::ustring& action, const Glib::ustring& label, const SlotInvokeAction& slot); +- ; + + + /** Clears all hints from the notification. + */ +- void clear_hints();; ++ void clear_hints(); + + + /** Clears all actions from the notification. + */ +- void clear_actions();; ++ void clear_actions(); + + /** Tells the notification server to hide the notification on the screen. + * @return <tt>true</tt> if successful. On error, this will return <tt>false</tt> and set +@@ -324,16 +323,14 @@ + #else + void close(std::auto_ptr<Glib::Error>& error); + #endif //GLIBMM_EXCEPTIONS_ENABLED +-; +- +- ++ ++ + /** + * @par Prototype: + * <tt>void on_my_%closed()</tt> + */ + + Glib::SignalProxy0< void > signal_closed(); +-; + + //gtkmmproc error: id : property defs lookup failed. + #ifdef GLIBMM_PROPERTIES_ENABLED --- libnotifymm-0.6.1_4.patch ends here ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004272113.o3RLDOHE028565>