/pidgin/main: 20349cbb57a0: Fix a linker error when building wit...

Mark Doliner mark at kingant.net
Mon Feb 18 18:53:52 EST 2013


Changeset: 20349cbb57a02c8d094aa1ff11f81f5e41ad931e
Author:	 Mark Doliner <mark at kingant.net>
Date:	 2013-02-18 15:53 -0800
Branch:	 default
URL: http://hg.pidgin.im/pidgin/main/rev/20349cbb57a0

Description:

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?

diffstat:

 pidgin/gtkmenutray.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff --git a/pidgin/gtkmenutray.c b/pidgin/gtkmenutray.c
--- a/pidgin/gtkmenutray.c
+++ b/pidgin/gtkmenutray.c
@@ -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"
 
 /******************************************************************************



More information about the Commits mailing list