From 042b26c417bdae6bf1c392bffe6838fb739536c3 Mon Sep 17 00:00:00 2001 From: jstebbins Date: Thu, 28 May 2015 14:57:25 +0000 Subject: LinGui: fix build error on ubuntu For some reason, fedora has "bool" type defined where ubuntu does not. Use gboolean. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7232 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- gtk/src/callbacks.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gtk/src/callbacks.c') diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c index dc2db46b1..2e0d36000 100644 --- a/gtk/src/callbacks.c +++ b/gtk/src/callbacks.c @@ -2204,7 +2204,7 @@ chapter_markers_changed_cb(GtkWidget *widget, signal_user_data_t *ud) GhbValue *dest; int start, end; - bool markers; + gboolean markers; dest = ghb_get_job_dest_settings(ud->settings); markers = ghb_dict_get_bool(ud->settings, "ChapterMarkers"); start = ghb_dict_get_int(ud->settings, "start_point"); @@ -2342,7 +2342,7 @@ start_point_changed_cb(GtkWidget *widget, signal_user_data_t *ud) gtk_widget_set_sensitive(widget, end > start); update_title_duration(ud); - bool markers; + gboolean markers; markers = ghb_dict_get_int(ud->settings, "ChapterMarkers"); markers &= (end > start); ghb_dict_set_bool(dest, "ChapterMarkers", markers); @@ -2406,7 +2406,7 @@ end_point_changed_cb(GtkWidget *widget, signal_user_data_t *ud) gtk_widget_set_sensitive(widget, end > start); update_title_duration(ud); - bool markers; + gboolean markers; markers = ghb_dict_get_int(ud->settings, "ChapterMarkers"); markers &= (end > start); ghb_dict_set_bool(dest, "ChapterMarkers", markers); -- cgit v1.2.3