Mon, 18 Feb 2013 15:53:46 -0800
Fix a linker error when building with gtk3. Specifically:
gtkmenutray.o: In function `pidgin_menu_tray_class_init':
/home/dude/code/pidgin-main/pidgin/gtkmenutray.c:130: undefined reference to `gtk_item_get_type'
And I think we generally don't directly include gtk.h in our pidgin .c
files, right?
| pidgin/gtkmenutray.c | file | annotate | diff | comparison | revisions |
--- a/pidgin/gtkmenutray.c Mon Feb 18 15:41:48 2013 -0800 +++ b/pidgin/gtkmenutray.c Mon Feb 18 15:53:46 2013 -0800 @@ -17,12 +17,12 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ +#include "internal.h" + #include "debug.h" #include "gtkmenutray.h" -#include <gtk/gtk.h> - #include "gtk3compat.h" /******************************************************************************