forked from AuroraMiddleware/gtk
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)
|
do_links (GtkWidget *do_widget)
|
||||||
{
|
{
|
||||||
static GtkWidget *window = NULL;
|
static GtkWidget *window = NULL;
|
||||||
GtkWidget *box;
|
|
||||||
GtkWidget *label;
|
GtkWidget *label;
|
||||||
|
|
||||||
if (!window)
|
if (!window)
|
||||||
|
@ -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);
|
||||||
|
@ -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);
|
||||||
|
@ -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)
|
||||||
|
@ -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;
|
||||||
|
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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>",
|
||||||
|
Loading…
Reference in New Issue
Block a user