rpms/kazehakase/devel kazehakase-0.5.8-crash-viewing-source-with-no-page.patch, NONE, 1.1 kazehakase.spec, 1.98, 1.99
Mamoru Tasaka
mtasaka at fedoraproject.org
Fri Oct 16 15:03:09 UTC 2009
Author: mtasaka
Update of /cvs/extras/rpms/kazehakase/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25863/devel
Modified Files:
kazehakase.spec
Added Files:
kazehakase-0.5.8-crash-viewing-source-with-no-page.patch
Log Message:
* Sat Oct 17 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.5.8-2
- Fix crash when trying to view source or cert with no page loaded
(bug 529334)
kazehakase-0.5.8-crash-viewing-source-with-no-page.patch:
kz-actions.c | 2 ++
1 file changed, 2 insertions(+)
--- NEW FILE kazehakase-0.5.8-crash-viewing-source-with-no-page.patch ---
Index: src/actions/kz-actions.c
===================================================================
--- src/actions/kz-actions.c (revision 3869)
+++ src/actions/kz-actions.c (revision 3870)
@@ -531,6 +531,7 @@
{
KzWeb *web = KZ_WINDOW_CURRENT_WEB(kz);
GtkWidget *newtab;
+ if (!web) return;
newtab = kz_window_open_new_tab(kz, NULL);
@@ -541,6 +542,7 @@
act_show_page_certificate (GtkAction *action, KzWindow *kz)
{
KzWeb *web = KZ_WINDOW_CURRENT_WEB(kz);
+ if (!web) return;
kz_web_show_page_certificate(web);
}
Index: kazehakase.spec
===================================================================
RCS file: /cvs/extras/rpms/kazehakase/devel/kazehakase.spec,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -p -r1.98 -r1.99
--- kazehakase.spec 29 Sep 2009 04:22:45 -0000 1.98
+++ kazehakase.spec 16 Oct 2009 15:03:09 -0000 1.99
@@ -38,7 +38,7 @@
# When changing release number, please make it sure that
# the new EVR won't be higher than the one of higher branch!!
#
-%define fedorarel 1
+%define fedorarel 2
%define _release %{fedorarel}%{?usesvn:.svn%svnver}
%if 0%{?fedora} < 1
@@ -68,6 +68,7 @@ Patch14: kazehakase-0.5.6-rev3769-embed-
Patch15: kazehakase-0.5.7-gtk0218.patch
%endif
Patch17: kazehakase-0.5.7-external-rev938-libegg-parallel_make.patch
+Patch18: kazehakase-0.5.8-crash-viewing-source-with-no-page.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: dbus-devel
@@ -200,6 +201,7 @@ This package uses WebKit for HTML render
%patch15 -p0 -b .gtk -R
%endif
%patch17 -p0 -b .libegg_mak
+%patch18 -p0 -b .nopage
%if %{need_autogen}
sh autogen.sh
@@ -354,6 +356,10 @@ desktop-file-install \
%endif
%changelog
+* Sat Oct 17 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.5.8-2
+- Fix crash when trying to view source or cert with no page loaded
+ (bug 529334)
+
* Tue Sep 29 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.5.8-1
- Update to 0.5.8
More information about the fedora-extras-commits
mailing list