[gtk+] Fix compiler warnings
- From: Adel Gadllah <agadllah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix compiler warnings
- Date: Mon, 11 Feb 2013 10:40:36 +0000 (UTC)
commit 0b1f8a5c4b80e4f4cf26562a7ff7108242e8204e
Author: Adel Gadllah <adel gadllah gmail com>
Date: Mon Feb 11 11:38:04 2013 +0100
Fix compiler warnings
Remove two unused variables.
gtk/gtkdrawingarea.c | 1 -
gtk/gtksocket.c | 1 -
2 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkdrawingarea.c b/gtk/gtkdrawingarea.c
index 60b958f..b1bcb49 100644
--- a/gtk/gtkdrawingarea.c
+++ b/gtk/gtkdrawingarea.c
@@ -165,7 +165,6 @@ gtk_drawing_area_new (void)
static void
gtk_drawing_area_realize (GtkWidget *widget)
{
- GtkDrawingArea *darea = GTK_DRAWING_AREA (widget);
GtkAllocation allocation;
GdkWindow *window;
GdkWindowAttr attributes;
diff --git a/gtk/gtksocket.c b/gtk/gtksocket.c
index fc893b8..c497f50 100644
--- a/gtk/gtksocket.c
+++ b/gtk/gtksocket.c
@@ -380,7 +380,6 @@ static void
gtk_socket_realize (GtkWidget *widget)
{
GtkAllocation allocation;
- GtkSocket *socket = GTK_SOCKET (widget);
GdkWindow *window;
GdkWindowAttr attributes;
XWindowAttributes xattrs;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]