app-manager/app-manager.c
changeset 21 4da45725031f
parent 10 8b50be3e2998
child 24 2b9f54d14cc2
     1.1 --- a/app-manager/app-manager.c	Fri Apr 30 20:37:08 2010 +0100
     1.2 +++ b/app-manager/app-manager.c	Fri Mar 23 20:29:24 2012 +0000
     1.3 @@ -46,8 +46,8 @@
     1.4  	if (!w->window)
     1.5  	{
     1.6  	    link=list;
     1.7 -	    list=g_slist_remove_link(list,link);
     1.8 -	    g_slist_free_1(link);
     1.9 +	    list=g_list_remove_link(list,link);
    1.10 +	    g_list_free_1(link);
    1.11  	}
    1.12  	else
    1.13  	{
    1.14 @@ -62,7 +62,7 @@
    1.15  		    if (gtk_widget_get_display(w)==display)
    1.16  			gdk_window_set_cursor(w->window,cursor);
    1.17  		    else
    1.18 -			remaining=g_slist_prepend(remaining,w);
    1.19 +			remaining=g_list_prepend(remaining,w);
    1.20  		}
    1.21  	    }
    1.22  	    gdk_display_flush(display);
    1.23 @@ -152,9 +152,7 @@
    1.24  
    1.25  static void install_icons(void)
    1.26  {
    1.27 -    int w,h;
    1.28      gchar *s;
    1.29 -    GdkPixbuf *pixbuf;
    1.30      GtkIconSource *source;
    1.31      GtkIconSet *icon_set;
    1.32      GtkIconFactory *factory;