diff options
author | Conor Curran <conor.curran@canonical.com> | 2010-08-18 12:04:59 +0100 |
---|---|---|
committer | Conor Curran <conor.curran@canonical.com> | 2010-08-18 12:04:59 +0100 |
commit | 88c0ff52c479c7ec7a70448fe17946ee5ff68d3d (patch) | |
tree | 5aa8c8001b5ea2f7417dd2bf962347e527581425 /src/metadata-widget.c | |
parent | 44d47d0c4d334ba3cd2b8d9bd34893ba8c3dedf9 (diff) | |
parent | 4897f3ce524e6d91ecd0c70142556be0f29367b7 (diff) | |
download | ayatana-indicator-sound-88c0ff52c479c7ec7a70448fe17946ee5ff68d3d.tar.gz ayatana-indicator-sound-88c0ff52c479c7ec7a70448fe17946ee5ff68d3d.tar.bz2 ayatana-indicator-sound-88c0ff52c479c7ec7a70448fe17946ee5ff68d3d.zip |
merge the mpris2 operational branch
Diffstat (limited to 'src/metadata-widget.c')
-rw-r--r-- | src/metadata-widget.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/metadata-widget.c b/src/metadata-widget.c index 670d983..aaf71e2 100644 --- a/src/metadata-widget.c +++ b/src/metadata-widget.c @@ -150,8 +150,8 @@ metadata_widget_init (MetadataWidget *self) g_signal_connect(G_OBJECT(twin_item), "property-changed", G_CALLBACK(metadata_widget_property_update), self); gtk_widget_show_all (priv->hbox); - gtk_container_add (GTK_CONTAINER (self), hbox); - + gtk_widget_set_size_request(GTK_WIDGET(self), 200, 60); + gtk_container_add (GTK_CONTAINER (self), hbox); } static gboolean @@ -201,11 +201,9 @@ metadata_widget_property_update(DbusmenuMenuitem* item, gchar* property, if(g_value_get_int(value) == DBUSMENU_PROPERTY_EMPTY){ g_debug("Metadata widget: property update - reset"); - gchar* empty = ""; GValue new_value = {0}; g_value_init(&new_value, G_TYPE_STRING); g_value_set_string(&new_value, g_strdup("")); - //g_free(empty); value = &new_value; } |