[PATCH] devel/libnotifymm: Fix compiler error in notification.h

Jeremy Messenger mezz7 at cox.net
Wed Apr 28 02:59:43 UTC 2010


On Tue, 27 Apr 2010 16:13:24 -0500, Greg Larkin <glarkin at freebsd.org>  
wrote:

>
>> 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 at FreeBSD.org) is cc'd.
>
> Generated with FreeBSD Port Tools 0.77
>> How-To-Repeat:
>> Fix:

Approved, thanks!

Cheers,
Mezz


> --- 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 ---
>
> _______________________________________________
> freebsd-gnome at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"


-- 
mezz7 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org


More information about the freebsd-gnome mailing list