Mercurial > audlegacy
diff src/audacious/ui_skinned_playlist.c @ 3755:2ca446f02d97
export the fileinfopopup API.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Sun, 14 Oct 2007 21:04:46 -0500 |
parents | 331bfc72ef66 |
children | 46591501603e |
line wrap: on
line diff
--- a/src/audacious/ui_skinned_playlist.c Sun Oct 14 19:38:49 2007 -0500 +++ b/src/audacious/ui_skinned_playlist.c Sun Oct 14 21:04:46 2007 -0500 @@ -164,7 +164,7 @@ g_object_set_data(G_OBJECT(playlist), "timer_id", GINT_TO_POINTER(0)); g_object_set_data(G_OBJECT(playlist), "timer_active", GINT_TO_POINTER(0)); - GtkWidget *popup = audacious_fileinfopopup_create(); + GtkWidget *popup = fileinfopopup_create(); g_object_set_data(G_OBJECT(playlist), "popup", popup); g_object_set_data(G_OBJECT(playlist), "popup_active", GINT_TO_POINTER(0)); g_object_set_data(G_OBJECT(playlist), "popup_position", GINT_TO_POINTER(-1)); @@ -1021,10 +1021,10 @@ tuple = playlist_get_tuple(pl_active, pos); if ((tuple == NULL) || (tuple_get_int(tuple, FIELD_LENGTH, NULL) < 1)) { gchar *title = playlist_get_songtitle(pl_active, pos); - audacious_fileinfopopup_show_from_title(popup, title); + fileinfopopup_show_from_title(popup, title); g_free(title); } else { - audacious_fileinfopopup_show_from_tuple(popup , tuple); + fileinfopopup_show_from_tuple(popup , tuple); } g_object_set_data(G_OBJECT(widget), "popup_active" , GINT_TO_POINTER(1)); } @@ -1037,7 +1037,7 @@ if (GPOINTER_TO_INT(g_object_get_data(G_OBJECT(widget), "popup_active")) == 1) { GtkWidget *popup = g_object_get_data(G_OBJECT(widget), "popup"); g_object_set_data(G_OBJECT(widget), "popup_active", GINT_TO_POINTER(0)); - audacious_fileinfopopup_hide(popup, NULL); + fileinfopopup_hide(popup, NULL); } }