[libgdata] youtube: Fix a typo in a code example



commit f886abad30b6928a1a38db3b10ba0942fbf0f621
Author: Philip Withnall <philip tecnocode co uk>
Date:   Thu Dec 30 12:13:42 2010 +0000

    youtube: Fix a typo in a code example
    
    Helps: bgo#579885

 gdata/services/youtube/gdata-youtube-service.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdata/services/youtube/gdata-youtube-service.c b/gdata/services/youtube/gdata-youtube-service.c
index f98a377..253f680 100644
--- a/gdata/services/youtube/gdata-youtube-service.c
+++ b/gdata/services/youtube/gdata-youtube-service.c
@@ -80,7 +80,7 @@
  *	video_file = g_file_new_for_path ("sample.ogg");
  *
  *	/<!-- -->* Get the file's display name and content type *<!-- -->/
- *	file_info = g_file_query_info (data->video_file, G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME "," G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE,
+ *	file_info = g_file_query_info (video_file, G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME "," G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE,
  *	                               G_FILE_QUERY_INFO_NONE, NULL, &error);
  *
  *	if (error != NULL) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]