summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.h
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>1998-12-19 22:27:03 +0000
committerOwen Taylor <otaylor@src.gnome.org>1998-12-19 22:27:03 +0000
commit651e2f744f4b6e8a1e4f7f8966eb5e92b8e1c73a (patch)
tree715edd8013b12be32cfee6c6ef78ad1be51cfcea /gtk/gtkmain.h
parent5225ae610541a6213efb4e59e3aaa2382f2013f3 (diff)
downloadgtk+-651e2f744f4b6e8a1e4f7f8966eb5e92b8e1c73a.tar.gz
Don't add the gthread libs to GLIB_LIBS either, or -lgthread -lpthread
Sat Dec 19 17:28:30 1998 Owen Taylor <otaylor@redhat.com> * configure.in: Don't add the gthread libs to GLIB_LIBS either, or -lgthread -lpthread will get pulled into all applications because of shlib deps. * gtk/gtkmain.h gtk/gtkwidget.c gtk/gtk gdk/gdk: Use GLIB's priority #define. Revise scale of priorities.
Diffstat (limited to 'gtk/gtkmain.h')
-rw-r--r--gtk/gtkmain.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h
index 69dda5a9db..3f742b5139 100644
--- a/gtk/gtkmain.h
+++ b/gtk/gtkmain.h
@@ -28,10 +28,17 @@
extern "C" {
#endif /* __cplusplus */
-#define GTK_PRIORITY_HIGH -20
-#define GTK_PRIORITY_INTERNAL -10
-#define GTK_PRIORITY_DEFAULT -5
-#define GTK_PRIORITY_LOW 10
+/* Priorities for redrawing and resizing
+ */
+#define GTK_PRIORITY_REDRAW (G_PRIORITY_HIGH_IDLE + 20)
+#define GTK_PRIORITY_RESIZE (G_PRIORITY_HIGH_IDLE + 10)
+
+/* Deprecated. Use G_PRIORITY #define's instead
+ */
+#define GTK_PRIORITY_HIGH G_PRIORITY_HIGH
+#define GTK_PRIORITY_INTERNAL GTK_PRIORITY_REDRAW
+#define GTK_PRIORITY_DEFAULT G_PRIORITY_DEFAULT_IDLE
+#define GTK_PRIORITY_LOW G_PRIORITY_LOW
typedef void (*GtkModuleInitFunc) (gint *argc,
gchar ***argv);