[gtk+] Remove some unused variables (GnomeBug:591218)
- From: Frederic Peters <fpeters src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Remove some unused variables (GnomeBug:591218)
- Date: Mon, 10 Aug 2009 09:19:54 +0000 (UTC)
commit ec7c24d227fc1a480dec1975f4dc6c383f941070
Author: Javier Jardón <javierjc1982 gmail com>
Date: Sun Aug 9 12:01:03 2009 +0200
Remove some unused variables (GnomeBug:591218)
demos/gtk-demo/links.c | 1 -
gdk/x11/gdkscreen-x11.c | 1 -
gtk/gtkimagemenuitem.c | 1 -
gtk/gtkliststore.c | 1 -
gtk/gtkmenu.c | 1 -
gtk/gtkscale.c | 1 -
tests/testscale.c | 1 -
7 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/demos/gtk-demo/links.c b/demos/gtk-demo/links.c
index c506144..02c3188 100644
--- a/demos/gtk-demo/links.c
+++ b/demos/gtk-demo/links.c
@@ -47,7 +47,6 @@ GtkWidget *
do_links (GtkWidget *do_widget)
{
static GtkWidget *window = NULL;
- GtkWidget *box;
GtkWidget *label;
if (!window)
diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c
index cbf0930..32088a8 100644
--- a/gdk/x11/gdkscreen-x11.c
+++ b/gdk/x11/gdkscreen-x11.c
@@ -1078,7 +1078,6 @@ _gdk_x11_screen_size_changed (GdkScreen *screen,
{
gint width, height;
GdkDisplayX11 *display_x11;
- gboolean monitors_changed;
width = gdk_screen_get_width (screen);
height = gdk_screen_get_height (screen);
diff --git a/gtk/gtkimagemenuitem.c b/gtk/gtkimagemenuitem.c
index 8948c93..7f0785d 100644
--- a/gtk/gtkimagemenuitem.c
+++ b/gtk/gtkimagemenuitem.c
@@ -615,7 +615,6 @@ gtk_image_menu_item_update (GtkActivatable *activatable,
const gchar *property_name)
{
GtkImageMenuItem *image_menu_item;
- GtkWidget *image;
gboolean use_appearance;
image_menu_item = GTK_IMAGE_MENU_ITEM (activatable);
diff --git a/gtk/gtkliststore.c b/gtk/gtkliststore.c
index dd28629..8ab1f18 100644
--- a/gtk/gtkliststore.c
+++ b/gtk/gtkliststore.c
@@ -337,7 +337,6 @@ static void
gtk_list_store_set_n_columns (GtkListStore *list_store,
gint n_columns)
{
- GType *new_columns;
int i;
if (list_store->n_columns == n_columns)
diff --git a/gtk/gtkmenu.c b/gtk/gtkmenu.c
index 0fd5d3d..5d66878 100644
--- a/gtk/gtkmenu.c
+++ b/gtk/gtkmenu.c
@@ -4172,7 +4172,6 @@ gtk_menu_position (GtkMenu *menu)
GtkRequisition requisition;
GtkMenuPrivate *private;
gint x, y;
- gboolean initially_pushed_in;
gint scroll_offset;
gint menu_height;
GdkScreen *screen;
diff --git a/gtk/gtkscale.c b/gtk/gtkscale.c
index 87aa469..261d698 100644
--- a/gtk/gtkscale.c
+++ b/gtk/gtkscale.c
@@ -1578,7 +1578,6 @@ gtk_scale_buildable_custom_finished (GtkBuildable *buildable,
{
GtkScale *scale = GTK_SCALE (buildable);
MarksSubparserData *marks_data;
- GtkWidget *toplevel;
if (strcmp (tagname, "marks") == 0)
{
diff --git a/tests/testscale.c b/tests/testscale.c
index 35b287e..98e83f0 100755
--- a/tests/testscale.c
+++ b/tests/testscale.c
@@ -27,7 +27,6 @@ int main (int argc, char *argv[])
GtkWidget *box2;
GtkWidget *frame;
GtkWidget *scale;
- GIcon *icon;
gdouble marks[3] = { 0.0, 50.0, 100.0 };
const gchar *labels[3] = {
"<small>Left</small>",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]