[rygel] examples: Properly initialize user data
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] examples: Properly initialize user data
- Date: Tue, 12 Feb 2019 22:05:15 +0000 (UTC)
commit 1ebf4a7b269300f1393b19cb4770a57664cd485d
Author: Jens Georg <mail jensge org>
Date: Tue Feb 12 23:02:23 2019 +0100
examples: Properly initialize user data
Otherwise the full-screen renderer crashes if the logo is not available
examples/fullscreen-renderer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/examples/fullscreen-renderer.c b/examples/fullscreen-renderer.c
index 517ad198..124be41f 100644
--- a/examples/fullscreen-renderer.c
+++ b/examples/fullscreen-renderer.c
@@ -151,7 +151,7 @@ static gboolean on_key_released (GtkWidget *widget,
int main (int argc, char *argv[])
{
RygelPlaybinRenderer *renderer;
- MainData data;
+ MainData data = { 0 };
GdkCursor *cursor;
gtk_init (&argc, &argv);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]