rpms/vinagre/F-11 0001-Fix-warnings-activating-mDNS-bookmarks.patch, NONE, 1.1 vinagre.spec, 1.45, 1.46
Bastien Nocera
hadess at fedoraproject.org
Fri Sep 18 17:17:31 UTC 2009
- Previous message (by thread): rpms/hdf/devel hdf.spec,1.33,1.34
- Next message (by thread): rpms/hdf/EL-5 hdf-4.2r3-maxavailfiles.patch, NONE, 1.1 hdf-4.2r4-buffer.patch, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.4, 1.5 hdf.spec, 1.16, 1.17 sources, 1.4, 1.5 hdf-4.2r1p4-maxavailfiles.patch, 1.1, NONE hdf-4.2r2-libm.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: hadess
Update of /cvs/pkgs/rpms/vinagre/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv4821
Modified Files:
vinagre.spec
Added Files:
0001-Fix-warnings-activating-mDNS-bookmarks.patch
Log Message:
* Fri Sep 18 2009 Bastien Nocera <bnocera at redhat.com> 2.26.2-2
- Fix warnings using mDNS bookmarks
0001-Fix-warnings-activating-mDNS-bookmarks.patch:
vinagre-fav.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
--- NEW FILE 0001-Fix-warnings-activating-mDNS-bookmarks.patch ---
>From c80f47981e6f9a3dec1c192d4906a1159ad947ee Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess at hadess.net>
Date: Fri, 18 Sep 2009 18:15:46 +0100
Subject: [PATCH] Fix warnings activating mDNS bookmarks
- Don't tell the marshallers that we have an object and pass a pointer
- Don't emit a signal when we don't have an object to pass
---
src/vinagre-fav.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/src/vinagre-fav.c b/src/vinagre-fav.c
index 490dd11..d94f81d 100644
--- a/src/vinagre-fav.c
+++ b/src/vinagre-fav.c
@@ -139,7 +139,7 @@ vinagre_fav_class_init (VinagreFavClass *klass)
g_cclosure_marshal_VOID__OBJECT,
G_TYPE_NONE,
1,
- G_TYPE_POINTER);
+ G_TYPE_OBJECT);
signals[FAV_SELECTED] =
g_signal_new ("fav-selected",
@@ -150,7 +150,7 @@ vinagre_fav_class_init (VinagreFavClass *klass)
g_cclosure_marshal_VOID__OBJECT,
G_TYPE_NONE,
1,
- G_TYPE_POINTER);
+ G_TYPE_OBJECT);
g_type_class_add_private (object_class, sizeof (VinagreFavPrivate));
}
@@ -206,8 +206,10 @@ vinagre_fav_selection_changed_cb (GtkTreeSelection *selection,
-1);
}
- if (avahi)
+ if (avahi) {
entry = NULL;
+ return;
+ }
/* Emits the signal saying that user has selected a bookmark */
g_signal_emit (G_OBJECT (fav),
--
1.6.2.5
Index: vinagre.spec
===================================================================
RCS file: /cvs/pkgs/rpms/vinagre/F-11/vinagre.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -p -r1.45 -r1.46
--- vinagre.spec 2 Jun 2009 03:33:08 -0000 1.45
+++ vinagre.spec 18 Sep 2009 17:17:31 -0000 1.46
@@ -1,12 +1,14 @@
Name: vinagre
Version: 2.26.2
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: VNC client for GNOME
Group: Applications/System
License: GPLv2+
URL: http://projects.gnome.org/vinagre/
Source0: http://download.gnome.org/sources/vinagre/2.26/%{name}-%{version}.tar.bz2
+# https://bugzilla.gnome.org/show_bug.cgi?id=581817
+Patch0: 0001-Fix-warnings-activating-mDNS-bookmarks.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -33,6 +35,7 @@ GNOME keyring, and browse the network to
%prep
%setup -q
+%patch0 -p1 -b .mdns
%build
%configure --enable-avahi=yes
@@ -122,6 +125,9 @@ fi
%doc README NEWS COPYING AUTHORS
%changelog
+* Fri Sep 18 2009 Bastien Nocera <bnocera at redhat.com> 2.26.2-2
+- Fix warnings using mDNS bookmarks
+
* Mon Jun 1 2009 Matthias Clasen <mclasen at redhat.com> - 2.26.2-1
- Update to 2.26.2
- See http://download.gnome.org/sources/vinagre/2.26/vinagre-2.26.2.news
- Previous message (by thread): rpms/hdf/devel hdf.spec,1.33,1.34
- Next message (by thread): rpms/hdf/EL-5 hdf-4.2r3-maxavailfiles.patch, NONE, 1.1 hdf-4.2r4-buffer.patch, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.4, 1.5 hdf.spec, 1.16, 1.17 sources, 1.4, 1.5 hdf-4.2r1p4-maxavailfiles.patch, 1.1, NONE hdf-4.2r2-libm.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list