File zenity-add-sentinel.patch of Package zenity

From 2b58848b44ba8890ff5d962dee6b4895d117d1a5 Mon Sep 17 00:00:00 2001
From: Dominique Leuenberger <dimstar@opensuse.org>
Date: Wed, 17 Aug 2011 17:59:11 +0200
Subject: [PATCH] bgo#656757: missing sentinel in function call

g_object_get needs a NULL sentinel.
---
 src/color.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/color.c b/src/color.c
index 5e24e3d..4c9c151 100644
--- a/src/color.c
+++ b/src/color.c
@@ -58,7 +58,7 @@ void zenity_colorselection (ZenityData *data, ZenityColorData *color_data)
   }
 
   if (data->ok_label) {
-    g_object_get (G_OBJECT (dialog), "ok-button", &button);
+    g_object_get (G_OBJECT (dialog), "ok-button", &button, NULL);
     gtk_button_set_label (GTK_BUTTON (button), data->ok_label);
     gtk_button_set_image (GTK_BUTTON (button),
                           gtk_image_new_from_stock (GTK_STOCK_OK, GTK_ICON_SIZE_BUTTON));
@@ -66,7 +66,7 @@ void zenity_colorselection (ZenityData *data, ZenityColorData *color_data)
   }
 
   if (data->cancel_label) {
-    g_object_get (G_OBJECT (dialog), "cancel-button", &button);
+    g_object_get (G_OBJECT (dialog), "cancel-button", &button, NULL);
     gtk_button_set_label (GTK_BUTTON (button), data->cancel_label);
     gtk_button_set_image (GTK_BUTTON (button), 
                           gtk_image_new_from_stock (GTK_STOCK_CANCEL, GTK_ICON_SIZE_BUTTON));
-- 
1.7.6