aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-ui-utils.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:07:51 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:07:51 +0800
commit34093170146c861cf5bb523857ca875996d3c165 (patch)
tree7fe233eb372a056b3829f1f2d3eb79215afc6f48 /libempathy-gtk/empathy-ui-utils.c
parent6aeba3e27dfca67abde8a0f54efb637154e422ec (diff)
downloadgsoc2013-empathy-34093170146c861cf5bb523857ca875996d3c165.tar
gsoc2013-empathy-34093170146c861cf5bb523857ca875996d3c165.tar.gz
gsoc2013-empathy-34093170146c861cf5bb523857ca875996d3c165.tar.bz2
gsoc2013-empathy-34093170146c861cf5bb523857ca875996d3c165.tar.lz
gsoc2013-empathy-34093170146c861cf5bb523857ca875996d3c165.tar.xz
gsoc2013-empathy-34093170146c861cf5bb523857ca875996d3c165.tar.zst
gsoc2013-empathy-34093170146c861cf5bb523857ca875996d3c165.zip
Initialize GError to NULL before using it.
svn path=/trunk/; revision=2290
Diffstat (limited to 'libempathy-gtk/empathy-ui-utils.c')
-rw-r--r--libempathy-gtk/empathy-ui-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 1c20c2c9a..23f7f1311 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -549,7 +549,7 @@ empathy_pixbuf_from_icon_name_sized (const gchar *icon_name,
{
GtkIconTheme *theme;
GdkPixbuf *pixbuf;
- GError *error;
+ GError *error = NULL;
if (!icon_name) {
return NULL;