diff options
author | jstebbins <[email protected]> | 2010-04-27 18:24:12 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-04-27 18:24:12 +0000 |
commit | 8e7e8e21ff68e9972b79cac98e95d6abe483ec48 (patch) | |
tree | 6c180666dc2fdee056f287708327461e93b6dec3 /gtk/src/main.c | |
parent | 2324f99d7e145625623e31be70dea6d705bed80a (diff) |
LinGui: drop dependency on hal, use udev instead
this means support for older linux versions is being dropped.
ubuntu 9.10 and above and fedora 12 and above are known to work.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3270 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/main.c')
-rw-r--r-- | gtk/src/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/src/main.c b/gtk/src/main.c index 3782efe95..20e9f8518 100644 --- a/gtk/src/main.c +++ b/gtk/src/main.c @@ -37,6 +37,7 @@ #if !defined(_WIN32) #include <gst/gst.h> #include <libnotify/notify.h> +#include <dbus/dbus-glib.h> #else #include <windows.h> #include <io.h> @@ -800,8 +801,9 @@ main (int argc, char *argv[]) ghb_load_icons(); #if !defined(_WIN32) - ghb_hal_init(); + dbus_g_thread_init(); #endif + ghb_udev_init(); ghb_write_pid_file(); ud = g_malloc0(sizeof(signal_user_data_t)); |