add: } else { gtk_widget_hide (item);
context: bacon_video_widget_properties_set_from_current(BaconVideoWidgetProperties *props, BaconVideoWidget *bvw){	GtkWidget *item;	GValue value = { 0, };	char *string;	int x, y;	gboolean has_type;	/* General */	bacon_video_widget_get_metadata (BACON_VIDEO_WIDGET (bvw),			BVW_INFO_TITLE, &value);	bacon_video_widget_properties_set_label (props, "title",			g_value_get_string (&value)			? g_value_get_string (&value)			: _("Unknown"));	g_value_unset (&value);	bacon_video_widget_get_metadata (BACON_VIDEO_WIDGET (bvw),			BVW_INFO_ARTIST, &value);	bacon_video_widget_properties_set_label (props, "artist",			g_value_get_string (&value)			? g_value_get_string (&value) : _("Unknown"));	g_value_unset (&value);	bacon_video_widget_get_metadata (BACON_VIDEO_WIDGET (bvw),			BVW_INFO_ALBUM, &value);	bacon_video_widget_properties_set_label (props, "album",			g_value_get_string (&value)			? g_value_get_string (&value) : _("Unknown"));	g_value_unset (&value);	bacon_video_widget_get_metadata (BACON_VIDEO_WIDGET (bvw),			BVW_INFO_YEAR, &value);	bacon_video_widget_properties_set_label (props, "year",			g_value_get_string (&value)			? g_value_get_string (&value) : _("Unknown"));	g_value_unset (&value);	bacon_video_widget_get_metadata (BACON_VIDEO_WIDGET (bvw),			BVW_INFO_DURATION, &value);	string = totem_time_to_string_text		(g_value_get_int (&value) * 1000);	bacon_video_widget_properties_set_label (props, "duration", string);	g_free (string);	g_value_unset (&value);	/* Video */	item = glade_xml_get_widget (props->priv->xml, "video");	bacon_video_widget_get_metadata (BACON_VIDEO_WIDGET (bvw),			BVW_INFO_HAS_VIDEO, &value);	has_type = g_value_get_boolean (&value);	gtk_widget_set_sensitive (item, has_type);	g_value_unset (&value);	if (has_type != FALSE)	{		bacon_video_widget_get_metadata (BACON_VIDEO_WIDGET (bvw),				BVW_INFO_DIMENSION_X, &value);		x = g_value_get_int (&value);		g_value_unset (&value);		bacon_video_widget_get_metadata (BACON_VIDEO_WIDGET (bvw),				BVW_INFO_DIMENSION_Y, &value);		y = g_value_get_int (&value);		g_value_unset (&value);		string = g_strdup_printf ("%d x %d", x, y);		bacon_video_widget_properties_set_label			(props, "dimensions", string);		g_free (string);		bacon_video_widget_get_metadata (BACON_VIDEO_WIDGET (bvw),				BVW_INFO_VIDEO_CODEC, &value);		bacon_video_widget_properties_set_label (props, "vcodec",				g_value_get_string (&value)				? g_value_get_string (&value) : _("N/A"));		g_value_unset (&value);		bacon_video_widget_get_metadata (BACON_VIDEO_WIDGET (bvw),				BVW_INFO_FPS, &value);		string = g_strdup_printf (_("%d frames per second"),				g_value_get_int (&value));		g_value_unset (&value);		bacon_video_widget_properties_set_label			(props, "framerate", string);		g_free (string);	}	/* Audio */	item = glade_xml_get_widget (props->priv->xml, "audio");	bacon_video_widget_get_metadata (BACON_VIDEO_WIDGET (bvw),			BVW_INFO_HAS_AUDIO, &value);	has_type = g_value_get_boolean (&value);	gtk_widget_set_sensitive (item, has_type);	g_value_unset (&value);	if (has_type != FALSE)	{		bacon_video_widget_get_metadata (BACON_VIDEO_WIDGET (bvw),				BVW_INFO_BITRATE, &value);		string = g_strdup_printf (_("%d kbps"),				g_value_get_int (&value));		g_value_unset (&value);		bacon_video_widget_properties_set_label			(props, "bitrate", string);		g_free (string);		bacon_video_widget_get_metadata (BACON_VIDEO_WIDGET (bvw),				BVW_INFO_AUDIO_CODEC, &value);		bacon_video_widget_properties_set_label (props, "acodec",				g_value_get_string (&value)				? g_value_get_string (&value) : _("N/A"));		g_value_unset (&value);	}}