[gtk+] Remove framework initialization code
- From: John Ralls <jralls src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Remove framework initialization code
- Date: Sat, 11 May 2013 00:25:56 +0000 (UTC)
commit b75aa67bbe8ad8ea8901f00a4d57013363919dda
Author: John Ralls <jralls ceridwen us>
Date: Fri May 10 17:21:27 2013 -0700
Remove framework initialization code
This is left over from an old effort to bundle gtk and its dependencies
into a Mac OS X Framework. The effort was more or less successful but
proved difficult to maintain and impractical to use because gtk programs
don't use the special Framework include syntax.
gdk/quartz/gdkdisplay-quartz.c | 4 ----
gdk/quartz/gdkdisplaymanager-quartz.c | 1 -
2 files changed, 0 insertions(+), 5 deletions(-)
---
diff --git a/gdk/quartz/gdkdisplay-quartz.c b/gdk/quartz/gdkdisplay-quartz.c
index 3c1a022..bf0fcdd 100644
--- a/gdk/quartz/gdkdisplay-quartz.c
+++ b/gdk/quartz/gdkdisplay-quartz.c
@@ -345,8 +345,4 @@ gdk_quartz_display_class_init (GdkQuartzDisplayClass *class)
*/
TransformProcessType (&psn, kProcessTransformToForegroundApplication);
- /* Initialize GTK+ framework if there is one. */
- _gtk_quartz_framework_init_ptr = dlsym (RTLD_DEFAULT, "_gtk_quartz_framework_init");
- if (_gtk_quartz_framework_init_ptr)
- _gtk_quartz_framework_init_ptr ();
}
diff --git a/gdk/quartz/gdkdisplaymanager-quartz.c b/gdk/quartz/gdkdisplaymanager-quartz.c
index 0b772db..2058fcf 100644
--- a/gdk/quartz/gdkdisplaymanager-quartz.c
+++ b/gdk/quartz/gdkdisplaymanager-quartz.c
@@ -22,7 +22,6 @@
#include "config.h"
-#include <dlfcn.h>
#include <ApplicationServices/ApplicationServices.h>
#include "gdkquartzdisplay.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]