mario0alberto1 / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
0 stars 0 forks source link

1.0.4: gtk-3 compile failure #535

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./configure --enable-gtk3
2. make

What is the expected output? What do you see instead?
gui.o: In function `menuitem_config_callback':
/var/tmp/paludis/build/media-video-gnome-mplayer-1.0.4/work/gnome-mplayer-1.0.4/
src/gui.c:5076: undefined reference to `gtk_entry_set_editable'
collect2: ld returned 1 exit status

What version of the product are you using? On what operating system?
1.0.4, GNU/Linux

Original issue reported on code.google.com by pl.seid...@gmail.com on 2 Jul 2011 at 7:35

GoogleCodeExporter commented 8 years ago
maybe a fix

Original comment by pl.seid...@gmail.com on 2 Jul 2011 at 7:45

Attachments:

GoogleCodeExporter commented 8 years ago
Turns out this error only shows up when libasound is not found, you probably 
want this. So you should install the libasound-devel package.

I have also put this patch into SVN

Index: src/gui.c
===================================================================
--- src/gui.c   (revision 2143)
+++ src/gui.c   (working copy)
@@ -5073,7 +5073,7 @@
     gtk_spin_button_set_value(GTK_SPIN_BUTTON(config_volume), gm_pref_store_get_int(gm_store, VOLUME));
     gm_pref_store_free(gm_store);
     gtk_entry_set_width_chars(GTK_ENTRY(config_volume), 6);
-    gtk_entry_set_editable(GTK_ENTRY(config_volume), FALSE);
+    gtk_editable_set_editable(GTK_EDITABLE(config_volume), FALSE);
     gtk_entry_set_alignment(GTK_ENTRY(config_volume), 1);
     gtk_widget_show(config_volume);
     i++;

Original comment by kdeko...@gmail.com on 3 Jul 2011 at 1:08

GoogleCodeExporter commented 8 years ago
I've them installed but use pulse instead (--without-alsa --with-pulse), next 
time I will add such infomations.

Thanks for the fix!

Original comment by pl.seid...@gmail.com on 3 Jul 2011 at 2:15