mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-15 21:20:09 +00:00
Remove some unused variables (GnomeBug:591218)
This commit is contained in:
parent
54863bbba6
commit
ec7c24d227
@ -47,7 +47,6 @@ GtkWidget *
|
||||
do_links (GtkWidget *do_widget)
|
||||
{
|
||||
static GtkWidget *window = NULL;
|
||||
GtkWidget *box;
|
||||
GtkWidget *label;
|
||||
|
||||
if (!window)
|
||||
|
@ -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);
|
||||
|
@ -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);
|
||||
|
@ -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)
|
||||
|
@ -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;
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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>",
|
||||
|
Loading…
Reference in New Issue
Block a user