[gtk+] Drop an unused variable
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Drop an unused variable
- Date: Mon, 19 Dec 2011 17:54:58 +0000 (UTC)
commit 601b3fca6045e81bd87646123e0de2a18f145824
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Nov 8 19:04:33 2011 -0500
Drop an unused variable
gtk/tests/builder.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/tests/builder.c b/gtk/tests/builder.c
index 1bbba85..ba356fb 100644
--- a/gtk/tests/builder.c
+++ b/gtk/tests/builder.c
@@ -2576,7 +2576,6 @@ static void
test_gmenu (void)
{
GtkBuilder *builder;
- GError *error;
GObject *obj, *obj1;
const gchar buffer[] =
"<interface>"
@@ -2604,9 +2603,7 @@ test_gmenu (void)
" </menu>"
"</interface>";
- error = NULL;
builder = builder_new_from_string (buffer, -1, NULL);
- g_assert (error == NULL);
obj = gtk_builder_get_object (builder, "window");
g_assert (GTK_IS_WINDOW (obj));
obj1 = gtk_builder_get_object (builder, "edit-menu");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]