File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ namespace pdfpc {
47
47
this . action = mapping. action. copy();
48
48
}
49
49
50
+ #if MOVIES
50
51
/**
51
52
* Find movie on the current slide by its filename; there seems to be
52
53
* no better way with the current Glib Poppler bindings.
@@ -71,6 +72,7 @@ namespace pdfpc {
71
72
72
73
return null ;
73
74
}
75
+ #endif
74
76
75
77
/**
76
78
* Create from the LinkMapping if the link is an internal link to a named
@@ -91,6 +93,7 @@ namespace pdfpc {
91
93
return new_obj as ActionMapping ;
92
94
}
93
95
break ;
96
+ #if MOVIES
94
97
case Poppler . ActionType . MOVIE:
95
98
unowned var movie_action = (Poppler . ActionMovie * ) mapping. action;
96
99
var movie = movie_action. movie;
@@ -100,6 +103,7 @@ namespace pdfpc {
100
103
return new_obj as ActionMapping ;
101
104
}
102
105
break ;
106
+ #endif
103
107
default:
104
108
break ;
105
109
}
@@ -167,6 +171,7 @@ namespace pdfpc {
167
171
this . controller. switch_to_slide_number(slide_number);
168
172
169
173
break ;
174
+ #if MOVIES
170
175
case Poppler . ActionType . MOVIE:
171
176
unowned var action = (Poppler . ActionMovie * ) this . action;
172
177
var movie = action. movie;
@@ -192,6 +197,7 @@ namespace pdfpc {
192
197
}
193
198
}
194
199
break ;
200
+ #endif
195
201
default:
196
202
return false ;
197
203
}
You can’t perform that action at this time.
0 commit comments