[totem] Fix use of GSEALed API in the mythtv plugin
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] Fix use of GSEALed API in the mythtv plugin
- Date: Sun, 11 Jul 2010 00:08:42 +0000 (UTC)
commit 81081b9dc0dc02cb82a158358c0f829afd4e5cb3
Author: Philip Withnall <philip tecnocode co uk>
Date: Sat Jul 10 23:01:34 2010 +0100
Fix use of GSEALed API in the mythtv plugin
src/plugins/mythtv/totem-mythtv.c | 14 ++++++--------
1 files changed, 6 insertions(+), 8 deletions(-)
---
diff --git a/src/plugins/mythtv/totem-mythtv.c b/src/plugins/mythtv/totem-mythtv.c
index 36847ac..73de0ec 100644
--- a/src/plugins/mythtv/totem-mythtv.c
+++ b/src/plugins/mythtv/totem-mythtv.c
@@ -90,8 +90,6 @@ typedef struct
GType totem_mythtv_plugin_get_type (void) G_GNUC_CONST;
-
-static void totem_mythtv_plugin_init (TotemMythtvPlugin *plugin);
static void totem_mythtv_plugin_finalize (GObject *object);
TOTEM_PLUGIN_REGISTER(TOTEM_TYPE_MYTHTV_PLUGIN, TotemMythtvPlugin, totem_mythtv_plugin)
@@ -425,8 +423,8 @@ refresh_cb (GtkWidget *button, TotemMythtvPlugin *tm)
GtkTreeModel *model;
gtk_widget_set_sensitive (button, FALSE);
- totem_gdk_window_set_waiting_cursor (tm->sidebar_recordings->window);
- totem_gdk_window_set_waiting_cursor (tm->sidebar_livetv->window);
+ totem_gdk_window_set_waiting_cursor (gtk_widget_get_window (tm->sidebar_recordings));
+ totem_gdk_window_set_waiting_cursor (gtk_widget_get_window (tm->sidebar_livetv));
model = g_object_get_data (G_OBJECT (tm->sidebar_recordings), "model");
gtk_list_store_clear (GTK_LIST_STORE (model));
@@ -435,8 +433,8 @@ refresh_cb (GtkWidget *button, TotemMythtvPlugin *tm)
totem_mythtv_update_binfo (tm);
- gdk_window_set_cursor (tm->sidebar_recordings->window, NULL);
- gdk_window_set_cursor (tm->sidebar_livetv->window, NULL);
+ gdk_window_set_cursor (gtk_widget_get_window (tm->sidebar_recordings), NULL);
+ gdk_window_set_cursor (gtk_widget_get_window (tm->sidebar_livetv), NULL);
gtk_widget_set_sensitive (button, TRUE);
}
@@ -520,10 +518,10 @@ impl_activate (PeasActivatable *plugin,
/* FIXME we should only do that if it will be done in the background */
#if 0
- totem_gdk_window_set_waiting_cursor (box->window);
+ totem_gdk_window_set_waiting_cursor (gtk_widget_get_window (box);
totem_mythtv_list_recordings (TOTEM_MYTHTV_PLUGIN(plugin));
totem_mythtv_list_livetv (TOTEM_MYTHTV_PLUGIN(plugin));
- gdk_window_set_cursor (box->window, NULL);
+ gdk_window_set_cursor (gtk_widget_get_window (box), NULL);
#endif
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]