totem r6233 - in trunk: . src/plugins/youtube



Author: pwithnall
Date: Thu Apr  2 19:10:14 2009
New Revision: 6233
URL: http://svn.gnome.org/viewvc/totem?rev=6233&view=rev

Log:
2009-04-02  Philip Withnall  <philip tecnocode co uk>

	* configure.in:
	* src/plugins/youtube/totem-youtube.c (resolve_t_param),
	(open_in_web_browser_activate_cb): Updated the YouTube plugin for
	libgdata 0.1.1.



Modified:
   trunk/ChangeLog
   trunk/configure.in
   trunk/src/plugins/youtube/totem-youtube.c

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Thu Apr  2 19:10:14 2009
@@ -36,8 +36,6 @@
 GLIB_REQS=2.13.4
 GTK_REQS=2.13.0
 TOTEM_PLPARSER_REQS=2.23.91
-GNOMEUI_REQS=2.3.3
-LIBGNOME_REQS=2.14.0
 GNOMEICON_REQS=2.15.90
 DBUS_REQS=0.61
 VALA_REQS=0.1.6
@@ -611,7 +609,7 @@
 			fi
 		;;
 		youtube)
-			PKG_CHECK_MODULES(LIBGDATA, libgdata,
+			PKG_CHECK_MODULES(LIBGDATA, libgdata >= 0.1.1,
 				[HAVE_LIBGDATA=yes], [HAVE_LIBGDATA=no])
 			if test "${HAVE_LIBGDATA}" != "yes" ; then
 				plugin_error_or_ignore "you need libgdata installed for the YouTube plugin"

Modified: trunk/src/plugins/youtube/totem-youtube.c
==============================================================================
--- trunk/src/plugins/youtube/totem-youtube.c	(original)
+++ trunk/src/plugins/youtube/totem-youtube.c	Thu Apr  2 19:10:14 2009
@@ -535,7 +535,7 @@
 	TParamData *data;
 
 	/* We have to get the t parameter from the actual HTML video page, since Google changed how their URIs work */
-	link = gdata_entry_lookup_link (entry, "alternate");
+	link = gdata_entry_look_up_link (entry, "alternate");
 	g_assert (link != NULL);
 
 	data = g_slice_new (TParamData);
@@ -862,7 +862,7 @@
 
 		/* Get the HTML page for the video; its <link rel="alternate" ... /> */
 		gtk_tree_model_get (model, &iter, 3, &video, -1);
-		link = gdata_entry_lookup_link (GDATA_ENTRY (video), "alternate");
+		link = gdata_entry_look_up_link (GDATA_ENTRY (video), "alternate");
 		g_object_unref (video);
 
 		/* Display the page */



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