Update to 0.3

This commit is contained in:
David King 2016-09-02 12:25:08 +01:00
parent d858bf7137
commit cbc8ccdaa3
4 changed files with 6 additions and 30 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
/xdg-desktop-portal-gtk-0.1.tar.xz
/xdg-desktop-portal-gtk-0.2.tar.xz
/xdg-desktop-portal-gtk-0.3.tar.xz

View File

@ -1 +1 @@
6aff832065f917172389692f12ec0d45 xdg-desktop-portal-gtk-0.2.tar.xz
dd7b94c0a365400746b1bdd9cd8d62eb xdg-desktop-portal-gtk-0.3.tar.xz

View File

@ -1,25 +0,0 @@
From 550f8a71aa7a6859bf010608875ebc3a13f7a189 Mon Sep 17 00:00:00 2001
From: David King <dking@redhat.com>
Date: Fri, 29 Jul 2016 14:10:17 +0100
Subject: [PATCH] Fix string literal format warning
---
src/access.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/access.c b/src/access.c
index d759e66..9b36f3c 100644
--- a/src/access.c
+++ b/src/access.c
@@ -285,7 +285,7 @@ handle_access_dialog (XdpImplAccess *object,
gtk_window_set_modal (GTK_WINDOW (dialog), modal);
gtk_dialog_add_button (GTK_DIALOG (dialog), deny_label, GTK_RESPONSE_CANCEL);
gtk_dialog_add_button (GTK_DIALOG (dialog), grant_label, GTK_RESPONSE_OK);
- gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), arg_subtitle);
+ gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog), "%s", arg_subtitle);
area = gtk_message_dialog_get_message_area (GTK_MESSAGE_DIALOG (dialog));
fix_up_label_alignment (area);
--
2.7.4

View File

@ -1,13 +1,11 @@
Name: xdg-desktop-portal-gtk
Version: 0.2
Version: 0.3
Release: 1%{?dist}
Summary: Backend implementation for xdg-desktop-portal using GTK+
License: LGPLv2+
URL: https://github.com/flatpak/%{name}
Source0: https://github.com/flatpak/releases/download/%{version}/%{name}-%{version}.tar.xz
# Submitted upstream: https://github.com/flatpak/xdg-desktop-portal-gtk/pull/29
Patch0: xdg-desktop-portal-gtk-0.2-format-literal-warning.patch
BuildRequires: pkgconfig(gtk+-unix-print-3.0)
BuildRequires: pkgconfig(xdg-desktop-portal)
@ -22,7 +20,6 @@ org.gnome.SessionManager D-Bus interfaces.
%prep
%setup -q
%patch0 -p1
%build
@ -45,6 +42,9 @@ org.gnome.SessionManager D-Bus interfaces.
%changelog
* Fri Sep 02 2016 David King <amigadave@amigadave.com> - 0.3-1
- Update to 0.3
* Fri Jul 29 2016 David King <amigadave@amigadave.com> - 0.2-1
- Update to 0.2 (#1361576)