abrt/0006-missed-one-more-deprecated-g_io_channel_read.patch
2011-12-07 16:38:32 +01:00

26 lines
798 B
Diff

From 7b937c6322c3130d9801596b93866a5e72a6da64 Mon Sep 17 00:00:00 2001
From: Jiri Moskovcak <jmoskovc@redhat.com>
Date: Wed, 7 Dec 2011 16:29:03 +0100
Subject: [PATCH 6/6] missed one more deprecated g_io_channel_read
---
src/daemon/abrt-dbus.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/daemon/abrt-dbus.c b/src/daemon/abrt-dbus.c
index 756076a..16c01d0 100644
--- a/src/daemon/abrt-dbus.c
+++ b/src/daemon/abrt-dbus.c
@@ -284,7 +284,7 @@ static gboolean handle_signal_cb(GIOChannel *gio, GIOCondition condition, gpoint
{
uint8_t signo;
gsize len = 0;
- g_io_channel_read(gio, (void*) &signo, 1, &len);
+ g_io_channel_read_chars(gio, (void*) &signo, 1, &len, NULL);
if (len == 1)
{
/* we did receive a signal */
--
1.7.7.3