summaryrefslogtreecommitdiffstats
path: root/gtk/src/callbacks.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2015-05-28 14:57:25 +0000
committerjstebbins <[email protected]>2015-05-28 14:57:25 +0000
commit042b26c417bdae6bf1c392bffe6838fb739536c3 (patch)
treec0193864fd2efa7e0bd13c89cdf91b0c6faacf44 /gtk/src/callbacks.c
parent5d559114de4456ee4d2b7573bbfe350706e7d69e (diff)
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
Diffstat (limited to 'gtk/src/callbacks.c')
-rw-r--r--gtk/src/callbacks.c6
1 files changed, 3 insertions, 3 deletions
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);