Remove some unused variables (GnomeBug:591218)

This commit is contained in:
Javier Jardón 2009-08-09 12:01:03 +02:00 committed by Frédéric Péters
parent 54863bbba6
commit ec7c24d227
7 changed files with 0 additions and 7 deletions

View File

@ -47,7 +47,6 @@ GtkWidget *
do_links (GtkWidget *do_widget) do_links (GtkWidget *do_widget)
{ {
static GtkWidget *window = NULL; static GtkWidget *window = NULL;
GtkWidget *box;
GtkWidget *label; GtkWidget *label;
if (!window) if (!window)

View File

@ -1078,7 +1078,6 @@ _gdk_x11_screen_size_changed (GdkScreen *screen,
{ {
gint width, height; gint width, height;
GdkDisplayX11 *display_x11; GdkDisplayX11 *display_x11;
gboolean monitors_changed;
width = gdk_screen_get_width (screen); width = gdk_screen_get_width (screen);
height = gdk_screen_get_height (screen); height = gdk_screen_get_height (screen);

View File

@ -615,7 +615,6 @@ gtk_image_menu_item_update (GtkActivatable *activatable,
const gchar *property_name) const gchar *property_name)
{ {
GtkImageMenuItem *image_menu_item; GtkImageMenuItem *image_menu_item;
GtkWidget *image;
gboolean use_appearance; gboolean use_appearance;
image_menu_item = GTK_IMAGE_MENU_ITEM (activatable); image_menu_item = GTK_IMAGE_MENU_ITEM (activatable);

View File

@ -337,7 +337,6 @@ static void
gtk_list_store_set_n_columns (GtkListStore *list_store, gtk_list_store_set_n_columns (GtkListStore *list_store,
gint n_columns) gint n_columns)
{ {
GType *new_columns;
int i; int i;
if (list_store->n_columns == n_columns) if (list_store->n_columns == n_columns)

View File

@ -4172,7 +4172,6 @@ gtk_menu_position (GtkMenu *menu)
GtkRequisition requisition; GtkRequisition requisition;
GtkMenuPrivate *private; GtkMenuPrivate *private;
gint x, y; gint x, y;
gboolean initially_pushed_in;
gint scroll_offset; gint scroll_offset;
gint menu_height; gint menu_height;
GdkScreen *screen; GdkScreen *screen;

View File

@ -1578,7 +1578,6 @@ gtk_scale_buildable_custom_finished (GtkBuildable *buildable,
{ {
GtkScale *scale = GTK_SCALE (buildable); GtkScale *scale = GTK_SCALE (buildable);
MarksSubparserData *marks_data; MarksSubparserData *marks_data;
GtkWidget *toplevel;
if (strcmp (tagname, "marks") == 0) if (strcmp (tagname, "marks") == 0)
{ {

View File

@ -27,7 +27,6 @@ int main (int argc, char *argv[])
GtkWidget *box2; GtkWidget *box2;
GtkWidget *frame; GtkWidget *frame;
GtkWidget *scale; GtkWidget *scale;
GIcon *icon;
gdouble marks[3] = { 0.0, 50.0, 100.0 }; gdouble marks[3] = { 0.0, 50.0, 100.0 };
const gchar *labels[3] = { const gchar *labels[3] = {
"<small>Left</small>", "<small>Left</small>",