Bug 291234. netwerk tests don't need to depend on GTK anymore. r+sr=dbaron,a=asa

This commit is contained in:
roc+%cs.cmu.edu 2005-04-21 20:59:15 +00:00
parent 0b9d1f7e2a
commit a2a26e1b5b
2 changed files with 0 additions and 14 deletions

View File

@ -86,7 +86,6 @@ LIBS = $(EXTRA_DSO_LIBS) \
$(MOZ_JS_LIBS) \
$(XPCOM_LIBS) \
$(NSPR_LIBS) \
$(TK_LIBS) \
$(NULL)
DEFINES += $(TK_CFLAGS)

View File

@ -37,21 +37,8 @@
#ifndef TestCommon_h__
#define TestCommon_h__
#if defined(MOZ_WIDGET_GTK) || defined(MOZ_WIDGET_GTK2)
#include <gtk/gtk.h>
#endif //MOZ_WIDGET_GTK || MOZ_WIDGET_GTK2
inline int test_common_init(int *argc, char ***argv)
{
#if defined(MOZ_WIDGET_GTK) || defined(MOZ_WIDGET_GTK2)
#if defined(MOZ_WIDGET_GTK)
gtk_set_locale();
#endif
gtk_init(argc, argv);
gtk_widget_set_default_visual(gdk_rgb_get_visual());
gtk_widget_set_default_colormap(gdk_rgb_get_cmap());
#endif /* MOZ_WIDGET_GTK || MOZ_WIDGET_GTK2 */
return 0;
}