Mercurial > audlegacy
comparison audacious/ui_fileinfo.c @ 1956:fb61da4f4c23 trunk
[svn] - remove unused declaration "filepopup_pixbuf".
author | nenolod |
---|---|
date | Sat, 11 Nov 2006 14:03:41 -0800 |
parents | 597bd579d9af |
children | cf9329e4c2bd |
comparison
equal
deleted
inserted
replaced
1955:f6b058a10242 | 1956:fb61da4f4c23 |
---|---|
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 * GNU General Public License for more details. | 14 * GNU General Public License for more details. |
15 * | 15 * |
16 * You should have received a copy of the GNU General Public License | 16 * You should have received a copy of the GNU General Public License |
17 * along with this program; if not, write to the Free Software | 17 * along with this program; if not, write to the Free Software |
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
19 * 02110-1301, USA. | |
19 */ | 20 */ |
20 | 21 |
21 #ifdef HAVE_CONFIG_H | 22 #ifdef HAVE_CONFIG_H |
22 # include "config.h" | 23 # include "config.h" |
23 #endif | 24 #endif |
63 #include "ui_fileinfo.h" | 64 #include "ui_fileinfo.h" |
64 #include "ui_playlist.h" | 65 #include "ui_playlist.h" |
65 | 66 |
66 GtkWidget *fileinfo_win; | 67 GtkWidget *fileinfo_win; |
67 GtkWidget *filepopup_win; | 68 GtkWidget *filepopup_win; |
68 GdkPixbuf *filepopup_pixbuf; | |
69 | 69 |
70 static void | 70 static void |
71 fileinfo_entry_set_text(const char *entry, const char *text) | 71 fileinfo_entry_set_text(const char *entry, const char *text) |
72 { | 72 { |
73 GladeXML *xml = g_object_get_data(G_OBJECT(fileinfo_win), "glade-xml"); | 73 GladeXML *xml = g_object_get_data(G_OBJECT(fileinfo_win), "glade-xml"); |
102 int width, height; | 102 int width, height; |
103 double aspect; | 103 double aspect; |
104 | 104 |
105 if (xml == NULL || widget == NULL) | 105 if (xml == NULL || widget == NULL) |
106 return; | 106 return; |
107 | |
108 g_printf("fileinfo_entry_set_image: %s\n", text); | |
107 | 109 |
108 pixbuf = gdk_pixbuf_new_from_file(text, NULL); | 110 pixbuf = gdk_pixbuf_new_from_file(text, NULL); |
109 | 111 |
110 if (pixbuf == NULL) | 112 if (pixbuf == NULL) |
111 return; | 113 return; |