aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2010-09-03 15:24:46 +0100
committerConor Curran <conor.curran@canonical.com>2010-09-03 15:24:46 +0100
commiteeefcb48bf469a2268601978353790f4e449db5f (patch)
tree52b224e5eaf2c79dc033c1c530a631e65d163ceb /src
parent779bb004a88acc14c7a505e531731e7d89d65eeb (diff)
downloadayatana-indicator-sound-eeefcb48bf469a2268601978353790f4e449db5f.tar.gz
ayatana-indicator-sound-eeefcb48bf469a2268601978353790f4e449db5f.tar.bz2
ayatana-indicator-sound-eeefcb48bf469a2268601978353790f4e449db5f.zip
working nicely
Diffstat (limited to 'src')
-rw-r--r--src/metadata-widget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/metadata-widget.c b/src/metadata-widget.c
index a88d38c..1d50779 100644
--- a/src/metadata-widget.c
+++ b/src/metadata-widget.c
@@ -25,6 +25,7 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#include "metadata-widget.h"
#include "common-defs.h"
#include <gtk/gtk.h>
+#include <glib.h>
static DbusmenuMenuitem* twin_item;
@@ -326,7 +327,7 @@ metadata_widget_property_update(DbusmenuMenuitem* item, gchar* property,
g_string_erase(priv->image_path, 0, -1);
g_string_overwrite(priv->image_path, 0, g_value_get_string (value));
// if its a remote image queue a redraw incase the download took too long
- if (g_str_has_prefix(g_value_get_string (value), get_user_special_dir(GUserDirectory.PICTURES))){
+ if (g_str_has_prefix(g_value_get_string (value), g_get_user_special_dir(G_USER_DIRECTORY_PICTURES))){
g_debug("the image update is a download so redraw");
gtk_widget_queue_draw(GTK_WIDGET(mitem));
}