python/lxml_html_clean: update to 0.4.1
[oi-userland.git] / components / desktop / pidgin / patches / pidgin-06-parse-account.patch
blob1c238f3fd2de53f20259ca650eba0a3047354437
1 --- pidgin-2.7.0/pidgin/pidginstock.c.orig 2010-05-13 15:32:57.823406906 +0800
2 +++ pidgin-2.7.0/pidgin/pidginstock.c 2010-05-13 15:37:22.643337918 +0800
3 @@ -277,6 +277,9 @@
4 guchar *pixels;
5 guchar a;
7 + if (!pixbuf)
8 + return;
10 if (!gdk_pixbuf_get_has_alpha(pixbuf))
11 return;
13 @@ -340,6 +343,10 @@
14 filename = find_icon_file(theme, size, sized_icon, FALSE);
15 g_return_if_fail(filename != NULL);
16 pixbuf = gdk_pixbuf_new_from_file(filename, NULL);
18 + if (!pixbuf)
19 + return;
21 if (translucent)
22 do_alphashift(pixbuf);
24 @@ -370,6 +377,10 @@
25 filename = find_icon_file(theme, size, sized_icon, TRUE);
26 g_return_if_fail(filename != NULL);
27 pixbuf = gdk_pixbuf_new_from_file(filename, NULL);
29 + if (!pixbuf)
30 + return;
32 if (translucent)
33 do_alphashift(pixbuf);
35 --- pidgin-2.7.0/pidgin/gtkblist.c.orig 2010-05-13 15:30:04.787201508 +0800
36 +++ pidgin-2.7.0/pidgin/gtkblist.c 2010-05-13 15:32:20.466553418 +0800
37 @@ -5547,11 +5547,14 @@
38 g_object_ref_sink (tooltips);
40 gtk_tooltips_force_window (tooltips);
41 + if (tooltips->tip_window)
42 + {
43 #if GTK_CHECK_VERSION(2, 12, 0)
44 - gtk_widget_set_name (tooltips->tip_window, "gtk-tooltips");
45 + gtk_widget_set_name (tooltips->tip_window, "gtk-tooltips");
46 #endif
47 - gtk_widget_ensure_style (tooltips->tip_window);
48 - style = gtk_widget_get_style (tooltips->tip_window);
49 + gtk_widget_ensure_style (tooltips->tip_window);
50 + style = gtk_widget_get_style (tooltips->tip_window);
51 + }
53 gtkblist->changing_style = TRUE;
54 gtk_widget_set_style (gtkblist->headline_hbox, style);
55 --- pidgin-2.7.0/libpurple/account.c.orig 2010-05-13 15:37:40.694159408 +0800
56 +++ pidgin-2.7.0/libpurple/account.c 2010-05-13 15:38:29.948112474 +0800
57 @@ -683,6 +683,9 @@
58 xmlnode *child;
59 char *data;
61 + if (!node)
62 + return;
64 proxy_info = purple_proxy_info_new();
66 /* Use the global proxy settings, by default */