summaryrefslogtreecommitdiff
path: root/2023-11-21-142043-6427-1@768f2bbd2a11_master
diff options
context:
space:
mode:
authorraveit65 (via Travis CI) <[email protected]>2024-02-14 00:09:13 +0000
committerraveit65 (via Travis CI) <[email protected]>2024-02-14 00:09:13 +0000
commit30fe652caeb61c41de256d94f9d5b264bd8e6152 (patch)
tree6705406ff73ba02118df3b373af0440096ef94f5 /2023-11-21-142043-6427-1@768f2bbd2a11_master
downloadeom-30fe652caeb61c41de256d94f9d5b264bd8e6152.tar.bz2
eom-30fe652caeb61c41de256d94f9d5b264bd8e6152.tar.xz
Deploy mate-desktop/eom to github.com/mate-desktop/eom.git:gh-pagesgh-pages
Diffstat (limited to '2023-11-21-142043-6427-1@768f2bbd2a11_master')
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/index.html164
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-06e1b8.html864
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-1384bf.html3069
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-270b7d.html1126
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-3abb1a.html1164
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-4a64f5.html1018
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-56073d.html864
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-7315f5.html1126
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-84f082.html1348
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-931eff.html1126
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-9380a6.html1126
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-97b21d.html1126
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-982ff6.html1183
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-b791a9.html3178
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-d22e5d.html1812
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-d71e34.html3069
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-d7f8ad.html1018
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-e1a871.html6520
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-ebc41c.html1126
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f15e81.html1657
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f46d8d.html864
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f88495.html6520
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f92f6b.html1126
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/scanview.css62
-rw-r--r--2023-11-21-142043-6427-1@768f2bbd2a11_master/sorttable.js492
25 files changed, 42748 insertions, 0 deletions
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/index.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/index.html
new file mode 100644
index 0000000..b316543
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/index.html
@@ -0,0 +1,164 @@
+<html>
+<head>
+<title>rootdir - scan-build results</title>
+<link type="text/css" rel="stylesheet" href="scanview.css"/>
+<script src="sorttable.js"></script>
+<script language='javascript' type="text/javascript">
+function SetDisplay(RowClass, DisplayVal)
+{
+ var Rows = document.getElementsByTagName("tr");
+ for ( var i = 0 ; i < Rows.length; ++i ) {
+ if (Rows[i].className == RowClass) {
+ Rows[i].style.display = DisplayVal;
+ }
+ }
+}
+
+function CopyCheckedStateToCheckButtons(SummaryCheckButton) {
+ var Inputs = document.getElementsByTagName("input");
+ for ( var i = 0 ; i < Inputs.length; ++i ) {
+ if (Inputs[i].type == "checkbox") {
+ if(Inputs[i] != SummaryCheckButton) {
+ Inputs[i].checked = SummaryCheckButton.checked;
+ Inputs[i].onclick();
+ }
+ }
+ }
+}
+
+function returnObjById( id ) {
+ if (document.getElementById)
+ var returnVar = document.getElementById(id);
+ else if (document.all)
+ var returnVar = document.all[id];
+ else if (document.layers)
+ var returnVar = document.layers[id];
+ return returnVar;
+}
+
+var NumUnchecked = 0;
+
+function ToggleDisplay(CheckButton, ClassName) {
+ if (CheckButton.checked) {
+ SetDisplay(ClassName, "");
+ if (--NumUnchecked == 0) {
+ returnObjById("AllBugsCheck").checked = true;
+ }
+ }
+ else {
+ SetDisplay(ClassName, "none");
+ NumUnchecked++;
+ returnObjById("AllBugsCheck").checked = false;
+ }
+}
+</script>
+<!-- SUMMARYENDHEAD -->
+</head>
+<body>
+<h1>rootdir - scan-build results</h1>
+
+<table>
+<tr><th>User:</th><td>root@fcf50b7eb331</td></tr>
+<tr><th>Working Directory:</th><td>/rootdir</td></tr>
+<tr><th>Command Line:</th><td>make -j 3</td></tr>
+<tr><th>Clang Version:</th><td>clang version 17.0.4 (Fedora 17.0.4-1.fc39)
+</td></tr>
+<tr><th>Date:</th><td>Tue Nov 21 14:20:43 2023</td></tr>
+</table>
+<h2>Bug Summary</h2><table>
+<thead><tr><td>Bug Type</td><td>Quantity</td><td class="sorttable_nosort">Display?</td></tr></thead>
+<tr style="font-weight:bold"><td class="SUMM_DESC">All Bugs</td><td class="Q">22</td><td><center><input type="checkbox" id="AllBugsCheck" onClick="CopyCheckedStateToCheckButtons(this);" checked/></center></td></tr>
+<tr><th>API</th><th colspan=2></th></tr>
+<tr><td class="SUMM_DESC">Argument with 'nonnull' attribute passed null</td><td class="Q">1</td><td><center><input type="checkbox" onClick="ToggleDisplay(this,'bt_api_argument_with_nonnull_attribute_passed_null');" checked/></center></td></tr>
+<tr><th>Logic error</th><th colspan=2></th></tr>
+<tr><td class="SUMM_DESC">Cast from non-struct type to struct type</td><td class="Q">6</td><td><center><input type="checkbox" onClick="ToggleDisplay(this,'bt_logic_error_cast_from_non-struct_type_to_struct_type');" checked/></center></td></tr>
+<tr><td class="SUMM_DESC">Out-of-bound access</td><td class="Q">1</td><td><center><input type="checkbox" onClick="ToggleDisplay(this,'bt_logic_error_out-of-bound_access');" checked/></center></td></tr>
+<tr><td class="SUMM_DESC">Uninitialized argument value</td><td class="Q">1</td><td><center><input type="checkbox" onClick="ToggleDisplay(this,'bt_logic_error_uninitialized_argument_value');" checked/></center></td></tr>
+<tr><th>Unused code</th><th colspan=2></th></tr>
+<tr><td class="SUMM_DESC">Dead assignment</td><td class="Q">2</td><td><center><input type="checkbox" onClick="ToggleDisplay(this,'bt_unused_code_dead_assignment');" checked/></center></td></tr>
+<tr><td class="SUMM_DESC">Unreachable code</td><td class="Q">11</td><td><center><input type="checkbox" onClick="ToggleDisplay(this,'bt_unused_code_unreachable_code');" checked/></center></td></tr>
+</table>
+<h2>Reports</h2>
+
+<table class="sortable" style="table-layout:automatic">
+<thead><tr>
+ <td>Bug Group</td>
+ <td class="sorttable_sorted">Bug Type<span id="sorttable_sortfwdind">&nbsp;&#x25BE;</span></td>
+ <td>File</td>
+ <td>Function/Method</td>
+ <td class="Q">Line</td>
+ <td class="Q">Path Length</td>
+ <td class="sorttable_nosort"></td>
+ <!-- REPORTBUGCOL -->
+</tr></thead>
+<tbody>
+<tr class="bt_api_argument_with_nonnull_attribute_passed_null"><td class="DESC">API</td><td class="DESC">Argument with 'nonnull' attribute passed null</td><td>src/eom-image.c</td><td class="DESC">eom_image_real_load</td><td class="Q">956</td><td class="Q">25</td><td><a href="report-b791a9.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-b791a9.html" -->
+</tr>
+<tr class="bt_logic_error_cast_from_non-struct_type_to_struct_type"><td class="DESC">Logic error</td><td class="DESC">Cast from non-struct type to struct type</td><td>src/eom-scroll-view.c</td><td class="DESC">sv_rgba_to_string_mapping</td><td class="Q">1794</td><td class="Q">1</td><td><a href="report-1384bf.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-1384bf.html" -->
+</tr>
+<tr class="bt_logic_error_cast_from_non-struct_type_to_struct_type"><td class="DESC">Logic error</td><td class="DESC">Cast from non-struct type to struct type</td><td>src/eom-preferences-dialog.c</td><td class="DESC">pd_string_to_rgba_mapping</td><td class="Q">78</td><td class="Q">1</td><td><a href="report-4a64f5.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-4a64f5.html" -->
+</tr>
+<tr class="bt_logic_error_cast_from_non-struct_type_to_struct_type"><td class="DESC">Logic error</td><td class="DESC">Cast from non-struct type to struct type</td><td>src/eom-scroll-view.c</td><td class="DESC">sv_string_to_rgba_mapping</td><td class="Q">1774</td><td class="Q">1</td><td><a href="report-d71e34.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-d71e34.html" -->
+</tr>
+<tr class="bt_logic_error_cast_from_non-struct_type_to_struct_type"><td class="DESC">Logic error</td><td class="DESC">Cast from non-struct type to struct type</td><td>src/eom-preferences-dialog.c</td><td class="DESC">pd_rgba_to_string_mapping</td><td class="Q">99</td><td class="Q">1</td><td><a href="report-d7f8ad.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-d7f8ad.html" -->
+</tr>
+<tr class="bt_logic_error_cast_from_non-struct_type_to_struct_type"><td class="DESC">Logic error</td><td class="DESC">Cast from non-struct type to struct type</td><td>src/eom-window.c</td><td class="DESC">eom_window_cmd_edit_toolbar</td><td class="Q">2515</td><td class="Q">1</td><td><a href="report-e1a871.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-e1a871.html" -->
+</tr>
+<tr class="bt_logic_error_cast_from_non-struct_type_to_struct_type"><td class="DESC">Logic error</td><td class="DESC">Cast from non-struct type to struct type</td><td>src/eom-window.c</td><td class="DESC">eom_window_cmd_edit_toolbar</td><td class="Q">2513</td><td class="Q">1</td><td><a href="report-f88495.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-f88495.html" -->
+</tr>
+<tr class="bt_unused_code_dead_assignment"><td class="DESC">Unused code</td><td class="DESC">Dead assignment</td><td>cut-n-paste/toolbar-editor/egg-toolbar-editor.c</td><td class="DESC">update_editor_sheet</td><td class="Q">619</td><td class="Q">1</td><td><a href="report-84f082.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-84f082.html" -->
+</tr>
+<tr class="bt_unused_code_dead_assignment"><td class="DESC">Unused code</td><td class="DESC">Dead assignment</td><td>cut-n-paste/toolbar-editor/egg-toolbars-model.c</td><td class="DESC">egg_toolbars_model_to_xml</td><td class="Q">101</td><td class="Q">1</td><td><a href="report-f15e81.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-f15e81.html" -->
+</tr>
+<tr class="bt_logic_error_out-of-bound_access"><td class="DESC">Logic error</td><td class="DESC">Out-of-bound access</td><td>src/eom-util.c</td><td class="DESC">eom_util_filename_get_extension</td><td class="Q">299</td><td class="Q">6</td><td><a href="report-982ff6.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-982ff6.html" -->
+</tr>
+<tr class="bt_logic_error_uninitialized_argument_value"><td class="DESC">Logic error</td><td class="DESC">Uninitialized argument value</td><td>src/eom-print-preview.c</td><td class="DESC">key_press_event_cb</td><td class="Q">793</td><td class="Q">5</td><td><a href="report-d22e5d.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-d22e5d.html" -->
+</tr>
+<tr class="bt_unused_code_unreachable_code"><td class="DESC">Unused code</td><td class="DESC">Unreachable code</td><td>src/main.c</td><td class="DESC">main</td><td class="Q">169</td><td class="Q">1</td><td><a href="report-06e1b8.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-06e1b8.html" -->
+</tr>
+<tr class="bt_unused_code_unreachable_code"><td class="DESC">Unused code</td><td class="DESC">Unreachable code</td><td>src/eom-transform.c</td><td class="DESC">eom_transform_get_transform_type</td><td class="Q">398</td><td class="Q">1</td><td><a href="report-270b7d.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-270b7d.html" -->
+</tr>
+<tr class="bt_unused_code_unreachable_code"><td class="DESC">Unused code</td><td class="DESC">Unreachable code</td><td>src/eom-util.c</td><td class="DESC">eom_util_filename_get_extension</td><td class="Q">300</td><td class="Q">1</td><td><a href="report-3abb1a.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-3abb1a.html" -->
+</tr>
+<tr class="bt_unused_code_unreachable_code"><td class="DESC">Unused code</td><td class="DESC">Unreachable code</td><td>src/main.c</td><td class="DESC">main</td><td class="Q">178</td><td class="Q">1</td><td><a href="report-56073d.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-56073d.html" -->
+</tr>
+<tr class="bt_unused_code_unreachable_code"><td class="DESC">Unused code</td><td class="DESC">Unreachable code</td><td>src/eom-transform.c</td><td class="DESC">eom_transform_get_transform_type</td><td class="Q">415</td><td class="Q">1</td><td><a href="report-7315f5.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-7315f5.html" -->
+</tr>
+<tr class="bt_unused_code_unreachable_code"><td class="DESC">Unused code</td><td class="DESC">Unreachable code</td><td>src/eom-transform.c</td><td class="DESC">eom_transform_get_transform_type</td><td class="Q">423</td><td class="Q">1</td><td><a href="report-931eff.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-931eff.html" -->
+</tr>
+<tr class="bt_unused_code_unreachable_code"><td class="DESC">Unused code</td><td class="DESC">Unreachable code</td><td>src/eom-transform.c</td><td class="DESC">eom_transform_get_transform_type</td><td class="Q">409</td><td class="Q">1</td><td><a href="report-9380a6.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-9380a6.html" -->
+</tr>
+<tr class="bt_unused_code_unreachable_code"><td class="DESC">Unused code</td><td class="DESC">Unreachable code</td><td>src/eom-transform.c</td><td class="DESC">eom_transform_get_transform_type</td><td class="Q">393</td><td class="Q">1</td><td><a href="report-97b21d.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-97b21d.html" -->
+</tr>
+<tr class="bt_unused_code_unreachable_code"><td class="DESC">Unused code</td><td class="DESC">Unreachable code</td><td>src/eom-transform.c</td><td class="DESC">eom_transform_get_transform_type</td><td class="Q">403</td><td class="Q">1</td><td><a href="report-ebc41c.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-ebc41c.html" -->
+</tr>
+<tr class="bt_unused_code_unreachable_code"><td class="DESC">Unused code</td><td class="DESC">Unreachable code</td><td>src/main.c</td><td class="DESC">_print_version_and_exit</td><td class="Q">65</td><td class="Q">1</td><td><a href="report-f46d8d.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-f46d8d.html" -->
+</tr>
+<tr class="bt_unused_code_unreachable_code"><td class="DESC">Unused code</td><td class="DESC">Unreachable code</td><td>src/eom-transform.c</td><td class="DESC">eom_transform_get_transform_type</td><td class="Q">431</td><td class="Q">1</td><td><a href="report-f92f6b.html#EndPath">View Report</a></td>
+<!-- REPORTBUG id="report-f92f6b.html" -->
+</tr>
+</tbody>
+</table>
+
+</body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-06e1b8.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-06e1b8.html
new file mode 100644
index 0000000..3c4ba00
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-06e1b8.html
@@ -0,0 +1,864 @@
+<!doctype html>
+<html>
+<head>
+<title>main.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC This statement is never executed -->
+
+<!-- BUGTYPE Unreachable code -->
+
+<!-- BUGCATEGORY Unused code -->
+
+<!-- BUGFILE /rootdir/src/main.c -->
+
+<!-- FILENAME main.c -->
+
+<!-- FUNCTIONNAME main -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 06e1b8f1c2b00ee81cbd648b18281a26 -->
+
+<!-- BUGLINE 169 -->
+
+<!-- BUGCOLUMN 33 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/main.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 169, column 33</a><br />This statement is never executed</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name main.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I ../cut-n-paste/toolbar-editor -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -I /usr/include/gobject-introspection-1.0 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/sysprof-6 -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c main.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"169": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of Mate - Main</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2000-2006 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Author: Lucas Rocha &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* Based on code by:</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* - Federico Mena-Quintero &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* - Jens Finke &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include "config.h"</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_INTROSPECTION<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include &lt;girepository.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include "eom-session.h"</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='directive'>#include "eom-debug.h"</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#include "eom-thumbnail.h"</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#include "eom-job-queue.h"</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"><span class='directive'>#include "eom-application.h"</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#include "eom-application-internal.h"</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#include "eom-util.h"</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"><span class='directive'>#if <span class='macro'>HAVE_EXEMPI<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"><span class='directive'>#include &lt;exempi/xmp.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"><span class='keyword'>static</span> EomStartupFlags flags;</td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"><span class='keyword'>static</span> gboolean fullscreen = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='keyword'>static</span> gboolean slide_show = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"><span class='keyword'>static</span> gboolean disable_collection = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"><span class='keyword'>static</span> gboolean force_new_instance = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"><span class='keyword'>static</span> gchar **startup_files = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line">_print_version_and_exit (<span class='keyword'>const</span> gchar *option_name,</td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> <span class='keyword'>const</span> gchar *value,</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> gpointer data,</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> GError **error)</td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> g_print(<span class='string_literal'>"%s %s\n"</span>, <span class='macro'>_(<span class='string_literal'>"Eye of MATE Image Viewer"</span>)<span class='macro_popup'>gettext ("Eye of MATE Image Viewer")</span></span>, <span class='macro'>VERSION<span class='macro_popup'>"1.27.1"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> exit (<span class='macro'>EXIT_SUCCESS<span class='macro_popup'>0</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GOptionEntry goption_options[] =</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> { <span class='string_literal'>"fullscreen"</span>, 'f', 0, G_OPTION_ARG_NONE, &amp;fullscreen, <span class='macro'>N_(<span class='string_literal'>"Open in fullscreen mode"</span>)<span class='macro_popup'>("Open in fullscreen mode")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> { <span class='string_literal'>"disable-image-collection"</span>, 'c', 0, G_OPTION_ARG_NONE, &amp;disable_collection, <span class='macro'>N_(<span class='string_literal'>"Disable image collection"</span>)<span class='macro_popup'>("Disable image collection")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> { <span class='string_literal'>"slide-show"</span>, 's', 0, G_OPTION_ARG_NONE, &amp;slide_show, <span class='macro'>N_(<span class='string_literal'>"Open in slideshow mode"</span>)<span class='macro_popup'>("Open in slideshow mode")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> { <span class='string_literal'>"new-instance"</span>, 'n', 0, G_OPTION_ARG_NONE, &amp;force_new_instance, <span class='macro'>N_(<span class='string_literal'>"Start a new instance instead of reusing an existing one"</span>)<span class='macro_popup'>("Start a new instance instead of reusing an existing one")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> { <span class='string_literal'>"version"</span>, 0, G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK,</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> _print_version_and_exit, <span class='macro'>N_(<span class='string_literal'>"Show the application's version"</span>)<span class='macro_popup'>("Show the application's version")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>},</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> { <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> }</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line">set_startup_flags (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> <span class='keyword'>if</span> (fullscreen)</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> flags |= EOM_STARTUP_FULLSCREEN;</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>if</span> (disable_collection)</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> flags |= EOM_STARTUP_DISABLE_COLLECTION;</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> <span class='keyword'>if</span> (slide_show)</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> flags |= EOM_STARTUP_SLIDE_SHOW;</td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"><span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line">main (<span class='keyword'>int</span> argc, <span class='keyword'>char</span> **argv)</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> GOptionContext *ctx;</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> GFile *css_file;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> GtkCssProvider *provider;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"><span class='directive'>#ifdef <span class='macro'>ENABLE_NLS<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> bindtextdomain (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>, <span class='macro'>EOM_LOCALE_DIR<span class='macro_popup'>"/usr/local/share/locale"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> bind_textdomain_codeset (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>, <span class='string_literal'>"UTF-8"</span>);</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> textdomain (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"><span class='directive'>#endif /* ENABLE_NLS */</span></td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> gdk_set_allowed_backends (<span class='string_literal'>"wayland,x11"</span>);</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> ctx = g_option_context_new (<span class='macro'>_(<span class='string_literal'>"[FILE…]"</span>)<span class='macro_popup'>gettext ("[FILE…]")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> g_option_context_add_main_entries (ctx, goption_options, <span class='macro'>PACKAGE<span class='macro_popup'>"eom"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> <span class='comment'>/* Option groups are free'd together with the context</span></td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> <span class='comment'>* Using gtk_get_option_group here initializes gtk during parsing */</span></td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> g_option_context_add_group (ctx, gtk_get_option_group (<span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_INTROSPECTION<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> g_option_context_add_group (ctx, g_irepository_get_option_group ());</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> <span class='keyword'>if</span> (!g_option_context_parse (ctx, &amp;argc, &amp;argv, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> gchar *help_msg;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> <span class='comment'>/* I18N: The '%s' is replaced with eom's command name. */</span></td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> help_msg = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Run '%s --help' to see a full "<span class='macro_popup'>gettext ("Run '%s --help' to see a full " "list of available command line "<br> "options.")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> <span class='string_literal'><span class='macro'>"list of available command line "<span class='macro_popup'>gettext ("Run '%s --help' to see a full " "list of available command line "<br> "options.")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> <span class='string_literal'><span class='macro'>"options."</span>)<span class='macro_popup'>gettext ("Run '%s --help' to see a full " "list of available command line "<br> "options.")</span></span>, argv[0]);</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> g_printerr (<span class='string_literal'>"%s\n%s\n"</span>, error-&gt;message, help_msg);</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> g_free (help_msg);</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> g_option_context_free (ctx);</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> g_option_context_free (ctx);</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> set_startup_flags ();</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXEMPI<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> xmp_init();</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> eom_debug_init ();</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> eom_job_queue_init ();</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> eom_thumbnail_init ();</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> <span class='comment'>/* Load special style properties for EomThumbView's scrollbar */</span></td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> css_file = g_file_new_for_uri (<span class='string_literal'>"resource:///org/mate/eom/ui/eom.css"</span>);</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> provider = gtk_css_provider_new ();</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_UNLIKELY (!gtk_css_provider_load_from_file(provider,<span class='macro_popup'>(!gtk_css_provider_load_from_file(provider, css_file, &amp;error<br>))</span></span></td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> <span class='macro'>css_file,<span class='macro_popup'>(!gtk_css_provider_load_from_file(provider, css_file, &amp;error<br>))</span></span></td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> <span class='macro'>&amp;error))<span class='macro_popup'>(!gtk_css_provider_load_from_file(provider, css_file, &amp;error<br>))</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> g_critical (<span class='string_literal'>"Could not load CSS data: %s"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> gtk_style_context_add_provider_for_screen (</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> gdk_screen_get_default(),</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> <span class='macro'>GTK_STYLE_PROVIDER (provider)<span class='macro_popup'>((((GtkStyleProvider*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((provider)), ((gtk_style_provider_get_type (<br>)))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> <span class='macro'>GTK_STYLE_PROVIDER_PRIORITY_APPLICATION<span class='macro_popup'>600</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> g_object_unref (provider);</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> g_object_unref (css_file);</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> <span class='comment'>/* Add application specific icons to search path */</span></td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> <span class='macro'>EOM_DATA_DIR<span class='macro_popup'>"/usr/local/share/eom"</span></span> <span class='macro'>G_DIR_SEPARATOR_S<span class='macro_popup'>"/"</span></span> <span class='string_literal'>"icons"</span>);</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> gtk_window_set_default_icon_name (<span class='string_literal'>"eom"</span>);</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> g_set_application_name (<span class='macro'>_(<span class='string_literal'>"Eye of MATE Image Viewer"</span>)<span class='macro_popup'>gettext ("Eye of MATE Image Viewer")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>-&gt;priv-&gt;flags = flags;</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>if</span> (force_new_instance) {</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> GApplicationFlags app_flags = <span class="mrange">g_application_get_flags</span> (<span class='macro'>G_APPLICATION (EOM_APP)<span class='macro_popup'>((((GApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ()))), ((g_application_get_type<br> ()))))))</span></span>);</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:47ex">This statement is never executed</div></td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> app_flags |= G_APPLICATION_NON_UNIQUE;</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> g_application_set_flags (<span class='macro'>G_APPLICATION (EOM_APP)<span class='macro_popup'>((((GApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ()))), ((g_application_get_type<br> ()))))))</span></span>, app_flags);</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> g_application_run (<span class='macro'>G_APPLICATION (EOM_APP)<span class='macro_popup'>((((GApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ()))), ((g_application_get_type<br> ()))))))</span></span>, argc, argv);</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> g_object_unref (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>if</span> (startup_files)</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> g_strfreev (startup_files);</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXEMPI<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> xmp_terminate();</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> <span class='keyword'>return</span> 0;</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-1384bf.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-1384bf.html
new file mode 100644
index 0000000..44f427a
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-1384bf.html
@@ -0,0 +1,3069 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-scroll-view.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption -->
+
+<!-- BUGTYPE Cast from non-struct type to struct type -->
+
+<!-- BUGCATEGORY Logic error -->
+
+<!-- BUGFILE /rootdir/src/eom-scroll-view.c -->
+
+<!-- FILENAME eom-scroll-view.c -->
+
+<!-- FUNCTIONNAME sv_rgba_to_string_mapping -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 1384bf4ddc4fff0769a09d0af4fbb434 -->
+
+<!-- BUGLINE 1794 -->
+
+<!-- BUGCOLUMN 2 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-scroll-view.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 1794, column 2</a><br />Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-scroll-view.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-scroll-view.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"1794": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"><span class='directive'>#include &lt;math.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"><span class='directive'>#include &lt;gdk-pixbuf/gdk-pixbuf.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"><span class='directive'>#include &lt;gdk/gdkkeysyms.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_RSVG<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"><span class='directive'>#include &lt;librsvg/rsvg.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"><span class='directive'>#include "eom-config-keys.h"</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"><span class='directive'>#include "eom-enum-types.h"</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"><span class='directive'>#include "eom-marshal.h"</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"><span class='directive'>#include "eom-scroll-view.h"</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"><span class='directive'>#include "eom-debug.h"</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"><span class='directive'>#include "zoom.h"</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"><span class='directive'>#include &lt;gdk/gdk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"><span class='comment'>/* Scroll step increment */</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#define <span class='macro'>SCROLL_STEP_SIZE<span class='macro_popup'>32</span></span> 32</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"><span class='comment'>/* Maximum zoom factor */</span></td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#define <span class='macro'>MAX_ZOOM_FACTOR<span class='macro_popup'>20</span></span> 20</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#define <span class='macro'>MIN_ZOOM_FACTOR<span class='macro_popup'>0.02</span></span> 0.02</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#define <span class='macro'>CHECK_MEDIUM<span class='macro_popup'>8</span></span> 8</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#define <span class='macro'>CHECK_BLACK<span class='macro_popup'>"#000000"</span></span> "#000000"</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#define <span class='macro'>CHECK_GRAY<span class='macro_popup'>"#808080"</span></span> "#808080"</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#define <span class='macro'>CHECK_LIGHT<span class='macro_popup'>"#cccccc"</span></span> "#cccccc"</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='comment'>/* Default increment for zooming. The current zoom factor is multiplied or</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"> <span class='comment'>* divided by this amount on every zooming step. For consistency, you should</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"> <span class='comment'>* use the same value elsewhere in the program.</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#define <span class='macro'>IMAGE_VIEW_ZOOM_MULTIPLIER<span class='macro_popup'>1.05</span></span> 1.05</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"><span class='comment'>/* States for automatically adjusting the zoom factor */</span></td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"> ZOOM_MODE_FIT, <span class='comment'>/* Image is fitted to scroll view even if the latter changes size */</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"> ZOOM_MODE_FREE <span class='comment'>/* The image remains at its current zoom factor even if the scrollview changes size */</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line">} ZoomMode;</td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"><span class='comment'>/* Signal IDs */</span></td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> SIGNAL_ZOOM_CHANGED,</td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> SIGNAL_LAST</td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='keyword'>static</span> guint view_signals [SIGNAL_LAST] = { 0 };</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> EOM_SCROLL_VIEW_CURSOR_NORMAL,</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"> EOM_SCROLL_VIEW_CURSOR_HIDDEN,</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> EOM_SCROLL_VIEW_CURSOR_DRAG</td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line">} EomScrollViewCursor;</td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"><span class='comment'>/* Drag 'n Drop */</span></td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"><span class='keyword'>static</span> GtkTargetEntry target_table[] = {</td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"> { <span class='string_literal'>"text/uri-list"</span>, 0, 0},</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"><span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> PROP_0,</td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> PROP_ANTIALIAS_IN,</td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> PROP_ANTIALIAS_OUT,</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> PROP_BACKGROUND_COLOR,</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> PROP_IMAGE,</td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> PROP_SCROLLWHEEL_ZOOM,</td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> PROP_TRANSP_COLOR,</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> PROP_TRANSPARENCY_STYLE,</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> PROP_USE_BG_COLOR,</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> PROP_ZOOM_MULTIPLIER</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"><span class='comment'>/* Private part of the EomScrollView structure */</span></td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"><span class='keyword'>struct</span> _EomScrollViewPrivate {</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> <span class='comment'>/* some widgets we rely on */</span></td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> GtkWidget *display;</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> GtkAdjustment *hadj;</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> GtkAdjustment *vadj;</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> GtkWidget *hbar;</td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> GtkWidget *vbar;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> GtkWidget *menu;</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> <span class='comment'>/* actual image */</span></td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> gulong image_changed_id;</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> gulong frame_changed_id;</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> GdkPixbuf *pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> cairo_surface_t *surface;</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> <span class='comment'>/* scale factor */</span></td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> gint scale;</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> <span class='comment'>/* zoom mode, either ZOOM_MODE_FIT or ZOOM_MODE_FREE */</span></td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> ZoomMode zoom_mode;</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> <span class='comment'>/* whether to allow zoom &gt; 1.0 on zoom fit */</span></td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> gboolean upscale;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> <span class='comment'>/* the actual zoom factor */</span></td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> <span class='keyword'>double</span> zoom;</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> <span class='comment'>/* the minimum possible (reasonable) zoom factor */</span></td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> <span class='keyword'>double</span> min_zoom;</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> <span class='comment'>/* Current scrolling offsets */</span></td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> <span class='keyword'>int</span> xofs, yofs;</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> <span class='comment'>/* handler ID for paint idle callback */</span></td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> guint idle_id;</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> <span class='comment'>/* Interpolation type when zoomed in*/</span></td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> cairo_filter_t interp_type_in;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> <span class='comment'>/* Interpolation type when zoomed out*/</span></td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> cairo_filter_t interp_type_out;</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> <span class='comment'>/* Scroll wheel zoom */</span></td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> gboolean scroll_wheel_zoom;</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> <span class='comment'>/* Scroll wheel zoom */</span></td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> gdouble zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> <span class='comment'>/* dragging stuff */</span></td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> <span class='keyword'>int</span> drag_anchor_x, drag_anchor_y;</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> <span class='keyword'>int</span> drag_ofs_x, drag_ofs_y;</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> guint dragging : 1;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> <span class='comment'>/* how to indicate transparency in images */</span></td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> EomTransparencyStyle transp_style;</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> GdkRGBA transp_color;</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> <span class='comment'>/* the type of the cursor we are currently showing */</span></td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> EomScrollViewCursor cursor;</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> gboolean use_bg_color;</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> GdkRGBA *background_color;</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> GdkRGBA *override_bg_color;</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> cairo_surface_t *background_surface;</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> <span class='comment'>/* Two-pass filtering */</span></td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> GSource *hq_redraw_timeout_source;</td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> gboolean force_unfiltered;</td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> scroll_by (EomScrollView *view, <span class='keyword'>int</span> xofs, <span class='keyword'>int</span> yofs);</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> set_zoom_fit (EomScrollView *view);</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"><span class='comment'>/* static void request_paint_area (EomScrollView *view, GdkRectangle *area); */</span></td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> set_minimum_zoom_factor (EomScrollView *view);</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> view_on_drag_begin_cb (GtkWidget *widget, GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> view_on_drag_data_get_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> GdkDragContext*drag_context,</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> GtkSelectionData *data, guint info,</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> guint time, gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"><span class='keyword'>static</span> gboolean _eom_gdk_rgba_equal0 (<span class='keyword'>const</span> GdkRGBA *a, <span class='keyword'>const</span> GdkRGBA *b);</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EomScrollView, eom_scroll_view, GTK_TYPE_GRID)<span class='macro_popup'>static void eom_scroll_view_init (EomScrollView *self); static<br> void eom_scroll_view_class_init (EomScrollViewClass *klass);<br> static GType eom_scroll_view_get_type_once (void); static gpointer<br> eom_scroll_view_parent_class = ((void*)0); static gint EomScrollView_private_offset<br>; static void eom_scroll_view_class_intern_init (gpointer klass<br>) { eom_scroll_view_parent_class = g_type_class_peek_parent (<br>klass); if (EomScrollView_private_offset != 0) g_type_class_adjust_private_offset<br> (klass, &amp;EomScrollView_private_offset); eom_scroll_view_class_init<br> ((EomScrollViewClass*) klass); } __attribute__ ((__unused__)<br>) static inline gpointer eom_scroll_view_get_instance_private<br> (EomScrollView *self) { return (((gpointer) ((guint8*) (self<br>) + (glong) (EomScrollView_private_offset)))); } GType eom_scroll_view_get_type<br> (void) { static gsize static_g_define_type_id = 0; if ((__extension__<br> ({ _Static_assert (sizeof *(&amp;static_g_define_type_id) ==<br> sizeof (gpointer), "Expression evaluates to false"); (void) (<br>0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0));<br> (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = eom_scroll_view_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType eom_scroll_view_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> ((gtk_grid_get_type ()), g_intern_static_string ("EomScrollView"<br>), sizeof (EomScrollViewClass), (GClassInitFunc)(void (*)(void<br>)) eom_scroll_view_class_intern_init, sizeof (EomScrollView),<br> (GInstanceInitFunc)(void (*)(void)) eom_scroll_view_init, (GTypeFlags<br>) 0); { {{ EomScrollView_private_offset = g_type_add_instance_private<br> (g_define_type_id, sizeof (EomScrollViewPrivate)); };} } return<br> g_define_type_id; }</span></span></td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"><span class='comment'>/*===================================</span></td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='comment'>widget size changing handler &amp;</span></td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='comment'>util functions</span></td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> <span class='comment'>---------------------------------*/</span></td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"><span class='keyword'>static</span> cairo_surface_t *</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line">create_surface_from_pixbuf (EomScrollView *view, GdkPixbuf *pixbuf)</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> cairo_surface_t *surface;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> surface = gdk_cairo_surface_create_from_pixbuf (pixbuf,</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> view-&gt;priv-&gt;scale,</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> gtk_widget_get_window (view-&gt;priv-&gt;display));</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> <span class='keyword'>return</span> surface;</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"><span class='comment'>/* Disconnects from the EomImage and removes references to it */</span></td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line">free_image_resources (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"><span class='directive'>#if <span class='macro'>GLIB_CHECK_VERSION(2,62,0)<span class='macro_popup'>(2 &gt; (2) || (2 == (2) &amp;&amp; 78 &gt; (62)) || (2 == (2<br>) &amp;&amp; 78 == (62) &amp;&amp; 1 &gt;= (0)))</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> <span class='macro'>g_clear_signal_handler (&amp;priv-&gt;image_changed_id, priv-&gt;image)<span class='macro_popup'>do { gpointer const _instance = (priv-&gt;image); gulong *const<br> _handler_id_ptr = (&amp;priv-&gt;image_changed_id); const gulong<br> _handler_id = *_handler_id_ptr; if (_handler_id &gt; 0) { *_handler_id_ptr<br> = 0; g_signal_handler_disconnect (_instance, _handler_id); }<br> } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> <span class='macro'>g_clear_signal_handler (&amp;priv-&gt;frame_changed_id, priv-&gt;image)<span class='macro_popup'>do { gpointer const _instance = (priv-&gt;image); gulong *const<br> _handler_id_ptr = (&amp;priv-&gt;frame_changed_id); const gulong<br> _handler_id = *_handler_id_ptr; if (_handler_id &gt; 0) { *_handler_id_ptr<br> = 0; g_signal_handler_disconnect (_instance, _handler_id); }<br> } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"><span class='directive'>#else</span></td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image_changed_id != 0) {</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> g_signal_handler_disconnect (priv-&gt;image, priv-&gt;image_changed_id);</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> priv-&gt;image_changed_id = 0;</td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;frame_changed_id != 0) {</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> g_signal_handler_disconnect (priv-&gt;image, priv-&gt;frame_changed_id);</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> priv-&gt;frame_changed_id = 0;</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> eom_image_data_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> priv-&gt;image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> g_object_unref (priv-&gt;pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> priv-&gt;pixbuf = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;surface !=<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> cairo_surface_destroy (priv-&gt;surface);</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> priv-&gt;surface = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"><span class='comment'>/* Computes the size in pixels of the scaled image */</span></td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line">compute_scaled_size (EomScrollView *view, <span class='keyword'>double</span> zoom, <span class='keyword'>int</span> *width, <span class='keyword'>int</span> *height)</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf) {</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> *width = floor (gdk_pixbuf_get_width (priv-&gt;pixbuf) / priv-&gt;scale * zoom + 0.5);</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> *height = floor (gdk_pixbuf_get_height (priv-&gt;pixbuf) / priv-&gt;scale * zoom + 0.5);</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> *width = *height = 0;</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"><span class='comment'>/* Computes the offsets for the new zoom value so that they keep the image</span></td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> <span class='comment'>* centered on the view.</span></td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line">compute_center_zoom_offsets (EomScrollView *view,</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> <span class='keyword'>double</span> old_zoom, <span class='keyword'>double</span> new_zoom,</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> <span class='keyword'>int</span> width, <span class='keyword'>int</span> height,</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> <span class='keyword'>double</span> zoom_x_anchor, <span class='keyword'>double</span> zoom_y_anchor,</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> <span class='keyword'>int</span> *xofs, <span class='keyword'>int</span> *yofs)</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> <span class='keyword'>int</span> old_scaled_width, old_scaled_height;</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='keyword'>int</span> new_scaled_width, new_scaled_height;</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> <span class='keyword'>double</span> view_cx, view_cy;</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> compute_scaled_size (view, old_zoom,</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> &amp;old_scaled_width, &amp;old_scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='keyword'>if</span> (old_scaled_width &lt; width)</td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> view_cx = (zoom_x_anchor * old_scaled_width) / old_zoom;</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> view_cx = (priv-&gt;xofs + zoom_x_anchor * width) / old_zoom;</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='keyword'>if</span> (old_scaled_height &lt; height)</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> view_cy = (zoom_y_anchor * old_scaled_height) / old_zoom;</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> view_cy = (priv-&gt;yofs + zoom_y_anchor * height) / old_zoom;</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> compute_scaled_size (view, new_zoom,</td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> &amp;new_scaled_width, &amp;new_scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> <span class='keyword'>if</span> (new_scaled_width &lt; width)</td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> *xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> *xofs = floor (view_cx * new_zoom - zoom_x_anchor * width + 0.5);</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> <span class='keyword'>if</span> (*xofs &lt; 0)</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> *xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> <span class='keyword'>if</span> (new_scaled_height &lt; height)</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> *yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> *yofs = floor (view_cy * new_zoom - zoom_y_anchor * height + 0.5);</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> <span class='keyword'>if</span> (*yofs &lt; 0)</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> *yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"><span class='comment'>/* Sets the scrollbar values based on the current scrolling offset */</span></td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line">update_scrollbar_values (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> <span class='keyword'>int</span> scaled_width, scaled_height;</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> gdouble page_size,page_increment,step_increment;</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> gdouble lower, upper;</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_visible (priv-&gt;hbar)</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> &amp;&amp; !gtk_widget_get_visible (priv-&gt;vbar))</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> compute_scaled_size (view, priv-&gt;zoom, &amp;scaled_width, &amp;scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> gtk_widget_get_allocation (priv-&gt;display, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_visible (priv-&gt;hbar)) {</td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> <span class='comment'>/* Set scroll increments */</span></td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> page_size = <span class='macro'>MIN (scaled_width, allocation.width)<span class='macro_popup'>(((scaled_width) &lt; (allocation.width)) ? (scaled_width) : (<br>allocation.width))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> page_increment = allocation.width / 2;</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> step_increment = <span class='macro'>SCROLL_STEP_SIZE<span class='macro_popup'>32</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> <span class='comment'>/* Set scroll bounds and new offsets */</span></td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"> lower = 0;</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> upper = scaled_width;</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> priv-&gt;xofs = <span class='macro'>CLAMP (priv-&gt;xofs, 0, upper - page_size)<span class='macro_popup'>(((priv-&gt;xofs) &gt; (upper - page_size)) ? (upper - page_size<br>) : (((priv-&gt;xofs) &lt; (0)) ? (0) : (priv-&gt;xofs)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> g_signal_handlers_block_matched (</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> priv-&gt;hadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> gtk_adjustment_configure (priv-&gt;hadj, priv-&gt;xofs, lower,</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> upper, step_increment,</td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> page_increment, page_size);</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> g_signal_handlers_unblock_matched (</td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> priv-&gt;hadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_visible (priv-&gt;vbar)) {</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> page_size = <span class='macro'>MIN (scaled_height, allocation.height)<span class='macro_popup'>(((scaled_height) &lt; (allocation.height)) ? (scaled_height)<br> : (allocation.height))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> page_increment = allocation.height / 2;</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> step_increment = <span class='macro'>SCROLL_STEP_SIZE<span class='macro_popup'>32</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> lower = 0;</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> upper = scaled_height;</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> priv-&gt;yofs = <span class='macro'>CLAMP (priv-&gt;yofs, 0, upper - page_size)<span class='macro_popup'>(((priv-&gt;yofs) &gt; (upper - page_size)) ? (upper - page_size<br>) : (((priv-&gt;yofs) &lt; (0)) ? (0) : (priv-&gt;yofs)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> g_signal_handlers_block_matched (</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> priv-&gt;vadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> gtk_adjustment_configure (priv-&gt;vadj, priv-&gt;yofs, lower,</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> upper, step_increment,</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> page_increment, page_size);</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> g_signal_handlers_unblock_matched (</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> priv-&gt;vadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line">eom_scroll_view_set_cursor (EomScrollView *view, EomScrollViewCursor new_cursor)</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> GdkCursor *cursor = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> GdkDisplay *display;</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> GtkWidget *widget;</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> <span class='keyword'>if</span> (view-&gt;priv-&gt;cursor == new_cursor) {</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> widget = gtk_widget_get_toplevel (<span class='macro'>GTK_WIDGET (view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> display = gtk_widget_get_display (widget);</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> view-&gt;priv-&gt;cursor = new_cursor;</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='keyword'>switch</span> (new_cursor) {</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> <span class='keyword'>case</span> EOM_SCROLL_VIEW_CURSOR_NORMAL:</td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> gdk_window_set_cursor (gtk_widget_get_window (widget), <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>case</span> EOM_SCROLL_VIEW_CURSOR_HIDDEN:</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> cursor = gdk_cursor_new_for_display (display, GDK_BLANK_CURSOR);</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> <span class='keyword'>case</span> EOM_SCROLL_VIEW_CURSOR_DRAG:</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> cursor = gdk_cursor_new_for_display (display, GDK_FLEUR);</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> <span class='keyword'>if</span> (cursor) {</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> gdk_window_set_cursor (gtk_widget_get_window (widget), cursor);</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"> g_object_unref (cursor);</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> gdk_display_flush (display);</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"><span class='comment'>/* Changes visibility of the scrollbars based on the zoom factor and the</span></td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> <span class='comment'>* specified allocation, or the current allocation if NULL is specified.</span></td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line">check_scrollbar_visibility (EomScrollView *view, GtkAllocation *alloc)</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> <span class='keyword'>int</span> bar_height;</td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> <span class='keyword'>int</span> bar_width;</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> <span class='keyword'>int</span> img_width;</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> <span class='keyword'>int</span> img_height;</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> GtkRequisition req;</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> <span class='keyword'>int</span> width, height;</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> gboolean hbar_visible, vbar_visible;</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> <span class='keyword'>if</span> (alloc) {</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> width = alloc-&gt;width;</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> height = alloc-&gt;height;</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> gtk_widget_get_allocation (<span class='macro'>GTK_WIDGET (view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_widget_get_type ()))))))</span></span>, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> width = allocation.width;</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> height = allocation.height;</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> compute_scaled_size (view, priv-&gt;zoom, &amp;img_width, &amp;img_height);</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> <span class='comment'>/* this should work fairly well in this special case for scrollbars */</span></td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> gtk_widget_get_preferred_size (priv-&gt;hbar, &amp;req, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> bar_height = req.height;</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> gtk_widget_get_preferred_size (priv-&gt;vbar, &amp;req, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> bar_width = req.width;</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-scroll-view.c", 424, ((const char*) (__func__<br>))</span></span>, <span class='string_literal'>"Widget Size allocate: %i, %i Bar: %i, %i\n"</span>,</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> width, height, bar_width, bar_height);</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> hbar_visible = vbar_visible = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;zoom_mode == ZOOM_MODE_FIT)</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> hbar_visible = vbar_visible = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (img_width &lt;= width &amp;&amp; img_height &lt;= height)</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> hbar_visible = vbar_visible = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (img_width &gt; width &amp;&amp; img_height &gt; height)</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> hbar_visible = vbar_visible = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (img_width &gt; width) {</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> hbar_visible = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> <span class='keyword'>if</span> (img_height &lt;= (height - bar_height))</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> vbar_visible = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> vbar_visible = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (img_height &gt; height) {</td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> vbar_visible = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> <span class='keyword'>if</span> (img_width &lt;= (width - bar_width))</td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> hbar_visible = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> hbar_visible = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> <span class='keyword'>if</span> (hbar_visible != gtk_widget_get_visible (priv-&gt;hbar))</td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (priv-&gt;hbar)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;hbar)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"visible"</span>, hbar_visible, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> <span class='keyword'>if</span> (vbar_visible != gtk_widget_get_visible (priv-&gt;vbar))</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (priv-&gt;vbar)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;vbar)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"visible"</span>, vbar_visible, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span> 1e-6</span></td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL(a,b)<span class='macro_popup'>(fabs (a - b) &lt; 1e-6)</span></span> (fabs (a - b) &lt; <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"><span class='comment'>/* Returns whether the image is zoomed in */</span></td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line">is_zoomed_in (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"> <span class='keyword'>return</span> priv-&gt;zoom - 1.0 &gt; <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"><span class='comment'>/* Returns whether the image is zoomed out */</span></td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line">is_zoomed_out (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span> + priv-&gt;zoom - 1.0 &lt; 0.0;</td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"><span class='comment'>/* Returns wether the image is movable, that means if it is larger then</span></td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> <span class='comment'>* the actual visible area.</span></td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line">is_image_movable (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line"> <span class='keyword'>return</span> (gtk_widget_get_visible (priv-&gt;hbar) || gtk_widget_get_visible (priv-&gt;vbar));</td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line"><span class='comment'>/*===================================</span></td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line"> <span class='comment'>drawing core</span></td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line"> <span class='comment'>---------------------------------*/</span></td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line">get_transparency_params (EomScrollView *view, <span class='keyword'>int</span> *size, GdkRGBA *color1, GdkRGBA *color2)</td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> <span class='comment'>/* Compute transparency parameters */</span></td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line"> <span class='keyword'>switch</span> (priv-&gt;transp_style) {</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSP_BACKGROUND: {</td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"> <span class='comment'>/* Simply return fully transparent color */</span></td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line"> color1-&gt;red = color1-&gt;green = color1-&gt;blue = color1-&gt;alpha = 0.0;</td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> color2-&gt;red = color2-&gt;green = color2-&gt;blue = color2-&gt;alpha = 0.0;</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSP_CHECKED:</td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> <span class='macro'>g_warn_if_fail (gdk_rgba_parse (color1, CHECK_GRAY))<span class='macro_popup'>do { if (gdk_rgba_parse (color1, "#808080")) ; else g_warn_message<br> ("EOM", "eom-scroll-view.c", 513, ((const char*) (__func__))<br>, "gdk_rgba_parse (color1, CHECK_GRAY)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> <span class='macro'>g_warn_if_fail (gdk_rgba_parse (color2, CHECK_LIGHT))<span class='macro_popup'>do { if (gdk_rgba_parse (color2, "#cccccc")) ; else g_warn_message<br> ("EOM", "eom-scroll-view.c", 514, ((const char*) (__func__))<br>, "gdk_rgba_parse (color2, CHECK_LIGHT)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSP_COLOR:</td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"> *color1 = *color2 = priv-&gt;transp_color;</td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> <span class='macro'>g_assert_not_reached ()<span class='macro_popup'>do { g_assertion_message_expr ("EOM", "eom-scroll-view.c", 522<br>, ((const char*) (__func__)), ((void*)0)); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> };</td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> *size = <span class='macro'>CHECK_MEDIUM<span class='macro_popup'>8</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"><span class='keyword'>static</span> cairo_surface_t *</td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line">create_background_surface (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="531"><td class="num" id="LN531">531</td><td class="line"> <span class='keyword'>int</span> check_size;</td></tr>
+<tr class="codeline" data-linenumber="532"><td class="num" id="LN532">532</td><td class="line"> GdkRGBA check_1;</td></tr>
+<tr class="codeline" data-linenumber="533"><td class="num" id="LN533">533</td><td class="line"> GdkRGBA check_2;</td></tr>
+<tr class="codeline" data-linenumber="534"><td class="num" id="LN534">534</td><td class="line"> cairo_surface_t *surface;</td></tr>
+<tr class="codeline" data-linenumber="535"><td class="num" id="LN535">535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="536"><td class="num" id="LN536">536</td><td class="line"> get_transparency_params (view, &amp;check_size, &amp;check_1, &amp;check_2);</td></tr>
+<tr class="codeline" data-linenumber="537"><td class="num" id="LN537">537</td><td class="line"> surface = gdk_window_create_similar_surface (gtk_widget_get_window (view-&gt;priv-&gt;display),</td></tr>
+<tr class="codeline" data-linenumber="538"><td class="num" id="LN538">538</td><td class="line"> CAIRO_CONTENT_COLOR_ALPHA,</td></tr>
+<tr class="codeline" data-linenumber="539"><td class="num" id="LN539">539</td><td class="line"> check_size * 2, check_size * 2);</td></tr>
+<tr class="codeline" data-linenumber="540"><td class="num" id="LN540">540</td><td class="line"> cairo_t* cr = cairo_create (surface);</td></tr>
+<tr class="codeline" data-linenumber="541"><td class="num" id="LN541">541</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="542"><td class="num" id="LN542">542</td><td class="line"> <span class='comment'>/* Use source operator to make fully transparent work */</span></td></tr>
+<tr class="codeline" data-linenumber="543"><td class="num" id="LN543">543</td><td class="line"> cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);</td></tr>
+<tr class="codeline" data-linenumber="544"><td class="num" id="LN544">544</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="545"><td class="num" id="LN545">545</td><td class="line"> gdk_cairo_set_source_rgba(cr, &amp;check_1);</td></tr>
+<tr class="codeline" data-linenumber="546"><td class="num" id="LN546">546</td><td class="line"> cairo_rectangle (cr, 0, 0, check_size, check_size);</td></tr>
+<tr class="codeline" data-linenumber="547"><td class="num" id="LN547">547</td><td class="line"> cairo_rectangle (cr, check_size, check_size, check_size, check_size);</td></tr>
+<tr class="codeline" data-linenumber="548"><td class="num" id="LN548">548</td><td class="line"> cairo_fill (cr);</td></tr>
+<tr class="codeline" data-linenumber="549"><td class="num" id="LN549">549</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="550"><td class="num" id="LN550">550</td><td class="line"> gdk_cairo_set_source_rgba(cr, &amp;check_2);</td></tr>
+<tr class="codeline" data-linenumber="551"><td class="num" id="LN551">551</td><td class="line"> cairo_rectangle (cr, 0, check_size, check_size, check_size);</td></tr>
+<tr class="codeline" data-linenumber="552"><td class="num" id="LN552">552</td><td class="line"> cairo_rectangle (cr, check_size, 0, check_size, check_size);</td></tr>
+<tr class="codeline" data-linenumber="553"><td class="num" id="LN553">553</td><td class="line"> cairo_fill (cr);</td></tr>
+<tr class="codeline" data-linenumber="554"><td class="num" id="LN554">554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="555"><td class="num" id="LN555">555</td><td class="line"> cairo_destroy (cr);</td></tr>
+<tr class="codeline" data-linenumber="556"><td class="num" id="LN556">556</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="557"><td class="num" id="LN557">557</td><td class="line"> <span class='keyword'>return</span> surface;</td></tr>
+<tr class="codeline" data-linenumber="558"><td class="num" id="LN558">558</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="559"><td class="num" id="LN559">559</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="560"><td class="num" id="LN560">560</td><td class="line"><span class='comment'>/* =======================================</span></td></tr>
+<tr class="codeline" data-linenumber="561"><td class="num" id="LN561">561</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="562"><td class="num" id="LN562">562</td><td class="line"> <span class='comment'>scrolling stuff</span></td></tr>
+<tr class="codeline" data-linenumber="563"><td class="num" id="LN563">563</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="564"><td class="num" id="LN564">564</td><td class="line"> <span class='comment'>--------------------------------------*/</span></td></tr>
+<tr class="codeline" data-linenumber="565"><td class="num" id="LN565">565</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="566"><td class="num" id="LN566">566</td><td class="line"><span class='comment'>/* Scrolls the view to the specified offsets. */</span></td></tr>
+<tr class="codeline" data-linenumber="567"><td class="num" id="LN567">567</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="568"><td class="num" id="LN568">568</td><td class="line">scroll_to (EomScrollView *view, <span class='keyword'>int</span> x, <span class='keyword'>int</span> y, gboolean change_adjustments)</td></tr>
+<tr class="codeline" data-linenumber="569"><td class="num" id="LN569">569</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="570"><td class="num" id="LN570">570</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="571"><td class="num" id="LN571">571</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="572"><td class="num" id="LN572">572</td><td class="line"> <span class='keyword'>int</span> xofs, yofs;</td></tr>
+<tr class="codeline" data-linenumber="573"><td class="num" id="LN573">573</td><td class="line"> GdkWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="574"><td class="num" id="LN574">574</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="575"><td class="num" id="LN575">575</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="576"><td class="num" id="LN576">576</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="577"><td class="num" id="LN577">577</td><td class="line"> <span class='comment'>/* Check bounds &amp; Compute offsets */</span></td></tr>
+<tr class="codeline" data-linenumber="578"><td class="num" id="LN578">578</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_visible (priv-&gt;hbar)) {</td></tr>
+<tr class="codeline" data-linenumber="579"><td class="num" id="LN579">579</td><td class="line"> x = <span class='macro'>CLAMP (x, 0, gtk_adjustment_get_upper (priv-&gt;hadj)<span class='macro_popup'>(((x) &gt; (gtk_adjustment_get_upper (priv-&gt;hadj) - gtk_adjustment_get_page_size<br> (priv-&gt;hadj))) ? (gtk_adjustment_get_upper (priv-&gt;hadj<br>) - gtk_adjustment_get_page_size (priv-&gt;hadj)) : (((x) &lt;<br> (0)) ? (0) : (x)))</span></span></td></tr>
+<tr class="codeline" data-linenumber="580"><td class="num" id="LN580">580</td><td class="line"> <span class='macro'>- gtk_adjustment_get_page_size (priv-&gt;hadj))<span class='macro_popup'>(((x) &gt; (gtk_adjustment_get_upper (priv-&gt;hadj) - gtk_adjustment_get_page_size<br> (priv-&gt;hadj))) ? (gtk_adjustment_get_upper (priv-&gt;hadj<br>) - gtk_adjustment_get_page_size (priv-&gt;hadj)) : (((x) &lt;<br> (0)) ? (0) : (x)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="581"><td class="num" id="LN581">581</td><td class="line"> xofs = x - priv-&gt;xofs;</td></tr>
+<tr class="codeline" data-linenumber="582"><td class="num" id="LN582">582</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="583"><td class="num" id="LN583">583</td><td class="line"> xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="584"><td class="num" id="LN584">584</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="585"><td class="num" id="LN585">585</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_visible (priv-&gt;vbar)) {</td></tr>
+<tr class="codeline" data-linenumber="586"><td class="num" id="LN586">586</td><td class="line"> y = <span class='macro'>CLAMP (y, 0, gtk_adjustment_get_upper (priv-&gt;vadj)<span class='macro_popup'>(((y) &gt; (gtk_adjustment_get_upper (priv-&gt;vadj) - gtk_adjustment_get_page_size<br> (priv-&gt;vadj))) ? (gtk_adjustment_get_upper (priv-&gt;vadj<br>) - gtk_adjustment_get_page_size (priv-&gt;vadj)) : (((y) &lt;<br> (0)) ? (0) : (y)))</span></span></td></tr>
+<tr class="codeline" data-linenumber="587"><td class="num" id="LN587">587</td><td class="line"> <span class='macro'>- gtk_adjustment_get_page_size (priv-&gt;vadj))<span class='macro_popup'>(((y) &gt; (gtk_adjustment_get_upper (priv-&gt;vadj) - gtk_adjustment_get_page_size<br> (priv-&gt;vadj))) ? (gtk_adjustment_get_upper (priv-&gt;vadj<br>) - gtk_adjustment_get_page_size (priv-&gt;vadj)) : (((y) &lt;<br> (0)) ? (0) : (y)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="588"><td class="num" id="LN588">588</td><td class="line"> yofs = y - priv-&gt;yofs;</td></tr>
+<tr class="codeline" data-linenumber="589"><td class="num" id="LN589">589</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="590"><td class="num" id="LN590">590</td><td class="line"> yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="591"><td class="num" id="LN591">591</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="592"><td class="num" id="LN592">592</td><td class="line"> <span class='keyword'>if</span> (xofs == 0 &amp;&amp; yofs == 0)</td></tr>
+<tr class="codeline" data-linenumber="593"><td class="num" id="LN593">593</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="594"><td class="num" id="LN594">594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="595"><td class="num" id="LN595">595</td><td class="line"> priv-&gt;xofs = x;</td></tr>
+<tr class="codeline" data-linenumber="596"><td class="num" id="LN596">596</td><td class="line"> priv-&gt;yofs = y;</td></tr>
+<tr class="codeline" data-linenumber="597"><td class="num" id="LN597">597</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="598"><td class="num" id="LN598">598</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_is_drawable (priv-&gt;display))</td></tr>
+<tr class="codeline" data-linenumber="599"><td class="num" id="LN599">599</td><td class="line"> <span class='keyword'>goto</span> out;</td></tr>
+<tr class="codeline" data-linenumber="600"><td class="num" id="LN600">600</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="601"><td class="num" id="LN601">601</td><td class="line"> gtk_widget_get_allocation (priv-&gt;display, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="602"><td class="num" id="LN602">602</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="603"><td class="num" id="LN603">603</td><td class="line"> <span class='keyword'>if</span> (abs (xofs) &gt;= allocation.width || abs (yofs) &gt;= allocation.height) {</td></tr>
+<tr class="codeline" data-linenumber="604"><td class="num" id="LN604">604</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="605"><td class="num" id="LN605">605</td><td class="line"> <span class='keyword'>goto</span> out;</td></tr>
+<tr class="codeline" data-linenumber="606"><td class="num" id="LN606">606</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="607"><td class="num" id="LN607">607</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="608"><td class="num" id="LN608">608</td><td class="line"> window = gtk_widget_get_window (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="609"><td class="num" id="LN609">609</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="610"><td class="num" id="LN610">610</td><td class="line"> gdk_window_scroll (window, -xofs, -yofs);</td></tr>
+<tr class="codeline" data-linenumber="611"><td class="num" id="LN611">611</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="612"><td class="num" id="LN612">612</td><td class="line"> out:</td></tr>
+<tr class="codeline" data-linenumber="613"><td class="num" id="LN613">613</td><td class="line"> <span class='keyword'>if</span> (!change_adjustments)</td></tr>
+<tr class="codeline" data-linenumber="614"><td class="num" id="LN614">614</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="615"><td class="num" id="LN615">615</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="616"><td class="num" id="LN616">616</td><td class="line"> g_signal_handlers_block_matched (</td></tr>
+<tr class="codeline" data-linenumber="617"><td class="num" id="LN617">617</td><td class="line"> priv-&gt;hadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="618"><td class="num" id="LN618">618</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="619"><td class="num" id="LN619">619</td><td class="line"> g_signal_handlers_block_matched (</td></tr>
+<tr class="codeline" data-linenumber="620"><td class="num" id="LN620">620</td><td class="line"> priv-&gt;vadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="621"><td class="num" id="LN621">621</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="622"><td class="num" id="LN622">622</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="623"><td class="num" id="LN623">623</td><td class="line"> gtk_adjustment_set_value (priv-&gt;hadj, x);</td></tr>
+<tr class="codeline" data-linenumber="624"><td class="num" id="LN624">624</td><td class="line"> gtk_adjustment_set_value (priv-&gt;vadj, y);</td></tr>
+<tr class="codeline" data-linenumber="625"><td class="num" id="LN625">625</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="626"><td class="num" id="LN626">626</td><td class="line"> g_signal_handlers_unblock_matched (</td></tr>
+<tr class="codeline" data-linenumber="627"><td class="num" id="LN627">627</td><td class="line"> priv-&gt;hadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="628"><td class="num" id="LN628">628</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="629"><td class="num" id="LN629">629</td><td class="line"> g_signal_handlers_unblock_matched (</td></tr>
+<tr class="codeline" data-linenumber="630"><td class="num" id="LN630">630</td><td class="line"> priv-&gt;vadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="631"><td class="num" id="LN631">631</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="632"><td class="num" id="LN632">632</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="633"><td class="num" id="LN633">633</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="634"><td class="num" id="LN634">634</td><td class="line"><span class='comment'>/* Scrolls the image view by the specified offsets. Notifies the adjustments</span></td></tr>
+<tr class="codeline" data-linenumber="635"><td class="num" id="LN635">635</td><td class="line"> <span class='comment'>* about their new values.</span></td></tr>
+<tr class="codeline" data-linenumber="636"><td class="num" id="LN636">636</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="637"><td class="num" id="LN637">637</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="638"><td class="num" id="LN638">638</td><td class="line">scroll_by (EomScrollView *view, <span class='keyword'>int</span> xofs, <span class='keyword'>int</span> yofs)</td></tr>
+<tr class="codeline" data-linenumber="639"><td class="num" id="LN639">639</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="640"><td class="num" id="LN640">640</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="641"><td class="num" id="LN641">641</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="642"><td class="num" id="LN642">642</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="643"><td class="num" id="LN643">643</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="644"><td class="num" id="LN644">644</td><td class="line"> scroll_to (view, priv-&gt;xofs + xofs, priv-&gt;yofs + yofs, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="645"><td class="num" id="LN645">645</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="646"><td class="num" id="LN646">646</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="647"><td class="num" id="LN647">647</td><td class="line"><span class='comment'>/* Callback used when an adjustment is changed */</span></td></tr>
+<tr class="codeline" data-linenumber="648"><td class="num" id="LN648">648</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="649"><td class="num" id="LN649">649</td><td class="line">adjustment_changed_cb (GtkAdjustment *adj, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="650"><td class="num" id="LN650">650</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="651"><td class="num" id="LN651">651</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="652"><td class="num" id="LN652">652</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="653"><td class="num" id="LN653">653</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="654"><td class="num" id="LN654">654</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="655"><td class="num" id="LN655">655</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="656"><td class="num" id="LN656">656</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="657"><td class="num" id="LN657">657</td><td class="line"> scroll_to (view, gtk_adjustment_get_value (priv-&gt;hadj),</td></tr>
+<tr class="codeline" data-linenumber="658"><td class="num" id="LN658">658</td><td class="line"> gtk_adjustment_get_value (priv-&gt;vadj), <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="659"><td class="num" id="LN659">659</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="660"><td class="num" id="LN660">660</td><td class="line"> gtk_widget_queue_resize (<span class='macro'>GTK_WIDGET (view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="661"><td class="num" id="LN661">661</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="662"><td class="num" id="LN662">662</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="663"><td class="num" id="LN663">663</td><td class="line"><span class='comment'>/* Drags the image to the specified position */</span></td></tr>
+<tr class="codeline" data-linenumber="664"><td class="num" id="LN664">664</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="665"><td class="num" id="LN665">665</td><td class="line">drag_to (EomScrollView *view, <span class='keyword'>int</span> x, <span class='keyword'>int</span> y)</td></tr>
+<tr class="codeline" data-linenumber="666"><td class="num" id="LN666">666</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="667"><td class="num" id="LN667">667</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="668"><td class="num" id="LN668">668</td><td class="line"> <span class='keyword'>int</span> dx, dy;</td></tr>
+<tr class="codeline" data-linenumber="669"><td class="num" id="LN669">669</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="670"><td class="num" id="LN670">670</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="671"><td class="num" id="LN671">671</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="672"><td class="num" id="LN672">672</td><td class="line"> dx = priv-&gt;drag_anchor_x - x;</td></tr>
+<tr class="codeline" data-linenumber="673"><td class="num" id="LN673">673</td><td class="line"> dy = priv-&gt;drag_anchor_y - y;</td></tr>
+<tr class="codeline" data-linenumber="674"><td class="num" id="LN674">674</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="675"><td class="num" id="LN675">675</td><td class="line"> x = priv-&gt;drag_ofs_x + dx;</td></tr>
+<tr class="codeline" data-linenumber="676"><td class="num" id="LN676">676</td><td class="line"> y = priv-&gt;drag_ofs_y + dy;</td></tr>
+<tr class="codeline" data-linenumber="677"><td class="num" id="LN677">677</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="678"><td class="num" id="LN678">678</td><td class="line"> scroll_to (view, x, y, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="679"><td class="num" id="LN679">679</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="680"><td class="num" id="LN680">680</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="681"><td class="num" id="LN681">681</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="682"><td class="num" id="LN682">682</td><td class="line">set_minimum_zoom_factor (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="683"><td class="num" id="LN683">683</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="684"><td class="num" id="LN684">684</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="685"><td class="num" id="LN685">685</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="686"><td class="num" id="LN686">686</td><td class="line"> view-&gt;priv-&gt;min_zoom = <span class='macro'>MAX (1.0 / gdk_pixbuf_get_width (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale,<span class='macro_popup'>(((1.0 / gdk_pixbuf_get_width (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) &gt; ((((1.0 / gdk_pixbuf_get_height (view<br>-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) &gt; (0.02))<br> ? (1.0 / gdk_pixbuf_get_height (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) : (0.02)))) ? (1.0 / gdk_pixbuf_get_width<br> (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) : ((((<br>1.0 / gdk_pixbuf_get_height (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) &gt; (0.02)) ? (1.0 / gdk_pixbuf_get_height<br> (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) : (0.02<br>))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="687"><td class="num" id="LN687">687</td><td class="line"> <span class='macro'>MAX(1.0 / gdk_pixbuf_get_height (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale,<span class='macro_popup'>(((1.0 / gdk_pixbuf_get_width (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) &gt; ((((1.0 / gdk_pixbuf_get_height (view<br>-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) &gt; (0.02))<br> ? (1.0 / gdk_pixbuf_get_height (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) : (0.02)))) ? (1.0 / gdk_pixbuf_get_width<br> (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) : ((((<br>1.0 / gdk_pixbuf_get_height (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) &gt; (0.02)) ? (1.0 / gdk_pixbuf_get_height<br> (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) : (0.02<br>))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="688"><td class="num" id="LN688">688</td><td class="line"> <span class='macro'>MIN_ZOOM_FACTOR) )<span class='macro_popup'>(((1.0 / gdk_pixbuf_get_width (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) &gt; ((((1.0 / gdk_pixbuf_get_height (view<br>-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) &gt; (0.02))<br> ? (1.0 / gdk_pixbuf_get_height (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) : (0.02)))) ? (1.0 / gdk_pixbuf_get_width<br> (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) : ((((<br>1.0 / gdk_pixbuf_get_height (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) &gt; (0.02)) ? (1.0 / gdk_pixbuf_get_height<br> (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) : (0.02<br>))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="689"><td class="num" id="LN689">689</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="690"><td class="num" id="LN690">690</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="691"><td class="num" id="LN691">691</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="692"><td class="num" id="LN692">692</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="693"><td class="num" id="LN693">693</td><td class="line"> <span class='comment'>* set_zoom:</span></td></tr>
+<tr class="codeline" data-linenumber="694"><td class="num" id="LN694">694</td><td class="line"> <span class='comment'>* @view: A scroll view.</span></td></tr>
+<tr class="codeline" data-linenumber="695"><td class="num" id="LN695">695</td><td class="line"> <span class='comment'>* @zoom: Zoom factor.</span></td></tr>
+<tr class="codeline" data-linenumber="696"><td class="num" id="LN696">696</td><td class="line"> <span class='comment'>* @have_anchor: Whether the anchor point specified by (@anchorx, @anchory)</span></td></tr>
+<tr class="codeline" data-linenumber="697"><td class="num" id="LN697">697</td><td class="line"> <span class='comment'>* should be used.</span></td></tr>
+<tr class="codeline" data-linenumber="698"><td class="num" id="LN698">698</td><td class="line"> <span class='comment'>* @anchorx: Horizontal anchor point in pixels.</span></td></tr>
+<tr class="codeline" data-linenumber="699"><td class="num" id="LN699">699</td><td class="line"> <span class='comment'>* @anchory: Vertical anchor point in pixels.</span></td></tr>
+<tr class="codeline" data-linenumber="700"><td class="num" id="LN700">700</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="701"><td class="num" id="LN701">701</td><td class="line"> <span class='comment'>* Sets the zoom factor for an image view. The anchor point can be used to</span></td></tr>
+<tr class="codeline" data-linenumber="702"><td class="num" id="LN702">702</td><td class="line"> <span class='comment'>* specify the point that stays fixed when the image is zoomed. If @have_anchor</span></td></tr>
+<tr class="codeline" data-linenumber="703"><td class="num" id="LN703">703</td><td class="line"> <span class='comment'>* is %TRUE, then (@anchorx, @anchory) specify the point relative to the image</span></td></tr>
+<tr class="codeline" data-linenumber="704"><td class="num" id="LN704">704</td><td class="line"> <span class='comment'>* view widget's allocation that will stay fixed when zooming. If @have_anchor</span></td></tr>
+<tr class="codeline" data-linenumber="705"><td class="num" id="LN705">705</td><td class="line"> <span class='comment'>* is %FALSE, then the center point of the image view will be used.</span></td></tr>
+<tr class="codeline" data-linenumber="706"><td class="num" id="LN706">706</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="707"><td class="num" id="LN707">707</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="708"><td class="num" id="LN708">708</td><td class="line">set_zoom (EomScrollView *view, <span class='keyword'>double</span> zoom,</td></tr>
+<tr class="codeline" data-linenumber="709"><td class="num" id="LN709">709</td><td class="line"> gboolean have_anchor, <span class='keyword'>int</span> anchorx, <span class='keyword'>int</span> anchory)</td></tr>
+<tr class="codeline" data-linenumber="710"><td class="num" id="LN710">710</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="711"><td class="num" id="LN711">711</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="712"><td class="num" id="LN712">712</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="713"><td class="num" id="LN713">713</td><td class="line"> <span class='keyword'>int</span> xofs, yofs;</td></tr>
+<tr class="codeline" data-linenumber="714"><td class="num" id="LN714">714</td><td class="line"> <span class='keyword'>double</span> x_rel, y_rel;</td></tr>
+<tr class="codeline" data-linenumber="715"><td class="num" id="LN715">715</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="716"><td class="num" id="LN716">716</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="717"><td class="num" id="LN717">717</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="718"><td class="num" id="LN718">718</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="719"><td class="num" id="LN719">719</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="720"><td class="num" id="LN720">720</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="721"><td class="num" id="LN721">721</td><td class="line"> <span class='keyword'>if</span> (zoom &gt; <span class='macro'>MAX_ZOOM_FACTOR<span class='macro_popup'>20</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="722"><td class="num" id="LN722">722</td><td class="line"> zoom = <span class='macro'>MAX_ZOOM_FACTOR<span class='macro_popup'>20</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="723"><td class="num" id="LN723">723</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (zoom &lt; <span class='macro'>MIN_ZOOM_FACTOR<span class='macro_popup'>0.02</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="724"><td class="num" id="LN724">724</td><td class="line"> zoom = <span class='macro'>MIN_ZOOM_FACTOR<span class='macro_popup'>0.02</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="725"><td class="num" id="LN725">725</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="726"><td class="num" id="LN726">726</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>DOUBLE_EQUAL (priv-&gt;zoom, zoom)<span class='macro_popup'>(fabs (priv-&gt;zoom - zoom) &lt; 1e-6)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="727"><td class="num" id="LN727">727</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="728"><td class="num" id="LN728">728</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>DOUBLE_EQUAL (priv-&gt;zoom, priv-&gt;min_zoom)<span class='macro_popup'>(fabs (priv-&gt;zoom - priv-&gt;min_zoom) &lt; 1e-6)</span></span> &amp;&amp; zoom &lt; priv-&gt;zoom)</td></tr>
+<tr class="codeline" data-linenumber="729"><td class="num" id="LN729">729</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="730"><td class="num" id="LN730">730</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="731"><td class="num" id="LN731">731</td><td class="line"> priv-&gt;zoom_mode = ZOOM_MODE_FREE;</td></tr>
+<tr class="codeline" data-linenumber="732"><td class="num" id="LN732">732</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="733"><td class="num" id="LN733">733</td><td class="line"> gtk_widget_get_allocation (priv-&gt;display, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="734"><td class="num" id="LN734">734</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="735"><td class="num" id="LN735">735</td><td class="line"> <span class='comment'>/* compute new xofs/yofs values */</span></td></tr>
+<tr class="codeline" data-linenumber="736"><td class="num" id="LN736">736</td><td class="line"> <span class='keyword'>if</span> (have_anchor) {</td></tr>
+<tr class="codeline" data-linenumber="737"><td class="num" id="LN737">737</td><td class="line"> x_rel = (<span class='keyword'>double</span>) anchorx / allocation.width;</td></tr>
+<tr class="codeline" data-linenumber="738"><td class="num" id="LN738">738</td><td class="line"> y_rel = (<span class='keyword'>double</span>) anchory / allocation.height;</td></tr>
+<tr class="codeline" data-linenumber="739"><td class="num" id="LN739">739</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="740"><td class="num" id="LN740">740</td><td class="line"> x_rel = 0.5;</td></tr>
+<tr class="codeline" data-linenumber="741"><td class="num" id="LN741">741</td><td class="line"> y_rel = 0.5;</td></tr>
+<tr class="codeline" data-linenumber="742"><td class="num" id="LN742">742</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="743"><td class="num" id="LN743">743</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="744"><td class="num" id="LN744">744</td><td class="line"> compute_center_zoom_offsets (view, priv-&gt;zoom, zoom,</td></tr>
+<tr class="codeline" data-linenumber="745"><td class="num" id="LN745">745</td><td class="line"> allocation.width, allocation.height,</td></tr>
+<tr class="codeline" data-linenumber="746"><td class="num" id="LN746">746</td><td class="line"> x_rel, y_rel,</td></tr>
+<tr class="codeline" data-linenumber="747"><td class="num" id="LN747">747</td><td class="line"> &amp;xofs, &amp;yofs);</td></tr>
+<tr class="codeline" data-linenumber="748"><td class="num" id="LN748">748</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="749"><td class="num" id="LN749">749</td><td class="line"> <span class='comment'>/* set new values */</span></td></tr>
+<tr class="codeline" data-linenumber="750"><td class="num" id="LN750">750</td><td class="line"> priv-&gt;xofs = xofs; <span class='comment'>/* (img_width * x_rel * zoom) - anchorx; */</span></td></tr>
+<tr class="codeline" data-linenumber="751"><td class="num" id="LN751">751</td><td class="line"> priv-&gt;yofs = yofs; <span class='comment'>/* (img_height * y_rel * zoom) - anchory; */</span></td></tr>
+<tr class="codeline" data-linenumber="752"><td class="num" id="LN752">752</td><td class="line"><span class='directive'>#if 0</span></td></tr>
+<tr class="codeline" data-linenumber="753"><td class="num" id="LN753">753</td><td class="line"> g_print (<span class='string_literal'>"xofs: %i yofs: %i\n"</span>, priv-&gt;xofs, priv-&gt;yofs);</td></tr>
+<tr class="codeline" data-linenumber="754"><td class="num" id="LN754">754</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="755"><td class="num" id="LN755">755</td><td class="line"> <span class='keyword'>if</span> (zoom &lt;= priv-&gt;min_zoom)</td></tr>
+<tr class="codeline" data-linenumber="756"><td class="num" id="LN756">756</td><td class="line"> priv-&gt;zoom = priv-&gt;min_zoom;</td></tr>
+<tr class="codeline" data-linenumber="757"><td class="num" id="LN757">757</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="758"><td class="num" id="LN758">758</td><td class="line"> priv-&gt;zoom = zoom;</td></tr>
+<tr class="codeline" data-linenumber="759"><td class="num" id="LN759">759</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="760"><td class="num" id="LN760">760</td><td class="line"> <span class='comment'>/* we make use of the new values here */</span></td></tr>
+<tr class="codeline" data-linenumber="761"><td class="num" id="LN761">761</td><td class="line"> check_scrollbar_visibility (view, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="762"><td class="num" id="LN762">762</td><td class="line"> update_scrollbar_values (view);</td></tr>
+<tr class="codeline" data-linenumber="763"><td class="num" id="LN763">763</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="764"><td class="num" id="LN764">764</td><td class="line"> <span class='comment'>/* repaint the whole image */</span></td></tr>
+<tr class="codeline" data-linenumber="765"><td class="num" id="LN765">765</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="766"><td class="num" id="LN766">766</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="767"><td class="num" id="LN767">767</td><td class="line"> g_signal_emit (view, view_signals[SIGNAL_ZOOM_CHANGED], 0, priv-&gt;zoom);</td></tr>
+<tr class="codeline" data-linenumber="768"><td class="num" id="LN768">768</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="769"><td class="num" id="LN769">769</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="770"><td class="num" id="LN770">770</td><td class="line"><span class='comment'>/* Zooms the image to fit the available allocation */</span></td></tr>
+<tr class="codeline" data-linenumber="771"><td class="num" id="LN771">771</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="772"><td class="num" id="LN772">772</td><td class="line">set_zoom_fit (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="773"><td class="num" id="LN773">773</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="774"><td class="num" id="LN774">774</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="775"><td class="num" id="LN775">775</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="776"><td class="num" id="LN776">776</td><td class="line"> <span class='keyword'>double</span> new_zoom;</td></tr>
+<tr class="codeline" data-linenumber="777"><td class="num" id="LN777">777</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="778"><td class="num" id="LN778">778</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="779"><td class="num" id="LN779">779</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="780"><td class="num" id="LN780">780</td><td class="line"> priv-&gt;zoom_mode = ZOOM_MODE_FIT;</td></tr>
+<tr class="codeline" data-linenumber="781"><td class="num" id="LN781">781</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="782"><td class="num" id="LN782">782</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_mapped (<span class='macro'>GTK_WIDGET (view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_widget_get_type ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="783"><td class="num" id="LN783">783</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="784"><td class="num" id="LN784">784</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="785"><td class="num" id="LN785">785</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="786"><td class="num" id="LN786">786</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="787"><td class="num" id="LN787">787</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="788"><td class="num" id="LN788">788</td><td class="line"> gtk_widget_get_allocation (priv-&gt;display, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="789"><td class="num" id="LN789">789</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="790"><td class="num" id="LN790">790</td><td class="line"> new_zoom = zoom_fit_scale (allocation.width, allocation.height,</td></tr>
+<tr class="codeline" data-linenumber="791"><td class="num" id="LN791">791</td><td class="line"> gdk_pixbuf_get_width (priv-&gt;pixbuf) / priv-&gt;scale,</td></tr>
+<tr class="codeline" data-linenumber="792"><td class="num" id="LN792">792</td><td class="line"> gdk_pixbuf_get_height (priv-&gt;pixbuf) / priv-&gt;scale,</td></tr>
+<tr class="codeline" data-linenumber="793"><td class="num" id="LN793">793</td><td class="line"> priv-&gt;upscale);</td></tr>
+<tr class="codeline" data-linenumber="794"><td class="num" id="LN794">794</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="795"><td class="num" id="LN795">795</td><td class="line"> <span class='keyword'>if</span> (new_zoom &gt; <span class='macro'>MAX_ZOOM_FACTOR<span class='macro_popup'>20</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="796"><td class="num" id="LN796">796</td><td class="line"> new_zoom = <span class='macro'>MAX_ZOOM_FACTOR<span class='macro_popup'>20</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="797"><td class="num" id="LN797">797</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (new_zoom &lt; <span class='macro'>MIN_ZOOM_FACTOR<span class='macro_popup'>0.02</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="798"><td class="num" id="LN798">798</td><td class="line"> new_zoom = <span class='macro'>MIN_ZOOM_FACTOR<span class='macro_popup'>0.02</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="799"><td class="num" id="LN799">799</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="800"><td class="num" id="LN800">800</td><td class="line"> priv-&gt;zoom = new_zoom;</td></tr>
+<tr class="codeline" data-linenumber="801"><td class="num" id="LN801">801</td><td class="line"> priv-&gt;xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="802"><td class="num" id="LN802">802</td><td class="line"> priv-&gt;yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="803"><td class="num" id="LN803">803</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="804"><td class="num" id="LN804">804</td><td class="line"> g_signal_emit (view, view_signals[SIGNAL_ZOOM_CHANGED], 0, priv-&gt;zoom);</td></tr>
+<tr class="codeline" data-linenumber="805"><td class="num" id="LN805">805</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="806"><td class="num" id="LN806">806</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="807"><td class="num" id="LN807">807</td><td class="line"><span class='comment'>/*===================================</span></td></tr>
+<tr class="codeline" data-linenumber="808"><td class="num" id="LN808">808</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="809"><td class="num" id="LN809">809</td><td class="line"> <span class='comment'>internal signal callbacks</span></td></tr>
+<tr class="codeline" data-linenumber="810"><td class="num" id="LN810">810</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="811"><td class="num" id="LN811">811</td><td class="line"> <span class='comment'>---------------------------------*/</span></td></tr>
+<tr class="codeline" data-linenumber="812"><td class="num" id="LN812">812</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="813"><td class="num" id="LN813">813</td><td class="line"><span class='comment'>/* Key press event handler for the image view */</span></td></tr>
+<tr class="codeline" data-linenumber="814"><td class="num" id="LN814">814</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="815"><td class="num" id="LN815">815</td><td class="line">display_key_press_event (GtkWidget *widget, GdkEventKey *event, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="816"><td class="num" id="LN816">816</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="817"><td class="num" id="LN817">817</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="818"><td class="num" id="LN818">818</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="819"><td class="num" id="LN819">819</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="820"><td class="num" id="LN820">820</td><td class="line"> gboolean do_zoom;</td></tr>
+<tr class="codeline" data-linenumber="821"><td class="num" id="LN821">821</td><td class="line"> <span class='keyword'>double</span> zoom;</td></tr>
+<tr class="codeline" data-linenumber="822"><td class="num" id="LN822">822</td><td class="line"> gboolean do_scroll;</td></tr>
+<tr class="codeline" data-linenumber="823"><td class="num" id="LN823">823</td><td class="line"> <span class='keyword'>int</span> xofs, yofs;</td></tr>
+<tr class="codeline" data-linenumber="824"><td class="num" id="LN824">824</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="825"><td class="num" id="LN825">825</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="826"><td class="num" id="LN826">826</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="827"><td class="num" id="LN827">827</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="828"><td class="num" id="LN828">828</td><td class="line"> do_zoom = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="829"><td class="num" id="LN829">829</td><td class="line"> do_scroll = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="830"><td class="num" id="LN830">830</td><td class="line"> xofs = yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="831"><td class="num" id="LN831">831</td><td class="line"> zoom = 1.0;</td></tr>
+<tr class="codeline" data-linenumber="832"><td class="num" id="LN832">832</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="833"><td class="num" id="LN833">833</td><td class="line"> gtk_widget_get_allocation (priv-&gt;display, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="834"><td class="num" id="LN834">834</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="835"><td class="num" id="LN835">835</td><td class="line"> <span class='comment'>/* EomScrollView doesn't handle/have any Alt+Key combos */</span></td></tr>
+<tr class="codeline" data-linenumber="836"><td class="num" id="LN836">836</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_MOD1_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="837"><td class="num" id="LN837">837</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="838"><td class="num" id="LN838">838</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="839"><td class="num" id="LN839">839</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="840"><td class="num" id="LN840">840</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;keyval) {</td></tr>
+<tr class="codeline" data-linenumber="841"><td class="num" id="LN841">841</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Up<span class='macro_popup'>0xff52</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="842"><td class="num" id="LN842">842</td><td class="line"> do_scroll = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="843"><td class="num" id="LN843">843</td><td class="line"> xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="844"><td class="num" id="LN844">844</td><td class="line"> yofs = -<span class='macro'>SCROLL_STEP_SIZE<span class='macro_popup'>32</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="845"><td class="num" id="LN845">845</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="846"><td class="num" id="LN846">846</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="847"><td class="num" id="LN847">847</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Page_Up<span class='macro_popup'>0xff55</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="848"><td class="num" id="LN848">848</td><td class="line"> do_scroll = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="849"><td class="num" id="LN849">849</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_CONTROL_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="850"><td class="num" id="LN850">850</td><td class="line"> xofs = -(allocation.width * 3) / 4;</td></tr>
+<tr class="codeline" data-linenumber="851"><td class="num" id="LN851">851</td><td class="line"> yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="852"><td class="num" id="LN852">852</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="853"><td class="num" id="LN853">853</td><td class="line"> xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="854"><td class="num" id="LN854">854</td><td class="line"> yofs = -(allocation.height * 3) / 4;</td></tr>
+<tr class="codeline" data-linenumber="855"><td class="num" id="LN855">855</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="856"><td class="num" id="LN856">856</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="857"><td class="num" id="LN857">857</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="858"><td class="num" id="LN858">858</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Down<span class='macro_popup'>0xff54</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="859"><td class="num" id="LN859">859</td><td class="line"> do_scroll = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="860"><td class="num" id="LN860">860</td><td class="line"> xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="861"><td class="num" id="LN861">861</td><td class="line"> yofs = <span class='macro'>SCROLL_STEP_SIZE<span class='macro_popup'>32</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="862"><td class="num" id="LN862">862</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="863"><td class="num" id="LN863">863</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="864"><td class="num" id="LN864">864</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Page_Down<span class='macro_popup'>0xff56</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="865"><td class="num" id="LN865">865</td><td class="line"> do_scroll = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="866"><td class="num" id="LN866">866</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_CONTROL_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="867"><td class="num" id="LN867">867</td><td class="line"> xofs = (allocation.width * 3) / 4;</td></tr>
+<tr class="codeline" data-linenumber="868"><td class="num" id="LN868">868</td><td class="line"> yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="869"><td class="num" id="LN869">869</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="870"><td class="num" id="LN870">870</td><td class="line"> xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="871"><td class="num" id="LN871">871</td><td class="line"> yofs = (allocation.height * 3) / 4;</td></tr>
+<tr class="codeline" data-linenumber="872"><td class="num" id="LN872">872</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="873"><td class="num" id="LN873">873</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="874"><td class="num" id="LN874">874</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="875"><td class="num" id="LN875">875</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Left<span class='macro_popup'>0xff51</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="876"><td class="num" id="LN876">876</td><td class="line"> do_scroll = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="877"><td class="num" id="LN877">877</td><td class="line"> xofs = -<span class='macro'>SCROLL_STEP_SIZE<span class='macro_popup'>32</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="878"><td class="num" id="LN878">878</td><td class="line"> yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="879"><td class="num" id="LN879">879</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="880"><td class="num" id="LN880">880</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="881"><td class="num" id="LN881">881</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Right<span class='macro_popup'>0xff53</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="882"><td class="num" id="LN882">882</td><td class="line"> do_scroll = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="883"><td class="num" id="LN883">883</td><td class="line"> xofs = <span class='macro'>SCROLL_STEP_SIZE<span class='macro_popup'>32</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="884"><td class="num" id="LN884">884</td><td class="line"> yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="885"><td class="num" id="LN885">885</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="886"><td class="num" id="LN886">886</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="887"><td class="num" id="LN887">887</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_plus<span class='macro_popup'>0x02b</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="888"><td class="num" id="LN888">888</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_equal<span class='macro_popup'>0x03d</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="889"><td class="num" id="LN889">889</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_KP_Add<span class='macro_popup'>0xffab</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="890"><td class="num" id="LN890">890</td><td class="line"> do_zoom = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="891"><td class="num" id="LN891">891</td><td class="line"> zoom = priv-&gt;zoom * priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="892"><td class="num" id="LN892">892</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="893"><td class="num" id="LN893">893</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="894"><td class="num" id="LN894">894</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_minus<span class='macro_popup'>0x02d</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="895"><td class="num" id="LN895">895</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_KP_Subtract<span class='macro_popup'>0xffad</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="896"><td class="num" id="LN896">896</td><td class="line"> do_zoom = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="897"><td class="num" id="LN897">897</td><td class="line"> zoom = priv-&gt;zoom / priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="898"><td class="num" id="LN898">898</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="899"><td class="num" id="LN899">899</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="900"><td class="num" id="LN900">900</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_1<span class='macro_popup'>0x031</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="901"><td class="num" id="LN901">901</td><td class="line"> do_zoom = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="902"><td class="num" id="LN902">902</td><td class="line"> zoom = 1.0;</td></tr>
+<tr class="codeline" data-linenumber="903"><td class="num" id="LN903">903</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="904"><td class="num" id="LN904">904</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="905"><td class="num" id="LN905">905</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="906"><td class="num" id="LN906">906</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="907"><td class="num" id="LN907">907</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="908"><td class="num" id="LN908">908</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="909"><td class="num" id="LN909">909</td><td class="line"> <span class='keyword'>if</span> (do_zoom) {</td></tr>
+<tr class="codeline" data-linenumber="910"><td class="num" id="LN910">910</td><td class="line"> GdkSeat *seat;</td></tr>
+<tr class="codeline" data-linenumber="911"><td class="num" id="LN911">911</td><td class="line"> GdkDevice *device;</td></tr>
+<tr class="codeline" data-linenumber="912"><td class="num" id="LN912">912</td><td class="line"> gint x, y;</td></tr>
+<tr class="codeline" data-linenumber="913"><td class="num" id="LN913">913</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="914"><td class="num" id="LN914">914</td><td class="line"> seat = gdk_display_get_default_seat (gtk_widget_get_display (widget));</td></tr>
+<tr class="codeline" data-linenumber="915"><td class="num" id="LN915">915</td><td class="line"> device = gdk_seat_get_pointer (seat);</td></tr>
+<tr class="codeline" data-linenumber="916"><td class="num" id="LN916">916</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="917"><td class="num" id="LN917">917</td><td class="line"> gdk_window_get_device_position (gtk_widget_get_window (widget), device,</td></tr>
+<tr class="codeline" data-linenumber="918"><td class="num" id="LN918">918</td><td class="line"> &amp;x, &amp;y, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="919"><td class="num" id="LN919">919</td><td class="line"> set_zoom (view, zoom, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, x, y);</td></tr>
+<tr class="codeline" data-linenumber="920"><td class="num" id="LN920">920</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="921"><td class="num" id="LN921">921</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="922"><td class="num" id="LN922">922</td><td class="line"> <span class='keyword'>if</span> (do_scroll)</td></tr>
+<tr class="codeline" data-linenumber="923"><td class="num" id="LN923">923</td><td class="line"> scroll_by (view, xofs, yofs);</td></tr>
+<tr class="codeline" data-linenumber="924"><td class="num" id="LN924">924</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="925"><td class="num" id="LN925">925</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="926"><td class="num" id="LN926">926</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="927"><td class="num" id="LN927">927</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="928"><td class="num" id="LN928">928</td><td class="line"><span class='comment'>/* Button press event handler for the image view */</span></td></tr>
+<tr class="codeline" data-linenumber="929"><td class="num" id="LN929">929</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="930"><td class="num" id="LN930">930</td><td class="line">eom_scroll_view_button_press_event (GtkWidget *widget, GdkEventButton *event, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="931"><td class="num" id="LN931">931</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="932"><td class="num" id="LN932">932</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="933"><td class="num" id="LN933">933</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="934"><td class="num" id="LN934">934</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="935"><td class="num" id="LN935">935</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="936"><td class="num" id="LN936">936</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="937"><td class="num" id="LN937">937</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="938"><td class="num" id="LN938">938</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_has_focus (priv-&gt;display))</td></tr>
+<tr class="codeline" data-linenumber="939"><td class="num" id="LN939">939</td><td class="line"> gtk_widget_grab_focus (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="940"><td class="num" id="LN940">940</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="941"><td class="num" id="LN941">941</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;dragging)</td></tr>
+<tr class="codeline" data-linenumber="942"><td class="num" id="LN942">942</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="943"><td class="num" id="LN943">943</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="944"><td class="num" id="LN944">944</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;button) {</td></tr>
+<tr class="codeline" data-linenumber="945"><td class="num" id="LN945">945</td><td class="line"> <span class='keyword'>case</span> 1:</td></tr>
+<tr class="codeline" data-linenumber="946"><td class="num" id="LN946">946</td><td class="line"> <span class='keyword'>case</span> 2:</td></tr>
+<tr class="codeline" data-linenumber="947"><td class="num" id="LN947">947</td><td class="line"> <span class='keyword'>if</span> (event-&gt;button == 1 &amp;&amp; !priv-&gt;scroll_wheel_zoom &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="948"><td class="num" id="LN948">948</td><td class="line"> !(event-&gt;state &amp; GDK_CONTROL_MASK))</td></tr>
+<tr class="codeline" data-linenumber="949"><td class="num" id="LN949">949</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="950"><td class="num" id="LN950">950</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="951"><td class="num" id="LN951">951</td><td class="line"> <span class='keyword'>if</span> (is_image_movable (view)) {</td></tr>
+<tr class="codeline" data-linenumber="952"><td class="num" id="LN952">952</td><td class="line"> eom_scroll_view_set_cursor (view, EOM_SCROLL_VIEW_CURSOR_DRAG);</td></tr>
+<tr class="codeline" data-linenumber="953"><td class="num" id="LN953">953</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="954"><td class="num" id="LN954">954</td><td class="line"> priv-&gt;dragging = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="955"><td class="num" id="LN955">955</td><td class="line"> priv-&gt;drag_anchor_x = event-&gt;x;</td></tr>
+<tr class="codeline" data-linenumber="956"><td class="num" id="LN956">956</td><td class="line"> priv-&gt;drag_anchor_y = event-&gt;y;</td></tr>
+<tr class="codeline" data-linenumber="957"><td class="num" id="LN957">957</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="958"><td class="num" id="LN958">958</td><td class="line"> priv-&gt;drag_ofs_x = priv-&gt;xofs;</td></tr>
+<tr class="codeline" data-linenumber="959"><td class="num" id="LN959">959</td><td class="line"> priv-&gt;drag_ofs_y = priv-&gt;yofs;</td></tr>
+<tr class="codeline" data-linenumber="960"><td class="num" id="LN960">960</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="961"><td class="num" id="LN961">961</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="962"><td class="num" id="LN962">962</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="963"><td class="num" id="LN963">963</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="964"><td class="num" id="LN964">964</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="965"><td class="num" id="LN965">965</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="966"><td class="num" id="LN966">966</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="967"><td class="num" id="LN967">967</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="968"><td class="num" id="LN968">968</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="969"><td class="num" id="LN969">969</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="970"><td class="num" id="LN970">970</td><td class="line"><span class='comment'>/* Button release event handler for the image view */</span></td></tr>
+<tr class="codeline" data-linenumber="971"><td class="num" id="LN971">971</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="972"><td class="num" id="LN972">972</td><td class="line">eom_scroll_view_button_release_event (GtkWidget *widget, GdkEventButton *event, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="973"><td class="num" id="LN973">973</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="974"><td class="num" id="LN974">974</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="975"><td class="num" id="LN975">975</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="976"><td class="num" id="LN976">976</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="977"><td class="num" id="LN977">977</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="978"><td class="num" id="LN978">978</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="979"><td class="num" id="LN979">979</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="980"><td class="num" id="LN980">980</td><td class="line"> <span class='keyword'>if</span> (!priv-&gt;dragging)</td></tr>
+<tr class="codeline" data-linenumber="981"><td class="num" id="LN981">981</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="982"><td class="num" id="LN982">982</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="983"><td class="num" id="LN983">983</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;button) {</td></tr>
+<tr class="codeline" data-linenumber="984"><td class="num" id="LN984">984</td><td class="line"> <span class='keyword'>case</span> 1:</td></tr>
+<tr class="codeline" data-linenumber="985"><td class="num" id="LN985">985</td><td class="line"> <span class='keyword'>case</span> 2:</td></tr>
+<tr class="codeline" data-linenumber="986"><td class="num" id="LN986">986</td><td class="line"> drag_to (view, event-&gt;x, event-&gt;y);</td></tr>
+<tr class="codeline" data-linenumber="987"><td class="num" id="LN987">987</td><td class="line"> priv-&gt;dragging = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="988"><td class="num" id="LN988">988</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="989"><td class="num" id="LN989">989</td><td class="line"> eom_scroll_view_set_cursor (view, EOM_SCROLL_VIEW_CURSOR_NORMAL);</td></tr>
+<tr class="codeline" data-linenumber="990"><td class="num" id="LN990">990</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="991"><td class="num" id="LN991">991</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="992"><td class="num" id="LN992">992</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="993"><td class="num" id="LN993">993</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="994"><td class="num" id="LN994">994</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="995"><td class="num" id="LN995">995</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="996"><td class="num" id="LN996">996</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="997"><td class="num" id="LN997">997</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="998"><td class="num" id="LN998">998</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="999"><td class="num" id="LN999">999</td><td class="line"><span class='comment'>/* Scroll event handler for the image view. We zoom with an event without</span></td></tr>
+<tr class="codeline" data-linenumber="1000"><td class="num" id="LN1000">1000</td><td class="line"> <span class='comment'>* modifiers rather than scroll; we use the Shift modifier to scroll.</span></td></tr>
+<tr class="codeline" data-linenumber="1001"><td class="num" id="LN1001">1001</td><td class="line"> <span class='comment'>* Rationale: images are not primarily vertical, and in EOM you scan scroll by</span></td></tr>
+<tr class="codeline" data-linenumber="1002"><td class="num" id="LN1002">1002</td><td class="line"> <span class='comment'>* dragging the image with button 1 anyways.</span></td></tr>
+<tr class="codeline" data-linenumber="1003"><td class="num" id="LN1003">1003</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1004"><td class="num" id="LN1004">1004</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1005"><td class="num" id="LN1005">1005</td><td class="line">eom_scroll_view_scroll_event (GtkWidget *widget, GdkEventScroll *event, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1006"><td class="num" id="LN1006">1006</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1007"><td class="num" id="LN1007">1007</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1008"><td class="num" id="LN1008">1008</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1009"><td class="num" id="LN1009">1009</td><td class="line"> <span class='keyword'>double</span> zoom_factor;</td></tr>
+<tr class="codeline" data-linenumber="1010"><td class="num" id="LN1010">1010</td><td class="line"> <span class='keyword'>int</span> xofs, yofs;</td></tr>
+<tr class="codeline" data-linenumber="1011"><td class="num" id="LN1011">1011</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1012"><td class="num" id="LN1012">1012</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1013"><td class="num" id="LN1013">1013</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1014"><td class="num" id="LN1014">1014</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1015"><td class="num" id="LN1015">1015</td><td class="line"> <span class='comment'>/* Compute zoom factor and scrolling offsets; we'll only use either of them */</span></td></tr>
+<tr class="codeline" data-linenumber="1016"><td class="num" id="LN1016">1016</td><td class="line"> <span class='comment'>/* same as in gtkscrolledwindow.c */</span></td></tr>
+<tr class="codeline" data-linenumber="1017"><td class="num" id="LN1017">1017</td><td class="line"> xofs = gtk_adjustment_get_page_increment (priv-&gt;hadj) / 2;</td></tr>
+<tr class="codeline" data-linenumber="1018"><td class="num" id="LN1018">1018</td><td class="line"> yofs = gtk_adjustment_get_page_increment (priv-&gt;vadj) / 2;</td></tr>
+<tr class="codeline" data-linenumber="1019"><td class="num" id="LN1019">1019</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1020"><td class="num" id="LN1020">1020</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;direction) {</td></tr>
+<tr class="codeline" data-linenumber="1021"><td class="num" id="LN1021">1021</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_UP:</td></tr>
+<tr class="codeline" data-linenumber="1022"><td class="num" id="LN1022">1022</td><td class="line"> zoom_factor = priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="1023"><td class="num" id="LN1023">1023</td><td class="line"> xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="1024"><td class="num" id="LN1024">1024</td><td class="line"> yofs = -yofs;</td></tr>
+<tr class="codeline" data-linenumber="1025"><td class="num" id="LN1025">1025</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1026"><td class="num" id="LN1026">1026</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1027"><td class="num" id="LN1027">1027</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_LEFT:</td></tr>
+<tr class="codeline" data-linenumber="1028"><td class="num" id="LN1028">1028</td><td class="line"> zoom_factor = 1.0 / priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="1029"><td class="num" id="LN1029">1029</td><td class="line"> xofs = -xofs;</td></tr>
+<tr class="codeline" data-linenumber="1030"><td class="num" id="LN1030">1030</td><td class="line"> yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="1031"><td class="num" id="LN1031">1031</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1032"><td class="num" id="LN1032">1032</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1033"><td class="num" id="LN1033">1033</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_DOWN:</td></tr>
+<tr class="codeline" data-linenumber="1034"><td class="num" id="LN1034">1034</td><td class="line"> zoom_factor = 1.0 / priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="1035"><td class="num" id="LN1035">1035</td><td class="line"> xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="1036"><td class="num" id="LN1036">1036</td><td class="line"> <span class='comment'>/* yofs = yofs; */</span></td></tr>
+<tr class="codeline" data-linenumber="1037"><td class="num" id="LN1037">1037</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1038"><td class="num" id="LN1038">1038</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1039"><td class="num" id="LN1039">1039</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_RIGHT:</td></tr>
+<tr class="codeline" data-linenumber="1040"><td class="num" id="LN1040">1040</td><td class="line"> zoom_factor = priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="1041"><td class="num" id="LN1041">1041</td><td class="line"> <span class='comment'>/* xofs = xofs; */</span></td></tr>
+<tr class="codeline" data-linenumber="1042"><td class="num" id="LN1042">1042</td><td class="line"> yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="1043"><td class="num" id="LN1043">1043</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1044"><td class="num" id="LN1044">1044</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1045"><td class="num" id="LN1045">1045</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="1046"><td class="num" id="LN1046">1046</td><td class="line"> <span class='macro'>g_assert_not_reached ()<span class='macro_popup'>do { g_assertion_message_expr ("EOM", "eom-scroll-view.c", 1046<br>, ((const char*) (__func__)), ((void*)0)); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1047"><td class="num" id="LN1047">1047</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1048"><td class="num" id="LN1048">1048</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1049"><td class="num" id="LN1049">1049</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1050"><td class="num" id="LN1050">1050</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;scroll_wheel_zoom) {</td></tr>
+<tr class="codeline" data-linenumber="1051"><td class="num" id="LN1051">1051</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_SHIFT_MASK)</td></tr>
+<tr class="codeline" data-linenumber="1052"><td class="num" id="LN1052">1052</td><td class="line"> scroll_by (view, yofs, xofs);</td></tr>
+<tr class="codeline" data-linenumber="1053"><td class="num" id="LN1053">1053</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_CONTROL_MASK)</td></tr>
+<tr class="codeline" data-linenumber="1054"><td class="num" id="LN1054">1054</td><td class="line"> scroll_by (view, xofs, yofs);</td></tr>
+<tr class="codeline" data-linenumber="1055"><td class="num" id="LN1055">1055</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1056"><td class="num" id="LN1056">1056</td><td class="line"> set_zoom (view, priv-&gt;zoom * zoom_factor,</td></tr>
+<tr class="codeline" data-linenumber="1057"><td class="num" id="LN1057">1057</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, event-&gt;x, event-&gt;y);</td></tr>
+<tr class="codeline" data-linenumber="1058"><td class="num" id="LN1058">1058</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1059"><td class="num" id="LN1059">1059</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_SHIFT_MASK)</td></tr>
+<tr class="codeline" data-linenumber="1060"><td class="num" id="LN1060">1060</td><td class="line"> scroll_by (view, yofs, xofs);</td></tr>
+<tr class="codeline" data-linenumber="1061"><td class="num" id="LN1061">1061</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_CONTROL_MASK)</td></tr>
+<tr class="codeline" data-linenumber="1062"><td class="num" id="LN1062">1062</td><td class="line"> set_zoom (view, priv-&gt;zoom * zoom_factor,</td></tr>
+<tr class="codeline" data-linenumber="1063"><td class="num" id="LN1063">1063</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, event-&gt;x, event-&gt;y);</td></tr>
+<tr class="codeline" data-linenumber="1064"><td class="num" id="LN1064">1064</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1065"><td class="num" id="LN1065">1065</td><td class="line"> scroll_by (view, xofs, yofs);</td></tr>
+<tr class="codeline" data-linenumber="1066"><td class="num" id="LN1066">1066</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1067"><td class="num" id="LN1067">1067</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1068"><td class="num" id="LN1068">1068</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1069"><td class="num" id="LN1069">1069</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1070"><td class="num" id="LN1070">1070</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1071"><td class="num" id="LN1071">1071</td><td class="line"><span class='comment'>/* Motion event handler for the image view */</span></td></tr>
+<tr class="codeline" data-linenumber="1072"><td class="num" id="LN1072">1072</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1073"><td class="num" id="LN1073">1073</td><td class="line">eom_scroll_view_motion_event (GtkWidget *widget, GdkEventMotion *event, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1074"><td class="num" id="LN1074">1074</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1075"><td class="num" id="LN1075">1075</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1076"><td class="num" id="LN1076">1076</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1077"><td class="num" id="LN1077">1077</td><td class="line"> gint x, y;</td></tr>
+<tr class="codeline" data-linenumber="1078"><td class="num" id="LN1078">1078</td><td class="line"> GdkModifierType mods;</td></tr>
+<tr class="codeline" data-linenumber="1079"><td class="num" id="LN1079">1079</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1080"><td class="num" id="LN1080">1080</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1081"><td class="num" id="LN1081">1081</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1082"><td class="num" id="LN1082">1082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1083"><td class="num" id="LN1083">1083</td><td class="line"> <span class='keyword'>if</span> (!priv-&gt;dragging)</td></tr>
+<tr class="codeline" data-linenumber="1084"><td class="num" id="LN1084">1084</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1085"><td class="num" id="LN1085">1085</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1086"><td class="num" id="LN1086">1086</td><td class="line"> <span class='keyword'>if</span> (event-&gt;is_hint)</td></tr>
+<tr class="codeline" data-linenumber="1087"><td class="num" id="LN1087">1087</td><td class="line"> gdk_window_get_device_position (gtk_widget_get_window (priv-&gt;display), event-&gt;device, &amp;x, &amp;y, &amp;mods);</td></tr>
+<tr class="codeline" data-linenumber="1088"><td class="num" id="LN1088">1088</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1089"><td class="num" id="LN1089">1089</td><td class="line"> x = event-&gt;x;</td></tr>
+<tr class="codeline" data-linenumber="1090"><td class="num" id="LN1090">1090</td><td class="line"> y = event-&gt;y;</td></tr>
+<tr class="codeline" data-linenumber="1091"><td class="num" id="LN1091">1091</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1092"><td class="num" id="LN1092">1092</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1093"><td class="num" id="LN1093">1093</td><td class="line"> drag_to (view, x, y);</td></tr>
+<tr class="codeline" data-linenumber="1094"><td class="num" id="LN1094">1094</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1095"><td class="num" id="LN1095">1095</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1096"><td class="num" id="LN1096">1096</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1097"><td class="num" id="LN1097">1097</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1098"><td class="num" id="LN1098">1098</td><td class="line">display_map_event (GtkWidget *widget, GdkEvent *event, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1099"><td class="num" id="LN1099">1099</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1100"><td class="num" id="LN1100">1100</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1101"><td class="num" id="LN1101">1101</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1102"><td class="num" id="LN1102">1102</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1103"><td class="num" id="LN1103">1103</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1104"><td class="num" id="LN1104">1104</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1105"><td class="num" id="LN1105">1105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1106"><td class="num" id="LN1106">1106</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-scroll-view.c", 1106, ((const char*) (<br>__func__))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1107"><td class="num" id="LN1107">1107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1108"><td class="num" id="LN1108">1108</td><td class="line"> set_zoom_fit (view);</td></tr>
+<tr class="codeline" data-linenumber="1109"><td class="num" id="LN1109">1109</td><td class="line"> check_scrollbar_visibility (view, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1110"><td class="num" id="LN1110">1110</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1111"><td class="num" id="LN1111">1111</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1112"><td class="num" id="LN1112">1112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1113"><td class="num" id="LN1113">1113</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1114"><td class="num" id="LN1114">1114</td><td class="line">eom_scroll_view_size_allocate (GtkWidget *widget, GtkAllocation *alloc)</td></tr>
+<tr class="codeline" data-linenumber="1115"><td class="num" id="LN1115">1115</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1116"><td class="num" id="LN1116">1116</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1117"><td class="num" id="LN1117">1117</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1118"><td class="num" id="LN1118">1118</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (widget)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1119"><td class="num" id="LN1119">1119</td><td class="line"> check_scrollbar_visibility (view, alloc);</td></tr>
+<tr class="codeline" data-linenumber="1120"><td class="num" id="LN1120">1120</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1121"><td class="num" id="LN1121">1121</td><td class="line"> <span class='macro'>GTK_WIDGET_CLASS (eom_scroll_view_parent_class)<span class='macro_popup'>((((GtkWidgetClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_scroll_view_parent_class)), ((gtk_widget_get_type ()<br>))))))</span></span>-&gt;size_allocate (widget</td></tr>
+<tr class="codeline" data-linenumber="1122"><td class="num" id="LN1122">1122</td><td class="line"> ,alloc);</td></tr>
+<tr class="codeline" data-linenumber="1123"><td class="num" id="LN1123">1123</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1124"><td class="num" id="LN1124">1124</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1125"><td class="num" id="LN1125">1125</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1126"><td class="num" id="LN1126">1126</td><td class="line">display_size_change (GtkWidget *widget, GdkEventConfigure *event, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1127"><td class="num" id="LN1127">1127</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1128"><td class="num" id="LN1128">1128</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1129"><td class="num" id="LN1129">1129</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1130"><td class="num" id="LN1130">1130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1131"><td class="num" id="LN1131">1131</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1132"><td class="num" id="LN1132">1132</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1133"><td class="num" id="LN1133">1133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1134"><td class="num" id="LN1134">1134</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;zoom_mode == ZOOM_MODE_FIT) {</td></tr>
+<tr class="codeline" data-linenumber="1135"><td class="num" id="LN1135">1135</td><td class="line"> GtkAllocation alloc;</td></tr>
+<tr class="codeline" data-linenumber="1136"><td class="num" id="LN1136">1136</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1137"><td class="num" id="LN1137">1137</td><td class="line"> alloc.width = event-&gt;width;</td></tr>
+<tr class="codeline" data-linenumber="1138"><td class="num" id="LN1138">1138</td><td class="line"> alloc.height = event-&gt;height;</td></tr>
+<tr class="codeline" data-linenumber="1139"><td class="num" id="LN1139">1139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1140"><td class="num" id="LN1140">1140</td><td class="line"> set_zoom_fit (view);</td></tr>
+<tr class="codeline" data-linenumber="1141"><td class="num" id="LN1141">1141</td><td class="line"> check_scrollbar_visibility (view, &amp;alloc);</td></tr>
+<tr class="codeline" data-linenumber="1142"><td class="num" id="LN1142">1142</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1143"><td class="num" id="LN1143">1143</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1144"><td class="num" id="LN1144">1144</td><td class="line"> <span class='keyword'>int</span> scaled_width, scaled_height;</td></tr>
+<tr class="codeline" data-linenumber="1145"><td class="num" id="LN1145">1145</td><td class="line"> <span class='keyword'>int</span> x_offset = 0;</td></tr>
+<tr class="codeline" data-linenumber="1146"><td class="num" id="LN1146">1146</td><td class="line"> <span class='keyword'>int</span> y_offset = 0;</td></tr>
+<tr class="codeline" data-linenumber="1147"><td class="num" id="LN1147">1147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1148"><td class="num" id="LN1148">1148</td><td class="line"> compute_scaled_size (view, priv-&gt;zoom, &amp;scaled_width, &amp;scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="1149"><td class="num" id="LN1149">1149</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1150"><td class="num" id="LN1150">1150</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;xofs + event-&gt;width &gt; scaled_width)</td></tr>
+<tr class="codeline" data-linenumber="1151"><td class="num" id="LN1151">1151</td><td class="line"> x_offset = scaled_width - event-&gt;width - priv-&gt;xofs;</td></tr>
+<tr class="codeline" data-linenumber="1152"><td class="num" id="LN1152">1152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1153"><td class="num" id="LN1153">1153</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;yofs + event-&gt;height &gt; scaled_height)</td></tr>
+<tr class="codeline" data-linenumber="1154"><td class="num" id="LN1154">1154</td><td class="line"> y_offset = scaled_height - event-&gt;height - priv-&gt;yofs;</td></tr>
+<tr class="codeline" data-linenumber="1155"><td class="num" id="LN1155">1155</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1156"><td class="num" id="LN1156">1156</td><td class="line"> scroll_by (view, x_offset, y_offset);</td></tr>
+<tr class="codeline" data-linenumber="1157"><td class="num" id="LN1157">1157</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1158"><td class="num" id="LN1158">1158</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1159"><td class="num" id="LN1159">1159</td><td class="line"> update_scrollbar_values (view);</td></tr>
+<tr class="codeline" data-linenumber="1160"><td class="num" id="LN1160">1160</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1161"><td class="num" id="LN1161">1161</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1162"><td class="num" id="LN1162">1162</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1163"><td class="num" id="LN1163">1163</td><td class="line">eom_scroll_view_focus_in_event (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="1164"><td class="num" id="LN1164">1164</td><td class="line"> GdkEventFocus *event,</td></tr>
+<tr class="codeline" data-linenumber="1165"><td class="num" id="LN1165">1165</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1166"><td class="num" id="LN1166">1166</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1167"><td class="num" id="LN1167">1167</td><td class="line"> g_signal_stop_emission_by_name (widget, <span class='string_literal'>"focus_in_event"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1168"><td class="num" id="LN1168">1168</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1169"><td class="num" id="LN1169">1169</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1170"><td class="num" id="LN1170">1170</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1171"><td class="num" id="LN1171">1171</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1172"><td class="num" id="LN1172">1172</td><td class="line">eom_scroll_view_focus_out_event (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="1173"><td class="num" id="LN1173">1173</td><td class="line"> GdkEventFocus *event,</td></tr>
+<tr class="codeline" data-linenumber="1174"><td class="num" id="LN1174">1174</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1175"><td class="num" id="LN1175">1175</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1176"><td class="num" id="LN1176">1176</td><td class="line"> g_signal_stop_emission_by_name (widget, <span class='string_literal'>"focus_out_event"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1177"><td class="num" id="LN1177">1177</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1178"><td class="num" id="LN1178">1178</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1179"><td class="num" id="LN1179">1179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1180"><td class="num" id="LN1180">1180</td><td class="line"><span class='keyword'>static</span> gboolean _hq_redraw_cb (gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1181"><td class="num" id="LN1181">1181</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1182"><td class="num" id="LN1182">1182</td><td class="line"> EomScrollViewPrivate *priv = <span class='macro'>EOM_SCROLL_VIEW (user_data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_scroll_view_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1183"><td class="num" id="LN1183">1183</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1184"><td class="num" id="LN1184">1184</td><td class="line"> priv-&gt;force_unfiltered = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1185"><td class="num" id="LN1185">1185</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1186"><td class="num" id="LN1186">1186</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1187"><td class="num" id="LN1187">1187</td><td class="line"> priv-&gt;hq_redraw_timeout_source = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1188"><td class="num" id="LN1188">1188</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>G_SOURCE_REMOVE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1189"><td class="num" id="LN1189">1189</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1190"><td class="num" id="LN1190">1190</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1191"><td class="num" id="LN1191">1191</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1192"><td class="num" id="LN1192">1192</td><td class="line">_clear_hq_redraw_timeout (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1193"><td class="num" id="LN1193">1193</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1194"><td class="num" id="LN1194">1194</td><td class="line"> EomScrollViewPrivate *priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1195"><td class="num" id="LN1195">1195</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1196"><td class="num" id="LN1196">1196</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;hq_redraw_timeout_source != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1197"><td class="num" id="LN1197">1197</td><td class="line"> g_source_unref (priv-&gt;hq_redraw_timeout_source);</td></tr>
+<tr class="codeline" data-linenumber="1198"><td class="num" id="LN1198">1198</td><td class="line"> g_source_destroy (priv-&gt;hq_redraw_timeout_source);</td></tr>
+<tr class="codeline" data-linenumber="1199"><td class="num" id="LN1199">1199</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1200"><td class="num" id="LN1200">1200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1201"><td class="num" id="LN1201">1201</td><td class="line"> priv-&gt;hq_redraw_timeout_source = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1202"><td class="num" id="LN1202">1202</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1203"><td class="num" id="LN1203">1203</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1204"><td class="num" id="LN1204">1204</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1205"><td class="num" id="LN1205">1205</td><td class="line">_set_hq_redraw_timeout (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1206"><td class="num" id="LN1206">1206</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1207"><td class="num" id="LN1207">1207</td><td class="line"> GSource *source;</td></tr>
+<tr class="codeline" data-linenumber="1208"><td class="num" id="LN1208">1208</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1209"><td class="num" id="LN1209">1209</td><td class="line"> _clear_hq_redraw_timeout (view);</td></tr>
+<tr class="codeline" data-linenumber="1210"><td class="num" id="LN1210">1210</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1211"><td class="num" id="LN1211">1211</td><td class="line"> source = g_timeout_source_new (200);</td></tr>
+<tr class="codeline" data-linenumber="1212"><td class="num" id="LN1212">1212</td><td class="line"> g_source_set_callback (source, &amp;_hq_redraw_cb, view, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1213"><td class="num" id="LN1213">1213</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1214"><td class="num" id="LN1214">1214</td><td class="line"> g_source_attach (source, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1215"><td class="num" id="LN1215">1215</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1216"><td class="num" id="LN1216">1216</td><td class="line"> view-&gt;priv-&gt;hq_redraw_timeout_source = source;</td></tr>
+<tr class="codeline" data-linenumber="1217"><td class="num" id="LN1217">1217</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1218"><td class="num" id="LN1218">1218</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1219"><td class="num" id="LN1219">1219</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1220"><td class="num" id="LN1220">1220</td><td class="line">display_draw (GtkWidget *widget, cairo_t *cr, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1221"><td class="num" id="LN1221">1221</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1222"><td class="num" id="LN1222">1222</td><td class="line"> <span class='keyword'>const</span> GdkRGBA *background_color = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1223"><td class="num" id="LN1223">1223</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1224"><td class="num" id="LN1224">1224</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1225"><td class="num" id="LN1225">1225</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="1226"><td class="num" id="LN1226">1226</td><td class="line"> <span class='keyword'>int</span> scaled_width, scaled_height;</td></tr>
+<tr class="codeline" data-linenumber="1227"><td class="num" id="LN1227">1227</td><td class="line"> <span class='keyword'>int</span> xofs, yofs;</td></tr>
+<tr class="codeline" data-linenumber="1228"><td class="num" id="LN1228">1228</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1229"><td class="num" id="LN1229">1229</td><td class="line"> <span class='macro'>g_return_val_if_fail (GTK_IS_DRAWING_AREA (widget), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((widget)); GType __t = ((gtk_drawing_area_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "GTK_IS_DRAWING_AREA (widget)"); return ((0)); } } while (<br>0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1230"><td class="num" id="LN1230">1230</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_SCROLL_VIEW (data), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((data)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (data)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1231"><td class="num" id="LN1231">1231</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1232"><td class="num" id="LN1232">1232</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1233"><td class="num" id="LN1233">1233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1234"><td class="num" id="LN1234">1234</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1235"><td class="num" id="LN1235">1235</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1236"><td class="num" id="LN1236">1236</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1237"><td class="num" id="LN1237">1237</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1238"><td class="num" id="LN1238">1238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1239"><td class="num" id="LN1239">1239</td><td class="line"> compute_scaled_size (view, priv-&gt;zoom, &amp;scaled_width, &amp;scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="1240"><td class="num" id="LN1240">1240</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1241"><td class="num" id="LN1241">1241</td><td class="line"> gtk_widget_get_allocation (priv-&gt;display, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="1242"><td class="num" id="LN1242">1242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1243"><td class="num" id="LN1243">1243</td><td class="line"> <span class='comment'>/* Compute image offsets with respect to the window */</span></td></tr>
+<tr class="codeline" data-linenumber="1244"><td class="num" id="LN1244">1244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1245"><td class="num" id="LN1245">1245</td><td class="line"> <span class='keyword'>if</span> (scaled_width &lt;= allocation.width)</td></tr>
+<tr class="codeline" data-linenumber="1246"><td class="num" id="LN1246">1246</td><td class="line"> xofs = (allocation.width - scaled_width) / 2;</td></tr>
+<tr class="codeline" data-linenumber="1247"><td class="num" id="LN1247">1247</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1248"><td class="num" id="LN1248">1248</td><td class="line"> xofs = -priv-&gt;xofs;</td></tr>
+<tr class="codeline" data-linenumber="1249"><td class="num" id="LN1249">1249</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1250"><td class="num" id="LN1250">1250</td><td class="line"> <span class='keyword'>if</span> (scaled_height &lt;= allocation.height)</td></tr>
+<tr class="codeline" data-linenumber="1251"><td class="num" id="LN1251">1251</td><td class="line"> yofs = (allocation.height - scaled_height) / 2;</td></tr>
+<tr class="codeline" data-linenumber="1252"><td class="num" id="LN1252">1252</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1253"><td class="num" id="LN1253">1253</td><td class="line"> yofs = -priv-&gt;yofs;</td></tr>
+<tr class="codeline" data-linenumber="1254"><td class="num" id="LN1254">1254</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1255"><td class="num" id="LN1255">1255</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-scroll-view.c", 1255, ((const char*) (<br>__func__))</span></span>, <span class='string_literal'>"zoom %.2f, xofs: %i, yofs: %i scaled w: %i h: %i\n"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1256"><td class="num" id="LN1256">1256</td><td class="line"> priv-&gt;zoom, xofs, yofs, scaled_width, scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="1257"><td class="num" id="LN1257">1257</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1258"><td class="num" id="LN1258">1258</td><td class="line"> <span class='comment'>/* Paint the background */</span></td></tr>
+<tr class="codeline" data-linenumber="1259"><td class="num" id="LN1259">1259</td><td class="line"> cairo_rectangle (cr, 0, 0, allocation.width, allocation.height);</td></tr>
+<tr class="codeline" data-linenumber="1260"><td class="num" id="LN1260">1260</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;transp_style != EOM_TRANSP_BACKGROUND)</td></tr>
+<tr class="codeline" data-linenumber="1261"><td class="num" id="LN1261">1261</td><td class="line"> cairo_rectangle (cr, <span class='macro'>MAX (0, xofs)<span class='macro_popup'>(((0) &gt; (xofs)) ? (0) : (xofs))</span></span>, <span class='macro'>MAX (0, yofs)<span class='macro_popup'>(((0) &gt; (yofs)) ? (0) : (yofs))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1262"><td class="num" id="LN1262">1262</td><td class="line"> scaled_width, scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="1263"><td class="num" id="LN1263">1263</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;override_bg_color != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1264"><td class="num" id="LN1264">1264</td><td class="line"> background_color = priv-&gt;override_bg_color;</td></tr>
+<tr class="codeline" data-linenumber="1265"><td class="num" id="LN1265">1265</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (priv-&gt;use_bg_color)</td></tr>
+<tr class="codeline" data-linenumber="1266"><td class="num" id="LN1266">1266</td><td class="line"> background_color = priv-&gt;background_color;</td></tr>
+<tr class="codeline" data-linenumber="1267"><td class="num" id="LN1267">1267</td><td class="line"> <span class='keyword'>if</span> (background_color != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1268"><td class="num" id="LN1268">1268</td><td class="line"> cairo_set_source_rgba (cr,</td></tr>
+<tr class="codeline" data-linenumber="1269"><td class="num" id="LN1269">1269</td><td class="line"> background_color-&gt;red,</td></tr>
+<tr class="codeline" data-linenumber="1270"><td class="num" id="LN1270">1270</td><td class="line"> background_color-&gt;green,</td></tr>
+<tr class="codeline" data-linenumber="1271"><td class="num" id="LN1271">1271</td><td class="line"> background_color-&gt;blue,</td></tr>
+<tr class="codeline" data-linenumber="1272"><td class="num" id="LN1272">1272</td><td class="line"> background_color-&gt;alpha);</td></tr>
+<tr class="codeline" data-linenumber="1273"><td class="num" id="LN1273">1273</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1274"><td class="num" id="LN1274">1274</td><td class="line"> cairo_set_source (cr, gdk_window_get_background_pattern (gtk_widget_get_window (priv-&gt;display)));</td></tr>
+<tr class="codeline" data-linenumber="1275"><td class="num" id="LN1275">1275</td><td class="line"> cairo_set_fill_rule (cr, CAIRO_FILL_RULE_EVEN_ODD);</td></tr>
+<tr class="codeline" data-linenumber="1276"><td class="num" id="LN1276">1276</td><td class="line"> cairo_fill (cr);</td></tr>
+<tr class="codeline" data-linenumber="1277"><td class="num" id="LN1277">1277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1278"><td class="num" id="LN1278">1278</td><td class="line"> <span class='keyword'>if</span> (gdk_pixbuf_get_has_alpha (priv-&gt;pixbuf)) {</td></tr>
+<tr class="codeline" data-linenumber="1279"><td class="num" id="LN1279">1279</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;background_surface == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1280"><td class="num" id="LN1280">1280</td><td class="line"> priv-&gt;background_surface = create_background_surface (view);</td></tr>
+<tr class="codeline" data-linenumber="1281"><td class="num" id="LN1281">1281</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1282"><td class="num" id="LN1282">1282</td><td class="line"> cairo_set_source_surface (cr, priv-&gt;background_surface, xofs, yofs);</td></tr>
+<tr class="codeline" data-linenumber="1283"><td class="num" id="LN1283">1283</td><td class="line"> cairo_pattern_set_extend (cairo_get_source (cr), CAIRO_EXTEND_REPEAT);</td></tr>
+<tr class="codeline" data-linenumber="1284"><td class="num" id="LN1284">1284</td><td class="line"> cairo_rectangle (cr, xofs, yofs, scaled_width, scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="1285"><td class="num" id="LN1285">1285</td><td class="line"> cairo_fill (cr);</td></tr>
+<tr class="codeline" data-linenumber="1286"><td class="num" id="LN1286">1286</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1287"><td class="num" id="LN1287">1287</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1288"><td class="num" id="LN1288">1288</td><td class="line"> <span class='comment'>/* Make sure the image is only drawn as large as needed.</span></td></tr>
+<tr class="codeline" data-linenumber="1289"><td class="num" id="LN1289">1289</td><td class="line"> <span class='comment'>* This is especially necessary for SVGs where there might</span></td></tr>
+<tr class="codeline" data-linenumber="1290"><td class="num" id="LN1290">1290</td><td class="line"> <span class='comment'>* be more image data available outside the image boundaries.</span></td></tr>
+<tr class="codeline" data-linenumber="1291"><td class="num" id="LN1291">1291</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1292"><td class="num" id="LN1292">1292</td><td class="line"> cairo_rectangle (cr, xofs, yofs, scaled_width, scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="1293"><td class="num" id="LN1293">1293</td><td class="line"> cairo_clip (cr);</td></tr>
+<tr class="codeline" data-linenumber="1294"><td class="num" id="LN1294">1294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1295"><td class="num" id="LN1295">1295</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_RSVG<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="1296"><td class="num" id="LN1296">1296</td><td class="line"> <span class='keyword'>if</span> (eom_image_is_svg (view-&gt;priv-&gt;image)) {</td></tr>
+<tr class="codeline" data-linenumber="1297"><td class="num" id="LN1297">1297</td><td class="line"> cairo_matrix_t matrix, translate, scale, original;</td></tr>
+<tr class="codeline" data-linenumber="1298"><td class="num" id="LN1298">1298</td><td class="line"> EomTransform *transform = eom_image_get_transform (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="1299"><td class="num" id="LN1299">1299</td><td class="line"> cairo_matrix_init_identity (&amp;matrix);</td></tr>
+<tr class="codeline" data-linenumber="1300"><td class="num" id="LN1300">1300</td><td class="line"> <span class='keyword'>if</span> (transform) {</td></tr>
+<tr class="codeline" data-linenumber="1301"><td class="num" id="LN1301">1301</td><td class="line"> cairo_matrix_t affine;</td></tr>
+<tr class="codeline" data-linenumber="1302"><td class="num" id="LN1302">1302</td><td class="line"> <span class='keyword'>int</span> image_offset_x = 0;</td></tr>
+<tr class="codeline" data-linenumber="1303"><td class="num" id="LN1303">1303</td><td class="line"> <span class='keyword'>int</span> image_offset_y = 0;</td></tr>
+<tr class="codeline" data-linenumber="1304"><td class="num" id="LN1304">1304</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1305"><td class="num" id="LN1305">1305</td><td class="line"> eom_transform_get_affine (transform, &amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="1306"><td class="num" id="LN1306">1306</td><td class="line"> cairo_matrix_multiply (&amp;matrix, &amp;affine, &amp;matrix);</td></tr>
+<tr class="codeline" data-linenumber="1307"><td class="num" id="LN1307">1307</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1308"><td class="num" id="LN1308">1308</td><td class="line"> <span class='keyword'>switch</span> (eom_transform_get_transform_type (transform)) {</td></tr>
+<tr class="codeline" data-linenumber="1309"><td class="num" id="LN1309">1309</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_90:</td></tr>
+<tr class="codeline" data-linenumber="1310"><td class="num" id="LN1310">1310</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_HORIZONTAL:</td></tr>
+<tr class="codeline" data-linenumber="1311"><td class="num" id="LN1311">1311</td><td class="line"> image_offset_x = gdk_pixbuf_get_width (priv-&gt;pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1312"><td class="num" id="LN1312">1312</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1313"><td class="num" id="LN1313">1313</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_270:</td></tr>
+<tr class="codeline" data-linenumber="1314"><td class="num" id="LN1314">1314</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_VERTICAL:</td></tr>
+<tr class="codeline" data-linenumber="1315"><td class="num" id="LN1315">1315</td><td class="line"> image_offset_y = gdk_pixbuf_get_height (priv-&gt;pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1316"><td class="num" id="LN1316">1316</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1317"><td class="num" id="LN1317">1317</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_180:</td></tr>
+<tr class="codeline" data-linenumber="1318"><td class="num" id="LN1318">1318</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSPOSE:</td></tr>
+<tr class="codeline" data-linenumber="1319"><td class="num" id="LN1319">1319</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSVERSE:</td></tr>
+<tr class="codeline" data-linenumber="1320"><td class="num" id="LN1320">1320</td><td class="line"> image_offset_x = gdk_pixbuf_get_width (priv-&gt;pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1321"><td class="num" id="LN1321">1321</td><td class="line"> image_offset_y = gdk_pixbuf_get_height (priv-&gt;pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1322"><td class="num" id="LN1322">1322</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1323"><td class="num" id="LN1323">1323</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_NONE:</td></tr>
+<tr class="codeline" data-linenumber="1324"><td class="num" id="LN1324">1324</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="1325"><td class="num" id="LN1325">1325</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1326"><td class="num" id="LN1326">1326</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1327"><td class="num" id="LN1327">1327</td><td class="line"> cairo_matrix_init_translate (&amp;translate, (<span class='keyword'>double</span>) image_offset_x, (<span class='keyword'>double</span>) image_offset_y);</td></tr>
+<tr class="codeline" data-linenumber="1328"><td class="num" id="LN1328">1328</td><td class="line"> cairo_matrix_multiply (&amp;matrix, &amp;matrix, &amp;translate);</td></tr>
+<tr class="codeline" data-linenumber="1329"><td class="num" id="LN1329">1329</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1330"><td class="num" id="LN1330">1330</td><td class="line"> <span class='comment'>/* Zoom factor for SVGs is already scaled, so scale back to application pixels. */</span></td></tr>
+<tr class="codeline" data-linenumber="1331"><td class="num" id="LN1331">1331</td><td class="line"> cairo_matrix_init_scale (&amp;scale, priv-&gt;zoom / priv-&gt;scale, priv-&gt;zoom / priv-&gt;scale);</td></tr>
+<tr class="codeline" data-linenumber="1332"><td class="num" id="LN1332">1332</td><td class="line"> cairo_matrix_multiply (&amp;matrix, &amp;matrix, &amp;scale);</td></tr>
+<tr class="codeline" data-linenumber="1333"><td class="num" id="LN1333">1333</td><td class="line"> cairo_matrix_init_translate (&amp;translate, xofs, yofs);</td></tr>
+<tr class="codeline" data-linenumber="1334"><td class="num" id="LN1334">1334</td><td class="line"> cairo_matrix_multiply (&amp;matrix, &amp;matrix, &amp;translate);</td></tr>
+<tr class="codeline" data-linenumber="1335"><td class="num" id="LN1335">1335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1336"><td class="num" id="LN1336">1336</td><td class="line"> cairo_get_matrix (cr, &amp;original);</td></tr>
+<tr class="codeline" data-linenumber="1337"><td class="num" id="LN1337">1337</td><td class="line"> cairo_matrix_multiply (&amp;matrix, &amp;matrix, &amp;original);</td></tr>
+<tr class="codeline" data-linenumber="1338"><td class="num" id="LN1338">1338</td><td class="line"> cairo_set_matrix (cr, &amp;matrix);</td></tr>
+<tr class="codeline" data-linenumber="1339"><td class="num" id="LN1339">1339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1340"><td class="num" id="LN1340">1340</td><td class="line"> rsvg_handle_render_cairo (eom_image_get_svg (priv-&gt;image), cr);</td></tr>
+<tr class="codeline" data-linenumber="1341"><td class="num" id="LN1341">1341</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1342"><td class="num" id="LN1342">1342</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1343"><td class="num" id="LN1343">1343</td><td class="line"><span class='directive'>#endif /* HAVE_RSVG */</span></td></tr>
+<tr class="codeline" data-linenumber="1344"><td class="num" id="LN1344">1344</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1345"><td class="num" id="LN1345">1345</td><td class="line"> cairo_filter_t interp_type;</td></tr>
+<tr class="codeline" data-linenumber="1346"><td class="num" id="LN1346">1346</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1347"><td class="num" id="LN1347">1347</td><td class="line"> <span class='keyword'>if</span>(!<span class='macro'>DOUBLE_EQUAL(priv-&gt;zoom, 1.0)<span class='macro_popup'>(fabs (priv-&gt;zoom - 1.0) &lt; 1e-6)</span></span> &amp;&amp; priv-&gt;force_unfiltered)</td></tr>
+<tr class="codeline" data-linenumber="1348"><td class="num" id="LN1348">1348</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1349"><td class="num" id="LN1349">1349</td><td class="line"> interp_type = CAIRO_FILTER_NEAREST;</td></tr>
+<tr class="codeline" data-linenumber="1350"><td class="num" id="LN1350">1350</td><td class="line"> _set_hq_redraw_timeout(view);</td></tr>
+<tr class="codeline" data-linenumber="1351"><td class="num" id="LN1351">1351</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1352"><td class="num" id="LN1352">1352</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1353"><td class="num" id="LN1353">1353</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1354"><td class="num" id="LN1354">1354</td><td class="line"> <span class='keyword'>if</span> (is_zoomed_in (view))</td></tr>
+<tr class="codeline" data-linenumber="1355"><td class="num" id="LN1355">1355</td><td class="line"> interp_type = priv-&gt;interp_type_in;</td></tr>
+<tr class="codeline" data-linenumber="1356"><td class="num" id="LN1356">1356</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1357"><td class="num" id="LN1357">1357</td><td class="line"> interp_type = priv-&gt;interp_type_out;</td></tr>
+<tr class="codeline" data-linenumber="1358"><td class="num" id="LN1358">1358</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1359"><td class="num" id="LN1359">1359</td><td class="line"> _clear_hq_redraw_timeout (view);</td></tr>
+<tr class="codeline" data-linenumber="1360"><td class="num" id="LN1360">1360</td><td class="line"> priv-&gt;force_unfiltered = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1361"><td class="num" id="LN1361">1361</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1362"><td class="num" id="LN1362">1362</td><td class="line"> cairo_scale (cr, priv-&gt;zoom, priv-&gt;zoom);</td></tr>
+<tr class="codeline" data-linenumber="1363"><td class="num" id="LN1363">1363</td><td class="line"> cairo_set_source_surface (cr, priv-&gt;surface, xofs/priv-&gt;zoom, yofs/priv-&gt;zoom);</td></tr>
+<tr class="codeline" data-linenumber="1364"><td class="num" id="LN1364">1364</td><td class="line"> cairo_pattern_set_extend (cairo_get_source (cr), CAIRO_EXTEND_PAD);</td></tr>
+<tr class="codeline" data-linenumber="1365"><td class="num" id="LN1365">1365</td><td class="line"> <span class='keyword'>if</span> (is_zoomed_in (view) || is_zoomed_out (view))</td></tr>
+<tr class="codeline" data-linenumber="1366"><td class="num" id="LN1366">1366</td><td class="line"> cairo_pattern_set_filter (cairo_get_source (cr), interp_type);</td></tr>
+<tr class="codeline" data-linenumber="1367"><td class="num" id="LN1367">1367</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1368"><td class="num" id="LN1368">1368</td><td class="line"> cairo_paint (cr);</td></tr>
+<tr class="codeline" data-linenumber="1369"><td class="num" id="LN1369">1369</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1370"><td class="num" id="LN1370">1370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1371"><td class="num" id="LN1371">1371</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1372"><td class="num" id="LN1372">1372</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1373"><td class="num" id="LN1373">1373</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1374"><td class="num" id="LN1374">1374</td><td class="line"><span class='comment'>/*==================================</span></td></tr>
+<tr class="codeline" data-linenumber="1375"><td class="num" id="LN1375">1375</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1376"><td class="num" id="LN1376">1376</td><td class="line"> <span class='comment'>image loading callbacks</span></td></tr>
+<tr class="codeline" data-linenumber="1377"><td class="num" id="LN1377">1377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1378"><td class="num" id="LN1378">1378</td><td class="line"> <span class='comment'>-----------------------------------*/</span></td></tr>
+<tr class="codeline" data-linenumber="1379"><td class="num" id="LN1379">1379</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1380"><td class="num" id="LN1380">1380</td><td class="line"><span class='comment'>/* Use when the pixbuf in the view is changed, to keep a</span></td></tr>
+<tr class="codeline" data-linenumber="1381"><td class="num" id="LN1381">1381</td><td class="line"> <span class='comment'>reference to it and create its cairo surface. */</span></td></tr>
+<tr class="codeline" data-linenumber="1382"><td class="num" id="LN1382">1382</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1383"><td class="num" id="LN1383">1383</td><td class="line">update_pixbuf (EomScrollView *view, GdkPixbuf *pixbuf)</td></tr>
+<tr class="codeline" data-linenumber="1384"><td class="num" id="LN1384">1384</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1385"><td class="num" id="LN1385">1385</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1386"><td class="num" id="LN1386">1386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1387"><td class="num" id="LN1387">1387</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1388"><td class="num" id="LN1388">1388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1389"><td class="num" id="LN1389">1389</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1390"><td class="num" id="LN1390">1390</td><td class="line"> g_object_unref (priv-&gt;pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1391"><td class="num" id="LN1391">1391</td><td class="line"> priv-&gt;pixbuf = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1392"><td class="num" id="LN1392">1392</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1393"><td class="num" id="LN1393">1393</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1394"><td class="num" id="LN1394">1394</td><td class="line"> priv-&gt;pixbuf = pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="1395"><td class="num" id="LN1395">1395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1396"><td class="num" id="LN1396">1396</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;surface) {</td></tr>
+<tr class="codeline" data-linenumber="1397"><td class="num" id="LN1397">1397</td><td class="line"> cairo_surface_destroy (priv-&gt;surface);</td></tr>
+<tr class="codeline" data-linenumber="1398"><td class="num" id="LN1398">1398</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1399"><td class="num" id="LN1399">1399</td><td class="line"> priv-&gt;surface = create_surface_from_pixbuf (view, priv-&gt;pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1400"><td class="num" id="LN1400">1400</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1401"><td class="num" id="LN1401">1401</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1402"><td class="num" id="LN1402">1402</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1403"><td class="num" id="LN1403">1403</td><td class="line">image_changed_cb (EomImage *img, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1404"><td class="num" id="LN1404">1404</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1405"><td class="num" id="LN1405">1405</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1406"><td class="num" id="LN1406">1406</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1407"><td class="num" id="LN1407">1407</td><td class="line"> priv = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1408"><td class="num" id="LN1408">1408</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1409"><td class="num" id="LN1409">1409</td><td class="line"> update_pixbuf (<span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>, eom_image_get_pixbuf (img));</td></tr>
+<tr class="codeline" data-linenumber="1410"><td class="num" id="LN1410">1410</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1411"><td class="num" id="LN1411">1411</td><td class="line"> set_zoom_fit (<span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1412"><td class="num" id="LN1412">1412</td><td class="line"> check_scrollbar_visibility (<span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1413"><td class="num" id="LN1413">1413</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1414"><td class="num" id="LN1414">1414</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1415"><td class="num" id="LN1415">1415</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1416"><td class="num" id="LN1416">1416</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1417"><td class="num" id="LN1417">1417</td><td class="line"><span class='comment'>/*===================================</span></td></tr>
+<tr class="codeline" data-linenumber="1418"><td class="num" id="LN1418">1418</td><td class="line"> <span class='comment'>public API</span></td></tr>
+<tr class="codeline" data-linenumber="1419"><td class="num" id="LN1419">1419</td><td class="line"> <span class='comment'>---------------------------------*/</span></td></tr>
+<tr class="codeline" data-linenumber="1420"><td class="num" id="LN1420">1420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1421"><td class="num" id="LN1421">1421</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1422"><td class="num" id="LN1422">1422</td><td class="line">eom_scroll_view_hide_cursor (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1423"><td class="num" id="LN1423">1423</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1424"><td class="num" id="LN1424">1424</td><td class="line"> eom_scroll_view_set_cursor (view, EOM_SCROLL_VIEW_CURSOR_HIDDEN);</td></tr>
+<tr class="codeline" data-linenumber="1425"><td class="num" id="LN1425">1425</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1426"><td class="num" id="LN1426">1426</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1427"><td class="num" id="LN1427">1427</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1428"><td class="num" id="LN1428">1428</td><td class="line">eom_scroll_view_show_cursor (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1429"><td class="num" id="LN1429">1429</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1430"><td class="num" id="LN1430">1430</td><td class="line"> eom_scroll_view_set_cursor (view, EOM_SCROLL_VIEW_CURSOR_NORMAL);</td></tr>
+<tr class="codeline" data-linenumber="1431"><td class="num" id="LN1431">1431</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1432"><td class="num" id="LN1432">1432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1433"><td class="num" id="LN1433">1433</td><td class="line"><span class='comment'>/* general properties */</span></td></tr>
+<tr class="codeline" data-linenumber="1434"><td class="num" id="LN1434">1434</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1435"><td class="num" id="LN1435">1435</td><td class="line">eom_scroll_view_set_zoom_upscale (EomScrollView *view, gboolean upscale)</td></tr>
+<tr class="codeline" data-linenumber="1436"><td class="num" id="LN1436">1436</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1437"><td class="num" id="LN1437">1437</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1438"><td class="num" id="LN1438">1438</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1439"><td class="num" id="LN1439">1439</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1440"><td class="num" id="LN1440">1440</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1441"><td class="num" id="LN1441">1441</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1442"><td class="num" id="LN1442">1442</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1443"><td class="num" id="LN1443">1443</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;upscale != upscale) {</td></tr>
+<tr class="codeline" data-linenumber="1444"><td class="num" id="LN1444">1444</td><td class="line"> priv-&gt;upscale = upscale;</td></tr>
+<tr class="codeline" data-linenumber="1445"><td class="num" id="LN1445">1445</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1446"><td class="num" id="LN1446">1446</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;zoom_mode == ZOOM_MODE_FIT) {</td></tr>
+<tr class="codeline" data-linenumber="1447"><td class="num" id="LN1447">1447</td><td class="line"> set_zoom_fit (view);</td></tr>
+<tr class="codeline" data-linenumber="1448"><td class="num" id="LN1448">1448</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1449"><td class="num" id="LN1449">1449</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1450"><td class="num" id="LN1450">1450</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1451"><td class="num" id="LN1451">1451</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1452"><td class="num" id="LN1452">1452</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1453"><td class="num" id="LN1453">1453</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1454"><td class="num" id="LN1454">1454</td><td class="line">eom_scroll_view_set_antialiasing_in (EomScrollView *view, gboolean state)</td></tr>
+<tr class="codeline" data-linenumber="1455"><td class="num" id="LN1455">1455</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1456"><td class="num" id="LN1456">1456</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1457"><td class="num" id="LN1457">1457</td><td class="line"> cairo_filter_t new_interp_type;</td></tr>
+<tr class="codeline" data-linenumber="1458"><td class="num" id="LN1458">1458</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1459"><td class="num" id="LN1459">1459</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1460"><td class="num" id="LN1460">1460</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1461"><td class="num" id="LN1461">1461</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1462"><td class="num" id="LN1462">1462</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1463"><td class="num" id="LN1463">1463</td><td class="line"> new_interp_type = state ? CAIRO_FILTER_GOOD : CAIRO_FILTER_NEAREST;</td></tr>
+<tr class="codeline" data-linenumber="1464"><td class="num" id="LN1464">1464</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1465"><td class="num" id="LN1465">1465</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;interp_type_in != new_interp_type) {</td></tr>
+<tr class="codeline" data-linenumber="1466"><td class="num" id="LN1466">1466</td><td class="line"> priv-&gt;interp_type_in = new_interp_type;</td></tr>
+<tr class="codeline" data-linenumber="1467"><td class="num" id="LN1467">1467</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1468"><td class="num" id="LN1468">1468</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"antialiasing-in"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1469"><td class="num" id="LN1469">1469</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1470"><td class="num" id="LN1470">1470</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1471"><td class="num" id="LN1471">1471</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1472"><td class="num" id="LN1472">1472</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1473"><td class="num" id="LN1473">1473</td><td class="line">eom_scroll_view_set_antialiasing_out (EomScrollView *view, gboolean state)</td></tr>
+<tr class="codeline" data-linenumber="1474"><td class="num" id="LN1474">1474</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1475"><td class="num" id="LN1475">1475</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1476"><td class="num" id="LN1476">1476</td><td class="line"> cairo_filter_t new_interp_type;</td></tr>
+<tr class="codeline" data-linenumber="1477"><td class="num" id="LN1477">1477</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1478"><td class="num" id="LN1478">1478</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1479"><td class="num" id="LN1479">1479</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1480"><td class="num" id="LN1480">1480</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1481"><td class="num" id="LN1481">1481</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1482"><td class="num" id="LN1482">1482</td><td class="line"> new_interp_type = state ? CAIRO_FILTER_GOOD : CAIRO_FILTER_NEAREST;</td></tr>
+<tr class="codeline" data-linenumber="1483"><td class="num" id="LN1483">1483</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1484"><td class="num" id="LN1484">1484</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;interp_type_out != new_interp_type) {</td></tr>
+<tr class="codeline" data-linenumber="1485"><td class="num" id="LN1485">1485</td><td class="line"> priv-&gt;interp_type_out = new_interp_type;</td></tr>
+<tr class="codeline" data-linenumber="1486"><td class="num" id="LN1486">1486</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1487"><td class="num" id="LN1487">1487</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"antialiasing-out"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1488"><td class="num" id="LN1488">1488</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1489"><td class="num" id="LN1489">1489</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1490"><td class="num" id="LN1490">1490</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1491"><td class="num" id="LN1491">1491</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1492"><td class="num" id="LN1492">1492</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1493"><td class="num" id="LN1493">1493</td><td class="line">_transp_background_changed (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1494"><td class="num" id="LN1494">1494</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1495"><td class="num" id="LN1495">1495</td><td class="line"> EomScrollViewPrivate *priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1496"><td class="num" id="LN1496">1496</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1497"><td class="num" id="LN1497">1497</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; gdk_pixbuf_get_has_alpha (priv-&gt;pixbuf)) {</td></tr>
+<tr class="codeline" data-linenumber="1498"><td class="num" id="LN1498">1498</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;background_surface) {</td></tr>
+<tr class="codeline" data-linenumber="1499"><td class="num" id="LN1499">1499</td><td class="line"> cairo_surface_destroy (priv-&gt;background_surface);</td></tr>
+<tr class="codeline" data-linenumber="1500"><td class="num" id="LN1500">1500</td><td class="line"> <span class='comment'>/* Will be recreated if needed during redraw */</span></td></tr>
+<tr class="codeline" data-linenumber="1501"><td class="num" id="LN1501">1501</td><td class="line"> priv-&gt;background_surface = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1502"><td class="num" id="LN1502">1502</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1503"><td class="num" id="LN1503">1503</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1504"><td class="num" id="LN1504">1504</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1505"><td class="num" id="LN1505">1505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1506"><td class="num" id="LN1506">1506</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1507"><td class="num" id="LN1507">1507</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1508"><td class="num" id="LN1508">1508</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1509"><td class="num" id="LN1509">1509</td><td class="line">eom_scroll_view_set_transparency_color (EomScrollView *view, GdkRGBA *color)</td></tr>
+<tr class="codeline" data-linenumber="1510"><td class="num" id="LN1510">1510</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1511"><td class="num" id="LN1511">1511</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1512"><td class="num" id="LN1512">1512</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1513"><td class="num" id="LN1513">1513</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1514"><td class="num" id="LN1514">1514</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1515"><td class="num" id="LN1515">1515</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1516"><td class="num" id="LN1516">1516</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1517"><td class="num" id="LN1517">1517</td><td class="line"> <span class='keyword'>if</span> (!_eom_gdk_rgba_equal0 (&amp;priv-&gt;transp_color, color)) {</td></tr>
+<tr class="codeline" data-linenumber="1518"><td class="num" id="LN1518">1518</td><td class="line"> priv-&gt;transp_color = *color;</td></tr>
+<tr class="codeline" data-linenumber="1519"><td class="num" id="LN1519">1519</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;transp_style == EOM_TRANSP_COLOR)</td></tr>
+<tr class="codeline" data-linenumber="1520"><td class="num" id="LN1520">1520</td><td class="line"> _transp_background_changed (view);</td></tr>
+<tr class="codeline" data-linenumber="1521"><td class="num" id="LN1521">1521</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1522"><td class="num" id="LN1522">1522</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"transparency-color"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1523"><td class="num" id="LN1523">1523</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1524"><td class="num" id="LN1524">1524</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1525"><td class="num" id="LN1525">1525</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1526"><td class="num" id="LN1526">1526</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1527"><td class="num" id="LN1527">1527</td><td class="line">eom_scroll_view_set_transparency (EomScrollView *view,</td></tr>
+<tr class="codeline" data-linenumber="1528"><td class="num" id="LN1528">1528</td><td class="line"> EomTransparencyStyle style)</td></tr>
+<tr class="codeline" data-linenumber="1529"><td class="num" id="LN1529">1529</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1530"><td class="num" id="LN1530">1530</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1531"><td class="num" id="LN1531">1531</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1532"><td class="num" id="LN1532">1532</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1533"><td class="num" id="LN1533">1533</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1534"><td class="num" id="LN1534">1534</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1535"><td class="num" id="LN1535">1535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1536"><td class="num" id="LN1536">1536</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;transp_style != style) {</td></tr>
+<tr class="codeline" data-linenumber="1537"><td class="num" id="LN1537">1537</td><td class="line"> priv-&gt;transp_style = style;</td></tr>
+<tr class="codeline" data-linenumber="1538"><td class="num" id="LN1538">1538</td><td class="line"> _transp_background_changed (view);</td></tr>
+<tr class="codeline" data-linenumber="1539"><td class="num" id="LN1539">1539</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"transparency-style"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1540"><td class="num" id="LN1540">1540</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1541"><td class="num" id="LN1541">1541</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1542"><td class="num" id="LN1542">1542</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1543"><td class="num" id="LN1543">1543</td><td class="line"><span class='comment'>/* zoom api */</span></td></tr>
+<tr class="codeline" data-linenumber="1544"><td class="num" id="LN1544">1544</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1545"><td class="num" id="LN1545">1545</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>double</span> preferred_zoom_levels[] = {</td></tr>
+<tr class="codeline" data-linenumber="1546"><td class="num" id="LN1546">1546</td><td class="line"> 1.0 / 100, 1.0 / 50, 1.0 / 20,</td></tr>
+<tr class="codeline" data-linenumber="1547"><td class="num" id="LN1547">1547</td><td class="line"> 1.0 / 10.0, 1.0 / 5.0, 1.0 / 3.0, 1.0 / 2.0, 1.0 / 1.5,</td></tr>
+<tr class="codeline" data-linenumber="1548"><td class="num" id="LN1548">1548</td><td class="line"> 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0,</td></tr>
+<tr class="codeline" data-linenumber="1549"><td class="num" id="LN1549">1549</td><td class="line"> 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0</td></tr>
+<tr class="codeline" data-linenumber="1550"><td class="num" id="LN1550">1550</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="1551"><td class="num" id="LN1551">1551</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> gint n_zoom_levels = (<span class='keyword'>sizeof</span> (preferred_zoom_levels) / <span class='keyword'>sizeof</span> (<span class='keyword'>double</span>));</td></tr>
+<tr class="codeline" data-linenumber="1552"><td class="num" id="LN1552">1552</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1553"><td class="num" id="LN1553">1553</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1554"><td class="num" id="LN1554">1554</td><td class="line">eom_scroll_view_zoom_in (EomScrollView *view, gboolean smooth)</td></tr>
+<tr class="codeline" data-linenumber="1555"><td class="num" id="LN1555">1555</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1556"><td class="num" id="LN1556">1556</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1557"><td class="num" id="LN1557">1557</td><td class="line"> <span class='keyword'>double</span> zoom;</td></tr>
+<tr class="codeline" data-linenumber="1558"><td class="num" id="LN1558">1558</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1559"><td class="num" id="LN1559">1559</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1560"><td class="num" id="LN1560">1560</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1561"><td class="num" id="LN1561">1561</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1562"><td class="num" id="LN1562">1562</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1563"><td class="num" id="LN1563">1563</td><td class="line"> <span class='keyword'>if</span> (smooth) {</td></tr>
+<tr class="codeline" data-linenumber="1564"><td class="num" id="LN1564">1564</td><td class="line"> zoom = priv-&gt;zoom * priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="1565"><td class="num" id="LN1565">1565</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1566"><td class="num" id="LN1566">1566</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1567"><td class="num" id="LN1567">1567</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="1568"><td class="num" id="LN1568">1568</td><td class="line"> <span class='keyword'>int</span> index = -1;</td></tr>
+<tr class="codeline" data-linenumber="1569"><td class="num" id="LN1569">1569</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1570"><td class="num" id="LN1570">1570</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; n_zoom_levels; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1571"><td class="num" id="LN1571">1571</td><td class="line"> <span class='keyword'>if</span> (preferred_zoom_levels [i] - priv-&gt;zoom</td></tr>
+<tr class="codeline" data-linenumber="1572"><td class="num" id="LN1572">1572</td><td class="line"> &gt; <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1573"><td class="num" id="LN1573">1573</td><td class="line"> index = i;</td></tr>
+<tr class="codeline" data-linenumber="1574"><td class="num" id="LN1574">1574</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1575"><td class="num" id="LN1575">1575</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1576"><td class="num" id="LN1576">1576</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1577"><td class="num" id="LN1577">1577</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1578"><td class="num" id="LN1578">1578</td><td class="line"> <span class='keyword'>if</span> (index == -1) {</td></tr>
+<tr class="codeline" data-linenumber="1579"><td class="num" id="LN1579">1579</td><td class="line"> zoom = priv-&gt;zoom;</td></tr>
+<tr class="codeline" data-linenumber="1580"><td class="num" id="LN1580">1580</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1581"><td class="num" id="LN1581">1581</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1582"><td class="num" id="LN1582">1582</td><td class="line"> zoom = preferred_zoom_levels [i];</td></tr>
+<tr class="codeline" data-linenumber="1583"><td class="num" id="LN1583">1583</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1584"><td class="num" id="LN1584">1584</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1585"><td class="num" id="LN1585">1585</td><td class="line"> set_zoom (view, zoom, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0, 0);</td></tr>
+<tr class="codeline" data-linenumber="1586"><td class="num" id="LN1586">1586</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1587"><td class="num" id="LN1587">1587</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1588"><td class="num" id="LN1588">1588</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1589"><td class="num" id="LN1589">1589</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1590"><td class="num" id="LN1590">1590</td><td class="line">eom_scroll_view_zoom_out (EomScrollView *view, gboolean smooth)</td></tr>
+<tr class="codeline" data-linenumber="1591"><td class="num" id="LN1591">1591</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1592"><td class="num" id="LN1592">1592</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1593"><td class="num" id="LN1593">1593</td><td class="line"> <span class='keyword'>double</span> zoom;</td></tr>
+<tr class="codeline" data-linenumber="1594"><td class="num" id="LN1594">1594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1595"><td class="num" id="LN1595">1595</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1596"><td class="num" id="LN1596">1596</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1597"><td class="num" id="LN1597">1597</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1598"><td class="num" id="LN1598">1598</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1599"><td class="num" id="LN1599">1599</td><td class="line"> <span class='keyword'>if</span> (smooth) {</td></tr>
+<tr class="codeline" data-linenumber="1600"><td class="num" id="LN1600">1600</td><td class="line"> zoom = priv-&gt;zoom / priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="1601"><td class="num" id="LN1601">1601</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1602"><td class="num" id="LN1602">1602</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1603"><td class="num" id="LN1603">1603</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="1604"><td class="num" id="LN1604">1604</td><td class="line"> <span class='keyword'>int</span> index = -1;</td></tr>
+<tr class="codeline" data-linenumber="1605"><td class="num" id="LN1605">1605</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1606"><td class="num" id="LN1606">1606</td><td class="line"> <span class='keyword'>for</span> (i = n_zoom_levels - 1; i &gt;= 0; i--) {</td></tr>
+<tr class="codeline" data-linenumber="1607"><td class="num" id="LN1607">1607</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;zoom - preferred_zoom_levels [i]</td></tr>
+<tr class="codeline" data-linenumber="1608"><td class="num" id="LN1608">1608</td><td class="line"> &gt; <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1609"><td class="num" id="LN1609">1609</td><td class="line"> index = i;</td></tr>
+<tr class="codeline" data-linenumber="1610"><td class="num" id="LN1610">1610</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1611"><td class="num" id="LN1611">1611</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1612"><td class="num" id="LN1612">1612</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1613"><td class="num" id="LN1613">1613</td><td class="line"> <span class='keyword'>if</span> (index == -1) {</td></tr>
+<tr class="codeline" data-linenumber="1614"><td class="num" id="LN1614">1614</td><td class="line"> zoom = priv-&gt;zoom;</td></tr>
+<tr class="codeline" data-linenumber="1615"><td class="num" id="LN1615">1615</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1616"><td class="num" id="LN1616">1616</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1617"><td class="num" id="LN1617">1617</td><td class="line"> zoom = preferred_zoom_levels [i];</td></tr>
+<tr class="codeline" data-linenumber="1618"><td class="num" id="LN1618">1618</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1619"><td class="num" id="LN1619">1619</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1620"><td class="num" id="LN1620">1620</td><td class="line"> set_zoom (view, zoom, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0, 0);</td></tr>
+<tr class="codeline" data-linenumber="1621"><td class="num" id="LN1621">1621</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1622"><td class="num" id="LN1622">1622</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1623"><td class="num" id="LN1623">1623</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1624"><td class="num" id="LN1624">1624</td><td class="line">eom_scroll_view_zoom_fit (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1625"><td class="num" id="LN1625">1625</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1626"><td class="num" id="LN1626">1626</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1627"><td class="num" id="LN1627">1627</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1628"><td class="num" id="LN1628">1628</td><td class="line"> set_zoom_fit (view);</td></tr>
+<tr class="codeline" data-linenumber="1629"><td class="num" id="LN1629">1629</td><td class="line"> check_scrollbar_visibility (view, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1630"><td class="num" id="LN1630">1630</td><td class="line"> gtk_widget_queue_draw (view-&gt;priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1631"><td class="num" id="LN1631">1631</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1632"><td class="num" id="LN1632">1632</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1633"><td class="num" id="LN1633">1633</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1634"><td class="num" id="LN1634">1634</td><td class="line">eom_scroll_view_set_zoom (EomScrollView *view, <span class='keyword'>double</span> zoom)</td></tr>
+<tr class="codeline" data-linenumber="1635"><td class="num" id="LN1635">1635</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1636"><td class="num" id="LN1636">1636</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1637"><td class="num" id="LN1637">1637</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1638"><td class="num" id="LN1638">1638</td><td class="line"> set_zoom (view, zoom, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0, 0);</td></tr>
+<tr class="codeline" data-linenumber="1639"><td class="num" id="LN1639">1639</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1640"><td class="num" id="LN1640">1640</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1641"><td class="num" id="LN1641">1641</td><td class="line"><span class='keyword'>double</span></td></tr>
+<tr class="codeline" data-linenumber="1642"><td class="num" id="LN1642">1642</td><td class="line">eom_scroll_view_get_zoom (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1643"><td class="num" id="LN1643">1643</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1644"><td class="num" id="LN1644">1644</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_SCROLL_VIEW (view), 0.0)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return (0.0); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1645"><td class="num" id="LN1645">1645</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1646"><td class="num" id="LN1646">1646</td><td class="line"> <span class='keyword'>return</span> view-&gt;priv-&gt;zoom;</td></tr>
+<tr class="codeline" data-linenumber="1647"><td class="num" id="LN1647">1647</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1648"><td class="num" id="LN1648">1648</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1649"><td class="num" id="LN1649">1649</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="1650"><td class="num" id="LN1650">1650</td><td class="line">eom_scroll_view_get_zoom_is_min (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1651"><td class="num" id="LN1651">1651</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1652"><td class="num" id="LN1652">1652</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_SCROLL_VIEW (view), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1653"><td class="num" id="LN1653">1653</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1654"><td class="num" id="LN1654">1654</td><td class="line"> set_minimum_zoom_factor (view);</td></tr>
+<tr class="codeline" data-linenumber="1655"><td class="num" id="LN1655">1655</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1656"><td class="num" id="LN1656">1656</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>DOUBLE_EQUAL (view-&gt;priv-&gt;zoom, MIN_ZOOM_FACTOR)<span class='macro_popup'>(fabs (view-&gt;priv-&gt;zoom - 0.02) &lt; 1e-6)</span></span> ||</td></tr>
+<tr class="codeline" data-linenumber="1657"><td class="num" id="LN1657">1657</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (view-&gt;priv-&gt;zoom, view-&gt;priv-&gt;min_zoom)<span class='macro_popup'>(fabs (view-&gt;priv-&gt;zoom - view-&gt;priv-&gt;min_zoom) &lt;<br> 1e-6)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1658"><td class="num" id="LN1658">1658</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1659"><td class="num" id="LN1659">1659</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1660"><td class="num" id="LN1660">1660</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="1661"><td class="num" id="LN1661">1661</td><td class="line">eom_scroll_view_get_zoom_is_max (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1662"><td class="num" id="LN1662">1662</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1663"><td class="num" id="LN1663">1663</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_SCROLL_VIEW (view), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1664"><td class="num" id="LN1664">1664</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1665"><td class="num" id="LN1665">1665</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>DOUBLE_EQUAL (view-&gt;priv-&gt;zoom, MAX_ZOOM_FACTOR)<span class='macro_popup'>(fabs (view-&gt;priv-&gt;zoom - 20) &lt; 1e-6)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1666"><td class="num" id="LN1666">1666</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1667"><td class="num" id="LN1667">1667</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1668"><td class="num" id="LN1668">1668</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1669"><td class="num" id="LN1669">1669</td><td class="line">display_next_frame_cb (EomImage *image, gint delay, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1670"><td class="num" id="LN1670">1670</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1671"><td class="num" id="LN1671">1671</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1672"><td class="num" id="LN1672">1672</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1673"><td class="num" id="LN1673">1673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1674"><td class="num" id="LN1674">1674</td><td class="line"> <span class='keyword'>if</span> (!<span class='macro'>EOM_IS_SCROLL_VIEW (data)<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(data)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1675"><td class="num" id="LN1675">1675</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1676"><td class="num" id="LN1676">1676</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1677"><td class="num" id="LN1677">1677</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1678"><td class="num" id="LN1678">1678</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1679"><td class="num" id="LN1679">1679</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1680"><td class="num" id="LN1680">1680</td><td class="line"> update_pixbuf (view, eom_image_get_pixbuf (image));</td></tr>
+<tr class="codeline" data-linenumber="1681"><td class="num" id="LN1681">1681</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1682"><td class="num" id="LN1682">1682</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1683"><td class="num" id="LN1683">1683</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1684"><td class="num" id="LN1684">1684</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1685"><td class="num" id="LN1685">1685</td><td class="line">eom_scroll_view_set_image (EomScrollView *view, EomImage *image)</td></tr>
+<tr class="codeline" data-linenumber="1686"><td class="num" id="LN1686">1686</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1687"><td class="num" id="LN1687">1687</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1688"><td class="num" id="LN1688">1688</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1689"><td class="num" id="LN1689">1689</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1690"><td class="num" id="LN1690">1690</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1691"><td class="num" id="LN1691">1691</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1692"><td class="num" id="LN1692">1692</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1693"><td class="num" id="LN1693">1693</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image == image) {</td></tr>
+<tr class="codeline" data-linenumber="1694"><td class="num" id="LN1694">1694</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1695"><td class="num" id="LN1695">1695</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1696"><td class="num" id="LN1696">1696</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1697"><td class="num" id="LN1697">1697</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1698"><td class="num" id="LN1698">1698</td><td class="line"> free_image_resources (view);</td></tr>
+<tr class="codeline" data-linenumber="1699"><td class="num" id="LN1699">1699</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1700"><td class="num" id="LN1700">1700</td><td class="line"> <span class='macro'>g_assert (priv-&gt;image == NULL)<span class='macro_popup'>do { if (priv-&gt;image == ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-scroll-view.c", 1700, ((const char*) (__func__)<br>), "priv-&gt;image == NULL"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1701"><td class="num" id="LN1701">1701</td><td class="line"> <span class='macro'>g_assert (priv-&gt;pixbuf == NULL)<span class='macro_popup'>do { if (priv-&gt;pixbuf == ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-scroll-view.c", 1701, ((const char*) (__func__)<br>), "priv-&gt;pixbuf == NULL"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1702"><td class="num" id="LN1702">1702</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1703"><td class="num" id="LN1703">1703</td><td class="line"> <span class='keyword'>if</span> (image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1704"><td class="num" id="LN1704">1704</td><td class="line"> eom_image_data_ref (image);</td></tr>
+<tr class="codeline" data-linenumber="1705"><td class="num" id="LN1705">1705</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1706"><td class="num" id="LN1706">1706</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1707"><td class="num" id="LN1707">1707</td><td class="line"> update_pixbuf (view, eom_image_get_pixbuf (image));</td></tr>
+<tr class="codeline" data-linenumber="1708"><td class="num" id="LN1708">1708</td><td class="line"> set_zoom_fit (view);</td></tr>
+<tr class="codeline" data-linenumber="1709"><td class="num" id="LN1709">1709</td><td class="line"> check_scrollbar_visibility (view, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1710"><td class="num" id="LN1710">1710</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1711"><td class="num" id="LN1711">1711</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1712"><td class="num" id="LN1712">1712</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1713"><td class="num" id="LN1713">1713</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1714"><td class="num" id="LN1714">1714</td><td class="line"> priv-&gt;image_changed_id = <span class='macro'>g_signal_connect (image, <span class='string_literal'>"changed"</span>,<span class='macro_popup'>g_signal_connect_data ((image), ("changed"), (((GCallback) (image_changed_cb<br>))), (view), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1715"><td class="num" id="LN1715">1715</td><td class="line"> <span class='macro'>G_CALLBACK (image_changed_cb),<span class='macro_popup'>g_signal_connect_data ((image), ("changed"), (((GCallback) (image_changed_cb<br>))), (view), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1716"><td class="num" id="LN1716">1716</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((image), ("changed"), (((GCallback) (image_changed_cb<br>))), (view), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1717"><td class="num" id="LN1717">1717</td><td class="line"> <span class='keyword'>if</span> (eom_image_is_animation (image) == <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span> ) {</td></tr>
+<tr class="codeline" data-linenumber="1718"><td class="num" id="LN1718">1718</td><td class="line"> eom_image_start_animation (image);</td></tr>
+<tr class="codeline" data-linenumber="1719"><td class="num" id="LN1719">1719</td><td class="line"> priv-&gt;frame_changed_id = <span class='macro'>g_signal_connect (image, <span class='string_literal'>"next-frame"</span>,<span class='macro_popup'>g_signal_connect_data ((image), ("next-frame"), (((GCallback)<br> (display_next_frame_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1720"><td class="num" id="LN1720">1720</td><td class="line"> <span class='macro'>G_CALLBACK (display_next_frame_cb),<span class='macro_popup'>g_signal_connect_data ((image), ("next-frame"), (((GCallback)<br> (display_next_frame_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1721"><td class="num" id="LN1721">1721</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((image), ("next-frame"), (((GCallback)<br> (display_next_frame_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1722"><td class="num" id="LN1722">1722</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1723"><td class="num" id="LN1723">1723</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1724"><td class="num" id="LN1724">1724</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1725"><td class="num" id="LN1725">1725</td><td class="line"> priv-&gt;image = image;</td></tr>
+<tr class="codeline" data-linenumber="1726"><td class="num" id="LN1726">1726</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1727"><td class="num" id="LN1727">1727</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"image"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1728"><td class="num" id="LN1728">1728</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1729"><td class="num" id="LN1729">1729</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1730"><td class="num" id="LN1730">1730</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="1731"><td class="num" id="LN1731">1731</td><td class="line"> <span class='comment'>* eom_scroll_view_get_image:</span></td></tr>
+<tr class="codeline" data-linenumber="1732"><td class="num" id="LN1732">1732</td><td class="line"> <span class='comment'>* @view: An #EomScrollView.</span></td></tr>
+<tr class="codeline" data-linenumber="1733"><td class="num" id="LN1733">1733</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1734"><td class="num" id="LN1734">1734</td><td class="line"> <span class='comment'>* Gets the the currently displayed #EomImage.</span></td></tr>
+<tr class="codeline" data-linenumber="1735"><td class="num" id="LN1735">1735</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1736"><td class="num" id="LN1736">1736</td><td class="line"> <span class='comment'>* Returns: (transfer full): An #EomImage.</span></td></tr>
+<tr class="codeline" data-linenumber="1737"><td class="num" id="LN1737">1737</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="1738"><td class="num" id="LN1738">1738</td><td class="line">EomImage*</td></tr>
+<tr class="codeline" data-linenumber="1739"><td class="num" id="LN1739">1739</td><td class="line">eom_scroll_view_get_image (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1740"><td class="num" id="LN1740">1740</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1741"><td class="num" id="LN1741">1741</td><td class="line"> EomImage *img;</td></tr>
+<tr class="codeline" data-linenumber="1742"><td class="num" id="LN1742">1742</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1743"><td class="num" id="LN1743">1743</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_SCROLL_VIEW (view), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1744"><td class="num" id="LN1744">1744</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1745"><td class="num" id="LN1745">1745</td><td class="line"> img = view-&gt;priv-&gt;image;</td></tr>
+<tr class="codeline" data-linenumber="1746"><td class="num" id="LN1746">1746</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1747"><td class="num" id="LN1747">1747</td><td class="line"> <span class='keyword'>if</span> (img != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1748"><td class="num" id="LN1748">1748</td><td class="line"> <span class='macro'>g_object_ref (img)<span class='macro_popup'>((__typeof__ (img)) (g_object_ref) (img))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1749"><td class="num" id="LN1749">1749</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1750"><td class="num" id="LN1750">1750</td><td class="line"> <span class='keyword'>return</span> img;</td></tr>
+<tr class="codeline" data-linenumber="1751"><td class="num" id="LN1751">1751</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1752"><td class="num" id="LN1752">1752</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1753"><td class="num" id="LN1753">1753</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="1754"><td class="num" id="LN1754">1754</td><td class="line">eom_scroll_view_scrollbars_visible (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1755"><td class="num" id="LN1755">1755</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1756"><td class="num" id="LN1756">1756</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_visible (view-&gt;priv-&gt;hbar) &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="1757"><td class="num" id="LN1757">1757</td><td class="line"> !gtk_widget_get_visible (view-&gt;priv-&gt;vbar))</td></tr>
+<tr class="codeline" data-linenumber="1758"><td class="num" id="LN1758">1758</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1759"><td class="num" id="LN1759">1759</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1760"><td class="num" id="LN1760">1760</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1761"><td class="num" id="LN1761">1761</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1762"><td class="num" id="LN1762">1762</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1763"><td class="num" id="LN1763">1763</td><td class="line"><span class='comment'>/*===================================</span></td></tr>
+<tr class="codeline" data-linenumber="1764"><td class="num" id="LN1764">1764</td><td class="line"> <span class='comment'>object creation/freeing</span></td></tr>
+<tr class="codeline" data-linenumber="1765"><td class="num" id="LN1765">1765</td><td class="line"> <span class='comment'>---------------------------------*/</span></td></tr>
+<tr class="codeline" data-linenumber="1766"><td class="num" id="LN1766">1766</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1767"><td class="num" id="LN1767">1767</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1768"><td class="num" id="LN1768">1768</td><td class="line">sv_string_to_rgba_mapping (GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="1769"><td class="num" id="LN1769">1769</td><td class="line"> GVariant *variant,</td></tr>
+<tr class="codeline" data-linenumber="1770"><td class="num" id="LN1770">1770</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1771"><td class="num" id="LN1771">1771</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1772"><td class="num" id="LN1772">1772</td><td class="line"> GdkRGBA color;</td></tr>
+<tr class="codeline" data-linenumber="1773"><td class="num" id="LN1773">1773</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1774"><td class="num" id="LN1774">1774</td><td class="line"> <span class='macro'>g_return_val_if_fail (g_variant_is_of_type (variant, G_VARIANT_TYPE_STRING), FALSE)<span class='macro_popup'>do { if ((g_variant_is_of_type (variant, ((const GVariantType<br> *) "s")))) { } else { g_return_if_fail_warning ("EOM", ((const<br> char*) (__func__)), "g_variant_is_of_type (variant, G_VARIANT_TYPE_STRING)"<br>); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1775"><td class="num" id="LN1775">1775</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1776"><td class="num" id="LN1776">1776</td><td class="line"> <span class='keyword'>if</span> (gdk_rgba_parse (&amp;color, g_variant_get_string (variant, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))) {</td></tr>
+<tr class="codeline" data-linenumber="1777"><td class="num" id="LN1777">1777</td><td class="line"> g_value_set_boxed (value, &amp;color);</td></tr>
+<tr class="codeline" data-linenumber="1778"><td class="num" id="LN1778">1778</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1779"><td class="num" id="LN1779">1779</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1780"><td class="num" id="LN1780">1780</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1781"><td class="num" id="LN1781">1781</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1782"><td class="num" id="LN1782">1782</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1783"><td class="num" id="LN1783">1783</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1784"><td class="num" id="LN1784">1784</td><td class="line"><span class='keyword'>static</span> GVariant*</td></tr>
+<tr class="codeline" data-linenumber="1785"><td class="num" id="LN1785">1785</td><td class="line">sv_rgba_to_string_mapping (<span class='keyword'>const</span> GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="1786"><td class="num" id="LN1786">1786</td><td class="line"> <span class='keyword'>const</span> GVariantType *expected_type,</td></tr>
+<tr class="codeline" data-linenumber="1787"><td class="num" id="LN1787">1787</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1788"><td class="num" id="LN1788">1788</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1789"><td class="num" id="LN1789">1789</td><td class="line"> GVariant *variant = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1790"><td class="num" id="LN1790">1790</td><td class="line"> GdkRGBA *color;</td></tr>
+<tr class="codeline" data-linenumber="1791"><td class="num" id="LN1791">1791</td><td class="line"> gchar *hex_val;</td></tr>
+<tr class="codeline" data-linenumber="1792"><td class="num" id="LN1792">1792</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1793"><td class="num" id="LN1793">1793</td><td class="line"> <span class='macro'>g_return_val_if_fail (G_VALUE_TYPE (value) == GDK_TYPE_RGBA, NULL)<span class='macro_popup'>do { if (((((GValue*) (value))-&gt;g_type) == (gdk_rgba_get_type<br> ()))) { } else { g_return_if_fail_warning ("EOM", ((const char<br>*) (__func__)), "G_VALUE_TYPE (value) == GDK_TYPE_RGBA"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1794"><td class="num" id="LN1794">1794</td><td class="line"> <span class="mrange"><span class="mrange"><span class='macro'>g_return_val_if_fail</span></span> (g_variant_type_equal (expected_type, G_VARIANT_TYPE_STRING), NULL)<span class='macro_popup'>do { if ((g_variant_type_equal (expected_type, ((const GVariantType<br> *) "s")))) { } else { g_return_if_fail_warning ("EOM", ((const<br> char*) (__func__)), "g_variant_type_equal (expected_type, G_VARIANT_TYPE_STRING)"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:9ex; max-width:31em">Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</div></td></tr>
+<tr class="codeline" data-linenumber="1795"><td class="num" id="LN1795">1795</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1796"><td class="num" id="LN1796">1796</td><td class="line"> color = g_value_get_boxed (value);</td></tr>
+<tr class="codeline" data-linenumber="1797"><td class="num" id="LN1797">1797</td><td class="line"> hex_val = gdk_rgba_to_string(color);</td></tr>
+<tr class="codeline" data-linenumber="1798"><td class="num" id="LN1798">1798</td><td class="line"> variant = g_variant_new_string (hex_val);</td></tr>
+<tr class="codeline" data-linenumber="1799"><td class="num" id="LN1799">1799</td><td class="line"> g_free (hex_val);</td></tr>
+<tr class="codeline" data-linenumber="1800"><td class="num" id="LN1800">1800</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1801"><td class="num" id="LN1801">1801</td><td class="line"> <span class='keyword'>return</span> variant;</td></tr>
+<tr class="codeline" data-linenumber="1802"><td class="num" id="LN1802">1802</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1803"><td class="num" id="LN1803">1803</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1804"><td class="num" id="LN1804">1804</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1805"><td class="num" id="LN1805">1805</td><td class="line">eom_scroll_view_init (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1806"><td class="num" id="LN1806">1806</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1807"><td class="num" id="LN1807">1807</td><td class="line"> GSettings *settings;</td></tr>
+<tr class="codeline" data-linenumber="1808"><td class="num" id="LN1808">1808</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1809"><td class="num" id="LN1809">1809</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1810"><td class="num" id="LN1810">1810</td><td class="line"> priv = view-&gt;priv = eom_scroll_view_get_instance_private (view);</td></tr>
+<tr class="codeline" data-linenumber="1811"><td class="num" id="LN1811">1811</td><td class="line"> settings = g_settings_new (<span class='macro'>EOM_CONF_VIEW<span class='macro_popup'>"org.mate.eom"".view"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1812"><td class="num" id="LN1812">1812</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1813"><td class="num" id="LN1813">1813</td><td class="line"> priv-&gt;zoom = 1.0;</td></tr>
+<tr class="codeline" data-linenumber="1814"><td class="num" id="LN1814">1814</td><td class="line"> priv-&gt;min_zoom = <span class='macro'>MIN_ZOOM_FACTOR<span class='macro_popup'>0.02</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1815"><td class="num" id="LN1815">1815</td><td class="line"> priv-&gt;zoom_mode = ZOOM_MODE_FIT;</td></tr>
+<tr class="codeline" data-linenumber="1816"><td class="num" id="LN1816">1816</td><td class="line"> priv-&gt;upscale = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1817"><td class="num" id="LN1817">1817</td><td class="line"> priv-&gt;interp_type_in = CAIRO_FILTER_GOOD;</td></tr>
+<tr class="codeline" data-linenumber="1818"><td class="num" id="LN1818">1818</td><td class="line"> priv-&gt;interp_type_out = CAIRO_FILTER_GOOD;</td></tr>
+<tr class="codeline" data-linenumber="1819"><td class="num" id="LN1819">1819</td><td class="line"> priv-&gt;scroll_wheel_zoom = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1820"><td class="num" id="LN1820">1820</td><td class="line"> priv-&gt;zoom_multiplier = <span class='macro'>IMAGE_VIEW_ZOOM_MULTIPLIER<span class='macro_popup'>1.05</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1821"><td class="num" id="LN1821">1821</td><td class="line"> priv-&gt;image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1822"><td class="num" id="LN1822">1822</td><td class="line"> priv-&gt;pixbuf = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1823"><td class="num" id="LN1823">1823</td><td class="line"> priv-&gt;surface = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1824"><td class="num" id="LN1824">1824</td><td class="line"> priv-&gt;transp_style = EOM_TRANSP_BACKGROUND;</td></tr>
+<tr class="codeline" data-linenumber="1825"><td class="num" id="LN1825">1825</td><td class="line"> <span class='macro'>g_warn_if_fail (gdk_rgba_parse(&amp;priv-&gt;transp_color, CHECK_BLACK))<span class='macro_popup'>do { if (gdk_rgba_parse(&amp;priv-&gt;transp_color, "#000000"<br>)) ; else g_warn_message ("EOM", "eom-scroll-view.c", 1825, (<br>(const char*) (__func__)), "gdk_rgba_parse(&amp;priv-&gt;transp_color, CHECK_BLACK)"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1826"><td class="num" id="LN1826">1826</td><td class="line"> priv-&gt;cursor = EOM_SCROLL_VIEW_CURSOR_NORMAL;</td></tr>
+<tr class="codeline" data-linenumber="1827"><td class="num" id="LN1827">1827</td><td class="line"> priv-&gt;menu = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1828"><td class="num" id="LN1828">1828</td><td class="line"> priv-&gt;background_color = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1829"><td class="num" id="LN1829">1829</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1830"><td class="num" id="LN1830">1830</td><td class="line"> priv-&gt;hadj = <span class='macro'>GTK_ADJUSTMENT (gtk_adjustment_new (0, 100, 0, 10, 10, 100))<span class='macro_popup'>((((GtkAdjustment*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_adjustment_new (0, 100, 0, 10, 10, 100))), ((gtk_adjustment_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1831"><td class="num" id="LN1831">1831</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;hadj, <span class='string_literal'>"value_changed"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;hadj), ("value_changed"), ((<br>(GCallback) (adjustment_changed_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1832"><td class="num" id="LN1832">1832</td><td class="line"> <span class='macro'>G_CALLBACK (adjustment_changed_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;hadj), ("value_changed"), ((<br>(GCallback) (adjustment_changed_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1833"><td class="num" id="LN1833">1833</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;hadj), ("value_changed"), ((<br>(GCallback) (adjustment_changed_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1834"><td class="num" id="LN1834">1834</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1835"><td class="num" id="LN1835">1835</td><td class="line"> priv-&gt;hbar = gtk_scrollbar_new (GTK_ORIENTATION_HORIZONTAL, priv-&gt;hadj);</td></tr>
+<tr class="codeline" data-linenumber="1836"><td class="num" id="LN1836">1836</td><td class="line"> priv-&gt;vadj = <span class='macro'>GTK_ADJUSTMENT (gtk_adjustment_new (0, 100, 0, 10, 10, 100))<span class='macro_popup'>((((GtkAdjustment*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_adjustment_new (0, 100, 0, 10, 10, 100))), ((gtk_adjustment_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1837"><td class="num" id="LN1837">1837</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;vadj, <span class='string_literal'>"value_changed"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;vadj), ("value_changed"), ((<br>(GCallback) (adjustment_changed_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1838"><td class="num" id="LN1838">1838</td><td class="line"> <span class='macro'>G_CALLBACK (adjustment_changed_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;vadj), ("value_changed"), ((<br>(GCallback) (adjustment_changed_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1839"><td class="num" id="LN1839">1839</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;vadj), ("value_changed"), ((<br>(GCallback) (adjustment_changed_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1840"><td class="num" id="LN1840">1840</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1841"><td class="num" id="LN1841">1841</td><td class="line"> priv-&gt;vbar = gtk_scrollbar_new (GTK_ORIENTATION_VERTICAL, priv-&gt;vadj);</td></tr>
+<tr class="codeline" data-linenumber="1842"><td class="num" id="LN1842">1842</td><td class="line"> priv-&gt;display = g_object_new (<span class='macro'>GTK_TYPE_DRAWING_AREA<span class='macro_popup'>(gtk_drawing_area_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1843"><td class="num" id="LN1843">1843</td><td class="line"> <span class='string_literal'>"can-focus"</span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1844"><td class="num" id="LN1844">1844</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1845"><td class="num" id="LN1845">1845</td><td class="line"> priv-&gt;scale = gtk_widget_get_scale_factor (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1846"><td class="num" id="LN1846">1846</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1847"><td class="num" id="LN1847">1847</td><td class="line"> gtk_widget_add_events (priv-&gt;display,</td></tr>
+<tr class="codeline" data-linenumber="1848"><td class="num" id="LN1848">1848</td><td class="line"> GDK_EXPOSURE_MASK</td></tr>
+<tr class="codeline" data-linenumber="1849"><td class="num" id="LN1849">1849</td><td class="line"> | GDK_BUTTON_PRESS_MASK</td></tr>
+<tr class="codeline" data-linenumber="1850"><td class="num" id="LN1850">1850</td><td class="line"> | GDK_BUTTON_RELEASE_MASK</td></tr>
+<tr class="codeline" data-linenumber="1851"><td class="num" id="LN1851">1851</td><td class="line"> | GDK_POINTER_MOTION_MASK</td></tr>
+<tr class="codeline" data-linenumber="1852"><td class="num" id="LN1852">1852</td><td class="line"> | GDK_POINTER_MOTION_HINT_MASK</td></tr>
+<tr class="codeline" data-linenumber="1853"><td class="num" id="LN1853">1853</td><td class="line"> | GDK_SCROLL_MASK</td></tr>
+<tr class="codeline" data-linenumber="1854"><td class="num" id="LN1854">1854</td><td class="line"> | GDK_KEY_PRESS_MASK);</td></tr>
+<tr class="codeline" data-linenumber="1855"><td class="num" id="LN1855">1855</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1856"><td class="num" id="LN1856">1856</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"configure_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("configure_event"<br>), (((GCallback) (display_size_change))), (view), ((void*)0),<br> (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1857"><td class="num" id="LN1857">1857</td><td class="line"> <span class='macro'>G_CALLBACK (display_size_change),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("configure_event"<br>), (((GCallback) (display_size_change))), (view), ((void*)0),<br> (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1858"><td class="num" id="LN1858">1858</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("configure_event"<br>), (((GCallback) (display_size_change))), (view), ((void*)0),<br> (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1859"><td class="num" id="LN1859">1859</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1860"><td class="num" id="LN1860">1860</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"draw"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("draw"), (((GCallback<br>) (display_draw))), (view), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1861"><td class="num" id="LN1861">1861</td><td class="line"> <span class='macro'>G_CALLBACK (display_draw),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("draw"), (((GCallback<br>) (display_draw))), (view), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1862"><td class="num" id="LN1862">1862</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("draw"), (((GCallback<br>) (display_draw))), (view), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1863"><td class="num" id="LN1863">1863</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1864"><td class="num" id="LN1864">1864</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"map_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("map_event"), (((<br>GCallback) (display_map_event))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1865"><td class="num" id="LN1865">1865</td><td class="line"> <span class='macro'>G_CALLBACK (display_map_event),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("map_event"), (((<br>GCallback) (display_map_event))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1866"><td class="num" id="LN1866">1866</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("map_event"), (((<br>GCallback) (display_map_event))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1867"><td class="num" id="LN1867">1867</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1868"><td class="num" id="LN1868">1868</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"button_press_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("button_press_event"<br>), (((GCallback) (eom_scroll_view_button_press_event))), (view<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1869"><td class="num" id="LN1869">1869</td><td class="line"> <span class='macro'>G_CALLBACK (eom_scroll_view_button_press_event),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("button_press_event"<br>), (((GCallback) (eom_scroll_view_button_press_event))), (view<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1870"><td class="num" id="LN1870">1870</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("button_press_event"<br>), (((GCallback) (eom_scroll_view_button_press_event))), (view<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1871"><td class="num" id="LN1871">1871</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1872"><td class="num" id="LN1872">1872</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"motion_notify_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("motion_notify_event"<br>), (((GCallback) (eom_scroll_view_motion_event))), (view), ((<br>void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1873"><td class="num" id="LN1873">1873</td><td class="line"> <span class='macro'>G_CALLBACK (eom_scroll_view_motion_event),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("motion_notify_event"<br>), (((GCallback) (eom_scroll_view_motion_event))), (view), ((<br>void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1874"><td class="num" id="LN1874">1874</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("motion_notify_event"<br>), (((GCallback) (eom_scroll_view_motion_event))), (view), ((<br>void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1875"><td class="num" id="LN1875">1875</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1876"><td class="num" id="LN1876">1876</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"button_release_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("button_release_event"<br>), (((GCallback) (eom_scroll_view_button_release_event))), (view<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1877"><td class="num" id="LN1877">1877</td><td class="line"> <span class='macro'>G_CALLBACK (eom_scroll_view_button_release_event),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("button_release_event"<br>), (((GCallback) (eom_scroll_view_button_release_event))), (view<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1878"><td class="num" id="LN1878">1878</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("button_release_event"<br>), (((GCallback) (eom_scroll_view_button_release_event))), (view<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1879"><td class="num" id="LN1879">1879</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1880"><td class="num" id="LN1880">1880</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"scroll_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("scroll_event"), (<br>((GCallback) (eom_scroll_view_scroll_event))), (view), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1881"><td class="num" id="LN1881">1881</td><td class="line"> <span class='macro'>G_CALLBACK (eom_scroll_view_scroll_event),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("scroll_event"), (<br>((GCallback) (eom_scroll_view_scroll_event))), (view), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1882"><td class="num" id="LN1882">1882</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("scroll_event"), (<br>((GCallback) (eom_scroll_view_scroll_event))), (view), ((void<br>*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1883"><td class="num" id="LN1883">1883</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1884"><td class="num" id="LN1884">1884</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"focus_in_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("focus_in_event")<br>, (((GCallback) (eom_scroll_view_focus_in_event))), (((void*)<br>0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1885"><td class="num" id="LN1885">1885</td><td class="line"> <span class='macro'>G_CALLBACK (eom_scroll_view_focus_in_event),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("focus_in_event")<br>, (((GCallback) (eom_scroll_view_focus_in_event))), (((void*)<br>0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1886"><td class="num" id="LN1886">1886</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("focus_in_event")<br>, (((GCallback) (eom_scroll_view_focus_in_event))), (((void*)<br>0)), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1887"><td class="num" id="LN1887">1887</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1888"><td class="num" id="LN1888">1888</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"focus_out_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("focus_out_event"<br>), (((GCallback) (eom_scroll_view_focus_out_event))), (((void<br>*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1889"><td class="num" id="LN1889">1889</td><td class="line"> <span class='macro'>G_CALLBACK (eom_scroll_view_focus_out_event),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("focus_out_event"<br>), (((GCallback) (eom_scroll_view_focus_out_event))), (((void<br>*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1890"><td class="num" id="LN1890">1890</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("focus_out_event"<br>), (((GCallback) (eom_scroll_view_focus_out_event))), (((void<br>*)0)), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1891"><td class="num" id="LN1891">1891</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1892"><td class="num" id="LN1892">1892</td><td class="line"> <span class='macro'>g_signal_connect (view, <span class='string_literal'>"key_press_event"</span>,<span class='macro_popup'>g_signal_connect_data ((view), ("key_press_event"), (((GCallback<br>) (display_key_press_event))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1893"><td class="num" id="LN1893">1893</td><td class="line"> <span class='macro'>G_CALLBACK (display_key_press_event),<span class='macro_popup'>g_signal_connect_data ((view), ("key_press_event"), (((GCallback<br>) (display_key_press_event))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1894"><td class="num" id="LN1894">1894</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((view), ("key_press_event"), (((GCallback<br>) (display_key_press_event))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1895"><td class="num" id="LN1895">1895</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1896"><td class="num" id="LN1896">1896</td><td class="line"> gtk_drag_source_set (priv-&gt;display, GDK_BUTTON1_MASK,</td></tr>
+<tr class="codeline" data-linenumber="1897"><td class="num" id="LN1897">1897</td><td class="line"> target_table, <span class='macro'>G_N_ELEMENTS (target_table)<span class='macro_popup'>(sizeof (target_table) / sizeof ((target_table)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1898"><td class="num" id="LN1898">1898</td><td class="line"> GDK_ACTION_COPY | GDK_ACTION_MOVE |</td></tr>
+<tr class="codeline" data-linenumber="1899"><td class="num" id="LN1899">1899</td><td class="line"> GDK_ACTION_LINK | GDK_ACTION_ASK);</td></tr>
+<tr class="codeline" data-linenumber="1900"><td class="num" id="LN1900">1900</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1901"><td class="num" id="LN1901">1901</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"drag-data-get"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("drag-data-get"),<br> (((GCallback) (view_on_drag_data_get_cb))), (view), ((void*)<br>0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1902"><td class="num" id="LN1902">1902</td><td class="line"> <span class='macro'>G_CALLBACK (view_on_drag_data_get_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("drag-data-get"),<br> (((GCallback) (view_on_drag_data_get_cb))), (view), ((void*)<br>0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1903"><td class="num" id="LN1903">1903</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("drag-data-get"),<br> (((GCallback) (view_on_drag_data_get_cb))), (view), ((void*)<br>0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1904"><td class="num" id="LN1904">1904</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1905"><td class="num" id="LN1905">1905</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"drag-begin"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("drag-begin"), ((<br>(GCallback) (view_on_drag_begin_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1906"><td class="num" id="LN1906">1906</td><td class="line"> <span class='macro'>G_CALLBACK (view_on_drag_begin_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("drag-begin"), ((<br>(GCallback) (view_on_drag_begin_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1907"><td class="num" id="LN1907">1907</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("drag-begin"), ((<br>(GCallback) (view_on_drag_begin_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1908"><td class="num" id="LN1908">1908</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1909"><td class="num" id="LN1909">1909</td><td class="line"> gtk_grid_attach (<span class='macro'>GTK_GRID (view)<span class='macro_popup'>((((GtkGrid*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_grid_get_type ()))))))</span></span>, priv-&gt;display,</td></tr>
+<tr class="codeline" data-linenumber="1910"><td class="num" id="LN1910">1910</td><td class="line"> 0, 0, 1, 1);</td></tr>
+<tr class="codeline" data-linenumber="1911"><td class="num" id="LN1911">1911</td><td class="line"> gtk_widget_set_hexpand (priv-&gt;display, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1912"><td class="num" id="LN1912">1912</td><td class="line"> gtk_widget_set_vexpand (priv-&gt;display, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1913"><td class="num" id="LN1913">1913</td><td class="line"> gtk_grid_attach (<span class='macro'>GTK_GRID (view)<span class='macro_popup'>((((GtkGrid*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_grid_get_type ()))))))</span></span>, priv-&gt;hbar,</td></tr>
+<tr class="codeline" data-linenumber="1914"><td class="num" id="LN1914">1914</td><td class="line"> 0, 1, 1, 1);</td></tr>
+<tr class="codeline" data-linenumber="1915"><td class="num" id="LN1915">1915</td><td class="line"> gtk_widget_set_hexpand (priv-&gt;hbar, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1916"><td class="num" id="LN1916">1916</td><td class="line"> gtk_grid_attach (<span class='macro'>GTK_GRID (view)<span class='macro_popup'>((((GtkGrid*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_grid_get_type ()))))))</span></span>, priv-&gt;vbar,</td></tr>
+<tr class="codeline" data-linenumber="1917"><td class="num" id="LN1917">1917</td><td class="line"> 1, 0, 1, 1);</td></tr>
+<tr class="codeline" data-linenumber="1918"><td class="num" id="LN1918">1918</td><td class="line"> gtk_widget_set_vexpand (priv-&gt;vbar, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1919"><td class="num" id="LN1919">1919</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1920"><td class="num" id="LN1920">1920</td><td class="line"> g_settings_bind (settings, <span class='macro'>EOM_CONF_VIEW_USE_BG_COLOR<span class='macro_popup'>"use-background-color"</span></span>, view,</td></tr>
+<tr class="codeline" data-linenumber="1921"><td class="num" id="LN1921">1921</td><td class="line"> <span class='string_literal'>"use-background-color"</span>, G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="1922"><td class="num" id="LN1922">1922</td><td class="line"> g_settings_bind_with_mapping (settings, <span class='macro'>EOM_CONF_VIEW_BACKGROUND_COLOR<span class='macro_popup'>"background-color"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1923"><td class="num" id="LN1923">1923</td><td class="line"> view, <span class='string_literal'>"background-color"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1924"><td class="num" id="LN1924">1924</td><td class="line"> G_SETTINGS_BIND_DEFAULT,</td></tr>
+<tr class="codeline" data-linenumber="1925"><td class="num" id="LN1925">1925</td><td class="line"> sv_string_to_rgba_mapping,</td></tr>
+<tr class="codeline" data-linenumber="1926"><td class="num" id="LN1926">1926</td><td class="line"> sv_rgba_to_string_mapping, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1927"><td class="num" id="LN1927">1927</td><td class="line"> g_settings_bind (settings, <span class='macro'>EOM_CONF_VIEW_EXTRAPOLATE<span class='macro_popup'>"extrapolate"</span></span>, view,</td></tr>
+<tr class="codeline" data-linenumber="1928"><td class="num" id="LN1928">1928</td><td class="line"> <span class='string_literal'>"antialiasing-in"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="1929"><td class="num" id="LN1929">1929</td><td class="line"> g_settings_bind (settings, <span class='macro'>EOM_CONF_VIEW_INTERPOLATE<span class='macro_popup'>"interpolate"</span></span>, view,</td></tr>
+<tr class="codeline" data-linenumber="1930"><td class="num" id="LN1930">1930</td><td class="line"> <span class='string_literal'>"antialiasing-out"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="1931"><td class="num" id="LN1931">1931</td><td class="line"> g_settings_bind_with_mapping (settings, <span class='macro'>EOM_CONF_VIEW_TRANS_COLOR<span class='macro_popup'>"trans-color"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1932"><td class="num" id="LN1932">1932</td><td class="line"> view, <span class='string_literal'>"transparency-color"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1933"><td class="num" id="LN1933">1933</td><td class="line"> G_SETTINGS_BIND_GET,</td></tr>
+<tr class="codeline" data-linenumber="1934"><td class="num" id="LN1934">1934</td><td class="line"> sv_string_to_rgba_mapping,</td></tr>
+<tr class="codeline" data-linenumber="1935"><td class="num" id="LN1935">1935</td><td class="line"> sv_rgba_to_string_mapping, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1936"><td class="num" id="LN1936">1936</td><td class="line"> g_settings_bind (settings, <span class='macro'>EOM_CONF_VIEW_TRANSPARENCY<span class='macro_popup'>"transparency"</span></span>, view,</td></tr>
+<tr class="codeline" data-linenumber="1937"><td class="num" id="LN1937">1937</td><td class="line"> <span class='string_literal'>"transparency-style"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="1938"><td class="num" id="LN1938">1938</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1939"><td class="num" id="LN1939">1939</td><td class="line"> g_object_unref (settings);</td></tr>
+<tr class="codeline" data-linenumber="1940"><td class="num" id="LN1940">1940</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1941"><td class="num" id="LN1941">1941</td><td class="line"> priv-&gt;override_bg_color = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1942"><td class="num" id="LN1942">1942</td><td class="line"> priv-&gt;background_surface = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1943"><td class="num" id="LN1943">1943</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1944"><td class="num" id="LN1944">1944</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1945"><td class="num" id="LN1945">1945</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1946"><td class="num" id="LN1946">1946</td><td class="line">eom_scroll_view_dispose (GObject *object)</td></tr>
+<tr class="codeline" data-linenumber="1947"><td class="num" id="LN1947">1947</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1948"><td class="num" id="LN1948">1948</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1949"><td class="num" id="LN1949">1949</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1950"><td class="num" id="LN1950">1950</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1951"><td class="num" id="LN1951">1951</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (object))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((object)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (object)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1952"><td class="num" id="LN1952">1952</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1953"><td class="num" id="LN1953">1953</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (object)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1954"><td class="num" id="LN1954">1954</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1955"><td class="num" id="LN1955">1955</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1956"><td class="num" id="LN1956">1956</td><td class="line"> _clear_hq_redraw_timeout (view);</td></tr>
+<tr class="codeline" data-linenumber="1957"><td class="num" id="LN1957">1957</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1958"><td class="num" id="LN1958">1958</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;idle_id != 0) {</td></tr>
+<tr class="codeline" data-linenumber="1959"><td class="num" id="LN1959">1959</td><td class="line"> g_source_remove (priv-&gt;idle_id);</td></tr>
+<tr class="codeline" data-linenumber="1960"><td class="num" id="LN1960">1960</td><td class="line"> priv-&gt;idle_id = 0;</td></tr>
+<tr class="codeline" data-linenumber="1961"><td class="num" id="LN1961">1961</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1962"><td class="num" id="LN1962">1962</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1963"><td class="num" id="LN1963">1963</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;background_color != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1964"><td class="num" id="LN1964">1964</td><td class="line"> gdk_rgba_free (priv-&gt;background_color);</td></tr>
+<tr class="codeline" data-linenumber="1965"><td class="num" id="LN1965">1965</td><td class="line"> priv-&gt;background_color = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1966"><td class="num" id="LN1966">1966</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1967"><td class="num" id="LN1967">1967</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1968"><td class="num" id="LN1968">1968</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;override_bg_color != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1969"><td class="num" id="LN1969">1969</td><td class="line"> gdk_rgba_free (priv-&gt;override_bg_color);</td></tr>
+<tr class="codeline" data-linenumber="1970"><td class="num" id="LN1970">1970</td><td class="line"> priv-&gt;override_bg_color = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1971"><td class="num" id="LN1971">1971</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1972"><td class="num" id="LN1972">1972</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1973"><td class="num" id="LN1973">1973</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;background_surface != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1974"><td class="num" id="LN1974">1974</td><td class="line"> cairo_surface_destroy (priv-&gt;background_surface);</td></tr>
+<tr class="codeline" data-linenumber="1975"><td class="num" id="LN1975">1975</td><td class="line"> priv-&gt;background_surface = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1976"><td class="num" id="LN1976">1976</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1977"><td class="num" id="LN1977">1977</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1978"><td class="num" id="LN1978">1978</td><td class="line"> free_image_resources (view);</td></tr>
+<tr class="codeline" data-linenumber="1979"><td class="num" id="LN1979">1979</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1980"><td class="num" id="LN1980">1980</td><td class="line"> <span class='macro'>G_OBJECT_CLASS (eom_scroll_view_parent_class)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_scroll_view_parent_class)), (((GType) ((20) &lt;&lt;<br> (2))))))))</span></span>-&gt;dispose (object);</td></tr>
+<tr class="codeline" data-linenumber="1981"><td class="num" id="LN1981">1981</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1982"><td class="num" id="LN1982">1982</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1983"><td class="num" id="LN1983">1983</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1984"><td class="num" id="LN1984">1984</td><td class="line">eom_scroll_view_get_property (GObject *object, guint property_id,</td></tr>
+<tr class="codeline" data-linenumber="1985"><td class="num" id="LN1985">1985</td><td class="line"> GValue *value, GParamSpec *pspec)</td></tr>
+<tr class="codeline" data-linenumber="1986"><td class="num" id="LN1986">1986</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1987"><td class="num" id="LN1987">1987</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1988"><td class="num" id="LN1988">1988</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1989"><td class="num" id="LN1989">1989</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1990"><td class="num" id="LN1990">1990</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (object))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((object)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (object)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1991"><td class="num" id="LN1991">1991</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1992"><td class="num" id="LN1992">1992</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (object)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1993"><td class="num" id="LN1993">1993</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1994"><td class="num" id="LN1994">1994</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1995"><td class="num" id="LN1995">1995</td><td class="line"> <span class='keyword'>switch</span> (property_id) {</td></tr>
+<tr class="codeline" data-linenumber="1996"><td class="num" id="LN1996">1996</td><td class="line"> <span class='keyword'>case</span> PROP_ANTIALIAS_IN:</td></tr>
+<tr class="codeline" data-linenumber="1997"><td class="num" id="LN1997">1997</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1998"><td class="num" id="LN1998">1998</td><td class="line"> gboolean filter = (priv-&gt;interp_type_in != CAIRO_FILTER_NEAREST);</td></tr>
+<tr class="codeline" data-linenumber="1999"><td class="num" id="LN1999">1999</td><td class="line"> g_value_set_boolean (value, filter);</td></tr>
+<tr class="codeline" data-linenumber="2000"><td class="num" id="LN2000">2000</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2001"><td class="num" id="LN2001">2001</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2002"><td class="num" id="LN2002">2002</td><td class="line"> <span class='keyword'>case</span> PROP_ANTIALIAS_OUT:</td></tr>
+<tr class="codeline" data-linenumber="2003"><td class="num" id="LN2003">2003</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2004"><td class="num" id="LN2004">2004</td><td class="line"> gboolean filter = (priv-&gt;interp_type_out != CAIRO_FILTER_NEAREST);</td></tr>
+<tr class="codeline" data-linenumber="2005"><td class="num" id="LN2005">2005</td><td class="line"> g_value_set_boolean (value, filter);</td></tr>
+<tr class="codeline" data-linenumber="2006"><td class="num" id="LN2006">2006</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2007"><td class="num" id="LN2007">2007</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2008"><td class="num" id="LN2008">2008</td><td class="line"> <span class='keyword'>case</span> PROP_USE_BG_COLOR:</td></tr>
+<tr class="codeline" data-linenumber="2009"><td class="num" id="LN2009">2009</td><td class="line"> g_value_set_boolean (value, priv-&gt;use_bg_color);</td></tr>
+<tr class="codeline" data-linenumber="2010"><td class="num" id="LN2010">2010</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2011"><td class="num" id="LN2011">2011</td><td class="line"> <span class='keyword'>case</span> PROP_BACKGROUND_COLOR:</td></tr>
+<tr class="codeline" data-linenumber="2012"><td class="num" id="LN2012">2012</td><td class="line"> <span class='comment'>//FIXME: This doesn't really handle the NULL color.</span></td></tr>
+<tr class="codeline" data-linenumber="2013"><td class="num" id="LN2013">2013</td><td class="line"> g_value_set_boxed (value, priv-&gt;background_color);</td></tr>
+<tr class="codeline" data-linenumber="2014"><td class="num" id="LN2014">2014</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2015"><td class="num" id="LN2015">2015</td><td class="line"> <span class='keyword'>case</span> PROP_SCROLLWHEEL_ZOOM:</td></tr>
+<tr class="codeline" data-linenumber="2016"><td class="num" id="LN2016">2016</td><td class="line"> g_value_set_boolean (value, priv-&gt;scroll_wheel_zoom);</td></tr>
+<tr class="codeline" data-linenumber="2017"><td class="num" id="LN2017">2017</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2018"><td class="num" id="LN2018">2018</td><td class="line"> <span class='keyword'>case</span> PROP_TRANSPARENCY_STYLE:</td></tr>
+<tr class="codeline" data-linenumber="2019"><td class="num" id="LN2019">2019</td><td class="line"> g_value_set_enum (value, priv-&gt;transp_style);</td></tr>
+<tr class="codeline" data-linenumber="2020"><td class="num" id="LN2020">2020</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2021"><td class="num" id="LN2021">2021</td><td class="line"> <span class='keyword'>case</span> PROP_ZOOM_MULTIPLIER:</td></tr>
+<tr class="codeline" data-linenumber="2022"><td class="num" id="LN2022">2022</td><td class="line"> g_value_set_double (value, priv-&gt;zoom_multiplier);</td></tr>
+<tr class="codeline" data-linenumber="2023"><td class="num" id="LN2023">2023</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2024"><td class="num" id="LN2024">2024</td><td class="line"> <span class='keyword'>case</span> PROP_IMAGE:</td></tr>
+<tr class="codeline" data-linenumber="2025"><td class="num" id="LN2025">2025</td><td class="line"> g_value_set_object (value, priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="2026"><td class="num" id="LN2026">2026</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2027"><td class="num" id="LN2027">2027</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2028"><td class="num" id="LN2028">2028</td><td class="line"> <span class='macro'>G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec)<span class='macro_popup'>do { GObject *_glib__object = (GObject*) ((object)); GParamSpec<br> *_glib__pspec = (GParamSpec*) ((pspec)); guint _glib__property_id<br> = ((property_id)); g_warning ("%s:%d: invalid %s id %u for \"%s\" of type '%s' in '%s'"<br>, "eom-scroll-view.c", 2028, ("property"), _glib__property_id<br>, _glib__pspec-&gt;name, g_type_name ((((((GTypeClass*) (((GTypeInstance<br>*) (_glib__pspec))-&gt;g_class))-&gt;g_type)))), (g_type_name<br> ((((((GTypeClass*) (((GTypeInstance*) (_glib__object))-&gt;g_class<br>))-&gt;g_type)))))); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2029"><td class="num" id="LN2029">2029</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2030"><td class="num" id="LN2030">2030</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2031"><td class="num" id="LN2031">2031</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2032"><td class="num" id="LN2032">2032</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2033"><td class="num" id="LN2033">2033</td><td class="line">eom_scroll_view_set_property (GObject *object, guint property_id,</td></tr>
+<tr class="codeline" data-linenumber="2034"><td class="num" id="LN2034">2034</td><td class="line"> <span class='keyword'>const</span> GValue *value, GParamSpec *pspec)</td></tr>
+<tr class="codeline" data-linenumber="2035"><td class="num" id="LN2035">2035</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2036"><td class="num" id="LN2036">2036</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="2037"><td class="num" id="LN2037">2037</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2038"><td class="num" id="LN2038">2038</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (object))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((object)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (object)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2039"><td class="num" id="LN2039">2039</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2040"><td class="num" id="LN2040">2040</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (object)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2041"><td class="num" id="LN2041">2041</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2042"><td class="num" id="LN2042">2042</td><td class="line"> <span class='keyword'>switch</span> (property_id) {</td></tr>
+<tr class="codeline" data-linenumber="2043"><td class="num" id="LN2043">2043</td><td class="line"> <span class='keyword'>case</span> PROP_ANTIALIAS_IN:</td></tr>
+<tr class="codeline" data-linenumber="2044"><td class="num" id="LN2044">2044</td><td class="line"> eom_scroll_view_set_antialiasing_in (view, g_value_get_boolean (value));</td></tr>
+<tr class="codeline" data-linenumber="2045"><td class="num" id="LN2045">2045</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2046"><td class="num" id="LN2046">2046</td><td class="line"> <span class='keyword'>case</span> PROP_ANTIALIAS_OUT:</td></tr>
+<tr class="codeline" data-linenumber="2047"><td class="num" id="LN2047">2047</td><td class="line"> eom_scroll_view_set_antialiasing_out (view, g_value_get_boolean (value));</td></tr>
+<tr class="codeline" data-linenumber="2048"><td class="num" id="LN2048">2048</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2049"><td class="num" id="LN2049">2049</td><td class="line"> <span class='keyword'>case</span> PROP_USE_BG_COLOR:</td></tr>
+<tr class="codeline" data-linenumber="2050"><td class="num" id="LN2050">2050</td><td class="line"> eom_scroll_view_set_use_bg_color (view, g_value_get_boolean (value));</td></tr>
+<tr class="codeline" data-linenumber="2051"><td class="num" id="LN2051">2051</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2052"><td class="num" id="LN2052">2052</td><td class="line"> <span class='keyword'>case</span> PROP_BACKGROUND_COLOR:</td></tr>
+<tr class="codeline" data-linenumber="2053"><td class="num" id="LN2053">2053</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2054"><td class="num" id="LN2054">2054</td><td class="line"> <span class='keyword'>const</span> GdkRGBA *color = g_value_get_boxed (value);</td></tr>
+<tr class="codeline" data-linenumber="2055"><td class="num" id="LN2055">2055</td><td class="line"> eom_scroll_view_set_background_color (view, color);</td></tr>
+<tr class="codeline" data-linenumber="2056"><td class="num" id="LN2056">2056</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2057"><td class="num" id="LN2057">2057</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2058"><td class="num" id="LN2058">2058</td><td class="line"> <span class='keyword'>case</span> PROP_SCROLLWHEEL_ZOOM:</td></tr>
+<tr class="codeline" data-linenumber="2059"><td class="num" id="LN2059">2059</td><td class="line"> eom_scroll_view_set_scroll_wheel_zoom (view, g_value_get_boolean (value));</td></tr>
+<tr class="codeline" data-linenumber="2060"><td class="num" id="LN2060">2060</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2061"><td class="num" id="LN2061">2061</td><td class="line"> <span class='keyword'>case</span> PROP_TRANSP_COLOR:</td></tr>
+<tr class="codeline" data-linenumber="2062"><td class="num" id="LN2062">2062</td><td class="line"> eom_scroll_view_set_transparency_color (view, g_value_get_boxed (value));</td></tr>
+<tr class="codeline" data-linenumber="2063"><td class="num" id="LN2063">2063</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2064"><td class="num" id="LN2064">2064</td><td class="line"> <span class='keyword'>case</span> PROP_TRANSPARENCY_STYLE:</td></tr>
+<tr class="codeline" data-linenumber="2065"><td class="num" id="LN2065">2065</td><td class="line"> eom_scroll_view_set_transparency (view, g_value_get_enum (value));</td></tr>
+<tr class="codeline" data-linenumber="2066"><td class="num" id="LN2066">2066</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2067"><td class="num" id="LN2067">2067</td><td class="line"> <span class='keyword'>case</span> PROP_ZOOM_MULTIPLIER:</td></tr>
+<tr class="codeline" data-linenumber="2068"><td class="num" id="LN2068">2068</td><td class="line"> eom_scroll_view_set_zoom_multiplier (view, g_value_get_double (value));</td></tr>
+<tr class="codeline" data-linenumber="2069"><td class="num" id="LN2069">2069</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2070"><td class="num" id="LN2070">2070</td><td class="line"> <span class='keyword'>case</span> PROP_IMAGE:</td></tr>
+<tr class="codeline" data-linenumber="2071"><td class="num" id="LN2071">2071</td><td class="line"> eom_scroll_view_set_image (view, g_value_get_object (value));</td></tr>
+<tr class="codeline" data-linenumber="2072"><td class="num" id="LN2072">2072</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2073"><td class="num" id="LN2073">2073</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2074"><td class="num" id="LN2074">2074</td><td class="line"> <span class='macro'>G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec)<span class='macro_popup'>do { GObject *_glib__object = (GObject*) ((object)); GParamSpec<br> *_glib__pspec = (GParamSpec*) ((pspec)); guint _glib__property_id<br> = ((property_id)); g_warning ("%s:%d: invalid %s id %u for \"%s\" of type '%s' in '%s'"<br>, "eom-scroll-view.c", 2074, ("property"), _glib__property_id<br>, _glib__pspec-&gt;name, g_type_name ((((((GTypeClass*) (((GTypeInstance<br>*) (_glib__pspec))-&gt;g_class))-&gt;g_type)))), (g_type_name<br> ((((((GTypeClass*) (((GTypeInstance*) (_glib__object))-&gt;g_class<br>))-&gt;g_type)))))); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2075"><td class="num" id="LN2075">2075</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2076"><td class="num" id="LN2076">2076</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2077"><td class="num" id="LN2077">2077</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2078"><td class="num" id="LN2078">2078</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2079"><td class="num" id="LN2079">2079</td><td class="line">eom_scroll_view_class_init (EomScrollViewClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="2080"><td class="num" id="LN2080">2080</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2081"><td class="num" id="LN2081">2081</td><td class="line"> GObjectClass *gobject_class;</td></tr>
+<tr class="codeline" data-linenumber="2082"><td class="num" id="LN2082">2082</td><td class="line"> GtkWidgetClass *widget_class;</td></tr>
+<tr class="codeline" data-linenumber="2083"><td class="num" id="LN2083">2083</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2084"><td class="num" id="LN2084">2084</td><td class="line"> gobject_class = (GObjectClass*) klass;</td></tr>
+<tr class="codeline" data-linenumber="2085"><td class="num" id="LN2085">2085</td><td class="line"> widget_class = (GtkWidgetClass*) klass;</td></tr>
+<tr class="codeline" data-linenumber="2086"><td class="num" id="LN2086">2086</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2087"><td class="num" id="LN2087">2087</td><td class="line"> gobject_class-&gt;dispose = eom_scroll_view_dispose;</td></tr>
+<tr class="codeline" data-linenumber="2088"><td class="num" id="LN2088">2088</td><td class="line"> gobject_class-&gt;set_property = eom_scroll_view_set_property;</td></tr>
+<tr class="codeline" data-linenumber="2089"><td class="num" id="LN2089">2089</td><td class="line"> gobject_class-&gt;get_property = eom_scroll_view_get_property;</td></tr>
+<tr class="codeline" data-linenumber="2090"><td class="num" id="LN2090">2090</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2091"><td class="num" id="LN2091">2091</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2092"><td class="num" id="LN2092">2092</td><td class="line"> gobject_class, PROP_ANTIALIAS_IN,</td></tr>
+<tr class="codeline" data-linenumber="2093"><td class="num" id="LN2093">2093</td><td class="line"> g_param_spec_boolean (<span class='string_literal'>"antialiasing-in"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2094"><td class="num" id="LN2094">2094</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2095"><td class="num" id="LN2095">2095</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2096"><td class="num" id="LN2096">2096</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2097"><td class="num" id="LN2097">2097</td><td class="line"> gobject_class, PROP_ANTIALIAS_OUT,</td></tr>
+<tr class="codeline" data-linenumber="2098"><td class="num" id="LN2098">2098</td><td class="line"> g_param_spec_boolean (<span class='string_literal'>"antialiasing-out"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2099"><td class="num" id="LN2099">2099</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2100"><td class="num" id="LN2100">2100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2101"><td class="num" id="LN2101">2101</td><td class="line"> <span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2102"><td class="num" id="LN2102">2102</td><td class="line"> <span class='comment'>* EomScrollView:background-color:</span></td></tr>
+<tr class="codeline" data-linenumber="2103"><td class="num" id="LN2103">2103</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2104"><td class="num" id="LN2104">2104</td><td class="line"> <span class='comment'>* This is the default background color used for painting the background</span></td></tr>
+<tr class="codeline" data-linenumber="2105"><td class="num" id="LN2105">2105</td><td class="line"> <span class='comment'>* of the image view. If set to %NULL the color is determined by the</span></td></tr>
+<tr class="codeline" data-linenumber="2106"><td class="num" id="LN2106">2106</td><td class="line"> <span class='comment'>* active GTK theme.</span></td></tr>
+<tr class="codeline" data-linenumber="2107"><td class="num" id="LN2107">2107</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="2108"><td class="num" id="LN2108">2108</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2109"><td class="num" id="LN2109">2109</td><td class="line"> gobject_class, PROP_BACKGROUND_COLOR,</td></tr>
+<tr class="codeline" data-linenumber="2110"><td class="num" id="LN2110">2110</td><td class="line"> g_param_spec_boxed (<span class='string_literal'>"background-color"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2111"><td class="num" id="LN2111">2111</td><td class="line"> <span class='macro'>GDK_TYPE_RGBA<span class='macro_popup'>(gdk_rgba_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2112"><td class="num" id="LN2112">2112</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2113"><td class="num" id="LN2113">2113</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2114"><td class="num" id="LN2114">2114</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2115"><td class="num" id="LN2115">2115</td><td class="line"> gobject_class, PROP_USE_BG_COLOR,</td></tr>
+<tr class="codeline" data-linenumber="2116"><td class="num" id="LN2116">2116</td><td class="line"> g_param_spec_boolean (<span class='string_literal'>"use-background-color"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2117"><td class="num" id="LN2117">2117</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2118"><td class="num" id="LN2118">2118</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2119"><td class="num" id="LN2119">2119</td><td class="line"> <span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2120"><td class="num" id="LN2120">2120</td><td class="line"> <span class='comment'>* EomScrollView:zoom-multiplier:</span></td></tr>
+<tr class="codeline" data-linenumber="2121"><td class="num" id="LN2121">2121</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2122"><td class="num" id="LN2122">2122</td><td class="line"> <span class='comment'>* The current zoom factor is multiplied with this value + 1.0 when</span></td></tr>
+<tr class="codeline" data-linenumber="2123"><td class="num" id="LN2123">2123</td><td class="line"> <span class='comment'>* scrolling with the scrollwheel to determine the next zoom factor.</span></td></tr>
+<tr class="codeline" data-linenumber="2124"><td class="num" id="LN2124">2124</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="2125"><td class="num" id="LN2125">2125</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2126"><td class="num" id="LN2126">2126</td><td class="line"> gobject_class, PROP_ZOOM_MULTIPLIER,</td></tr>
+<tr class="codeline" data-linenumber="2127"><td class="num" id="LN2127">2127</td><td class="line"> g_param_spec_double (<span class='string_literal'>"zoom-multiplier"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2128"><td class="num" id="LN2128">2128</td><td class="line"> -<span class='macro'>G_MAXDOUBLE<span class='macro_popup'>1.7976931348623157e+308</span></span>, <span class='macro'>G_MAXDOUBLE<span class='macro_popup'>1.7976931348623157e+308</span></span> -1.0, 0.05,</td></tr>
+<tr class="codeline" data-linenumber="2129"><td class="num" id="LN2129">2129</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2130"><td class="num" id="LN2130">2130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2131"><td class="num" id="LN2131">2131</td><td class="line"> <span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2132"><td class="num" id="LN2132">2132</td><td class="line"> <span class='comment'>* EomScrollView:scrollwheel-zoom:</span></td></tr>
+<tr class="codeline" data-linenumber="2133"><td class="num" id="LN2133">2133</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2134"><td class="num" id="LN2134">2134</td><td class="line"> <span class='comment'>* If %TRUE the scrollwheel will zoom the view, otherwise it will be</span></td></tr>
+<tr class="codeline" data-linenumber="2135"><td class="num" id="LN2135">2135</td><td class="line"> <span class='comment'>* used for scrolling a zoomed image.</span></td></tr>
+<tr class="codeline" data-linenumber="2136"><td class="num" id="LN2136">2136</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="2137"><td class="num" id="LN2137">2137</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2138"><td class="num" id="LN2138">2138</td><td class="line"> gobject_class, PROP_SCROLLWHEEL_ZOOM,</td></tr>
+<tr class="codeline" data-linenumber="2139"><td class="num" id="LN2139">2139</td><td class="line"> g_param_spec_boolean (<span class='string_literal'>"scrollwheel-zoom"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2140"><td class="num" id="LN2140">2140</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2141"><td class="num" id="LN2141">2141</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2142"><td class="num" id="LN2142">2142</td><td class="line"> <span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2143"><td class="num" id="LN2143">2143</td><td class="line"> <span class='comment'>* EomScrollView:image:</span></td></tr>
+<tr class="codeline" data-linenumber="2144"><td class="num" id="LN2144">2144</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2145"><td class="num" id="LN2145">2145</td><td class="line"> <span class='comment'>* This is the currently display #EomImage.</span></td></tr>
+<tr class="codeline" data-linenumber="2146"><td class="num" id="LN2146">2146</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="2147"><td class="num" id="LN2147">2147</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2148"><td class="num" id="LN2148">2148</td><td class="line"> gobject_class, PROP_IMAGE,</td></tr>
+<tr class="codeline" data-linenumber="2149"><td class="num" id="LN2149">2149</td><td class="line"> g_param_spec_object (<span class='string_literal'>"image"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_TYPE_IMAGE<span class='macro_popup'>(eom_image_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2150"><td class="num" id="LN2150">2150</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2151"><td class="num" id="LN2151">2151</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2152"><td class="num" id="LN2152">2152</td><td class="line"> <span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2153"><td class="num" id="LN2153">2153</td><td class="line"> <span class='comment'>* EomScrollView:transparency-color:</span></td></tr>
+<tr class="codeline" data-linenumber="2154"><td class="num" id="LN2154">2154</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2155"><td class="num" id="LN2155">2155</td><td class="line"> <span class='comment'>* This is the color used to fill the transparent parts of an image</span></td></tr>
+<tr class="codeline" data-linenumber="2156"><td class="num" id="LN2156">2156</td><td class="line"> <span class='comment'>* if :transparency-style is set to use a custom color.</span></td></tr>
+<tr class="codeline" data-linenumber="2157"><td class="num" id="LN2157">2157</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="2158"><td class="num" id="LN2158">2158</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2159"><td class="num" id="LN2159">2159</td><td class="line"> gobject_class, PROP_TRANSP_COLOR,</td></tr>
+<tr class="codeline" data-linenumber="2160"><td class="num" id="LN2160">2160</td><td class="line"> g_param_spec_boxed (<span class='string_literal'>"transparency-color"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2161"><td class="num" id="LN2161">2161</td><td class="line"> <span class='macro'>GDK_TYPE_RGBA<span class='macro_popup'>(gdk_rgba_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2162"><td class="num" id="LN2162">2162</td><td class="line"> G_PARAM_WRITABLE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2163"><td class="num" id="LN2163">2163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2164"><td class="num" id="LN2164">2164</td><td class="line"> <span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2165"><td class="num" id="LN2165">2165</td><td class="line"> <span class='comment'>* EomScrollView:transparency-style:</span></td></tr>
+<tr class="codeline" data-linenumber="2166"><td class="num" id="LN2166">2166</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2167"><td class="num" id="LN2167">2167</td><td class="line"> <span class='comment'>* Determines how to fill the shown image's transparent areas.</span></td></tr>
+<tr class="codeline" data-linenumber="2168"><td class="num" id="LN2168">2168</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="2169"><td class="num" id="LN2169">2169</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2170"><td class="num" id="LN2170">2170</td><td class="line"> gobject_class, PROP_TRANSPARENCY_STYLE,</td></tr>
+<tr class="codeline" data-linenumber="2171"><td class="num" id="LN2171">2171</td><td class="line"> g_param_spec_enum (<span class='string_literal'>"transparency-style"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2172"><td class="num" id="LN2172">2172</td><td class="line"> <span class='macro'>EOM_TYPE_TRANSPARENCY_STYLE<span class='macro_popup'>(eom_transparency_style_get_type())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2173"><td class="num" id="LN2173">2173</td><td class="line"> EOM_TRANSP_CHECKED,</td></tr>
+<tr class="codeline" data-linenumber="2174"><td class="num" id="LN2174">2174</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2175"><td class="num" id="LN2175">2175</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2176"><td class="num" id="LN2176">2176</td><td class="line"> view_signals [SIGNAL_ZOOM_CHANGED] =</td></tr>
+<tr class="codeline" data-linenumber="2177"><td class="num" id="LN2177">2177</td><td class="line"> g_signal_new (<span class='string_literal'>"zoom_changed"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2178"><td class="num" id="LN2178">2178</td><td class="line"> <span class='macro'>EOM_TYPE_SCROLL_VIEW<span class='macro_popup'>(eom_scroll_view_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2179"><td class="num" id="LN2179">2179</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="2180"><td class="num" id="LN2180">2180</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (EomScrollViewClass, zoom_changed)<span class='macro_popup'>((glong) __builtin_offsetof(EomScrollViewClass, zoom_changed)<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2181"><td class="num" id="LN2181">2181</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2182"><td class="num" id="LN2182">2182</td><td class="line"> <span class='macro'>eom_marshal_VOID__DOUBLE<span class='macro_popup'>g_cclosure_marshal_VOID__DOUBLE</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2183"><td class="num" id="LN2183">2183</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 1,</td></tr>
+<tr class="codeline" data-linenumber="2184"><td class="num" id="LN2184">2184</td><td class="line"> <span class='macro'>G_TYPE_DOUBLE<span class='macro_popup'>((GType) ((15) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2185"><td class="num" id="LN2185">2185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2186"><td class="num" id="LN2186">2186</td><td class="line"> widget_class-&gt;size_allocate = eom_scroll_view_size_allocate;</td></tr>
+<tr class="codeline" data-linenumber="2187"><td class="num" id="LN2187">2187</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2188"><td class="num" id="LN2188">2188</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2189"><td class="num" id="LN2189">2189</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2190"><td class="num" id="LN2190">2190</td><td class="line">view_on_drag_begin_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="2191"><td class="num" id="LN2191">2191</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="2192"><td class="num" id="LN2192">2192</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2193"><td class="num" id="LN2193">2193</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2194"><td class="num" id="LN2194">2194</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="2195"><td class="num" id="LN2195">2195</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="2196"><td class="num" id="LN2196">2196</td><td class="line"> GdkPixbuf *thumbnail;</td></tr>
+<tr class="codeline" data-linenumber="2197"><td class="num" id="LN2197">2197</td><td class="line"> gint width, height;</td></tr>
+<tr class="codeline" data-linenumber="2198"><td class="num" id="LN2198">2198</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2199"><td class="num" id="LN2199">2199</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (user_data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2200"><td class="num" id="LN2200">2200</td><td class="line"> image = view-&gt;priv-&gt;image;</td></tr>
+<tr class="codeline" data-linenumber="2201"><td class="num" id="LN2201">2201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2202"><td class="num" id="LN2202">2202</td><td class="line"> thumbnail = eom_image_get_thumbnail (image);</td></tr>
+<tr class="codeline" data-linenumber="2203"><td class="num" id="LN2203">2203</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2204"><td class="num" id="LN2204">2204</td><td class="line"> <span class='keyword'>if</span> (thumbnail) {</td></tr>
+<tr class="codeline" data-linenumber="2205"><td class="num" id="LN2205">2205</td><td class="line"> width = gdk_pixbuf_get_width (thumbnail) / view-&gt;priv-&gt;scale;</td></tr>
+<tr class="codeline" data-linenumber="2206"><td class="num" id="LN2206">2206</td><td class="line"> height = gdk_pixbuf_get_height (thumbnail) / view-&gt;priv-&gt;scale;</td></tr>
+<tr class="codeline" data-linenumber="2207"><td class="num" id="LN2207">2207</td><td class="line"> gtk_drag_set_icon_pixbuf (context, thumbnail, width/2, height/2);</td></tr>
+<tr class="codeline" data-linenumber="2208"><td class="num" id="LN2208">2208</td><td class="line"> g_object_unref (thumbnail);</td></tr>
+<tr class="codeline" data-linenumber="2209"><td class="num" id="LN2209">2209</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2210"><td class="num" id="LN2210">2210</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2211"><td class="num" id="LN2211">2211</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2212"><td class="num" id="LN2212">2212</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2213"><td class="num" id="LN2213">2213</td><td class="line">view_on_drag_data_get_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="2214"><td class="num" id="LN2214">2214</td><td class="line"> GdkDragContext *drag_context,</td></tr>
+<tr class="codeline" data-linenumber="2215"><td class="num" id="LN2215">2215</td><td class="line"> GtkSelectionData *data,</td></tr>
+<tr class="codeline" data-linenumber="2216"><td class="num" id="LN2216">2216</td><td class="line"> guint info,</td></tr>
+<tr class="codeline" data-linenumber="2217"><td class="num" id="LN2217">2217</td><td class="line"> guint time,</td></tr>
+<tr class="codeline" data-linenumber="2218"><td class="num" id="LN2218">2218</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2219"><td class="num" id="LN2219">2219</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2220"><td class="num" id="LN2220">2220</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="2221"><td class="num" id="LN2221">2221</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="2222"><td class="num" id="LN2222">2222</td><td class="line"> gchar *uris[2];</td></tr>
+<tr class="codeline" data-linenumber="2223"><td class="num" id="LN2223">2223</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="2224"><td class="num" id="LN2224">2224</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2225"><td class="num" id="LN2225">2225</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (user_data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2226"><td class="num" id="LN2226">2226</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2227"><td class="num" id="LN2227">2227</td><td class="line"> image = view-&gt;priv-&gt;image;</td></tr>
+<tr class="codeline" data-linenumber="2228"><td class="num" id="LN2228">2228</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2229"><td class="num" id="LN2229">2229</td><td class="line"> file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="2230"><td class="num" id="LN2230">2230</td><td class="line"> uris[0] = g_file_get_uri (file);</td></tr>
+<tr class="codeline" data-linenumber="2231"><td class="num" id="LN2231">2231</td><td class="line"> uris[1] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2232"><td class="num" id="LN2232">2232</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2233"><td class="num" id="LN2233">2233</td><td class="line"> gtk_selection_data_set_uris (data, uris);</td></tr>
+<tr class="codeline" data-linenumber="2234"><td class="num" id="LN2234">2234</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2235"><td class="num" id="LN2235">2235</td><td class="line"> g_free (uris[0]);</td></tr>
+<tr class="codeline" data-linenumber="2236"><td class="num" id="LN2236">2236</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="2237"><td class="num" id="LN2237">2237</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2238"><td class="num" id="LN2238">2238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2239"><td class="num" id="LN2239">2239</td><td class="line">GtkWidget*</td></tr>
+<tr class="codeline" data-linenumber="2240"><td class="num" id="LN2240">2240</td><td class="line">eom_scroll_view_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="2241"><td class="num" id="LN2241">2241</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2242"><td class="num" id="LN2242">2242</td><td class="line"> GtkWidget *widget;</td></tr>
+<tr class="codeline" data-linenumber="2243"><td class="num" id="LN2243">2243</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2244"><td class="num" id="LN2244">2244</td><td class="line"> widget = g_object_new (<span class='macro'>EOM_TYPE_SCROLL_VIEW<span class='macro_popup'>(eom_scroll_view_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2245"><td class="num" id="LN2245">2245</td><td class="line"> <span class='string_literal'>"can-focus"</span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2246"><td class="num" id="LN2246">2246</td><td class="line"> <span class='string_literal'>"row-homogeneous"</span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2247"><td class="num" id="LN2247">2247</td><td class="line"> <span class='string_literal'>"column-homogeneous"</span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2248"><td class="num" id="LN2248">2248</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2249"><td class="num" id="LN2249">2249</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2250"><td class="num" id="LN2250">2250</td><td class="line"> <span class='keyword'>return</span> widget;</td></tr>
+<tr class="codeline" data-linenumber="2251"><td class="num" id="LN2251">2251</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2252"><td class="num" id="LN2252">2252</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2253"><td class="num" id="LN2253">2253</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2254"><td class="num" id="LN2254">2254</td><td class="line">view_on_button_press_event_cb (GtkWidget *widget, GdkEventButton *event,</td></tr>
+<tr class="codeline" data-linenumber="2255"><td class="num" id="LN2255">2255</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2256"><td class="num" id="LN2256">2256</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2257"><td class="num" id="LN2257">2257</td><td class="line"> EomScrollView *view = <span class='macro'>EOM_SCROLL_VIEW (widget)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2258"><td class="num" id="LN2258">2258</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2259"><td class="num" id="LN2259">2259</td><td class="line"> <span class='comment'>/* Ignore double-clicks and triple-clicks */</span></td></tr>
+<tr class="codeline" data-linenumber="2260"><td class="num" id="LN2260">2260</td><td class="line"> <span class='keyword'>if</span> (event-&gt;button == 3 &amp;&amp; event-&gt;type == GDK_BUTTON_PRESS)</td></tr>
+<tr class="codeline" data-linenumber="2261"><td class="num" id="LN2261">2261</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2262"><td class="num" id="LN2262">2262</td><td class="line"> gtk_menu_popup_at_pointer (<span class='macro'>GTK_MENU (view-&gt;priv-&gt;menu)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view-&gt;priv-&gt;menu)), ((gtk_menu_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2263"><td class="num" id="LN2263">2263</td><td class="line"> (<span class='keyword'>const</span> GdkEvent*) event);</td></tr>
+<tr class="codeline" data-linenumber="2264"><td class="num" id="LN2264">2264</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2265"><td class="num" id="LN2265">2265</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2266"><td class="num" id="LN2266">2266</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2267"><td class="num" id="LN2267">2267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2268"><td class="num" id="LN2268">2268</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2269"><td class="num" id="LN2269">2269</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2270"><td class="num" id="LN2270">2270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2271"><td class="num" id="LN2271">2271</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2272"><td class="num" id="LN2272">2272</td><td class="line">eom_scroll_view_set_popup (EomScrollView *view,</td></tr>
+<tr class="codeline" data-linenumber="2273"><td class="num" id="LN2273">2273</td><td class="line"> GtkMenu *menu)</td></tr>
+<tr class="codeline" data-linenumber="2274"><td class="num" id="LN2274">2274</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2275"><td class="num" id="LN2275">2275</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2276"><td class="num" id="LN2276">2276</td><td class="line"> <span class='macro'>g_return_if_fail (view-&gt;priv-&gt;menu == NULL)<span class='macro_popup'>do { if ((view-&gt;priv-&gt;menu == ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "view-&gt;priv-&gt;menu == NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2277"><td class="num" id="LN2277">2277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2278"><td class="num" id="LN2278">2278</td><td class="line"> view-&gt;priv-&gt;menu = <span class='macro'>g_object_ref (GTK_WIDGET (menu))<span class='macro_popup'>((__typeof__ (((((GtkWidget*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu)), ((gtk_widget_get_type ()))))))))<br> (g_object_ref) (((((GtkWidget*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu)), ((gtk_widget_get_type ()))))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2279"><td class="num" id="LN2279">2279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2280"><td class="num" id="LN2280">2280</td><td class="line"> gtk_menu_attach_to_widget (<span class='macro'>GTK_MENU (view-&gt;priv-&gt;menu)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view-&gt;priv-&gt;menu)), ((gtk_menu_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2281"><td class="num" id="LN2281">2281</td><td class="line"> <span class='macro'>GTK_WIDGET (view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_widget_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2282"><td class="num" id="LN2282">2282</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2283"><td class="num" id="LN2283">2283</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2284"><td class="num" id="LN2284">2284</td><td class="line"> <span class='macro'>g_signal_connect (view, <span class='string_literal'>"button_press_event"</span>,<span class='macro_popup'>g_signal_connect_data ((view), ("button_press_event"), (((GCallback<br>) (view_on_button_press_event_cb))), (((void*)0)), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2285"><td class="num" id="LN2285">2285</td><td class="line"> <span class='macro'>G_CALLBACK (view_on_button_press_event_cb),<span class='macro_popup'>g_signal_connect_data ((view), ("button_press_event"), (((GCallback<br>) (view_on_button_press_event_cb))), (((void*)0)), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2286"><td class="num" id="LN2286">2286</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((view), ("button_press_event"), (((GCallback<br>) (view_on_button_press_event_cb))), (((void*)0)), ((void*)0)<br>, (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2287"><td class="num" id="LN2287">2287</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2288"><td class="num" id="LN2288">2288</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2289"><td class="num" id="LN2289">2289</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2290"><td class="num" id="LN2290">2290</td><td class="line">_eom_gdk_rgba_equal0 (<span class='keyword'>const</span> GdkRGBA *a, <span class='keyword'>const</span> GdkRGBA *b)</td></tr>
+<tr class="codeline" data-linenumber="2291"><td class="num" id="LN2291">2291</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2292"><td class="num" id="LN2292">2292</td><td class="line"> <span class='keyword'>if</span> (a == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> || b == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2293"><td class="num" id="LN2293">2293</td><td class="line"> <span class='keyword'>return</span> (a == b);</td></tr>
+<tr class="codeline" data-linenumber="2294"><td class="num" id="LN2294">2294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2295"><td class="num" id="LN2295">2295</td><td class="line"> <span class='keyword'>return</span> gdk_rgba_equal (a, b);</td></tr>
+<tr class="codeline" data-linenumber="2296"><td class="num" id="LN2296">2296</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2297"><td class="num" id="LN2297">2297</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2298"><td class="num" id="LN2298">2298</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2299"><td class="num" id="LN2299">2299</td><td class="line">_eom_replace_gdk_rgba (GdkRGBA **dest, <span class='keyword'>const</span> GdkRGBA *src)</td></tr>
+<tr class="codeline" data-linenumber="2300"><td class="num" id="LN2300">2300</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2301"><td class="num" id="LN2301">2301</td><td class="line"> GdkRGBA *old = *dest;</td></tr>
+<tr class="codeline" data-linenumber="2302"><td class="num" id="LN2302">2302</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2303"><td class="num" id="LN2303">2303</td><td class="line"> <span class='keyword'>if</span> (_eom_gdk_rgba_equal0 (old, src))</td></tr>
+<tr class="codeline" data-linenumber="2304"><td class="num" id="LN2304">2304</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2305"><td class="num" id="LN2305">2305</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2306"><td class="num" id="LN2306">2306</td><td class="line"> <span class='keyword'>if</span> (old != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2307"><td class="num" id="LN2307">2307</td><td class="line"> gdk_rgba_free (old);</td></tr>
+<tr class="codeline" data-linenumber="2308"><td class="num" id="LN2308">2308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2309"><td class="num" id="LN2309">2309</td><td class="line"> *dest = (src) ? gdk_rgba_copy (src) : <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2310"><td class="num" id="LN2310">2310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2311"><td class="num" id="LN2311">2311</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2312"><td class="num" id="LN2312">2312</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2313"><td class="num" id="LN2313">2313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2314"><td class="num" id="LN2314">2314</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2315"><td class="num" id="LN2315">2315</td><td class="line">_eom_scroll_view_update_bg_color (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="2316"><td class="num" id="LN2316">2316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2317"><td class="num" id="LN2317">2317</td><td class="line"> EomScrollViewPrivate *priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2318"><td class="num" id="LN2318">2318</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2319"><td class="num" id="LN2319">2319</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;transp_style == EOM_TRANSP_BACKGROUND</td></tr>
+<tr class="codeline" data-linenumber="2320"><td class="num" id="LN2320">2320</td><td class="line"> &amp;&amp; priv-&gt;background_surface != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2321"><td class="num" id="LN2321">2321</td><td class="line"> <span class='comment'>/* Delete the SVG background to have it recreated with</span></td></tr>
+<tr class="codeline" data-linenumber="2322"><td class="num" id="LN2322">2322</td><td class="line"> <span class='comment'>* the correct color during the next SVG redraw */</span></td></tr>
+<tr class="codeline" data-linenumber="2323"><td class="num" id="LN2323">2323</td><td class="line"> cairo_surface_destroy (priv-&gt;background_surface);</td></tr>
+<tr class="codeline" data-linenumber="2324"><td class="num" id="LN2324">2324</td><td class="line"> priv-&gt;background_surface = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2325"><td class="num" id="LN2325">2325</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2326"><td class="num" id="LN2326">2326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2327"><td class="num" id="LN2327">2327</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="2328"><td class="num" id="LN2328">2328</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2329"><td class="num" id="LN2329">2329</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2330"><td class="num" id="LN2330">2330</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2331"><td class="num" id="LN2331">2331</td><td class="line">eom_scroll_view_set_background_color (EomScrollView *view,</td></tr>
+<tr class="codeline" data-linenumber="2332"><td class="num" id="LN2332">2332</td><td class="line"> <span class='keyword'>const</span> GdkRGBA *color)</td></tr>
+<tr class="codeline" data-linenumber="2333"><td class="num" id="LN2333">2333</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2334"><td class="num" id="LN2334">2334</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2335"><td class="num" id="LN2335">2335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2336"><td class="num" id="LN2336">2336</td><td class="line"> <span class='keyword'>if</span> (_eom_replace_gdk_rgba (&amp;view-&gt;priv-&gt;background_color, color))</td></tr>
+<tr class="codeline" data-linenumber="2337"><td class="num" id="LN2337">2337</td><td class="line"> _eom_scroll_view_update_bg_color (view);</td></tr>
+<tr class="codeline" data-linenumber="2338"><td class="num" id="LN2338">2338</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2339"><td class="num" id="LN2339">2339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2340"><td class="num" id="LN2340">2340</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2341"><td class="num" id="LN2341">2341</td><td class="line">eom_scroll_view_override_bg_color (EomScrollView *view,</td></tr>
+<tr class="codeline" data-linenumber="2342"><td class="num" id="LN2342">2342</td><td class="line"> <span class='keyword'>const</span> GdkRGBA *color)</td></tr>
+<tr class="codeline" data-linenumber="2343"><td class="num" id="LN2343">2343</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2344"><td class="num" id="LN2344">2344</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2345"><td class="num" id="LN2345">2345</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2346"><td class="num" id="LN2346">2346</td><td class="line"> <span class='keyword'>if</span> (_eom_replace_gdk_rgba (&amp;view-&gt;priv-&gt;override_bg_color, color))</td></tr>
+<tr class="codeline" data-linenumber="2347"><td class="num" id="LN2347">2347</td><td class="line"> _eom_scroll_view_update_bg_color (view);</td></tr>
+<tr class="codeline" data-linenumber="2348"><td class="num" id="LN2348">2348</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2349"><td class="num" id="LN2349">2349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2350"><td class="num" id="LN2350">2350</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2351"><td class="num" id="LN2351">2351</td><td class="line">eom_scroll_view_set_use_bg_color (EomScrollView *view, gboolean use)</td></tr>
+<tr class="codeline" data-linenumber="2352"><td class="num" id="LN2352">2352</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2353"><td class="num" id="LN2353">2353</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2354"><td class="num" id="LN2354">2354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2355"><td class="num" id="LN2355">2355</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2356"><td class="num" id="LN2356">2356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2357"><td class="num" id="LN2357">2357</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2358"><td class="num" id="LN2358">2358</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2359"><td class="num" id="LN2359">2359</td><td class="line"> <span class='keyword'>if</span> (use != priv-&gt;use_bg_color) {</td></tr>
+<tr class="codeline" data-linenumber="2360"><td class="num" id="LN2360">2360</td><td class="line"> priv-&gt;use_bg_color = use;</td></tr>
+<tr class="codeline" data-linenumber="2361"><td class="num" id="LN2361">2361</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2362"><td class="num" id="LN2362">2362</td><td class="line"> _eom_scroll_view_update_bg_color (view);</td></tr>
+<tr class="codeline" data-linenumber="2363"><td class="num" id="LN2363">2363</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2364"><td class="num" id="LN2364">2364</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"use-background-color"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2365"><td class="num" id="LN2365">2365</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2366"><td class="num" id="LN2366">2366</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2367"><td class="num" id="LN2367">2367</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2368"><td class="num" id="LN2368">2368</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2369"><td class="num" id="LN2369">2369</td><td class="line">eom_scroll_view_set_scroll_wheel_zoom (EomScrollView *view,</td></tr>
+<tr class="codeline" data-linenumber="2370"><td class="num" id="LN2370">2370</td><td class="line"> gboolean scroll_wheel_zoom)</td></tr>
+<tr class="codeline" data-linenumber="2371"><td class="num" id="LN2371">2371</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2372"><td class="num" id="LN2372">2372</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2373"><td class="num" id="LN2373">2373</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2374"><td class="num" id="LN2374">2374</td><td class="line"> <span class='keyword'>if</span> (view-&gt;priv-&gt;scroll_wheel_zoom != scroll_wheel_zoom) {</td></tr>
+<tr class="codeline" data-linenumber="2375"><td class="num" id="LN2375">2375</td><td class="line"> view-&gt;priv-&gt;scroll_wheel_zoom = scroll_wheel_zoom;</td></tr>
+<tr class="codeline" data-linenumber="2376"><td class="num" id="LN2376">2376</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"scrollwheel-zoom"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2377"><td class="num" id="LN2377">2377</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2378"><td class="num" id="LN2378">2378</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2379"><td class="num" id="LN2379">2379</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2380"><td class="num" id="LN2380">2380</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2381"><td class="num" id="LN2381">2381</td><td class="line">eom_scroll_view_set_zoom_multiplier (EomScrollView *view,</td></tr>
+<tr class="codeline" data-linenumber="2382"><td class="num" id="LN2382">2382</td><td class="line"> gdouble zoom_multiplier)</td></tr>
+<tr class="codeline" data-linenumber="2383"><td class="num" id="LN2383">2383</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2384"><td class="num" id="LN2384">2384</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2385"><td class="num" id="LN2385">2385</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2386"><td class="num" id="LN2386">2386</td><td class="line"> view-&gt;priv-&gt;zoom_multiplier = 1.0 + zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="2387"><td class="num" id="LN2387">2387</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2388"><td class="num" id="LN2388">2388</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"zoom-multiplier"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2389"><td class="num" id="LN2389">2389</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-270b7d.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-270b7d.html
new file mode 100644
index 0000000..f303b01
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-270b7d.html
@@ -0,0 +1,1126 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-transform.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC This statement is never executed -->
+
+<!-- BUGTYPE Unreachable code -->
+
+<!-- BUGCATEGORY Unused code -->
+
+<!-- BUGFILE /rootdir/src/eom-transform.c -->
+
+<!-- FILENAME eom-transform.c -->
+
+<!-- FUNCTIONNAME eom_transform_get_transform_type -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 270b7d9b37098e48fea8d7715fe15f8a -->
+
+<!-- BUGLINE 398 -->
+
+<!-- BUGCOLUMN 10 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-transform.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 398, column 10</a><br />This statement is never executed</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-transform.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-transform.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"398": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of MATE -- Affine Transformations</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2003-2009 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Portions based on code from libart_lgpl by Raph Levien.</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software Foundation,</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;time.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;math.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include &lt;cairo/cairo.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include "eom-transform.h"</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include "eom-jobs.h"</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='comment'>/* The number of progress updates per transformation */</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_TRANSFORM_N_PROG_UPDATES<span class='macro_popup'>20</span></span> 20</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='keyword'>struct</span> _EomTransformPrivate {</td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> cairo_matrix_t affine;</td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"> gdouble x;</td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> gdouble y;</td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line">} EomPoint;</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='comment'>/* Convert degrees into radians */</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_DEG_TO_RAD(degree)<span class='macro_popup'>((degree) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span> ((degree) * (<span class='macro'>G_PI<span class='macro_popup'>3.1415926535897932384626433832795028841971693993751</span></span>/180.0))</span></td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EomTransform, eom_transform, G_TYPE_OBJECT)<span class='macro_popup'>static void eom_transform_init (EomTransform *self); static void<br> eom_transform_class_init (EomTransformClass *klass); static GType<br> eom_transform_get_type_once (void); static gpointer eom_transform_parent_class<br> = ((void*)0); static gint EomTransform_private_offset; static<br> void eom_transform_class_intern_init (gpointer klass) { eom_transform_parent_class<br> = g_type_class_peek_parent (klass); if (EomTransform_private_offset<br> != 0) g_type_class_adjust_private_offset (klass, &amp;EomTransform_private_offset<br>); eom_transform_class_init ((EomTransformClass*) klass); } __attribute__<br> ((__unused__)) static inline gpointer eom_transform_get_instance_private<br> (EomTransform *self) { return (((gpointer) ((guint8*) (self)<br> + (glong) (EomTransform_private_offset)))); } GType eom_transform_get_type<br> (void) { static gsize static_g_define_type_id = 0; if ((__extension__<br> ({ _Static_assert (sizeof *(&amp;static_g_define_type_id) ==<br> sizeof (gpointer), "Expression evaluates to false"); (void) (<br>0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0));<br> (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = eom_transform_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType eom_transform_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> (((GType) ((20) &lt;&lt; (2))), g_intern_static_string ("EomTransform"<br>), sizeof (EomTransformClass), (GClassInitFunc)(void (*)(void<br>)) eom_transform_class_intern_init, sizeof (EomTransform), (GInstanceInitFunc<br>)(void (*)(void)) eom_transform_init, (GTypeFlags) 0); { {{ EomTransform_private_offset<br> = g_type_add_instance_private (g_define_type_id, sizeof (EomTransformPrivate<br>)); };} } return g_define_type_id; }</span></span></td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line">eom_transform_init (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> trans-&gt;priv = eom_transform_get_instance_private (trans);</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line">eom_transform_class_init (EomTransformClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> <span class='comment'>* eom_transform_apply:</span></td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> <span class='comment'>* @pixbuf: a #GdkPixbuf</span></td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> <span class='comment'>* @job: a #EomJob</span></td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> <span class='comment'>* Applies the transformation in @trans to @pixbuf, setting its progress in @job.</span></td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> <span class='comment'>* Returns: (transfer full): A new #GdkPixbuf with the transformation applied.</span></td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line">GdkPixbuf*</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line">eom_transform_apply (EomTransform *trans, GdkPixbuf *pixbuf, EomJob *job)</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> EomPoint dest_top_left;</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> EomPoint dest_bottom_right;</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> EomPoint vertices[4] = { {0, 0}, {1, 0}, {1, 1}, {0, 1} };</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> <span class='keyword'>double</span> r_det;</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> <span class='keyword'>int</span> inverted [6];</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> EomPoint dest;</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> <span class='keyword'>int</span> src_width;</td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>int</span> src_height;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> <span class='keyword'>int</span> src_rowstride;</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> <span class='keyword'>int</span> src_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> guchar *src_buffer;</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> GdkPixbuf *dest_pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> <span class='keyword'>int</span> dest_width;</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> <span class='keyword'>int</span> dest_height;</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> <span class='keyword'>int</span> dest_rowstride;</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> <span class='keyword'>int</span> dest_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> guchar *dest_buffer;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> guchar *src_pos;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> guchar *dest_pos;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> <span class='keyword'>int</span> dx, dy, sx, sy;</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> <span class='keyword'>int</span> i, x, y;</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> <span class='keyword'>int</span> progress_delta;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> <span class='macro'>g_return_val_if_fail (pixbuf != NULL, NULL)<span class='macro_popup'>do { if ((pixbuf != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "pixbuf != NULL"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> <span class='macro'>g_object_ref (pixbuf)<span class='macro_popup'>((__typeof__ (pixbuf)) (g_object_ref) (pixbuf))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> src_width = gdk_pixbuf_get_width (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> src_height = gdk_pixbuf_get_height (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> src_rowstride = gdk_pixbuf_get_rowstride (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> src_n_channels = gdk_pixbuf_get_n_channels (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> src_buffer = gdk_pixbuf_get_pixels (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> <span class='comment'>/* find out the dimension of the destination pixbuf */</span></td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> dest_top_left.x = 100000;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> dest_top_left.y = 100000;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> dest_bottom_right.x = -100000;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> dest_bottom_right.y = -100000;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; 4; i++) {</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> dest.x = vertices[i].x * (src_width - 1);</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> dest.y = vertices[i].y * (src_height -1);</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> cairo_matrix_transform_point (&amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> &amp;dest.x, &amp;dest.y);</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> dest_top_left.x = <span class='macro'>MIN (dest_top_left.x, dest.x)<span class='macro_popup'>(((dest_top_left.x) &lt; (dest.x)) ? (dest_top_left.x) : (dest<br>.x))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> dest_top_left.y = <span class='macro'>MIN (dest_top_left.y, dest.y)<span class='macro_popup'>(((dest_top_left.y) &lt; (dest.y)) ? (dest_top_left.y) : (dest<br>.y))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> dest_bottom_right.x = <span class='macro'>MAX (dest_bottom_right.x, dest.x)<span class='macro_popup'>(((dest_bottom_right.x) &gt; (dest.x)) ? (dest_bottom_right.x<br>) : (dest.x))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> dest_bottom_right.y = <span class='macro'>MAX (dest_bottom_right.y, dest.y)<span class='macro_popup'>(((dest_bottom_right.y) &gt; (dest.y)) ? (dest_bottom_right.y<br>) : (dest.y))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> <span class='comment'>/* create the resulting pixbuf */</span></td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> dest_width = abs ((<span class='keyword'>int</span>) (dest_bottom_right.x - dest_top_left.x + 1));</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> dest_height = abs ((<span class='keyword'>int</span>) (dest_bottom_right.y - dest_top_left.y + 1));</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> dest_pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB,</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> gdk_pixbuf_get_has_alpha (pixbuf),</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> gdk_pixbuf_get_bits_per_sample (pixbuf),</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> dest_width,</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> dest_height);</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> dest_rowstride = gdk_pixbuf_get_rowstride (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> dest_n_channels = gdk_pixbuf_get_n_channels (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> dest_buffer = gdk_pixbuf_get_pixels (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> <span class='comment'>/* invert the matrix so that we can compute the source pixel</span></td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> <span class='comment'>from the target pixel and convert the values to integer</span></td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> <span class='comment'>ones (faster!) FIXME: Maybe we can do some more</span></td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> <span class='comment'>improvements by using special mmx/3dnow features if</span></td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> <span class='comment'>available.</span></td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> r_det = 1.0 / (trans-&gt;priv-&gt;affine.xx * trans-&gt;priv-&gt;affine.yy - trans-&gt;priv-&gt;affine.yx * trans-&gt;priv-&gt;affine.xy);</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> inverted[0] = trans-&gt;priv-&gt;affine.yy * r_det;</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> inverted[1] = -trans-&gt;priv-&gt;affine.yx * r_det;</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> inverted[2] = -trans-&gt;priv-&gt;affine.xy * r_det;</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> inverted[3] = trans-&gt;priv-&gt;affine.xx * r_det;</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> inverted[4] = -trans-&gt;priv-&gt;affine.x0 * inverted[0] - trans-&gt;priv-&gt;affine.y0 * inverted[2];</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> inverted[5] = -trans-&gt;priv-&gt;affine.x0 * inverted[1] - trans-&gt;priv-&gt;affine.y0 * inverted[3];</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> progress_delta = <span class='macro'>MAX (1, dest_height / EOM_TRANSFORM_N_PROG_UPDATES)<span class='macro_popup'>(((1) &gt; (dest_height / 20)) ? (1) : (dest_height / 20))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> <span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> <span class='comment'>* for every destination pixel (dx,dy) compute the source pixel (sx, sy)</span></td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> <span class='comment'>* and copy the color values</span></td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='keyword'>for</span> (y = 0, dy = dest_top_left.y; y &lt; dest_height; y++, dy++) {</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>for</span> (x = 0, dx = dest_top_left.x; x &lt; dest_width; x++, dx++) {</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> sx = dx * inverted[0] + dy * inverted[2] + inverted[4];</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> sy = dx * inverted[1] + dy * inverted[3] + inverted[5];</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> <span class='keyword'>if</span> (sx &gt;= 0 &amp;&amp; sx &lt; src_width &amp;&amp; sy &gt;= 0 &amp;&amp; sy &lt; src_height) {</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> src_pos = src_buffer + sy * src_rowstride + sx * src_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> dest_pos = dest_buffer + y * dest_rowstride + x * dest_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; src_n_channels; i++) {</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> dest_pos[i] = src_pos[i];</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> <span class='keyword'>if</span> (job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; y % progress_delta == 0) {</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> gfloat progress;</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> progress = (gfloat) (y + 1.0) / (gfloat) dest_height;</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> eom_job_set_progress (job, progress);</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> g_object_unref (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> <span class='keyword'>if</span> (job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> eom_job_set_progress (job, 1.0);</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> <span class='keyword'>return</span> dest_pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line">_eom_cairo_matrix_copy (<span class='keyword'>const</span> cairo_matrix_t *src, cairo_matrix_t *dest)</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> cairo_matrix_init (dest, src-&gt;xx, src-&gt;yx, src-&gt;xy, src-&gt;yy, src-&gt;x0, src-&gt;y0);</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span> 1e-6</span></td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL(a,b)<span class='macro_popup'>(fabs (a - b) &lt; 1e-6)</span></span> (fabs (a - b) &lt; <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"><span class='comment'>/* art_affine_equal modified to work with cairo_matrix_t */</span></td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line">_eom_cairo_matrix_equal (<span class='keyword'>const</span> cairo_matrix_t *a, <span class='keyword'>const</span> cairo_matrix_t *b)</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> <span class='keyword'>return</span> (<span class='macro'>DOUBLE_EQUAL (a-&gt;xx, b-&gt;xx)<span class='macro_popup'>(fabs (a-&gt;xx - b-&gt;xx) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;yx, b-&gt;yx)<span class='macro_popup'>(fabs (a-&gt;yx - b-&gt;yx) &lt; 1e-6)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (a-&gt;xy, b-&gt;xy)<span class='macro_popup'>(fabs (a-&gt;xy - b-&gt;xy) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;yy, b-&gt;yy)<span class='macro_popup'>(fabs (a-&gt;yy - b-&gt;yy) &lt; 1e-6)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (a-&gt;x0, b-&gt;x0)<span class='macro_popup'>(fabs (a-&gt;x0 - b-&gt;x0) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;y0, b-&gt;y0)<span class='macro_popup'>(fabs (a-&gt;y0 - b-&gt;y0) &lt; 1e-6)</span></span> );</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"><span class='comment'>/* art_affine_flip modified to work with cairo_matrix_t */</span></td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line">_eom_cairo_matrix_flip (cairo_matrix_t *dst, <span class='keyword'>const</span> cairo_matrix_t *src, gboolean horiz, gboolean vert)</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> dst-&gt;xx = horiz ? -src-&gt;xx : src-&gt;xx;</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> dst-&gt;yx = horiz ? -src-&gt;yx : src-&gt;yx;</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> dst-&gt;xy = vert ? -src-&gt;xy : src-&gt;xy;</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> dst-&gt;yy = vert ? -src-&gt;yy : src-&gt;yy;</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> dst-&gt;x0 = horiz ? -src-&gt;x0 : src-&gt;x0;</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> dst-&gt;y0 = vert ? -src-&gt;y0 : src-&gt;y0;</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> <span class='comment'>* eom_transform_reverse:</span></td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> <span class='comment'>* Creates the reverse transformation of @trans</span></td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> <span class='comment'>* Returns: (transfer full): a new transformation</span></td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line">eom_transform_reverse (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> EomTransform *reverse;</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> reverse = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> _eom_cairo_matrix_copy (&amp;trans-&gt;priv-&gt;affine, &amp;reverse-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='macro'>g_return_val_if_fail (cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine) == CAIRO_STATUS_SUCCESS, reverse)<span class='macro_popup'>do { if ((cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine<br>) == CAIRO_STATUS_SUCCESS)) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine) == CAIRO_STATUS_SUCCESS"<br>); return (reverse); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> <span class='keyword'>return</span> reverse;</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> <span class='comment'>* eom_transform_compose:</span></td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='comment'>* @compose: another #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> <span class='comment'>* Returns: (transfer full): a new transform</span></td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line">eom_transform_compose (EomTransform *trans, EomTransform *compose)</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> EomTransform *composition;</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (compose), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((compose)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (compose)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> composition = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> cairo_matrix_multiply (&amp;composition-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> &amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> &amp;compose-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> <span class='keyword'>return</span> composition;</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line">eom_transform_is_identity (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> <span class='keyword'>static</span> <span class='keyword'>const</span> cairo_matrix_t identity = { 1, 0, 0, 1, 0, 0 };</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> <span class='keyword'>return</span> _eom_cairo_matrix_equal (&amp;identity, &amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line">eom_transform_identity_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> cairo_matrix_init_identity (&amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line">eom_transform_rotate_new (<span class='keyword'>int</span> degree)</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> cairo_matrix_init_rotate (&amp;trans-&gt;priv-&gt;affine, <span class='macro'>EOM_DEG_TO_RAD(degree)<span class='macro_popup'>((degree) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line">eom_transform_flip_new (EomTransformType type)</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> gboolean horiz, vert;</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> cairo_matrix_init_identity (&amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> horiz = (type == EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> vert = (type == EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> _eom_cairo_matrix_flip (&amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> &amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> horiz, vert);</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line">eom_transform_new (EomTransformType type)</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> EomTransform *trans = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> EomTransform *temp1 = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *temp2 = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> <span class='keyword'>switch</span> (type) {</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_NONE:</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> trans = eom_transform_identity_new ();</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_HORIZONTAL:</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> trans = eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_180:</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> trans = eom_transform_rotate_new (180);</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_VERTICAL:</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> trans = eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSPOSE:</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> temp1 = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> temp2 = eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> trans = eom_transform_compose (temp1, temp2);</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> g_object_unref (temp1);</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> g_object_unref (temp2);</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_90:</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> trans = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSVERSE:</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> temp1 = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> temp2 = eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> trans = eom_transform_compose (temp1, temp2);</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> g_object_unref (temp1);</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> g_object_unref (temp2);</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_270:</td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> trans = eom_transform_rotate_new (270);</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> trans = eom_transform_identity_new ();</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line">EomTransformType</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line">eom_transform_get_transform_type (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> cairo_matrix_t affine, a1, a2;</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> EomTransformPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), EOM_TRANSFORM_NONE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (EOM_TRANSFORM_NONE);<br> } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> priv = trans-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(90)<span class='macro_popup'>((90) * (3.1415926535897932384626433832795028841971693993751/<br>180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_90;</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(180)<span class='macro_popup'>((180) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> <span class='keyword'>return</span> <span class="mrange">EOM_TRANSFORM_ROT_180</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:24ex">This statement is never executed</div></td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(270)<span class='macro_popup'>((270) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_270;</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> cairo_matrix_init_identity (&amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> _eom_cairo_matrix_flip (&amp;affine, &amp;affine, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_FLIP_HORIZONTAL;</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> cairo_matrix_init_identity (&amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> _eom_cairo_matrix_flip (&amp;affine, &amp;affine, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_FLIP_VERTICAL;</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> cairo_matrix_init_rotate (&amp;a1, <span class='macro'>EOM_DEG_TO_RAD(90)<span class='macro_popup'>((90) * (3.1415926535897932384626433832795028841971693993751/<br>180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> cairo_matrix_init_identity (&amp;a2);</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> _eom_cairo_matrix_flip (&amp;a2, &amp;a2, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> cairo_matrix_multiply(&amp;affine, &amp;a1, &amp;a2);</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_TRANSPOSE;</td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> <span class='comment'>/* A transversion is a 180° rotation followed by a transposition */</span></td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> <span class='comment'>/* Reuse the transposition from the previous step for this. */</span></td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> cairo_matrix_init_rotate (&amp;a1, <span class='macro'>EOM_DEG_TO_RAD(180)<span class='macro_popup'>((180) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> cairo_matrix_multiply(&amp;a2, &amp;a1, &amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;a2, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_TRANSVERSE;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_NONE;</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line">eom_transform_get_affine (EomTransform *trans, cairo_matrix_t *affine)</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> _eom_cairo_matrix_copy (&amp;trans-&gt;priv-&gt;affine, affine);</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> </td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-3abb1a.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-3abb1a.html
new file mode 100644
index 0000000..5fc5718
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-3abb1a.html
@@ -0,0 +1,1164 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-util.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC This statement is never executed -->
+
+<!-- BUGTYPE Unreachable code -->
+
+<!-- BUGCATEGORY Unused code -->
+
+<!-- BUGFILE /rootdir/src/eom-util.c -->
+
+<!-- FILENAME eom-util.c -->
+
+<!-- FUNCTIONNAME eom_util_filename_get_extension -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 3abb1a6fdfc578fba400caae38ed402c -->
+
+<!-- BUGLINE 300 -->
+
+<!-- BUGCOLUMN 5 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-util.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 300, column 5</a><br />This statement is never executed</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-util.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-util.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"300": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of Mate - General Utilities</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2006 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Author: Lucas Rocha &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* Based on code by:</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* - Jens Finke &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include "config.h"</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;sys/time.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#include &lt;time.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include "eom-util.h"</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#include &lt;<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span>.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"><span class='directive'>#include &lt;glib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#include &lt;glib/gprintf.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#include &lt;glib/gstdio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#include &lt;gio/gio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line">eom_util_show_help (<span class='keyword'>const</span> gchar *section, GtkWindow *parent)</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> gchar *uri = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"> <span class='keyword'>if</span> (section)</td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> uri = g_strdup_printf (<span class='string_literal'>"help:eom/%s"</span>, section);</td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"> gtk_show_uri_on_window (parent, ((uri != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) ? uri : <span class='string_literal'>"help:eom"</span>),</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"> gtk_get_current_event_time (), &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"> <span class='keyword'>if</span> (error) {</td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> dialog = gtk_message_dialog_new (parent,</td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> GTK_MESSAGE_ERROR,</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> GTK_BUTTONS_OK,</td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Could not display help for Eye of MATE"</span>)<span class='macro_popup'>gettext ("Could not display help for Eye of MATE")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> gtk_message_dialog_format_secondary_text (<span class='macro'>GTK_MESSAGE_DIALOG (dialog)<span class='macro_popup'>((((GtkMessageDialog*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((dialog)), ((gtk_message_dialog_get_type ())<br>)))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> <span class='string_literal'>"%s"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> <span class='macro'>g_signal_connect_swapped (dialog, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>gtk_widget_destroy))), (dialog), ((void*)0), G_CONNECT_SWAPPED<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> <span class='macro'>G_CALLBACK (gtk_widget_destroy),<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>gtk_widget_destroy))), (dialog), ((void*)0), G_CONNECT_SWAPPED<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> <span class='macro'>dialog)<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>gtk_widget_destroy))), (dialog), ((void*)0), G_CONNECT_SWAPPED<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> gtk_widget_show (dialog);</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line">gchar *</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line">eom_util_make_valid_utf8 (<span class='keyword'>const</span> gchar *str)</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> GString *string;</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *remainder, *invalid;</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> <span class='keyword'>int</span> remaining_bytes, valid_bytes;</td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> string = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> remainder = str;</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> remaining_bytes = strlen (str);</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> <span class='keyword'>while</span> (remaining_bytes != 0) {</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> <span class='keyword'>if</span> (g_utf8_validate (remainder, remaining_bytes, &amp;invalid)) {</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> valid_bytes = invalid - remainder;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> <span class='keyword'>if</span> (string == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> string = g_string_sized_new (remaining_bytes);</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> <span class='macro'>g_string_append_len (string, remainder, valid_bytes)<span class='macro_popup'>g_string_append_len_inline (string, remainder, valid_bytes)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> <span class='macro'>g_string_append_c (string, '?')<span class='macro_popup'>g_string_append_c_inline (string, '?')</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> remaining_bytes -= valid_bytes + 1;</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> remainder = invalid + 1;</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> <span class='keyword'>if</span> (string == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (str)<span class='macro_popup'>g_strdup_inline (str)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> <span class='macro'>g_string_append (string, remainder)<span class='macro_popup'>(__builtin_constant_p (remainder) ? __extension__ ({ const char<br> * const __val = (remainder); g_string_append_len_inline (string<br>, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !<br>(__val))) : (gssize) -1); }) : g_string_append_len_inline (string<br>, remainder, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> <span class='macro'>g_string_append (string, _(<span class='string_literal'>" (invalid Unicode)"</span>))<span class='macro_popup'>(__builtin_constant_p (gettext (" (invalid Unicode)")) ? __extension__<br> ({ const char * const __val = (gettext (" (invalid Unicode)"<br>)); g_string_append_len_inline (string, __val, (__val != ((void<br>*)0)) ? (gssize) strlen (((__val) + !(__val))) : (gssize) -1)<br>; }) : g_string_append_len_inline (string, gettext (" (invalid Unicode)"<br>), (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> <span class='macro'>g_assert (g_utf8_validate (string-&gt;str, -1, NULL))<span class='macro_popup'>do { if (g_utf8_validate (string-&gt;str, -1, ((void*)0))) ; else<br> g_assertion_message_expr ("EOM", "eom-util.c", 115, ((const char<br>*) (__func__)), "g_utf8_validate (string-&gt;str, -1, NULL)")<br>; } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_string_free (string, FALSE)<span class='macro_popup'>(__builtin_constant_p ((0)) ? (((0)) ? (g_string_free) ((string<br>), ((0))) : g_string_free_and_steal (string)) : (g_string_free<br>) ((string), ((0))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line">GSList*</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line">eom_util_parse_uri_string_list_to_file_list (<span class='keyword'>const</span> gchar *uri_list)</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> GSList* file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> gsize i = 0;</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> gchar **uris;</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> uris = g_uri_list_extract_uris (uri_list);</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> <span class='keyword'>while</span> (uris[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> file_list = g_slist_append (file_list, g_file_new_for_uri (uris[i]));</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> i++;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> g_strfreev (uris);</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> <span class='keyword'>return</span> file_list;</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line">GSList*</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line">eom_util_string_list_to_file_list (GSList *string_list)</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> GSList *it = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> GSList *file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> <span class='keyword'>for</span> (it = string_list; it != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; it = it-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> <span class='keyword'>char</span> *uri_str;</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> uri_str = (gchar *) it-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> file_list = g_slist_prepend (file_list,</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> g_file_new_for_uri (uri_str));</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> <span class='keyword'>return</span> g_slist_reverse (file_list);</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line">GSList*</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line">eom_util_strings_to_file_list (gchar **strings)</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> GSList *file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> <span class='keyword'>for</span> (i = 0; strings[i]; i++) {</td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> file_list = g_slist_prepend (file_list,</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> g_file_new_for_uri (strings[i]));</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>return</span> g_slist_reverse (file_list);</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line">GSList*</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line">eom_util_string_array_to_list (<span class='keyword'>const</span> gchar **files, gboolean create_uri)</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> gint i;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> GSList *list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>if</span> (files == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) <span class='keyword'>return</span> list;</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> <span class='keyword'>for</span> (i = 0; files[i]; i++) {</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> <span class='keyword'>char</span> *str;</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> <span class='keyword'>if</span> (create_uri) {</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> file = g_file_new_for_commandline_arg (files[i]);</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> str = g_file_get_uri (file);</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> str = <span class='macro'>g_strdup (files[i])<span class='macro_popup'>g_strdup_inline (files[i])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> <span class='keyword'>if</span> (str) {</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> list = g_slist_prepend (list, <span class='macro'>g_strdup (str)<span class='macro_popup'>g_strdup_inline (str)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> g_free (str);</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> <span class='keyword'>return</span> g_slist_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line">gchar **</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line">eom_util_string_array_make_absolute (gchar **files)</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> <span class='keyword'>int</span> size;</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> gchar **abs_files;</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> <span class='keyword'>if</span> (files == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> size = g_strv_length (files);</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> <span class='comment'>/* Ensure new list is NULL-terminated */</span></td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> abs_files = <span class='macro'>g_new0 (gchar *, size+1)<span class='macro_popup'>((gchar * *) g_malloc0_n ((size+1), sizeof (gchar *)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; size; i++) {</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> file = g_file_new_for_commandline_arg (files[i]);</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> abs_files[i] = g_file_get_uri (file);</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> <span class='keyword'>return</span> abs_files;</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"><span class='keyword'>static</span> gchar *dot_dir = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line">ensure_dir_exists (<span class='keyword'>const</span> <span class='keyword'>char</span> *dir)</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> <span class='keyword'>if</span> (g_file_test (dir, G_FILE_TEST_IS_DIR))</td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> <span class='keyword'>if</span> (g_mkdir_with_parents (dir, 0700) == 0)</td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span> == <span class='macro'>EEXIST<span class='macro_popup'>17</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> <span class='keyword'>return</span> g_file_test (dir, G_FILE_TEST_IS_DIR);</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> g_warning (<span class='string_literal'>"Failed to create directory %s: %s"</span>, dir, strerror (<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"><span class='keyword'>const</span> gchar *</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line">eom_util_dot_dir (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='keyword'>if</span> (dot_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> gboolean exists;</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> dot_dir = g_build_filename(g_get_user_config_dir(), <span class='string_literal'>"mate"</span>, <span class='string_literal'>"eom"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> exists = ensure_dir_exists (dot_dir);</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_UNLIKELY (!exists)<span class='macro_popup'>(!exists)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='keyword'>static</span> gboolean printed_warning = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='keyword'>if</span> (!printed_warning) {</td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> g_warning (<span class='string_literal'>"EOM could not save some of your preferences in its settings directory due to a file with the same name (%s) blocking its creation. Please remove that file, or move it away."</span>, dot_dir);</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> printed_warning = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> dot_dir = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='keyword'>return</span> dot_dir;</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"><span class='comment'>/* Based on eel_filename_strip_extension() */</span></td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> <span class='comment'>* eom_util_filename_get_extension:</span></td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> <span class='comment'>* @filename: a filename</span></td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> <span class='comment'>* Returns a reasonably good guess of the file extension of @filename.</span></td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> <span class='comment'>* Returns: a newly allocated string with the file extension of @filename.</span></td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"><span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line">eom_util_filename_get_extension (<span class='keyword'>const</span> <span class='keyword'>char</span> * filename)</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> <span class='keyword'>char</span> *begin, *begin2;</td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> <span class='keyword'>if</span> (filename == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> begin = strrchr (filename, '.');</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> <span class='keyword'>if</span> (begin &amp;&amp; begin != filename) {</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> <span class='keyword'>if</span> (strcmp (begin, <span class='string_literal'>".gz"</span>) == 0 ||</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> strcmp (begin, <span class='string_literal'>".bz2"</span>) == 0 ||</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> strcmp (begin, <span class='string_literal'>".sit"</span>) == 0 ||</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> strcmp (begin, <span class='string_literal'>".Z"</span>) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> begin2 = begin - 1;</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> <span class='keyword'>while</span> (begin2 &gt; filename &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> *begin2 != '.') {</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> <span class="mrange">begin2</span>--;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:33ex">This statement is never executed</div></td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> <span class='keyword'>if</span> (begin2 != filename) {</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> begin = begin2;</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> begin ++;</td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (begin)<span class='macro_popup'>g_strdup_inline (begin)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> <span class='comment'>* eom_util_file_is_persistent:</span></td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> <span class='comment'>* @file: a #GFile</span></td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> <span class='comment'>* Checks whether @file is a non-removable local mount.</span></td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> <span class='comment'>* Returns: %TRUE if @file is in a non-removable mount,</span></td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> <span class='comment'>* %FALSE otherwise or when it is remote.</span></td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line">eom_util_file_is_persistent (GFile *file)</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> GMount *mount;</td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> <span class='keyword'>if</span> (!g_file_is_native (file))</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> mount = g_file_find_enclosing_mount (file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> <span class='keyword'>if</span> (mount) {</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> <span class='keyword'>if</span> (g_mount_can_unmount (mount)) {</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line">_eom_util_show_file_in_filemanager_fallback (GFile *file, GtkWindow *toplevel)</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> gchar *uri = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> guint32 timestamp = gtk_get_current_event_time ();</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> <span class='keyword'>if</span> (g_file_query_file_type (file, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) == G_FILE_TYPE_DIRECTORY) {</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> uri = g_file_get_uri (file);</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> <span class='comment'>/* If input file is not a directory we must open it's</span></td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> <span class='comment'>folder/parent to avoid opening the file itself */</span></td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> GFile *parent_file;</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> parent_file = g_file_get_parent (file);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_LIKELY (parent_file)<span class='macro_popup'>(parent_file)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> uri = g_file_get_uri (parent_file);</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> g_object_unref (parent_file);</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> <span class='keyword'>if</span> (uri &amp;&amp; !gtk_show_uri_on_window (toplevel, uri, timestamp, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> g_warning (<span class='string_literal'>"Couldn't show containing folder \"%s\": %s"</span>, uri,</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line">eom_util_show_file_in_filemanager (GFile *file, GtkWindow *toplevel)</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> GDBusProxy *proxy;</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> gboolean done = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> <span class='macro'>g_return_if_fail (file != NULL)<span class='macro_popup'>do { if ((file != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "file != NULL"); return;<br> } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS |</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES,</td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='string_literal'>"org.freedesktop.FileManager1"</span>,</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> <span class='string_literal'>"/org/freedesktop/FileManager1"</span>,</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"> <span class='string_literal'>"org.freedesktop.FileManager1"</span>,</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> <span class='keyword'>if</span> (proxy) {</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> gchar *uri = g_file_get_uri (file);</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> gchar *startup_id;</td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> GVariant *params, *result;</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> GVariantBuilder builder;</td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> g_variant_builder_init (&amp;builder,</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> <span class='macro'>G_VARIANT_TYPE (<span class='string_literal'>"as"</span>)<span class='macro_popup'>(g_variant_type_checked_ (("as")))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> g_variant_builder_add (&amp;builder, <span class='string_literal'>"s"</span>, uri);</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> <span class='comment'>/* This seems to be the expected format, as other values</span></td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> <span class='comment'>cause the filemanager window not to get focus. */</span></td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> startup_id = g_strdup_printf(<span class='string_literal'>"_TIME%u"</span>,</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> gtk_get_current_event_time());</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> <span class='comment'>/* params is floating! */</span></td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> params = g_variant_new (<span class='string_literal'>"(ass)"</span>, &amp;builder, startup_id);</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> g_free (startup_id);</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> g_variant_builder_clear (&amp;builder);</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> <span class='comment'>/* Floating params-GVariant is consumed here */</span></td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> result = g_dbus_proxy_call_sync (proxy, <span class='string_literal'>"ShowItems"</span>,</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> params, G_DBUS_CALL_FLAGS_NONE,</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> <span class='comment'>/* Receiving a non-NULL result counts as a successful call. */</span></td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_LIKELY (result != NULL)<span class='macro_popup'>(result != ((void*)0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> done = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> g_variant_unref (result);</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> g_object_unref (proxy);</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> <span class='comment'>/* Fallback to gtk_show_uri() if launch over DBus is not possible */</span></td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> <span class='keyword'>if</span> (!done)</td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> _eom_util_show_file_in_filemanager_fallback (file, toplevel);</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line">eom_notebook_scroll_event_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> GdkEventScroll *event)</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> GtkNotebook *notebook = <span class='macro'>GTK_NOTEBOOK (widget)<span class='macro_popup'>((((GtkNotebook*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((gtk_notebook_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> GtkWidget *child, *event_widget, *action_widget;</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> child = gtk_notebook_get_nth_page (notebook, gtk_notebook_get_current_page (notebook));</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> <span class='keyword'>if</span> (child == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> event_widget = gtk_get_event_widget ((GdkEvent*) event);</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> <span class='comment'>/* Ignore scroll events from the content of the page */</span></td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> <span class='keyword'>if</span> (event_widget == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> || event_widget == child || gtk_widget_is_ancestor (event_widget, child))</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> <span class='comment'>/* And also from the action widgets */</span></td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> action_widget = gtk_notebook_get_action_widget (notebook, GTK_PACK_START);</td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> <span class='keyword'>if</span> (event_widget == action_widget || (action_widget != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; gtk_widget_is_ancestor (event_widget, action_widget)))</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> action_widget = gtk_notebook_get_action_widget (notebook, GTK_PACK_END);</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> <span class='keyword'>if</span> (event_widget == action_widget || (action_widget != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; gtk_widget_is_ancestor (event_widget, action_widget)))</td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;direction) {</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_RIGHT:</td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_DOWN:</td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"> gtk_notebook_next_page (notebook);</td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_LEFT:</td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_UP:</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> gtk_notebook_prev_page (notebook);</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_SMOOTH:</td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"> <span class='keyword'>switch</span> (gtk_notebook_get_tab_pos (notebook)) {</td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line"> <span class='keyword'>case</span> GTK_POS_LEFT:</td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"> <span class='keyword'>case</span> GTK_POS_RIGHT:</td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line"> <span class='keyword'>if</span> (event-&gt;delta_y &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line"> gtk_notebook_next_page (notebook);</td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (event-&gt;delta_y &lt; 0)</td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"> gtk_notebook_prev_page (notebook);</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line"> <span class='keyword'>case</span> GTK_POS_TOP:</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> <span class='keyword'>case</span> GTK_POS_BOTTOM:</td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> <span class='keyword'>if</span> (event-&gt;delta_x &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"> gtk_notebook_next_page (notebook);</td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (event-&gt;delta_x &lt; 0)</td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line"> gtk_notebook_prev_page (notebook);</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-4a64f5.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-4a64f5.html
new file mode 100644
index 0000000..9b1a0c9
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-4a64f5.html
@@ -0,0 +1,1018 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-preferences-dialog.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption -->
+
+<!-- BUGTYPE Cast from non-struct type to struct type -->
+
+<!-- BUGCATEGORY Logic error -->
+
+<!-- BUGFILE /rootdir/src/eom-preferences-dialog.c -->
+
+<!-- FILENAME eom-preferences-dialog.c -->
+
+<!-- FUNCTIONNAME pd_string_to_rgba_mapping -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 4a64f510a2de1141fafee00ab92f7dc3 -->
+
+<!-- BUGLINE 78 -->
+
+<!-- BUGCOLUMN 2 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-preferences-dialog.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 78, column 2</a><br />Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-preferences-dialog.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-preferences-dialog.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"78": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of Mate - EOM Preferences Dialog</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2006 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Author: Lucas Rocha &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* Based on code by:</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* - Jens Finke &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include "config.h"</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include "eom-preferences-dialog.h"</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include "eom-scroll-view.h"</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#include "eom-util.h"</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include "eom-config-keys.h"</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='directive'>#include &lt;glib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#include &lt;glib-object.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#include &lt;gio/gio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#include &lt;libpeas-gtk/peas-gtk-plugin-manager.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#define <span class='macro'>GSETTINGS_OBJECT_VALUE<span class='macro_popup'>"GSETTINGS_VALUE"</span></span> "GSETTINGS_VALUE"</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='keyword'>struct</span> _EomPreferencesDialogPrivate {</td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> GSettings *view_settings;</td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"> GSettings *ui_settings;</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"> GSettings *fullscreen_settings;</td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> GtkWidget *notebook;</td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> GtkWidget *interpolate_check;</td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"> GtkWidget *extrapolate_check;</td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> GtkWidget *autorotate_check;</td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"> GtkWidget *bg_color_check;</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"> GtkWidget *bg_color_button;</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"> GtkWidget *color_radio;</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> GtkWidget *checkpattern_radio;</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"> GtkWidget *background_radio;</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> GtkWidget *transp_color_button;</td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> GtkWidget *upscale_check;</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> GtkWidget *random_check;</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> GtkWidget *loop_check;</td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"> GtkWidget *seconds_spin;</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> GtkWidget *plugin_manager;</td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"><span class='keyword'>static</span> GObject *instance = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EomPreferencesDialog, eom_preferences_dialog, GTK_TYPE_DIALOG)<span class='macro_popup'>static void eom_preferences_dialog_init (EomPreferencesDialog<br> *self); static void eom_preferences_dialog_class_init (EomPreferencesDialogClass<br> *klass); static GType eom_preferences_dialog_get_type_once (<br>void); static gpointer eom_preferences_dialog_parent_class = (<br>(void*)0); static gint EomPreferencesDialog_private_offset; static<br> void eom_preferences_dialog_class_intern_init (gpointer klass<br>) { eom_preferences_dialog_parent_class = g_type_class_peek_parent<br> (klass); if (EomPreferencesDialog_private_offset != 0) g_type_class_adjust_private_offset<br> (klass, &amp;EomPreferencesDialog_private_offset); eom_preferences_dialog_class_init<br> ((EomPreferencesDialogClass*) klass); } __attribute__ ((__unused__<br>)) static inline gpointer eom_preferences_dialog_get_instance_private<br> (EomPreferencesDialog *self) { return (((gpointer) ((guint8*<br>) (self) + (glong) (EomPreferencesDialog_private_offset)))); }<br> GType eom_preferences_dialog_get_type (void) { static gsize static_g_define_type_id<br> = 0; if ((__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); (void<br>) (0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0<br>)); (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = eom_preferences_dialog_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType eom_preferences_dialog_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> ((gtk_dialog_get_type ()), g_intern_static_string ("EomPreferencesDialog"<br>), sizeof (EomPreferencesDialogClass), (GClassInitFunc)(void (<br>*)(void)) eom_preferences_dialog_class_intern_init, sizeof (EomPreferencesDialog<br>), (GInstanceInitFunc)(void (*)(void)) eom_preferences_dialog_init<br>, (GTypeFlags) 0); { {{ EomPreferencesDialog_private_offset =<br> g_type_add_instance_private (g_define_type_id, sizeof (EomPreferencesDialogPrivate<br>)); };} } return g_define_type_id; }</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line">pd_string_to_rgba_mapping (GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> GVariant *variant,</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> GdkRGBA color;</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> <span class="mrange"><span class="mrange"><span class='macro'>g_return_val_if_fail</span></span> (g_variant_is_of_type (variant, G_VARIANT_TYPE_STRING), FALSE)<span class='macro_popup'>do { if ((g_variant_is_of_type (variant, ((const GVariantType<br> *) "s")))) { } else { g_return_if_fail_warning ("EOM", ((const<br> char*) (__func__)), "g_variant_is_of_type (variant, G_VARIANT_TYPE_STRING)"<br>); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:9ex; max-width:31em">Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</div></td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> <span class='keyword'>if</span> (gdk_rgba_parse (&amp;color, g_variant_get_string (variant, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))) {</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> g_value_set_boxed (value, &amp;color);</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"><span class='keyword'>static</span> GVariant*</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line">pd_rgba_to_string_mapping (<span class='keyword'>const</span> GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> <span class='keyword'>const</span> GVariantType *expected_type,</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> GVariant *variant = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> GdkRGBA *color;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> gchar *hex_val;</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> <span class='macro'>g_return_val_if_fail (G_VALUE_TYPE (value) == GDK_TYPE_RGBA, NULL)<span class='macro_popup'>do { if (((((GValue*) (value))-&gt;g_type) == (gdk_rgba_get_type<br> ()))) { } else { g_return_if_fail_warning ("EOM", ((const char<br>*) (__func__)), "G_VALUE_TYPE (value) == GDK_TYPE_RGBA"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> <span class='macro'>g_return_val_if_fail (g_variant_type_equal (expected_type, G_VARIANT_TYPE_STRING), NULL)<span class='macro_popup'>do { if ((g_variant_type_equal (expected_type, ((const GVariantType<br> *) "s")))) { } else { g_return_if_fail_warning ("EOM", ((const<br> char*) (__func__)), "g_variant_type_equal (expected_type, G_VARIANT_TYPE_STRING)"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> color = g_value_get_boxed (value);</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> hex_val = gdk_rgba_to_string(color);</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> variant = g_variant_new_string (hex_val);</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> g_free (hex_val);</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> <span class='keyword'>return</span> variant;</td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line">pd_transp_radio_toggle_cb (GtkWidget *widget, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> gpointer value = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> <span class='keyword'>if</span> (!gtk_toggle_button_get_active (<span class='macro'>GTK_TOGGLE_BUTTON (widget)<span class='macro_popup'>((((GtkToggleButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((gtk_toggle_button_get_type ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> value = g_object_get_data (<span class='macro'>G_OBJECT (widget)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='macro'>GSETTINGS_OBJECT_VALUE<span class='macro_popup'>"GSETTINGS_VALUE"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> g_settings_set_enum (<span class='macro'>G_SETTINGS (data)<span class='macro_popup'>((((GSettings*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((g_settings_get_type ()))))))</span></span>, <span class='macro'>EOM_CONF_VIEW_TRANSPARENCY<span class='macro_popup'>"transparency"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> <span class='macro'>GPOINTER_TO_INT (value)<span class='macro_popup'>((gint) (glong) (value))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line">random_change_cb (GSettings *settings, gchar *key, GtkWidget *widget)</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> gtk_widget_set_sensitive (widget, !g_settings_get_boolean (settings, key));</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line">eom_preferences_response_cb (GtkDialog *dlg, gint res_id, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> <span class='keyword'>switch</span> (res_id) {</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_HELP:</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> eom_util_show_help (<span class='string_literal'>"eom-prefs"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (dlg)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> instance = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line">eom_preferences_dialog_class_init (EomPreferencesDialogClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> GtkWidgetClass *widget_class = (GtkWidgetClass*) klass;</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> <span class='comment'>/* This should make sure the libpeas-gtk dependency isn't</span></td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> <span class='comment'>* dropped by aggressive linkers (#739618) */</span></td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> g_type_ensure (<span class='macro'>PEAS_GTK_TYPE_PLUGIN_MANAGER<span class='macro_popup'>(peas_gtk_plugin_manager_get_type())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> gtk_widget_class_set_template_from_resource (widget_class,</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> <span class='string_literal'>"/org/mate/eom/ui/eom-preferences-dialog.ui"</span>);</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "notebook"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, notebook)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "notebook"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, notebook)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> <span class='macro'>notebook)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "notebook"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, notebook)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "interpolate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, interpolate_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "interpolate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, interpolate_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> <span class='macro'>interpolate_check)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "interpolate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, interpolate_check)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "extrapolate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, extrapolate_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "extrapolate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, extrapolate_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> <span class='macro'>extrapolate_check)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "extrapolate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, extrapolate_check)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "autorotate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, autorotate_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "autorotate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, autorotate_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> <span class='macro'>autorotate_check)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "autorotate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, autorotate_check)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "bg_color_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, bg_color_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "bg_color_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, bg_color_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='macro'>bg_color_check)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "bg_color_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, bg_color_check)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "bg_color_button"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, bg_color_button)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "bg_color_button"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, bg_color_button)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> <span class='macro'>bg_color_button)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "bg_color_button"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, bg_color_button)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "color_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, color_radio)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "color_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, color_radio)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> <span class='macro'>color_radio)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "color_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, color_radio)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "checkpattern_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, checkpattern_radio)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "checkpattern_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, checkpattern_radio)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='macro'>checkpattern_radio)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "checkpattern_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, checkpattern_radio)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "background_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, background_radio)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "background_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, background_radio)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> <span class='macro'>background_radio)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "background_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, background_radio)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "transp_color_button"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, transp_color_button)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "transp_color_button"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, transp_color_button)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> <span class='macro'>transp_color_button)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "transp_color_button"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, transp_color_button)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "upscale_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, upscale_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "upscale_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, upscale_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> <span class='macro'>upscale_check)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "upscale_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, upscale_check)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "random_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, random_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "random_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, random_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> <span class='macro'>random_check)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "random_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, random_check)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "loop_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, loop_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "loop_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, loop_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> <span class='macro'>loop_check)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "loop_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, loop_check)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "seconds_spin"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, seconds_spin)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "seconds_spin"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, seconds_spin)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> <span class='macro'>seconds_spin)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "seconds_spin"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, seconds_spin)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "plugin_manager"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, plugin_manager)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "plugin_manager"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, plugin_manager)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> <span class='macro'>plugin_manager)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "plugin_manager"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, plugin_manager)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line">eom_preferences_dialog_init (EomPreferencesDialog *pref_dlg)</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> EomPreferencesDialogPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> pref_dlg-&gt;priv = eom_preferences_dialog_get_instance_private (pref_dlg);</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> priv = pref_dlg-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> gtk_widget_init_template (<span class='macro'>GTK_WIDGET (pref_dlg)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((pref_dlg)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> priv-&gt;view_settings = g_settings_new (<span class='macro'>EOM_CONF_VIEW<span class='macro_popup'>"org.mate.eom"".view"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> priv-&gt;fullscreen_settings = g_settings_new (<span class='macro'>EOM_CONF_FULLSCREEN<span class='macro_popup'>"org.mate.eom"".full-screen"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> <span class='macro'>g_signal_connect (pref_dlg, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((pref_dlg), ("response"), (((GCallback<br>) (eom_preferences_response_cb))), (pref_dlg), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> <span class='macro'>G_CALLBACK (eom_preferences_response_cb),<span class='macro_popup'>g_signal_connect_data ((pref_dlg), ("response"), (((GCallback<br>) (eom_preferences_response_cb))), (pref_dlg), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> <span class='macro'>pref_dlg)<span class='macro_popup'>g_signal_connect_data ((pref_dlg), ("response"), (((GCallback<br>) (eom_preferences_response_cb))), (pref_dlg), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> g_settings_bind (priv-&gt;view_settings,</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> <span class='macro'>EOM_CONF_VIEW_INTERPOLATE<span class='macro_popup'>"interpolate"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> priv-&gt;interpolate_check, <span class='string_literal'>"active"</span>,</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> g_settings_bind (priv-&gt;view_settings,</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> <span class='macro'>EOM_CONF_VIEW_EXTRAPOLATE<span class='macro_popup'>"extrapolate"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> priv-&gt;extrapolate_check, <span class='string_literal'>"active"</span>,</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> g_settings_bind (priv-&gt;view_settings,</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> <span class='macro'>EOM_CONF_VIEW_AUTOROTATE<span class='macro_popup'>"autorotate"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"> priv-&gt;autorotate_check, <span class='string_literal'>"active"</span>,</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> g_settings_bind (priv-&gt;view_settings,</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> <span class='macro'>EOM_CONF_VIEW_USE_BG_COLOR<span class='macro_popup'>"use-background-color"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> priv-&gt;bg_color_check, <span class='string_literal'>"active"</span>,</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> g_settings_bind_with_mapping (priv-&gt;view_settings,</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> <span class='macro'>EOM_CONF_VIEW_BACKGROUND_COLOR<span class='macro_popup'>"background-color"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> priv-&gt;bg_color_button, <span class='string_literal'>"rgba"</span>,</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> G_SETTINGS_BIND_DEFAULT,</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> pd_string_to_rgba_mapping,</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> pd_rgba_to_string_mapping,</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> g_object_set_data (<span class='macro'>G_OBJECT (priv-&gt;color_radio)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;color_radio)), (((GType) ((20) &lt;&lt; (2)))))<br>)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> <span class='macro'>GSETTINGS_OBJECT_VALUE<span class='macro_popup'>"GSETTINGS_VALUE"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> <span class='macro'>GINT_TO_POINTER (EOM_TRANSP_COLOR)<span class='macro_popup'>((gpointer) (glong) (EOM_TRANSP_COLOR))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;color_radio, <span class='string_literal'>"toggled"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;color_radio), ("toggled"), (<br>((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='macro'>G_CALLBACK (pd_transp_radio_toggle_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;color_radio), ("toggled"), (<br>((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> <span class='macro'>priv-&gt;view_settings)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;color_radio), ("toggled"), (<br>((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> g_object_set_data (<span class='macro'>G_OBJECT (priv-&gt;checkpattern_radio)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;checkpattern_radio)), (((GType) ((20) &lt;&lt; (<br>2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> <span class='macro'>GSETTINGS_OBJECT_VALUE<span class='macro_popup'>"GSETTINGS_VALUE"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> <span class='macro'>GINT_TO_POINTER (EOM_TRANSP_CHECKED)<span class='macro_popup'>((gpointer) (glong) (EOM_TRANSP_CHECKED))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;checkpattern_radio, <span class='string_literal'>"toggled"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;checkpattern_radio), ("toggled"<br>), (((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='macro'>G_CALLBACK (pd_transp_radio_toggle_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;checkpattern_radio), ("toggled"<br>), (((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='macro'>priv-&gt;view_settings)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;checkpattern_radio), ("toggled"<br>), (((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> g_object_set_data (<span class='macro'>G_OBJECT (priv-&gt;background_radio)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;background_radio)), (((GType) ((20) &lt;&lt; (2<br>))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> <span class='macro'>GSETTINGS_OBJECT_VALUE<span class='macro_popup'>"GSETTINGS_VALUE"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='macro'>GINT_TO_POINTER (EOM_TRANSP_BACKGROUND)<span class='macro_popup'>((gpointer) (glong) (EOM_TRANSP_BACKGROUND))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;background_radio, <span class='string_literal'>"toggled"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;background_radio), ("toggled"<br>), (((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> <span class='macro'>G_CALLBACK (pd_transp_radio_toggle_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;background_radio), ("toggled"<br>), (((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> <span class='macro'>priv-&gt;view_settings)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;background_radio), ("toggled"<br>), (((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='keyword'>switch</span> (g_settings_get_enum (priv-&gt;view_settings,</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> <span class='macro'>EOM_CONF_VIEW_TRANSPARENCY<span class='macro_popup'>"transparency"</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSP_COLOR:</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> gtk_toggle_button_set_active (<span class='macro'>GTK_TOGGLE_BUTTON (priv-&gt;color_radio)<span class='macro_popup'>((((GtkToggleButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;color_radio)), ((gtk_toggle_button_get_type ())<br>)))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSP_CHECKED:</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> gtk_toggle_button_set_active (<span class='macro'>GTK_TOGGLE_BUTTON (priv-&gt;checkpattern_radio)<span class='macro_popup'>((((GtkToggleButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;checkpattern_radio)), ((gtk_toggle_button_get_type<br> ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> <span class='comment'>// Log a warning and use EOM_TRANSP_BACKGROUND as fallback</span></td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> <span class='macro'>g_warn_if_reached ()<span class='macro_popup'>do { g_warn_message ("EOM", "eom-preferences-dialog.c", 279, (<br>(const char*) (__func__)), ((void*)0)); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSP_BACKGROUND:</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> gtk_toggle_button_set_active (<span class='macro'>GTK_TOGGLE_BUTTON (priv-&gt;background_radio)<span class='macro_popup'>((((GtkToggleButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;background_radio)), ((gtk_toggle_button_get_type<br> ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> g_settings_bind_with_mapping (priv-&gt;view_settings,</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> <span class='macro'>EOM_CONF_VIEW_TRANS_COLOR<span class='macro_popup'>"trans-color"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> priv-&gt;transp_color_button, <span class='string_literal'>"rgba"</span>,</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> G_SETTINGS_BIND_DEFAULT,</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> pd_string_to_rgba_mapping,</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> pd_rgba_to_string_mapping,</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> g_settings_bind (priv-&gt;fullscreen_settings, <span class='macro'>EOM_CONF_FULLSCREEN_UPSCALE<span class='macro_popup'>"upscale"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> priv-&gt;upscale_check, <span class='string_literal'>"active"</span>,</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> g_settings_bind (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_LOOP<span class='macro_popup'>"loop"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> priv-&gt;loop_check, <span class='string_literal'>"active"</span>,</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> g_settings_bind (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_RANDOM<span class='macro_popup'>"random"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> priv-&gt;random_check, <span class='string_literal'>"active"</span>,</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;fullscreen_settings, <span class='string_literal'>"changed::"</span> EOM_CONF_FULLSCREEN_RANDOM,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;fullscreen_settings), ("changed::"<br> "random"), (((GCallback) (random_change_cb))), (priv-&gt;loop_check<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> <span class='macro'>G_CALLBACK (random_change_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;fullscreen_settings), ("changed::"<br> "random"), (((GCallback) (random_change_cb))), (priv-&gt;loop_check<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> <span class='macro'>priv-&gt;loop_check)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;fullscreen_settings), ("changed::"<br> "random"), (((GCallback) (random_change_cb))), (priv-&gt;loop_check<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> random_change_cb (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_RANDOM<span class='macro_popup'>"random"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> priv-&gt;loop_check);</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> g_settings_bind (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_SECONDS<span class='macro_popup'>"seconds"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> priv-&gt;seconds_spin, <span class='string_literal'>"value"</span>,</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> gtk_widget_show_all (priv-&gt;plugin_manager);</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> <span class='comment'>/* Add tab scrolling support for GTK3 */</span></td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> gtk_widget_add_events (priv-&gt;notebook, GDK_SCROLL_MASK);</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;notebook, <span class='string_literal'>"scroll-event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;notebook), ("scroll-event"),<br> (((GCallback) (eom_notebook_scroll_event_cb))), (((void*)0))<br>, ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> <span class='macro'>G_CALLBACK (eom_notebook_scroll_event_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;notebook), ("scroll-event"),<br> (((GCallback) (eom_notebook_scroll_event_cb))), (((void*)0))<br>, ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;notebook), ("scroll-event"),<br> (((GCallback) (eom_notebook_scroll_event_cb))), (((void*)0))<br>, ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line">GtkWidget *eom_preferences_dialog_get_instance (GtkWindow *parent)</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> <span class='keyword'>if</span> (instance == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> instance = g_object_new (<span class='macro'>EOM_TYPE_PREFERENCES_DIALOG<span class='macro_popup'>(eom_preferences_dialog_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> <span class='keyword'>if</span> (parent)</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> gtk_window_set_transient_for (<span class='macro'>GTK_WINDOW (instance)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((instance)), ((gtk_window_get_type ()))))))</span></span>, parent);</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>GTK_WIDGET(instance)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((instance)), ((gtk_widget_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-56073d.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-56073d.html
new file mode 100644
index 0000000..b5699d7
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-56073d.html
@@ -0,0 +1,864 @@
+<!doctype html>
+<html>
+<head>
+<title>main.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC This statement is never executed -->
+
+<!-- BUGTYPE Unreachable code -->
+
+<!-- BUGCATEGORY Unused code -->
+
+<!-- BUGFILE /rootdir/src/main.c -->
+
+<!-- FILENAME main.c -->
+
+<!-- FUNCTIONNAME main -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 56073dfd5d754a03d6097826ef6060fd -->
+
+<!-- BUGLINE 178 -->
+
+<!-- BUGCOLUMN 3 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/main.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 178, column 3</a><br />This statement is never executed</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name main.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I ../cut-n-paste/toolbar-editor -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -I /usr/include/gobject-introspection-1.0 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/sysprof-6 -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c main.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"178": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of Mate - Main</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2000-2006 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Author: Lucas Rocha &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* Based on code by:</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* - Federico Mena-Quintero &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* - Jens Finke &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include "config.h"</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_INTROSPECTION<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include &lt;girepository.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include "eom-session.h"</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='directive'>#include "eom-debug.h"</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#include "eom-thumbnail.h"</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#include "eom-job-queue.h"</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"><span class='directive'>#include "eom-application.h"</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#include "eom-application-internal.h"</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#include "eom-util.h"</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"><span class='directive'>#if <span class='macro'>HAVE_EXEMPI<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"><span class='directive'>#include &lt;exempi/xmp.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"><span class='keyword'>static</span> EomStartupFlags flags;</td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"><span class='keyword'>static</span> gboolean fullscreen = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='keyword'>static</span> gboolean slide_show = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"><span class='keyword'>static</span> gboolean disable_collection = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"><span class='keyword'>static</span> gboolean force_new_instance = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"><span class='keyword'>static</span> gchar **startup_files = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line">_print_version_and_exit (<span class='keyword'>const</span> gchar *option_name,</td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> <span class='keyword'>const</span> gchar *value,</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> gpointer data,</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> GError **error)</td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> g_print(<span class='string_literal'>"%s %s\n"</span>, <span class='macro'>_(<span class='string_literal'>"Eye of MATE Image Viewer"</span>)<span class='macro_popup'>gettext ("Eye of MATE Image Viewer")</span></span>, <span class='macro'>VERSION<span class='macro_popup'>"1.27.1"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> exit (<span class='macro'>EXIT_SUCCESS<span class='macro_popup'>0</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GOptionEntry goption_options[] =</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> { <span class='string_literal'>"fullscreen"</span>, 'f', 0, G_OPTION_ARG_NONE, &amp;fullscreen, <span class='macro'>N_(<span class='string_literal'>"Open in fullscreen mode"</span>)<span class='macro_popup'>("Open in fullscreen mode")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> { <span class='string_literal'>"disable-image-collection"</span>, 'c', 0, G_OPTION_ARG_NONE, &amp;disable_collection, <span class='macro'>N_(<span class='string_literal'>"Disable image collection"</span>)<span class='macro_popup'>("Disable image collection")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> { <span class='string_literal'>"slide-show"</span>, 's', 0, G_OPTION_ARG_NONE, &amp;slide_show, <span class='macro'>N_(<span class='string_literal'>"Open in slideshow mode"</span>)<span class='macro_popup'>("Open in slideshow mode")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> { <span class='string_literal'>"new-instance"</span>, 'n', 0, G_OPTION_ARG_NONE, &amp;force_new_instance, <span class='macro'>N_(<span class='string_literal'>"Start a new instance instead of reusing an existing one"</span>)<span class='macro_popup'>("Start a new instance instead of reusing an existing one")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> { <span class='string_literal'>"version"</span>, 0, G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK,</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> _print_version_and_exit, <span class='macro'>N_(<span class='string_literal'>"Show the application's version"</span>)<span class='macro_popup'>("Show the application's version")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>},</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> { <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> }</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line">set_startup_flags (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> <span class='keyword'>if</span> (fullscreen)</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> flags |= EOM_STARTUP_FULLSCREEN;</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>if</span> (disable_collection)</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> flags |= EOM_STARTUP_DISABLE_COLLECTION;</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> <span class='keyword'>if</span> (slide_show)</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> flags |= EOM_STARTUP_SLIDE_SHOW;</td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"><span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line">main (<span class='keyword'>int</span> argc, <span class='keyword'>char</span> **argv)</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> GOptionContext *ctx;</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> GFile *css_file;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> GtkCssProvider *provider;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"><span class='directive'>#ifdef <span class='macro'>ENABLE_NLS<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> bindtextdomain (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>, <span class='macro'>EOM_LOCALE_DIR<span class='macro_popup'>"/usr/local/share/locale"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> bind_textdomain_codeset (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>, <span class='string_literal'>"UTF-8"</span>);</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> textdomain (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"><span class='directive'>#endif /* ENABLE_NLS */</span></td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> gdk_set_allowed_backends (<span class='string_literal'>"wayland,x11"</span>);</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> ctx = g_option_context_new (<span class='macro'>_(<span class='string_literal'>"[FILE…]"</span>)<span class='macro_popup'>gettext ("[FILE…]")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> g_option_context_add_main_entries (ctx, goption_options, <span class='macro'>PACKAGE<span class='macro_popup'>"eom"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> <span class='comment'>/* Option groups are free'd together with the context</span></td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> <span class='comment'>* Using gtk_get_option_group here initializes gtk during parsing */</span></td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> g_option_context_add_group (ctx, gtk_get_option_group (<span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_INTROSPECTION<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> g_option_context_add_group (ctx, g_irepository_get_option_group ());</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> <span class='keyword'>if</span> (!g_option_context_parse (ctx, &amp;argc, &amp;argv, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> gchar *help_msg;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> <span class='comment'>/* I18N: The '%s' is replaced with eom's command name. */</span></td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> help_msg = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Run '%s --help' to see a full "<span class='macro_popup'>gettext ("Run '%s --help' to see a full " "list of available command line "<br> "options.")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> <span class='string_literal'><span class='macro'>"list of available command line "<span class='macro_popup'>gettext ("Run '%s --help' to see a full " "list of available command line "<br> "options.")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> <span class='string_literal'><span class='macro'>"options."</span>)<span class='macro_popup'>gettext ("Run '%s --help' to see a full " "list of available command line "<br> "options.")</span></span>, argv[0]);</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> g_printerr (<span class='string_literal'>"%s\n%s\n"</span>, error-&gt;message, help_msg);</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> g_free (help_msg);</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> g_option_context_free (ctx);</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> g_option_context_free (ctx);</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> set_startup_flags ();</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXEMPI<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> xmp_init();</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> eom_debug_init ();</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> eom_job_queue_init ();</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> eom_thumbnail_init ();</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> <span class='comment'>/* Load special style properties for EomThumbView's scrollbar */</span></td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> css_file = g_file_new_for_uri (<span class='string_literal'>"resource:///org/mate/eom/ui/eom.css"</span>);</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> provider = gtk_css_provider_new ();</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_UNLIKELY (!gtk_css_provider_load_from_file(provider,<span class='macro_popup'>(!gtk_css_provider_load_from_file(provider, css_file, &amp;error<br>))</span></span></td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> <span class='macro'>css_file,<span class='macro_popup'>(!gtk_css_provider_load_from_file(provider, css_file, &amp;error<br>))</span></span></td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> <span class='macro'>&amp;error))<span class='macro_popup'>(!gtk_css_provider_load_from_file(provider, css_file, &amp;error<br>))</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> g_critical (<span class='string_literal'>"Could not load CSS data: %s"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> gtk_style_context_add_provider_for_screen (</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> gdk_screen_get_default(),</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> <span class='macro'>GTK_STYLE_PROVIDER (provider)<span class='macro_popup'>((((GtkStyleProvider*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((provider)), ((gtk_style_provider_get_type (<br>)))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> <span class='macro'>GTK_STYLE_PROVIDER_PRIORITY_APPLICATION<span class='macro_popup'>600</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> g_object_unref (provider);</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> g_object_unref (css_file);</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> <span class='comment'>/* Add application specific icons to search path */</span></td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> <span class='macro'>EOM_DATA_DIR<span class='macro_popup'>"/usr/local/share/eom"</span></span> <span class='macro'>G_DIR_SEPARATOR_S<span class='macro_popup'>"/"</span></span> <span class='string_literal'>"icons"</span>);</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> gtk_window_set_default_icon_name (<span class='string_literal'>"eom"</span>);</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> g_set_application_name (<span class='macro'>_(<span class='string_literal'>"Eye of MATE Image Viewer"</span>)<span class='macro_popup'>gettext ("Eye of MATE Image Viewer")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>-&gt;priv-&gt;flags = flags;</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>if</span> (force_new_instance) {</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> GApplicationFlags app_flags = g_application_get_flags (<span class='macro'>G_APPLICATION (EOM_APP)<span class='macro_popup'>((((GApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ()))), ((g_application_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> app_flags |= G_APPLICATION_NON_UNIQUE;</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> g_application_set_flags (<span class='macro'>G_APPLICATION (EOM_APP)<span class='macro_popup'>((((GApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ()))), ((g_application_get_type<br> ()))))))</span></span>, app_flags);</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> g_application_run (<span class='macro'>G_APPLICATION (EOM_APP)<span class='macro_popup'>((((GApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ()))), ((g_application_get_type<br> ()))))))</span></span>, argc, argv);</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> g_object_unref (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>if</span> (startup_files)</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> <span class="mrange">g_strfreev</span> (startup_files);</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:17ex">This statement is never executed</div></td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXEMPI<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> xmp_terminate();</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> <span class='keyword'>return</span> 0;</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-7315f5.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-7315f5.html
new file mode 100644
index 0000000..18776fd
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-7315f5.html
@@ -0,0 +1,1126 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-transform.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC This statement is never executed -->
+
+<!-- BUGTYPE Unreachable code -->
+
+<!-- BUGCATEGORY Unused code -->
+
+<!-- BUGFILE /rootdir/src/eom-transform.c -->
+
+<!-- FILENAME eom-transform.c -->
+
+<!-- FUNCTIONNAME eom_transform_get_transform_type -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 7315f5b905cadc96363e0758891b1a66 -->
+
+<!-- BUGLINE 415 -->
+
+<!-- BUGCOLUMN 10 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-transform.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 415, column 10</a><br />This statement is never executed</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-transform.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-transform.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"415": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of MATE -- Affine Transformations</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2003-2009 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Portions based on code from libart_lgpl by Raph Levien.</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software Foundation,</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;time.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;math.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include &lt;cairo/cairo.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include "eom-transform.h"</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include "eom-jobs.h"</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='comment'>/* The number of progress updates per transformation */</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_TRANSFORM_N_PROG_UPDATES<span class='macro_popup'>20</span></span> 20</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='keyword'>struct</span> _EomTransformPrivate {</td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> cairo_matrix_t affine;</td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"> gdouble x;</td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> gdouble y;</td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line">} EomPoint;</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='comment'>/* Convert degrees into radians */</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_DEG_TO_RAD(degree)<span class='macro_popup'>((degree) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span> ((degree) * (<span class='macro'>G_PI<span class='macro_popup'>3.1415926535897932384626433832795028841971693993751</span></span>/180.0))</span></td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EomTransform, eom_transform, G_TYPE_OBJECT)<span class='macro_popup'>static void eom_transform_init (EomTransform *self); static void<br> eom_transform_class_init (EomTransformClass *klass); static GType<br> eom_transform_get_type_once (void); static gpointer eom_transform_parent_class<br> = ((void*)0); static gint EomTransform_private_offset; static<br> void eom_transform_class_intern_init (gpointer klass) { eom_transform_parent_class<br> = g_type_class_peek_parent (klass); if (EomTransform_private_offset<br> != 0) g_type_class_adjust_private_offset (klass, &amp;EomTransform_private_offset<br>); eom_transform_class_init ((EomTransformClass*) klass); } __attribute__<br> ((__unused__)) static inline gpointer eom_transform_get_instance_private<br> (EomTransform *self) { return (((gpointer) ((guint8*) (self)<br> + (glong) (EomTransform_private_offset)))); } GType eom_transform_get_type<br> (void) { static gsize static_g_define_type_id = 0; if ((__extension__<br> ({ _Static_assert (sizeof *(&amp;static_g_define_type_id) ==<br> sizeof (gpointer), "Expression evaluates to false"); (void) (<br>0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0));<br> (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = eom_transform_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType eom_transform_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> (((GType) ((20) &lt;&lt; (2))), g_intern_static_string ("EomTransform"<br>), sizeof (EomTransformClass), (GClassInitFunc)(void (*)(void<br>)) eom_transform_class_intern_init, sizeof (EomTransform), (GInstanceInitFunc<br>)(void (*)(void)) eom_transform_init, (GTypeFlags) 0); { {{ EomTransform_private_offset<br> = g_type_add_instance_private (g_define_type_id, sizeof (EomTransformPrivate<br>)); };} } return g_define_type_id; }</span></span></td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line">eom_transform_init (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> trans-&gt;priv = eom_transform_get_instance_private (trans);</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line">eom_transform_class_init (EomTransformClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> <span class='comment'>* eom_transform_apply:</span></td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> <span class='comment'>* @pixbuf: a #GdkPixbuf</span></td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> <span class='comment'>* @job: a #EomJob</span></td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> <span class='comment'>* Applies the transformation in @trans to @pixbuf, setting its progress in @job.</span></td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> <span class='comment'>* Returns: (transfer full): A new #GdkPixbuf with the transformation applied.</span></td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line">GdkPixbuf*</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line">eom_transform_apply (EomTransform *trans, GdkPixbuf *pixbuf, EomJob *job)</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> EomPoint dest_top_left;</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> EomPoint dest_bottom_right;</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> EomPoint vertices[4] = { {0, 0}, {1, 0}, {1, 1}, {0, 1} };</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> <span class='keyword'>double</span> r_det;</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> <span class='keyword'>int</span> inverted [6];</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> EomPoint dest;</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> <span class='keyword'>int</span> src_width;</td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>int</span> src_height;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> <span class='keyword'>int</span> src_rowstride;</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> <span class='keyword'>int</span> src_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> guchar *src_buffer;</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> GdkPixbuf *dest_pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> <span class='keyword'>int</span> dest_width;</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> <span class='keyword'>int</span> dest_height;</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> <span class='keyword'>int</span> dest_rowstride;</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> <span class='keyword'>int</span> dest_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> guchar *dest_buffer;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> guchar *src_pos;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> guchar *dest_pos;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> <span class='keyword'>int</span> dx, dy, sx, sy;</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> <span class='keyword'>int</span> i, x, y;</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> <span class='keyword'>int</span> progress_delta;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> <span class='macro'>g_return_val_if_fail (pixbuf != NULL, NULL)<span class='macro_popup'>do { if ((pixbuf != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "pixbuf != NULL"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> <span class='macro'>g_object_ref (pixbuf)<span class='macro_popup'>((__typeof__ (pixbuf)) (g_object_ref) (pixbuf))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> src_width = gdk_pixbuf_get_width (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> src_height = gdk_pixbuf_get_height (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> src_rowstride = gdk_pixbuf_get_rowstride (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> src_n_channels = gdk_pixbuf_get_n_channels (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> src_buffer = gdk_pixbuf_get_pixels (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> <span class='comment'>/* find out the dimension of the destination pixbuf */</span></td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> dest_top_left.x = 100000;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> dest_top_left.y = 100000;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> dest_bottom_right.x = -100000;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> dest_bottom_right.y = -100000;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; 4; i++) {</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> dest.x = vertices[i].x * (src_width - 1);</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> dest.y = vertices[i].y * (src_height -1);</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> cairo_matrix_transform_point (&amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> &amp;dest.x, &amp;dest.y);</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> dest_top_left.x = <span class='macro'>MIN (dest_top_left.x, dest.x)<span class='macro_popup'>(((dest_top_left.x) &lt; (dest.x)) ? (dest_top_left.x) : (dest<br>.x))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> dest_top_left.y = <span class='macro'>MIN (dest_top_left.y, dest.y)<span class='macro_popup'>(((dest_top_left.y) &lt; (dest.y)) ? (dest_top_left.y) : (dest<br>.y))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> dest_bottom_right.x = <span class='macro'>MAX (dest_bottom_right.x, dest.x)<span class='macro_popup'>(((dest_bottom_right.x) &gt; (dest.x)) ? (dest_bottom_right.x<br>) : (dest.x))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> dest_bottom_right.y = <span class='macro'>MAX (dest_bottom_right.y, dest.y)<span class='macro_popup'>(((dest_bottom_right.y) &gt; (dest.y)) ? (dest_bottom_right.y<br>) : (dest.y))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> <span class='comment'>/* create the resulting pixbuf */</span></td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> dest_width = abs ((<span class='keyword'>int</span>) (dest_bottom_right.x - dest_top_left.x + 1));</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> dest_height = abs ((<span class='keyword'>int</span>) (dest_bottom_right.y - dest_top_left.y + 1));</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> dest_pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB,</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> gdk_pixbuf_get_has_alpha (pixbuf),</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> gdk_pixbuf_get_bits_per_sample (pixbuf),</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> dest_width,</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> dest_height);</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> dest_rowstride = gdk_pixbuf_get_rowstride (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> dest_n_channels = gdk_pixbuf_get_n_channels (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> dest_buffer = gdk_pixbuf_get_pixels (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> <span class='comment'>/* invert the matrix so that we can compute the source pixel</span></td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> <span class='comment'>from the target pixel and convert the values to integer</span></td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> <span class='comment'>ones (faster!) FIXME: Maybe we can do some more</span></td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> <span class='comment'>improvements by using special mmx/3dnow features if</span></td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> <span class='comment'>available.</span></td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> r_det = 1.0 / (trans-&gt;priv-&gt;affine.xx * trans-&gt;priv-&gt;affine.yy - trans-&gt;priv-&gt;affine.yx * trans-&gt;priv-&gt;affine.xy);</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> inverted[0] = trans-&gt;priv-&gt;affine.yy * r_det;</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> inverted[1] = -trans-&gt;priv-&gt;affine.yx * r_det;</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> inverted[2] = -trans-&gt;priv-&gt;affine.xy * r_det;</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> inverted[3] = trans-&gt;priv-&gt;affine.xx * r_det;</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> inverted[4] = -trans-&gt;priv-&gt;affine.x0 * inverted[0] - trans-&gt;priv-&gt;affine.y0 * inverted[2];</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> inverted[5] = -trans-&gt;priv-&gt;affine.x0 * inverted[1] - trans-&gt;priv-&gt;affine.y0 * inverted[3];</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> progress_delta = <span class='macro'>MAX (1, dest_height / EOM_TRANSFORM_N_PROG_UPDATES)<span class='macro_popup'>(((1) &gt; (dest_height / 20)) ? (1) : (dest_height / 20))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> <span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> <span class='comment'>* for every destination pixel (dx,dy) compute the source pixel (sx, sy)</span></td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> <span class='comment'>* and copy the color values</span></td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='keyword'>for</span> (y = 0, dy = dest_top_left.y; y &lt; dest_height; y++, dy++) {</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>for</span> (x = 0, dx = dest_top_left.x; x &lt; dest_width; x++, dx++) {</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> sx = dx * inverted[0] + dy * inverted[2] + inverted[4];</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> sy = dx * inverted[1] + dy * inverted[3] + inverted[5];</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> <span class='keyword'>if</span> (sx &gt;= 0 &amp;&amp; sx &lt; src_width &amp;&amp; sy &gt;= 0 &amp;&amp; sy &lt; src_height) {</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> src_pos = src_buffer + sy * src_rowstride + sx * src_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> dest_pos = dest_buffer + y * dest_rowstride + x * dest_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; src_n_channels; i++) {</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> dest_pos[i] = src_pos[i];</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> <span class='keyword'>if</span> (job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; y % progress_delta == 0) {</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> gfloat progress;</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> progress = (gfloat) (y + 1.0) / (gfloat) dest_height;</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> eom_job_set_progress (job, progress);</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> g_object_unref (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> <span class='keyword'>if</span> (job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> eom_job_set_progress (job, 1.0);</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> <span class='keyword'>return</span> dest_pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line">_eom_cairo_matrix_copy (<span class='keyword'>const</span> cairo_matrix_t *src, cairo_matrix_t *dest)</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> cairo_matrix_init (dest, src-&gt;xx, src-&gt;yx, src-&gt;xy, src-&gt;yy, src-&gt;x0, src-&gt;y0);</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span> 1e-6</span></td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL(a,b)<span class='macro_popup'>(fabs (a - b) &lt; 1e-6)</span></span> (fabs (a - b) &lt; <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"><span class='comment'>/* art_affine_equal modified to work with cairo_matrix_t */</span></td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line">_eom_cairo_matrix_equal (<span class='keyword'>const</span> cairo_matrix_t *a, <span class='keyword'>const</span> cairo_matrix_t *b)</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> <span class='keyword'>return</span> (<span class='macro'>DOUBLE_EQUAL (a-&gt;xx, b-&gt;xx)<span class='macro_popup'>(fabs (a-&gt;xx - b-&gt;xx) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;yx, b-&gt;yx)<span class='macro_popup'>(fabs (a-&gt;yx - b-&gt;yx) &lt; 1e-6)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (a-&gt;xy, b-&gt;xy)<span class='macro_popup'>(fabs (a-&gt;xy - b-&gt;xy) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;yy, b-&gt;yy)<span class='macro_popup'>(fabs (a-&gt;yy - b-&gt;yy) &lt; 1e-6)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (a-&gt;x0, b-&gt;x0)<span class='macro_popup'>(fabs (a-&gt;x0 - b-&gt;x0) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;y0, b-&gt;y0)<span class='macro_popup'>(fabs (a-&gt;y0 - b-&gt;y0) &lt; 1e-6)</span></span> );</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"><span class='comment'>/* art_affine_flip modified to work with cairo_matrix_t */</span></td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line">_eom_cairo_matrix_flip (cairo_matrix_t *dst, <span class='keyword'>const</span> cairo_matrix_t *src, gboolean horiz, gboolean vert)</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> dst-&gt;xx = horiz ? -src-&gt;xx : src-&gt;xx;</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> dst-&gt;yx = horiz ? -src-&gt;yx : src-&gt;yx;</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> dst-&gt;xy = vert ? -src-&gt;xy : src-&gt;xy;</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> dst-&gt;yy = vert ? -src-&gt;yy : src-&gt;yy;</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> dst-&gt;x0 = horiz ? -src-&gt;x0 : src-&gt;x0;</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> dst-&gt;y0 = vert ? -src-&gt;y0 : src-&gt;y0;</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> <span class='comment'>* eom_transform_reverse:</span></td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> <span class='comment'>* Creates the reverse transformation of @trans</span></td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> <span class='comment'>* Returns: (transfer full): a new transformation</span></td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line">eom_transform_reverse (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> EomTransform *reverse;</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> reverse = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> _eom_cairo_matrix_copy (&amp;trans-&gt;priv-&gt;affine, &amp;reverse-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='macro'>g_return_val_if_fail (cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine) == CAIRO_STATUS_SUCCESS, reverse)<span class='macro_popup'>do { if ((cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine<br>) == CAIRO_STATUS_SUCCESS)) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine) == CAIRO_STATUS_SUCCESS"<br>); return (reverse); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> <span class='keyword'>return</span> reverse;</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> <span class='comment'>* eom_transform_compose:</span></td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='comment'>* @compose: another #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> <span class='comment'>* Returns: (transfer full): a new transform</span></td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line">eom_transform_compose (EomTransform *trans, EomTransform *compose)</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> EomTransform *composition;</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (compose), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((compose)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (compose)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> composition = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> cairo_matrix_multiply (&amp;composition-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> &amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> &amp;compose-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> <span class='keyword'>return</span> composition;</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line">eom_transform_is_identity (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> <span class='keyword'>static</span> <span class='keyword'>const</span> cairo_matrix_t identity = { 1, 0, 0, 1, 0, 0 };</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> <span class='keyword'>return</span> _eom_cairo_matrix_equal (&amp;identity, &amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line">eom_transform_identity_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> cairo_matrix_init_identity (&amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line">eom_transform_rotate_new (<span class='keyword'>int</span> degree)</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> cairo_matrix_init_rotate (&amp;trans-&gt;priv-&gt;affine, <span class='macro'>EOM_DEG_TO_RAD(degree)<span class='macro_popup'>((degree) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line">eom_transform_flip_new (EomTransformType type)</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> gboolean horiz, vert;</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> cairo_matrix_init_identity (&amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> horiz = (type == EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> vert = (type == EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> _eom_cairo_matrix_flip (&amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> &amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> horiz, vert);</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line">eom_transform_new (EomTransformType type)</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> EomTransform *trans = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> EomTransform *temp1 = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *temp2 = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> <span class='keyword'>switch</span> (type) {</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_NONE:</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> trans = eom_transform_identity_new ();</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_HORIZONTAL:</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> trans = eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_180:</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> trans = eom_transform_rotate_new (180);</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_VERTICAL:</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> trans = eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSPOSE:</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> temp1 = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> temp2 = eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> trans = eom_transform_compose (temp1, temp2);</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> g_object_unref (temp1);</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> g_object_unref (temp2);</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_90:</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> trans = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSVERSE:</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> temp1 = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> temp2 = eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> trans = eom_transform_compose (temp1, temp2);</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> g_object_unref (temp1);</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> g_object_unref (temp2);</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_270:</td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> trans = eom_transform_rotate_new (270);</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> trans = eom_transform_identity_new ();</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line">EomTransformType</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line">eom_transform_get_transform_type (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> cairo_matrix_t affine, a1, a2;</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> EomTransformPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), EOM_TRANSFORM_NONE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (EOM_TRANSFORM_NONE);<br> } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> priv = trans-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(90)<span class='macro_popup'>((90) * (3.1415926535897932384626433832795028841971693993751/<br>180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_90;</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(180)<span class='macro_popup'>((180) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_180;</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(270)<span class='macro_popup'>((270) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_270;</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> cairo_matrix_init_identity (&amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> _eom_cairo_matrix_flip (&amp;affine, &amp;affine, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_FLIP_HORIZONTAL;</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> cairo_matrix_init_identity (&amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> _eom_cairo_matrix_flip (&amp;affine, &amp;affine, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> <span class='keyword'>return</span> <span class="mrange">EOM_TRANSFORM_FLIP_VERTICAL</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:24ex">This statement is never executed</div></td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> cairo_matrix_init_rotate (&amp;a1, <span class='macro'>EOM_DEG_TO_RAD(90)<span class='macro_popup'>((90) * (3.1415926535897932384626433832795028841971693993751/<br>180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> cairo_matrix_init_identity (&amp;a2);</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> _eom_cairo_matrix_flip (&amp;a2, &amp;a2, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> cairo_matrix_multiply(&amp;affine, &amp;a1, &amp;a2);</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_TRANSPOSE;</td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> <span class='comment'>/* A transversion is a 180° rotation followed by a transposition */</span></td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> <span class='comment'>/* Reuse the transposition from the previous step for this. */</span></td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> cairo_matrix_init_rotate (&amp;a1, <span class='macro'>EOM_DEG_TO_RAD(180)<span class='macro_popup'>((180) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> cairo_matrix_multiply(&amp;a2, &amp;a1, &amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;a2, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_TRANSVERSE;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_NONE;</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line">eom_transform_get_affine (EomTransform *trans, cairo_matrix_t *affine)</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> _eom_cairo_matrix_copy (&amp;trans-&gt;priv-&gt;affine, affine);</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> </td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-84f082.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-84f082.html
new file mode 100644
index 0000000..5b50d12
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-84f082.html
@@ -0,0 +1,1348 @@
+<!doctype html>
+<html>
+<head>
+<title>egg-toolbar-editor.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Value stored to 'y' is never read -->
+
+<!-- BUGTYPE Dead assignment -->
+
+<!-- BUGCATEGORY Unused code -->
+
+<!-- BUGFILE /rootdir/cut-n-paste/toolbar-editor/egg-toolbar-editor.c -->
+
+<!-- FILENAME egg-toolbar-editor.c -->
+
+<!-- FUNCTIONNAME update_editor_sheet -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 84f0828c20c0fbf736b891e3b8215d65 -->
+
+<!-- BUGLINE 619 -->
+
+<!-- BUGCOLUMN 3 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>cut-n-paste/toolbar-editor/egg-toolbar-editor.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 619, column 3</a><br />Value stored to 'y' is never read</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name egg-toolbar-editor.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/cut-n-paste/toolbar-editor -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I ../.. -I ../../lib/egg -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -I /usr/include/libxml2 -D CURSOR_DIR="/usr/local/share/eom" -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/cut-n-paste/toolbar-editor -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c egg-toolbar-editor.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"619": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>* Copyright (C) 2003 Marco Pesenti Gritti</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2, or (at your option)</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* $Id: egg-toolbar-editor.c 929 2009-02-19 14:49:56Z friemann $</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"><span class='directive'>#include "config.h"</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include "egg-toolbar-editor.h"</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#include "egg-editable-toolbar.h"</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;libxml/tree.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GtkTargetEntry dest_drag_types[] = {</td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"> {<span class='macro'>EGG_TOOLBAR_ITEM_TYPE<span class='macro_popup'>"application/x-toolbar-item"</span></span>, GTK_TARGET_SAME_APP, 0},</td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GtkTargetEntry source_drag_types[] = {</td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"> {<span class='macro'>EGG_TOOLBAR_ITEM_TYPE<span class='macro_popup'>"application/x-toolbar-item"</span></span>, GTK_TARGET_SAME_APP, 0},</td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> egg_toolbar_editor_finalize (GObject *object);</td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> update_editor_sheet (EggToolbarEditor *editor);</td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='keyword'>enum</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> PROP_0,</td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"> PROP_UI_MANAGER,</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"> PROP_TOOLBARS_MODEL</td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"><span class='keyword'>enum</span></td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> SIGNAL_HANDLER_ITEM_ADDED,</td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"> SIGNAL_HANDLER_ITEM_REMOVED,</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"> SIGNAL_HANDLER_TOOLBAR_REMOVED,</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"> SIGNAL_HANDLER_LIST_SIZE <span class='comment'>/* Array size */</span></td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"><span class='keyword'>struct</span> EggToolbarEditorPrivate</td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> GtkUIManager *manager;</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> EggToolbarsModel *model;</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"> GtkWidget *grid;</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> GtkWidget *scrolled_window;</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> GList *actions_list;</td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> GList *factory_list;</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> <span class='comment'>/* These handlers need to be sanely disconnected when switching models */</span></td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> gulong sig_handlers[SIGNAL_HANDLER_LIST_SIZE];</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EggToolbarEditor, egg_toolbar_editor, GTK_TYPE_BOX)<span class='macro_popup'>static void egg_toolbar_editor_init (EggToolbarEditor *self);<br> static void egg_toolbar_editor_class_init (EggToolbarEditorClass<br> *klass); static GType egg_toolbar_editor_get_type_once (void<br>); static gpointer egg_toolbar_editor_parent_class = ((void*)<br>0); static gint EggToolbarEditor_private_offset; static void egg_toolbar_editor_class_intern_init<br> (gpointer klass) { egg_toolbar_editor_parent_class = g_type_class_peek_parent<br> (klass); if (EggToolbarEditor_private_offset != 0) g_type_class_adjust_private_offset<br> (klass, &amp;EggToolbarEditor_private_offset); egg_toolbar_editor_class_init<br> ((EggToolbarEditorClass*) klass); } __attribute__ ((__unused__<br>)) static inline gpointer egg_toolbar_editor_get_instance_private<br> (EggToolbarEditor *self) { return (((gpointer) ((guint8*) (self<br>) + (glong) (EggToolbarEditor_private_offset)))); } GType egg_toolbar_editor_get_type<br> (void) { static gsize static_g_define_type_id = 0; if ((__extension__<br> ({ _Static_assert (sizeof *(&amp;static_g_define_type_id) ==<br> sizeof (gpointer), "Expression evaluates to false"); (void) (<br>0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0));<br> (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = egg_toolbar_editor_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType egg_toolbar_editor_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> ((gtk_box_get_type ()), g_intern_static_string ("EggToolbarEditor"<br>), sizeof (EggToolbarEditorClass), (GClassInitFunc)(void (*)(<br>void)) egg_toolbar_editor_class_intern_init, sizeof (EggToolbarEditor<br>), (GInstanceInitFunc)(void (*)(void)) egg_toolbar_editor_init<br>, (GTypeFlags) 0); { {{ EggToolbarEditor_private_offset = g_type_add_instance_private<br> (g_define_type_id, sizeof (EggToolbarEditorPrivate)); };} } return<br> g_define_type_id; }</span></span></td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line">compare_items (gconstpointer a,</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> gconstpointer b)</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> <span class='keyword'>const</span> GtkWidget *item1 = a;</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> <span class='keyword'>const</span> GtkWidget *item2 = b;</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> <span class='keyword'>char</span> *key1 = g_object_get_data (<span class='macro'>G_OBJECT (item1)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((item1)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> <span class='string_literal'>"egg-collate-key"</span>);</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> <span class='keyword'>char</span> *key2 = g_object_get_data (<span class='macro'>G_OBJECT (item2)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((item2)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> <span class='string_literal'>"egg-collate-key"</span>);</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>return</span> strcmp (key1, key2);</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"><span class='keyword'>static</span> GtkAction *</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line">find_action (EggToolbarEditor *t,</td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *name)</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> GList *l;</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> GtkAction *action = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> l = gtk_ui_manager_get_action_groups (t-&gt;priv-&gt;manager);</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> <span class='macro'>g_return_val_if_fail (EGG_IS_TOOLBAR_EDITOR (t), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((t)); GType __t = ((egg_toolbar_editor_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning (((gchar*) 0), ((const char*<br>) (__func__)), "EGG_IS_TOOLBAR_EDITOR (t)"); return (((void*)<br>0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> <span class='macro'>g_return_val_if_fail (name != NULL, NULL)<span class='macro_popup'>do { if ((name != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "name != NULL"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> <span class='keyword'>for</span> (; l != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; l = l-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> GtkAction *tmp;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> tmp = gtk_action_group_get_action (<span class='macro'>GTK_ACTION_GROUP (l-&gt;data)<span class='macro_popup'>((((GtkActionGroup*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((l-&gt;data)), ((gtk_action_group_get_type ()))))))</span></span>, name);</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> <span class='keyword'>if</span> (tmp)</td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> action = tmp;</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> <span class='keyword'>return</span> action;</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line">egg_toolbar_editor_set_ui_manager (EggToolbarEditor *t,</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> GtkUIManager *manager)</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> <span class='macro'>g_return_if_fail (GTK_IS_UI_MANAGER (manager))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((manager)); GType __t = ((gtk_ui_manager_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning (((gchar*) 0), ((const char*<br>) (__func__)), "GTK_IS_UI_MANAGER (manager)"); return; } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> t-&gt;priv-&gt;manager = <span class='macro'>g_object_ref (manager)<span class='macro_popup'>((__typeof__ (manager)) (g_object_ref) (manager))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line">item_added_or_removed_cb (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> <span class='keyword'>int</span> tpos,</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> <span class='keyword'>int</span> ipos,</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> EggToolbarEditor *editor)</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> update_editor_sheet (editor);</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line">toolbar_removed_cb (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> <span class='keyword'>int</span> position,</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> EggToolbarEditor *editor)</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> update_editor_sheet (editor);</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line">egg_toolbar_editor_disconnect_model (EggToolbarEditor *t)</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> EggToolbarEditorPrivate *priv = t-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> EggToolbarsModel *model = priv-&gt;model;</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> gulong handler;</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; SIGNAL_HANDLER_LIST_SIZE; i++)</td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> handler = priv-&gt;sig_handlers[i];</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> <span class='keyword'>if</span> (handler != 0)</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> <span class='keyword'>if</span> (g_signal_handler_is_connected (model, handler))</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> g_signal_handler_disconnect (model, handler);</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> priv-&gt;sig_handlers[i] = 0;</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line">egg_toolbar_editor_set_model (EggToolbarEditor *t,</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> EggToolbarsModel *model)</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> EggToolbarEditorPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> <span class='macro'>g_return_if_fail (EGG_IS_TOOLBAR_EDITOR (t))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((t)); GType __t = ((egg_toolbar_editor_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning (((gchar*) 0), ((const char*<br>) (__func__)), "EGG_IS_TOOLBAR_EDITOR (t)"); return; } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> <span class='macro'>g_return_if_fail (model != NULL)<span class='macro_popup'>do { if ((model != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "model != NULL");<br> return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> priv = t-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;model)</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_UNLIKELY (priv-&gt;model == model)<span class='macro_popup'>(priv-&gt;model == model)</span></span>) <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> egg_toolbar_editor_disconnect_model (t);</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> g_object_unref (priv-&gt;model);</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> priv-&gt;model = <span class='macro'>g_object_ref (model)<span class='macro_popup'>((__typeof__ (model)) (g_object_ref) (model))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> update_editor_sheet (t);</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> priv-&gt;sig_handlers[SIGNAL_HANDLER_ITEM_ADDED] =</td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> g_signal_connect_object (model, <span class='string_literal'>"item_added"</span>,</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> <span class='macro'>G_CALLBACK (item_added_or_removed_cb)<span class='macro_popup'>((GCallback) (item_added_or_removed_cb))</span></span>, t, 0);</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> priv-&gt;sig_handlers[SIGNAL_HANDLER_ITEM_REMOVED] =</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> g_signal_connect_object (model, <span class='string_literal'>"item_removed"</span>,</td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> <span class='macro'>G_CALLBACK (item_added_or_removed_cb)<span class='macro_popup'>((GCallback) (item_added_or_removed_cb))</span></span>, t, 0);</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> priv-&gt;sig_handlers[SIGNAL_HANDLER_TOOLBAR_REMOVED] =</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> g_signal_connect_object (model, <span class='string_literal'>"toolbar_removed"</span>,</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> <span class='macro'>G_CALLBACK (toolbar_removed_cb)<span class='macro_popup'>((GCallback) (toolbar_removed_cb))</span></span>, t, 0);</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line">egg_toolbar_editor_set_property (GObject *object,</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> guint prop_id,</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> <span class='keyword'>const</span> GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> GParamSpec *pspec)</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> EggToolbarEditor *t = <span class='macro'>EGG_TOOLBAR_EDITOR (object)<span class='macro_popup'>((((EggToolbarEditor*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((object)), ((egg_toolbar_editor_get_type ())<br>)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> <span class='keyword'>switch</span> (prop_id)</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> <span class='keyword'>case</span> PROP_UI_MANAGER:</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> egg_toolbar_editor_set_ui_manager (t, g_value_get_object (value));</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> <span class='keyword'>case</span> PROP_TOOLBARS_MODEL:</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> egg_toolbar_editor_set_model (t, g_value_get_object (value));</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line">egg_toolbar_editor_get_property (GObject *object,</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> guint prop_id,</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> GParamSpec *pspec)</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> EggToolbarEditor *t = <span class='macro'>EGG_TOOLBAR_EDITOR (object)<span class='macro_popup'>((((EggToolbarEditor*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((object)), ((egg_toolbar_editor_get_type ())<br>)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> <span class='keyword'>switch</span> (prop_id)</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> <span class='keyword'>case</span> PROP_UI_MANAGER:</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> g_value_set_object (value, t-&gt;priv-&gt;manager);</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"> <span class='keyword'>case</span> PROP_TOOLBARS_MODEL:</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> g_value_set_object (value, t-&gt;priv-&gt;model);</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line">egg_toolbar_editor_class_init (EggToolbarEditorClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> GObjectClass *object_class = <span class='macro'>G_OBJECT_CLASS (klass)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((klass)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> object_class-&gt;finalize = egg_toolbar_editor_finalize;</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> object_class-&gt;set_property = egg_toolbar_editor_set_property;</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> object_class-&gt;get_property = egg_toolbar_editor_get_property;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> g_object_class_install_property (object_class,</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> PROP_UI_MANAGER,</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> g_param_spec_object (<span class='string_literal'>"ui-manager"</span>,</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> <span class='string_literal'>"UI-Manager"</span>,</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='string_literal'>"UI Manager"</span>,</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> <span class='macro'>GTK_TYPE_UI_MANAGER<span class='macro_popup'>(gtk_ui_manager_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB |</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> G_PARAM_CONSTRUCT_ONLY));</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> g_object_class_install_property (object_class,</td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> PROP_TOOLBARS_MODEL,</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> g_param_spec_object (<span class='string_literal'>"model"</span>,</td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> <span class='string_literal'>"Model"</span>,</td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='string_literal'>"Toolbars Model"</span>,</td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='macro'>EGG_TYPE_TOOLBARS_MODEL<span class='macro_popup'>(egg_toolbars_model_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB |</td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> G_PARAM_CONSTRUCT));</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> GtkWidgetClass *widget_class = <span class='macro'>GTK_WIDGET_CLASS (klass)<span class='macro_popup'>((((GtkWidgetClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((klass)), ((gtk_widget_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> gtk_widget_class_set_css_name (widget_class, <span class='string_literal'>"EggToolbarEditor"</span>);</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line">egg_toolbar_editor_finalize (GObject *object)</td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> EggToolbarEditor *editor = <span class='macro'>EGG_TOOLBAR_EDITOR (object)<span class='macro_popup'>((((EggToolbarEditor*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((object)), ((egg_toolbar_editor_get_type ())<br>)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> <span class='keyword'>if</span> (editor-&gt;priv-&gt;manager)</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> g_object_unref (editor-&gt;priv-&gt;manager);</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> <span class='keyword'>if</span> (editor-&gt;priv-&gt;model)</td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> egg_toolbar_editor_disconnect_model (editor);</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> g_object_unref (editor-&gt;priv-&gt;model);</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> g_list_free (editor-&gt;priv-&gt;actions_list);</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> g_list_free (editor-&gt;priv-&gt;factory_list);</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> <span class='macro'>G_OBJECT_CLASS (egg_toolbar_editor_parent_class)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((egg_toolbar_editor_parent_class)), (((GType) ((20) &lt;&lt;<br> (2))))))))</span></span>-&gt;finalize (object);</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line">GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line">egg_toolbar_editor_new (GtkUIManager *manager,</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> EggToolbarsModel *model)</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>GTK_WIDGET (g_object_new (EGG_TYPE_TOOLBAR_EDITOR,<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_toolbar_editor_get_type ()), "ui-manager"<br>, manager, "model", model, ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> <span class='string_literal'><span class='macro'>"ui-manager"</span>, manager,<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_toolbar_editor_get_type ()), "ui-manager"<br>, manager, "model", model, ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> <span class='string_literal'><span class='macro'>"model"</span>, model,<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_toolbar_editor_get_type ()), "ui-manager"<br>, manager, "model", model, ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> <span class='macro'>NULL))<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_toolbar_editor_get_type ()), "ui-manager"<br>, manager, "model", model, ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line">drag_begin_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> GdkDragContext *context)</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> gtk_widget_hide (widget);</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line">drag_end_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> GdkDragContext *context)</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> gtk_widget_show (widget);</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line">drag_data_get_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> GtkSelectionData *selection_data,</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> guint info,</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> guint32 time,</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> EggToolbarEditor *editor)</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *target;</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> target = g_object_get_data (<span class='macro'>G_OBJECT (widget)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"egg-item-name"</span>);</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> <span class='macro'>g_return_if_fail (target != NULL)<span class='macro_popup'>do { if ((target != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "target != NULL")<br>; return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> gtk_selection_data_set (selection_data, gtk_selection_data_get_target (selection_data), 8,</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> (<span class='keyword'>const</span> guchar *) target, strlen (target));</td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"><span class='keyword'>static</span> gchar *</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line">elide_underscores (<span class='keyword'>const</span> gchar *original)</td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> gchar *q, *result;</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> <span class='keyword'>const</span> gchar *p;</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> gboolean last_underscore;</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> q = result = g_malloc (strlen (original) + 1);</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> last_underscore = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> <span class='keyword'>for</span> (p = original; *p; p++)</td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> <span class='keyword'>if</span> (!last_underscore &amp;&amp; *p == '_')</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> last_underscore = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> last_underscore = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> *q++ = *p;</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> *q = '\0';</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line">set_drag_cursor (GtkWidget *widget)</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> GdkCursor *cursor;</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> GdkScreen *screen;</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> screen = gtk_widget_get_screen (widget);</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> cursor = gdk_cursor_new_for_display (gdk_screen_get_display (screen),</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> GDK_HAND2);</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> gdk_window_set_cursor (gtk_widget_get_window (widget), cursor);</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> g_object_unref (cursor);</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line">event_box_realize_cb (GtkWidget *widget, GtkImage *icon)</td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> GtkImageType type;</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> set_drag_cursor (widget);</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> type = gtk_image_get_storage_type (icon);</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> <span class='keyword'>if</span> (type == GTK_IMAGE_STOCK)</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> gchar *stock_id;</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> GdkPixbuf *pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> gtk_image_get_stock (icon, &amp;stock_id, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"> pixbuf = gtk_widget_render_icon (widget, stock_id,</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> GTK_ICON_SIZE_LARGE_TOOLBAR, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> gtk_drag_source_set_icon_pixbuf (widget, pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> g_object_unref (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (type == GTK_IMAGE_ICON_NAME)</td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> <span class='keyword'>const</span> gchar *icon_name;</td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> GdkScreen *screen;</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> GtkIconTheme *icon_theme;</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> gint width, height;</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> GdkPixbuf *pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> gtk_image_get_icon_name (icon, &amp;icon_name, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> screen = gtk_widget_get_screen (widget);</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> icon_theme = gtk_icon_theme_get_for_screen (screen);</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> <span class='keyword'>if</span> (!gtk_icon_size_lookup (GTK_ICON_SIZE_LARGE_TOOLBAR,</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> &amp;width, &amp;height))</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> width = height = 24;</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> pixbuf = gtk_icon_theme_load_icon (icon_theme, icon_name,</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> <span class='macro'>MIN (width, height)<span class='macro_popup'>(((width) &lt; (height)) ? (width) : (height))</span></span>, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_UNLIKELY (!pixbuf)<span class='macro_popup'>(!pixbuf)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> gtk_drag_source_set_icon_pixbuf (widget, pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> g_object_unref (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (type == GTK_IMAGE_PIXBUF)</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> GdkPixbuf *pixbuf = gtk_image_get_pixbuf (icon);</td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> gtk_drag_source_set_icon_pixbuf (widget, pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"><span class='keyword'>static</span> GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line">editor_create_item (EggToolbarEditor *editor,</td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> GtkImage *icon,</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *label_text,</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> GdkDragAction action)</td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> GtkWidget *event_box;</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> GtkWidget *vbox;</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> GtkWidget *label;</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> gchar *label_no_mnemonic = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> event_box = gtk_event_box_new ();</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> gtk_event_box_set_visible_window (<span class='macro'>GTK_EVENT_BOX (event_box)<span class='macro_popup'>((((GtkEventBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((event_box)), ((gtk_event_box_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> gtk_widget_show (event_box);</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> gtk_drag_source_set (event_box,</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> GDK_BUTTON1_MASK,</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> source_drag_types, <span class='macro'>G_N_ELEMENTS (source_drag_types)<span class='macro_popup'>(sizeof (source_drag_types) / sizeof ((source_drag_types)[0])<br>)</span></span>, action);</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> <span class='macro'>g_signal_connect (event_box, <span class='string_literal'>"drag_data_get"</span>,<span class='macro_popup'>g_signal_connect_data ((event_box), ("drag_data_get"), (((GCallback<br>) (drag_data_get_cb))), (editor), ((void*)0), (GConnectFlags)<br> 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> <span class='macro'>G_CALLBACK (drag_data_get_cb), editor)<span class='macro_popup'>g_signal_connect_data ((event_box), ("drag_data_get"), (((GCallback<br>) (drag_data_get_cb))), (editor), ((void*)0), (GConnectFlags)<br> 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> <span class='macro'>g_signal_connect_after (event_box, <span class='string_literal'>"realize"</span>,<span class='macro_popup'>g_signal_connect_data ((event_box), ("realize"), (((GCallback<br>) (event_box_realize_cb))), (icon), ((void*)0), G_CONNECT_AFTER<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> <span class='macro'>G_CALLBACK (event_box_realize_cb), icon)<span class='macro_popup'>g_signal_connect_data ((event_box), ("realize"), (((GCallback<br>) (event_box_realize_cb))), (icon), ((void*)0), G_CONNECT_AFTER<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> <span class='keyword'>if</span> (action == GDK_ACTION_MOVE)</td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> <span class='macro'>g_signal_connect (event_box, <span class='string_literal'>"drag_begin"</span>,<span class='macro_popup'>g_signal_connect_data ((event_box), ("drag_begin"), (((GCallback<br>) (drag_begin_cb))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> <span class='macro'>G_CALLBACK (drag_begin_cb), NULL)<span class='macro_popup'>g_signal_connect_data ((event_box), ("drag_begin"), (((GCallback<br>) (drag_begin_cb))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> <span class='macro'>g_signal_connect (event_box, <span class='string_literal'>"drag_end"</span>,<span class='macro_popup'>g_signal_connect_data ((event_box), ("drag_end"), (((GCallback<br>) (drag_end_cb))), (((void*)0)), ((void*)0), (GConnectFlags) 0<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> <span class='macro'>G_CALLBACK (drag_end_cb), NULL)<span class='macro_popup'>g_signal_connect_data ((event_box), ("drag_end"), (((GCallback<br>) (drag_end_cb))), (((void*)0)), ((void*)0), (GConnectFlags) 0<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> vbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> gtk_widget_show (vbox);</td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (event_box)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((event_box)), ((gtk_container_get_type ()))))))</span></span>, vbox);</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"> gtk_widget_show (<span class='macro'>GTK_WIDGET (icon)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((icon)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (vbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((vbox)), ((gtk_box_get_type ()))))))</span></span>, <span class='macro'>GTK_WIDGET (icon)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((icon)), ((gtk_widget_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> label_no_mnemonic = elide_underscores (label_text);</td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"> label = gtk_label_new (label_no_mnemonic);</td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"> g_free (label_no_mnemonic);</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> gtk_widget_show (label);</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (vbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((vbox)), ((gtk_box_get_type ()))))))</span></span>, label, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"> <span class='keyword'>return</span> event_box;</td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line"><span class='keyword'>static</span> GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line">editor_create_item_from_name (EggToolbarEditor *editor,</td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> * name,</td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"> GdkDragAction drag_action)</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line"> GtkWidget *item;</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *item_name;</td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> <span class='keyword'>char</span> *short_label;</td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *collate_key;</td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line"> <span class='keyword'>if</span> (strcmp (name, <span class='string_literal'>"_separator"</span>) == 0)</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> GtkWidget *icon;</td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> icon = _egg_editable_toolbar_new_separator_image ();</td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"> short_label = <span class='macro'>_(<span class='string_literal'>"Separator"</span>)<span class='macro_popup'>gettext ("Separator")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line"> item_name = <span class='macro'>g_strdup (name)<span class='macro_popup'>g_strdup_inline (name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line"> collate_key = g_utf8_collate_key (short_label, -1);</td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line"> item = editor_create_item (editor, <span class='macro'>GTK_IMAGE (icon)<span class='macro_popup'>((((GtkImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((icon)), ((gtk_image_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> short_label, drag_action);</td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"> GtkWidget *icon;</td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line"> <span class='keyword'>char</span> *stock_id, *icon_name = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line"> action = find_action (editor, name);</td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> <span class='macro'>g_return_val_if_fail (action != NULL, NULL)<span class='macro_popup'>do { if ((action != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "action != NULL")<br>; return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line"> g_object_get (action,</td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line"> <span class='string_literal'>"icon-name"</span>, &amp;icon_name,</td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> <span class='string_literal'>"stock-id"</span>, &amp;stock_id,</td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> <span class='string_literal'>"short-label"</span>, &amp;short_label,</td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> <span class='comment'>/* This is a workaround to catch named icons. */</span></td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line"> <span class='keyword'>if</span> (icon_name)</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> icon = gtk_image_new_from_icon_name (icon_name,</td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"> GTK_ICON_SIZE_LARGE_TOOLBAR);</td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> icon = gtk_image_new_from_icon_name (stock_id ? stock_id : <span class='string_literal'>"gtk-dnd"</span>,</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> GTK_ICON_SIZE_LARGE_TOOLBAR);</td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> item_name = <span class='macro'>g_strdup (name)<span class='macro_popup'>g_strdup_inline (name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> collate_key = g_utf8_collate_key (short_label, -1);</td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> item = editor_create_item (editor, <span class='macro'>GTK_IMAGE (icon)<span class='macro_popup'>((((GtkImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((icon)), ((gtk_image_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> short_label, drag_action);</td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line"> g_free (short_label);</td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> g_free (stock_id);</td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"> g_free (icon_name);</td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line"> g_object_set_data_full (<span class='macro'>G_OBJECT (item)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((item)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"egg-collate-key"</span>,</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> (gpointer) collate_key, g_free);</td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> g_object_set_data_full (<span class='macro'>G_OBJECT (item)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((item)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"egg-item-name"</span>,</td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> (gpointer) item_name, g_free);</td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line"> <span class='keyword'>return</span> item;</td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line">append_grid (GtkGrid *grid, GList *items, gint y, gint width)</td></tr>
+<tr class="codeline" data-linenumber="531"><td class="num" id="LN531">531</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="532"><td class="num" id="LN532">532</td><td class="line"> <span class='keyword'>if</span> (items != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="533"><td class="num" id="LN533">533</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="534"><td class="num" id="LN534">534</td><td class="line"> gint x = 0;</td></tr>
+<tr class="codeline" data-linenumber="535"><td class="num" id="LN535">535</td><td class="line"> GtkWidget *item;</td></tr>
+<tr class="codeline" data-linenumber="536"><td class="num" id="LN536">536</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="537"><td class="num" id="LN537">537</td><td class="line"> <span class='keyword'>if</span> (y &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="538"><td class="num" id="LN538">538</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="539"><td class="num" id="LN539">539</td><td class="line"> item = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="540"><td class="num" id="LN540">540</td><td class="line"> gtk_widget_set_hexpand (item, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="541"><td class="num" id="LN541">541</td><td class="line"> gtk_widget_set_vexpand (item, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="542"><td class="num" id="LN542">542</td><td class="line"> gtk_widget_show (item);</td></tr>
+<tr class="codeline" data-linenumber="543"><td class="num" id="LN543">543</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="544"><td class="num" id="LN544">544</td><td class="line"> gtk_grid_attach (grid, item, 0, y, width, 1);</td></tr>
+<tr class="codeline" data-linenumber="545"><td class="num" id="LN545">545</td><td class="line"> y++;</td></tr>
+<tr class="codeline" data-linenumber="546"><td class="num" id="LN546">546</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="547"><td class="num" id="LN547">547</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="548"><td class="num" id="LN548">548</td><td class="line"> <span class='keyword'>for</span> (; items != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; items = items-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="549"><td class="num" id="LN549">549</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="550"><td class="num" id="LN550">550</td><td class="line"> item = items-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="551"><td class="num" id="LN551">551</td><td class="line"> gtk_widget_set_hexpand (item, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="552"><td class="num" id="LN552">552</td><td class="line"> gtk_widget_set_vexpand (item, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="553"><td class="num" id="LN553">553</td><td class="line"> gtk_widget_show (item);</td></tr>
+<tr class="codeline" data-linenumber="554"><td class="num" id="LN554">554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="555"><td class="num" id="LN555">555</td><td class="line"> <span class='keyword'>if</span> (x &gt;= width)</td></tr>
+<tr class="codeline" data-linenumber="556"><td class="num" id="LN556">556</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="557"><td class="num" id="LN557">557</td><td class="line"> x = 0;</td></tr>
+<tr class="codeline" data-linenumber="558"><td class="num" id="LN558">558</td><td class="line"> y++;</td></tr>
+<tr class="codeline" data-linenumber="559"><td class="num" id="LN559">559</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="560"><td class="num" id="LN560">560</td><td class="line"> gtk_grid_attach (grid, item, x, y, 1, 1);</td></tr>
+<tr class="codeline" data-linenumber="561"><td class="num" id="LN561">561</td><td class="line"> x++;</td></tr>
+<tr class="codeline" data-linenumber="562"><td class="num" id="LN562">562</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="563"><td class="num" id="LN563">563</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="564"><td class="num" id="LN564">564</td><td class="line"> y++;</td></tr>
+<tr class="codeline" data-linenumber="565"><td class="num" id="LN565">565</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="566"><td class="num" id="LN566">566</td><td class="line"> <span class='keyword'>return</span> y;</td></tr>
+<tr class="codeline" data-linenumber="567"><td class="num" id="LN567">567</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="568"><td class="num" id="LN568">568</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="569"><td class="num" id="LN569">569</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="570"><td class="num" id="LN570">570</td><td class="line">update_editor_sheet (EggToolbarEditor *editor)</td></tr>
+<tr class="codeline" data-linenumber="571"><td class="num" id="LN571">571</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="572"><td class="num" id="LN572">572</td><td class="line"> gint y;</td></tr>
+<tr class="codeline" data-linenumber="573"><td class="num" id="LN573">573</td><td class="line"> GPtrArray *items;</td></tr>
+<tr class="codeline" data-linenumber="574"><td class="num" id="LN574">574</td><td class="line"> GList *to_move = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *to_copy = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="575"><td class="num" id="LN575">575</td><td class="line"> GtkWidget *grid;</td></tr>
+<tr class="codeline" data-linenumber="576"><td class="num" id="LN576">576</td><td class="line"> GtkWidget *viewport;</td></tr>
+<tr class="codeline" data-linenumber="577"><td class="num" id="LN577">577</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="578"><td class="num" id="LN578">578</td><td class="line"> <span class='macro'>g_return_if_fail (EGG_IS_TOOLBAR_EDITOR (editor))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((editor)); GType __t = ((egg_toolbar_editor_get_type ()))<br>; gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning (((gchar*) 0), ((const<br> char*) (__func__)), "EGG_IS_TOOLBAR_EDITOR (editor)"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="579"><td class="num" id="LN579">579</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="580"><td class="num" id="LN580">580</td><td class="line"> <span class='comment'>/* Create new grid. */</span></td></tr>
+<tr class="codeline" data-linenumber="581"><td class="num" id="LN581">581</td><td class="line"> grid = gtk_grid_new ();</td></tr>
+<tr class="codeline" data-linenumber="582"><td class="num" id="LN582">582</td><td class="line"> editor-&gt;priv-&gt;grid = grid;</td></tr>
+<tr class="codeline" data-linenumber="583"><td class="num" id="LN583">583</td><td class="line"> gtk_container_set_border_width (<span class='macro'>GTK_CONTAINER (grid)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((grid)), ((gtk_container_get_type ()))))))</span></span>, 12);</td></tr>
+<tr class="codeline" data-linenumber="584"><td class="num" id="LN584">584</td><td class="line"> gtk_grid_set_row_spacing (<span class='macro'>GTK_GRID (grid)<span class='macro_popup'>((((GtkGrid*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((grid)), ((gtk_grid_get_type ()))))))</span></span>, 24);</td></tr>
+<tr class="codeline" data-linenumber="585"><td class="num" id="LN585">585</td><td class="line"> gtk_widget_show (grid);</td></tr>
+<tr class="codeline" data-linenumber="586"><td class="num" id="LN586">586</td><td class="line"> gtk_drag_dest_set (grid, GTK_DEST_DEFAULT_ALL,</td></tr>
+<tr class="codeline" data-linenumber="587"><td class="num" id="LN587">587</td><td class="line"> dest_drag_types, <span class='macro'>G_N_ELEMENTS (dest_drag_types)<span class='macro_popup'>(sizeof (dest_drag_types) / sizeof ((dest_drag_types)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="588"><td class="num" id="LN588">588</td><td class="line"> GDK_ACTION_MOVE | GDK_ACTION_COPY);</td></tr>
+<tr class="codeline" data-linenumber="589"><td class="num" id="LN589">589</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="590"><td class="num" id="LN590">590</td><td class="line"> <span class='comment'>/* Build two lists of items (one for copying, one for moving). */</span></td></tr>
+<tr class="codeline" data-linenumber="591"><td class="num" id="LN591">591</td><td class="line"> items = egg_toolbars_model_get_name_avail (editor-&gt;priv-&gt;model);</td></tr>
+<tr class="codeline" data-linenumber="592"><td class="num" id="LN592">592</td><td class="line"> <span class='keyword'>while</span> (items-&gt;len &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="593"><td class="num" id="LN593">593</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="594"><td class="num" id="LN594">594</td><td class="line"> GtkWidget *item;</td></tr>
+<tr class="codeline" data-linenumber="595"><td class="num" id="LN595">595</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *name;</td></tr>
+<tr class="codeline" data-linenumber="596"><td class="num" id="LN596">596</td><td class="line"> gint flags;</td></tr>
+<tr class="codeline" data-linenumber="597"><td class="num" id="LN597">597</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="598"><td class="num" id="LN598">598</td><td class="line"> name = <span class='macro'>g_ptr_array_index (items, 0)<span class='macro_popup'>((items)-&gt;pdata)[0]</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="599"><td class="num" id="LN599">599</td><td class="line"> g_ptr_array_remove_index_fast (items, 0);</td></tr>
+<tr class="codeline" data-linenumber="600"><td class="num" id="LN600">600</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="601"><td class="num" id="LN601">601</td><td class="line"> flags = egg_toolbars_model_get_name_flags (editor-&gt;priv-&gt;model, name);</td></tr>
+<tr class="codeline" data-linenumber="602"><td class="num" id="LN602">602</td><td class="line"> <span class='keyword'>if</span> ((flags &amp; EGG_TB_MODEL_NAME_INFINITE) == 0)</td></tr>
+<tr class="codeline" data-linenumber="603"><td class="num" id="LN603">603</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="604"><td class="num" id="LN604">604</td><td class="line"> item = editor_create_item_from_name (editor, name, GDK_ACTION_MOVE);</td></tr>
+<tr class="codeline" data-linenumber="605"><td class="num" id="LN605">605</td><td class="line"> <span class='keyword'>if</span> (item != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="606"><td class="num" id="LN606">606</td><td class="line"> to_move = g_list_insert_sorted (to_move, item, compare_items);</td></tr>
+<tr class="codeline" data-linenumber="607"><td class="num" id="LN607">607</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="608"><td class="num" id="LN608">608</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="609"><td class="num" id="LN609">609</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="610"><td class="num" id="LN610">610</td><td class="line"> item = editor_create_item_from_name (editor, name, GDK_ACTION_COPY);</td></tr>
+<tr class="codeline" data-linenumber="611"><td class="num" id="LN611">611</td><td class="line"> <span class='keyword'>if</span> (item != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="612"><td class="num" id="LN612">612</td><td class="line"> to_copy = g_list_insert_sorted (to_copy, item, compare_items);</td></tr>
+<tr class="codeline" data-linenumber="613"><td class="num" id="LN613">613</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="614"><td class="num" id="LN614">614</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="615"><td class="num" id="LN615">615</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="616"><td class="num" id="LN616">616</td><td class="line"> <span class='comment'>/* Add them to the sheet. */</span></td></tr>
+<tr class="codeline" data-linenumber="617"><td class="num" id="LN617">617</td><td class="line"> y = 0;</td></tr>
+<tr class="codeline" data-linenumber="618"><td class="num" id="LN618">618</td><td class="line"> y = append_grid (<span class='macro'>GTK_GRID (grid)<span class='macro_popup'>((((GtkGrid*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((grid)), ((gtk_grid_get_type ()))))))</span></span>, to_move, y, 4);</td></tr>
+<tr class="codeline" data-linenumber="619"><td class="num" id="LN619">619</td><td class="line"> y = <span class="mrange">append_grid (<span class='macro'>GTK_GRID (grid)<span class='macro_popup'>((((GtkGrid*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((grid)), ((gtk_grid_get_type ()))))))</span></span>, to_copy, y, 4)</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:3ex">Value stored to 'y' is never read</div></td></tr>
+<tr class="codeline" data-linenumber="620"><td class="num" id="LN620">620</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="621"><td class="num" id="LN621">621</td><td class="line"> g_list_free (to_move);</td></tr>
+<tr class="codeline" data-linenumber="622"><td class="num" id="LN622">622</td><td class="line"> g_list_free (to_copy);</td></tr>
+<tr class="codeline" data-linenumber="623"><td class="num" id="LN623">623</td><td class="line"> g_ptr_array_free (items, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="624"><td class="num" id="LN624">624</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="625"><td class="num" id="LN625">625</td><td class="line"> <span class='comment'>/* Delete old table/grid. */</span></td></tr>
+<tr class="codeline" data-linenumber="626"><td class="num" id="LN626">626</td><td class="line"> viewport = gtk_bin_get_child (<span class='macro'>GTK_BIN (editor-&gt;priv-&gt;scrolled_window)<span class='macro_popup'>((((GtkBin*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((editor-&gt;priv-&gt;scrolled_window)), ((gtk_bin_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="627"><td class="num" id="LN627">627</td><td class="line"> <span class='keyword'>if</span> (viewport)</td></tr>
+<tr class="codeline" data-linenumber="628"><td class="num" id="LN628">628</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="629"><td class="num" id="LN629">629</td><td class="line"> gtk_container_remove (<span class='macro'>GTK_CONTAINER (viewport)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((viewport)), ((gtk_container_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="630"><td class="num" id="LN630">630</td><td class="line"> gtk_bin_get_child (<span class='macro'>GTK_BIN (viewport)<span class='macro_popup'>((((GtkBin*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((viewport)), ((gtk_bin_get_type ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="631"><td class="num" id="LN631">631</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="632"><td class="num" id="LN632">632</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="633"><td class="num" id="LN633">633</td><td class="line"> <span class='comment'>/* Add grid to window. */</span></td></tr>
+<tr class="codeline" data-linenumber="634"><td class="num" id="LN634">634</td><td class="line"> gtk_scrolled_window_add_with_viewport</td></tr>
+<tr class="codeline" data-linenumber="635"><td class="num" id="LN635">635</td><td class="line"> (<span class='macro'>GTK_SCROLLED_WINDOW (editor-&gt;priv-&gt;scrolled_window)<span class='macro_popup'>((((GtkScrolledWindow*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((editor-&gt;priv-&gt;scrolled_window)), ((gtk_scrolled_window_get_type<br> ()))))))</span></span>, grid);</td></tr>
+<tr class="codeline" data-linenumber="636"><td class="num" id="LN636">636</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="637"><td class="num" id="LN637">637</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="638"><td class="num" id="LN638">638</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="639"><td class="num" id="LN639">639</td><td class="line">setup_editor (EggToolbarEditor *editor)</td></tr>
+<tr class="codeline" data-linenumber="640"><td class="num" id="LN640">640</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="641"><td class="num" id="LN641">641</td><td class="line"> GtkWidget *scrolled_window;</td></tr>
+<tr class="codeline" data-linenumber="642"><td class="num" id="LN642">642</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="643"><td class="num" id="LN643">643</td><td class="line"> gtk_orientable_set_orientation (<span class='macro'>GTK_ORIENTABLE (editor)<span class='macro_popup'>((((GtkOrientable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((editor)), ((gtk_orientable_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="644"><td class="num" id="LN644">644</td><td class="line"> GTK_ORIENTATION_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="645"><td class="num" id="LN645">645</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="646"><td class="num" id="LN646">646</td><td class="line"> gtk_container_set_border_width (<span class='macro'>GTK_CONTAINER (editor)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((editor)), ((gtk_container_get_type ()))))))</span></span>, 12);</td></tr>
+<tr class="codeline" data-linenumber="647"><td class="num" id="LN647">647</td><td class="line"> scrolled_window = gtk_scrolled_window_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="648"><td class="num" id="LN648">648</td><td class="line"> editor-&gt;priv-&gt;scrolled_window = scrolled_window;</td></tr>
+<tr class="codeline" data-linenumber="649"><td class="num" id="LN649">649</td><td class="line"> gtk_widget_show (scrolled_window);</td></tr>
+<tr class="codeline" data-linenumber="650"><td class="num" id="LN650">650</td><td class="line"> gtk_scrolled_window_set_policy (<span class='macro'>GTK_SCROLLED_WINDOW (scrolled_window)<span class='macro_popup'>((((GtkScrolledWindow*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((scrolled_window)), ((gtk_scrolled_window_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="651"><td class="num" id="LN651">651</td><td class="line"> GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);</td></tr>
+<tr class="codeline" data-linenumber="652"><td class="num" id="LN652">652</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (editor)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((editor)), ((gtk_box_get_type ()))))))</span></span>, scrolled_window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="653"><td class="num" id="LN653">653</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="654"><td class="num" id="LN654">654</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="655"><td class="num" id="LN655">655</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="656"><td class="num" id="LN656">656</td><td class="line">egg_toolbar_editor_init (EggToolbarEditor *t)</td></tr>
+<tr class="codeline" data-linenumber="657"><td class="num" id="LN657">657</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="658"><td class="num" id="LN658">658</td><td class="line"> t-&gt;priv = egg_toolbar_editor_get_instance_private (t);</td></tr>
+<tr class="codeline" data-linenumber="659"><td class="num" id="LN659">659</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="660"><td class="num" id="LN660">660</td><td class="line"> t-&gt;priv-&gt;manager = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="661"><td class="num" id="LN661">661</td><td class="line"> t-&gt;priv-&gt;actions_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="662"><td class="num" id="LN662">662</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="663"><td class="num" id="LN663">663</td><td class="line"> setup_editor (t);</td></tr>
+<tr class="codeline" data-linenumber="664"><td class="num" id="LN664">664</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="665"><td class="num" id="LN665">665</td><td class="line"> </td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-931eff.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-931eff.html
new file mode 100644
index 0000000..48dd91f
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-931eff.html
@@ -0,0 +1,1126 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-transform.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC This statement is never executed -->
+
+<!-- BUGTYPE Unreachable code -->
+
+<!-- BUGCATEGORY Unused code -->
+
+<!-- BUGFILE /rootdir/src/eom-transform.c -->
+
+<!-- FILENAME eom-transform.c -->
+
+<!-- FUNCTIONNAME eom_transform_get_transform_type -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 931eff9660dadf71e58ce8d5dba27a41 -->
+
+<!-- BUGLINE 423 -->
+
+<!-- BUGCOLUMN 10 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-transform.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 423, column 10</a><br />This statement is never executed</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-transform.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-transform.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"423": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of MATE -- Affine Transformations</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2003-2009 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Portions based on code from libart_lgpl by Raph Levien.</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software Foundation,</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;time.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;math.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include &lt;cairo/cairo.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include "eom-transform.h"</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include "eom-jobs.h"</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='comment'>/* The number of progress updates per transformation */</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_TRANSFORM_N_PROG_UPDATES<span class='macro_popup'>20</span></span> 20</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='keyword'>struct</span> _EomTransformPrivate {</td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> cairo_matrix_t affine;</td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"> gdouble x;</td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> gdouble y;</td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line">} EomPoint;</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='comment'>/* Convert degrees into radians */</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_DEG_TO_RAD(degree)<span class='macro_popup'>((degree) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span> ((degree) * (<span class='macro'>G_PI<span class='macro_popup'>3.1415926535897932384626433832795028841971693993751</span></span>/180.0))</span></td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EomTransform, eom_transform, G_TYPE_OBJECT)<span class='macro_popup'>static void eom_transform_init (EomTransform *self); static void<br> eom_transform_class_init (EomTransformClass *klass); static GType<br> eom_transform_get_type_once (void); static gpointer eom_transform_parent_class<br> = ((void*)0); static gint EomTransform_private_offset; static<br> void eom_transform_class_intern_init (gpointer klass) { eom_transform_parent_class<br> = g_type_class_peek_parent (klass); if (EomTransform_private_offset<br> != 0) g_type_class_adjust_private_offset (klass, &amp;EomTransform_private_offset<br>); eom_transform_class_init ((EomTransformClass*) klass); } __attribute__<br> ((__unused__)) static inline gpointer eom_transform_get_instance_private<br> (EomTransform *self) { return (((gpointer) ((guint8*) (self)<br> + (glong) (EomTransform_private_offset)))); } GType eom_transform_get_type<br> (void) { static gsize static_g_define_type_id = 0; if ((__extension__<br> ({ _Static_assert (sizeof *(&amp;static_g_define_type_id) ==<br> sizeof (gpointer), "Expression evaluates to false"); (void) (<br>0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0));<br> (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = eom_transform_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType eom_transform_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> (((GType) ((20) &lt;&lt; (2))), g_intern_static_string ("EomTransform"<br>), sizeof (EomTransformClass), (GClassInitFunc)(void (*)(void<br>)) eom_transform_class_intern_init, sizeof (EomTransform), (GInstanceInitFunc<br>)(void (*)(void)) eom_transform_init, (GTypeFlags) 0); { {{ EomTransform_private_offset<br> = g_type_add_instance_private (g_define_type_id, sizeof (EomTransformPrivate<br>)); };} } return g_define_type_id; }</span></span></td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line">eom_transform_init (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> trans-&gt;priv = eom_transform_get_instance_private (trans);</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line">eom_transform_class_init (EomTransformClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> <span class='comment'>* eom_transform_apply:</span></td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> <span class='comment'>* @pixbuf: a #GdkPixbuf</span></td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> <span class='comment'>* @job: a #EomJob</span></td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> <span class='comment'>* Applies the transformation in @trans to @pixbuf, setting its progress in @job.</span></td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> <span class='comment'>* Returns: (transfer full): A new #GdkPixbuf with the transformation applied.</span></td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line">GdkPixbuf*</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line">eom_transform_apply (EomTransform *trans, GdkPixbuf *pixbuf, EomJob *job)</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> EomPoint dest_top_left;</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> EomPoint dest_bottom_right;</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> EomPoint vertices[4] = { {0, 0}, {1, 0}, {1, 1}, {0, 1} };</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> <span class='keyword'>double</span> r_det;</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> <span class='keyword'>int</span> inverted [6];</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> EomPoint dest;</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> <span class='keyword'>int</span> src_width;</td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>int</span> src_height;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> <span class='keyword'>int</span> src_rowstride;</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> <span class='keyword'>int</span> src_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> guchar *src_buffer;</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> GdkPixbuf *dest_pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> <span class='keyword'>int</span> dest_width;</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> <span class='keyword'>int</span> dest_height;</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> <span class='keyword'>int</span> dest_rowstride;</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> <span class='keyword'>int</span> dest_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> guchar *dest_buffer;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> guchar *src_pos;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> guchar *dest_pos;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> <span class='keyword'>int</span> dx, dy, sx, sy;</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> <span class='keyword'>int</span> i, x, y;</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> <span class='keyword'>int</span> progress_delta;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> <span class='macro'>g_return_val_if_fail (pixbuf != NULL, NULL)<span class='macro_popup'>do { if ((pixbuf != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "pixbuf != NULL"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> <span class='macro'>g_object_ref (pixbuf)<span class='macro_popup'>((__typeof__ (pixbuf)) (g_object_ref) (pixbuf))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> src_width = gdk_pixbuf_get_width (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> src_height = gdk_pixbuf_get_height (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> src_rowstride = gdk_pixbuf_get_rowstride (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> src_n_channels = gdk_pixbuf_get_n_channels (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> src_buffer = gdk_pixbuf_get_pixels (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> <span class='comment'>/* find out the dimension of the destination pixbuf */</span></td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> dest_top_left.x = 100000;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> dest_top_left.y = 100000;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> dest_bottom_right.x = -100000;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> dest_bottom_right.y = -100000;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; 4; i++) {</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> dest.x = vertices[i].x * (src_width - 1);</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> dest.y = vertices[i].y * (src_height -1);</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> cairo_matrix_transform_point (&amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> &amp;dest.x, &amp;dest.y);</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> dest_top_left.x = <span class='macro'>MIN (dest_top_left.x, dest.x)<span class='macro_popup'>(((dest_top_left.x) &lt; (dest.x)) ? (dest_top_left.x) : (dest<br>.x))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> dest_top_left.y = <span class='macro'>MIN (dest_top_left.y, dest.y)<span class='macro_popup'>(((dest_top_left.y) &lt; (dest.y)) ? (dest_top_left.y) : (dest<br>.y))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> dest_bottom_right.x = <span class='macro'>MAX (dest_bottom_right.x, dest.x)<span class='macro_popup'>(((dest_bottom_right.x) &gt; (dest.x)) ? (dest_bottom_right.x<br>) : (dest.x))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> dest_bottom_right.y = <span class='macro'>MAX (dest_bottom_right.y, dest.y)<span class='macro_popup'>(((dest_bottom_right.y) &gt; (dest.y)) ? (dest_bottom_right.y<br>) : (dest.y))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> <span class='comment'>/* create the resulting pixbuf */</span></td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> dest_width = abs ((<span class='keyword'>int</span>) (dest_bottom_right.x - dest_top_left.x + 1));</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> dest_height = abs ((<span class='keyword'>int</span>) (dest_bottom_right.y - dest_top_left.y + 1));</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> dest_pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB,</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> gdk_pixbuf_get_has_alpha (pixbuf),</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> gdk_pixbuf_get_bits_per_sample (pixbuf),</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> dest_width,</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> dest_height);</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> dest_rowstride = gdk_pixbuf_get_rowstride (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> dest_n_channels = gdk_pixbuf_get_n_channels (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> dest_buffer = gdk_pixbuf_get_pixels (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> <span class='comment'>/* invert the matrix so that we can compute the source pixel</span></td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> <span class='comment'>from the target pixel and convert the values to integer</span></td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> <span class='comment'>ones (faster!) FIXME: Maybe we can do some more</span></td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> <span class='comment'>improvements by using special mmx/3dnow features if</span></td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> <span class='comment'>available.</span></td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> r_det = 1.0 / (trans-&gt;priv-&gt;affine.xx * trans-&gt;priv-&gt;affine.yy - trans-&gt;priv-&gt;affine.yx * trans-&gt;priv-&gt;affine.xy);</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> inverted[0] = trans-&gt;priv-&gt;affine.yy * r_det;</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> inverted[1] = -trans-&gt;priv-&gt;affine.yx * r_det;</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> inverted[2] = -trans-&gt;priv-&gt;affine.xy * r_det;</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> inverted[3] = trans-&gt;priv-&gt;affine.xx * r_det;</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> inverted[4] = -trans-&gt;priv-&gt;affine.x0 * inverted[0] - trans-&gt;priv-&gt;affine.y0 * inverted[2];</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> inverted[5] = -trans-&gt;priv-&gt;affine.x0 * inverted[1] - trans-&gt;priv-&gt;affine.y0 * inverted[3];</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> progress_delta = <span class='macro'>MAX (1, dest_height / EOM_TRANSFORM_N_PROG_UPDATES)<span class='macro_popup'>(((1) &gt; (dest_height / 20)) ? (1) : (dest_height / 20))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> <span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> <span class='comment'>* for every destination pixel (dx,dy) compute the source pixel (sx, sy)</span></td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> <span class='comment'>* and copy the color values</span></td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='keyword'>for</span> (y = 0, dy = dest_top_left.y; y &lt; dest_height; y++, dy++) {</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>for</span> (x = 0, dx = dest_top_left.x; x &lt; dest_width; x++, dx++) {</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> sx = dx * inverted[0] + dy * inverted[2] + inverted[4];</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> sy = dx * inverted[1] + dy * inverted[3] + inverted[5];</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> <span class='keyword'>if</span> (sx &gt;= 0 &amp;&amp; sx &lt; src_width &amp;&amp; sy &gt;= 0 &amp;&amp; sy &lt; src_height) {</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> src_pos = src_buffer + sy * src_rowstride + sx * src_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> dest_pos = dest_buffer + y * dest_rowstride + x * dest_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; src_n_channels; i++) {</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> dest_pos[i] = src_pos[i];</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> <span class='keyword'>if</span> (job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; y % progress_delta == 0) {</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> gfloat progress;</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> progress = (gfloat) (y + 1.0) / (gfloat) dest_height;</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> eom_job_set_progress (job, progress);</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> g_object_unref (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> <span class='keyword'>if</span> (job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> eom_job_set_progress (job, 1.0);</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> <span class='keyword'>return</span> dest_pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line">_eom_cairo_matrix_copy (<span class='keyword'>const</span> cairo_matrix_t *src, cairo_matrix_t *dest)</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> cairo_matrix_init (dest, src-&gt;xx, src-&gt;yx, src-&gt;xy, src-&gt;yy, src-&gt;x0, src-&gt;y0);</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span> 1e-6</span></td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL(a,b)<span class='macro_popup'>(fabs (a - b) &lt; 1e-6)</span></span> (fabs (a - b) &lt; <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"><span class='comment'>/* art_affine_equal modified to work with cairo_matrix_t */</span></td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line">_eom_cairo_matrix_equal (<span class='keyword'>const</span> cairo_matrix_t *a, <span class='keyword'>const</span> cairo_matrix_t *b)</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> <span class='keyword'>return</span> (<span class='macro'>DOUBLE_EQUAL (a-&gt;xx, b-&gt;xx)<span class='macro_popup'>(fabs (a-&gt;xx - b-&gt;xx) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;yx, b-&gt;yx)<span class='macro_popup'>(fabs (a-&gt;yx - b-&gt;yx) &lt; 1e-6)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (a-&gt;xy, b-&gt;xy)<span class='macro_popup'>(fabs (a-&gt;xy - b-&gt;xy) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;yy, b-&gt;yy)<span class='macro_popup'>(fabs (a-&gt;yy - b-&gt;yy) &lt; 1e-6)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (a-&gt;x0, b-&gt;x0)<span class='macro_popup'>(fabs (a-&gt;x0 - b-&gt;x0) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;y0, b-&gt;y0)<span class='macro_popup'>(fabs (a-&gt;y0 - b-&gt;y0) &lt; 1e-6)</span></span> );</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"><span class='comment'>/* art_affine_flip modified to work with cairo_matrix_t */</span></td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line">_eom_cairo_matrix_flip (cairo_matrix_t *dst, <span class='keyword'>const</span> cairo_matrix_t *src, gboolean horiz, gboolean vert)</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> dst-&gt;xx = horiz ? -src-&gt;xx : src-&gt;xx;</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> dst-&gt;yx = horiz ? -src-&gt;yx : src-&gt;yx;</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> dst-&gt;xy = vert ? -src-&gt;xy : src-&gt;xy;</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> dst-&gt;yy = vert ? -src-&gt;yy : src-&gt;yy;</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> dst-&gt;x0 = horiz ? -src-&gt;x0 : src-&gt;x0;</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> dst-&gt;y0 = vert ? -src-&gt;y0 : src-&gt;y0;</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> <span class='comment'>* eom_transform_reverse:</span></td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> <span class='comment'>* Creates the reverse transformation of @trans</span></td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> <span class='comment'>* Returns: (transfer full): a new transformation</span></td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line">eom_transform_reverse (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> EomTransform *reverse;</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> reverse = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> _eom_cairo_matrix_copy (&amp;trans-&gt;priv-&gt;affine, &amp;reverse-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='macro'>g_return_val_if_fail (cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine) == CAIRO_STATUS_SUCCESS, reverse)<span class='macro_popup'>do { if ((cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine<br>) == CAIRO_STATUS_SUCCESS)) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine) == CAIRO_STATUS_SUCCESS"<br>); return (reverse); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> <span class='keyword'>return</span> reverse;</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> <span class='comment'>* eom_transform_compose:</span></td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='comment'>* @compose: another #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> <span class='comment'>* Returns: (transfer full): a new transform</span></td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line">eom_transform_compose (EomTransform *trans, EomTransform *compose)</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> EomTransform *composition;</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (compose), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((compose)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (compose)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> composition = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> cairo_matrix_multiply (&amp;composition-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> &amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> &amp;compose-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> <span class='keyword'>return</span> composition;</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line">eom_transform_is_identity (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> <span class='keyword'>static</span> <span class='keyword'>const</span> cairo_matrix_t identity = { 1, 0, 0, 1, 0, 0 };</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> <span class='keyword'>return</span> _eom_cairo_matrix_equal (&amp;identity, &amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line">eom_transform_identity_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> cairo_matrix_init_identity (&amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line">eom_transform_rotate_new (<span class='keyword'>int</span> degree)</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> cairo_matrix_init_rotate (&amp;trans-&gt;priv-&gt;affine, <span class='macro'>EOM_DEG_TO_RAD(degree)<span class='macro_popup'>((degree) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line">eom_transform_flip_new (EomTransformType type)</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> gboolean horiz, vert;</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> cairo_matrix_init_identity (&amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> horiz = (type == EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> vert = (type == EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> _eom_cairo_matrix_flip (&amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> &amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> horiz, vert);</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line">eom_transform_new (EomTransformType type)</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> EomTransform *trans = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> EomTransform *temp1 = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *temp2 = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> <span class='keyword'>switch</span> (type) {</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_NONE:</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> trans = eom_transform_identity_new ();</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_HORIZONTAL:</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> trans = eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_180:</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> trans = eom_transform_rotate_new (180);</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_VERTICAL:</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> trans = eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSPOSE:</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> temp1 = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> temp2 = eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> trans = eom_transform_compose (temp1, temp2);</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> g_object_unref (temp1);</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> g_object_unref (temp2);</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_90:</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> trans = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSVERSE:</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> temp1 = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> temp2 = eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> trans = eom_transform_compose (temp1, temp2);</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> g_object_unref (temp1);</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> g_object_unref (temp2);</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_270:</td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> trans = eom_transform_rotate_new (270);</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> trans = eom_transform_identity_new ();</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line">EomTransformType</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line">eom_transform_get_transform_type (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> cairo_matrix_t affine, a1, a2;</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> EomTransformPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), EOM_TRANSFORM_NONE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (EOM_TRANSFORM_NONE);<br> } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> priv = trans-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(90)<span class='macro_popup'>((90) * (3.1415926535897932384626433832795028841971693993751/<br>180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_90;</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(180)<span class='macro_popup'>((180) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_180;</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(270)<span class='macro_popup'>((270) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_270;</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> cairo_matrix_init_identity (&amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> _eom_cairo_matrix_flip (&amp;affine, &amp;affine, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_FLIP_HORIZONTAL;</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> cairo_matrix_init_identity (&amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> _eom_cairo_matrix_flip (&amp;affine, &amp;affine, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_FLIP_VERTICAL;</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> cairo_matrix_init_rotate (&amp;a1, <span class='macro'>EOM_DEG_TO_RAD(90)<span class='macro_popup'>((90) * (3.1415926535897932384626433832795028841971693993751/<br>180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> cairo_matrix_init_identity (&amp;a2);</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> _eom_cairo_matrix_flip (&amp;a2, &amp;a2, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> cairo_matrix_multiply(&amp;affine, &amp;a1, &amp;a2);</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> <span class='keyword'>return</span> <span class="mrange">EOM_TRANSFORM_TRANSPOSE</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:24ex">This statement is never executed</div></td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> <span class='comment'>/* A transversion is a 180° rotation followed by a transposition */</span></td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> <span class='comment'>/* Reuse the transposition from the previous step for this. */</span></td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> cairo_matrix_init_rotate (&amp;a1, <span class='macro'>EOM_DEG_TO_RAD(180)<span class='macro_popup'>((180) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> cairo_matrix_multiply(&amp;a2, &amp;a1, &amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;a2, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_TRANSVERSE;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_NONE;</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line">eom_transform_get_affine (EomTransform *trans, cairo_matrix_t *affine)</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> _eom_cairo_matrix_copy (&amp;trans-&gt;priv-&gt;affine, affine);</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> </td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-9380a6.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-9380a6.html
new file mode 100644
index 0000000..ef6c13d
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-9380a6.html
@@ -0,0 +1,1126 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-transform.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC This statement is never executed -->
+
+<!-- BUGTYPE Unreachable code -->
+
+<!-- BUGCATEGORY Unused code -->
+
+<!-- BUGFILE /rootdir/src/eom-transform.c -->
+
+<!-- FILENAME eom-transform.c -->
+
+<!-- FUNCTIONNAME eom_transform_get_transform_type -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 9380a6228b890c17bd99b71fc3e2f4cb -->
+
+<!-- BUGLINE 409 -->
+
+<!-- BUGCOLUMN 10 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-transform.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 409, column 10</a><br />This statement is never executed</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-transform.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-transform.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"409": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of MATE -- Affine Transformations</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2003-2009 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Portions based on code from libart_lgpl by Raph Levien.</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software Foundation,</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;time.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;math.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include &lt;cairo/cairo.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include "eom-transform.h"</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include "eom-jobs.h"</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='comment'>/* The number of progress updates per transformation */</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_TRANSFORM_N_PROG_UPDATES<span class='macro_popup'>20</span></span> 20</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='keyword'>struct</span> _EomTransformPrivate {</td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> cairo_matrix_t affine;</td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"> gdouble x;</td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> gdouble y;</td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line">} EomPoint;</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='comment'>/* Convert degrees into radians */</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_DEG_TO_RAD(degree)<span class='macro_popup'>((degree) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span> ((degree) * (<span class='macro'>G_PI<span class='macro_popup'>3.1415926535897932384626433832795028841971693993751</span></span>/180.0))</span></td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EomTransform, eom_transform, G_TYPE_OBJECT)<span class='macro_popup'>static void eom_transform_init (EomTransform *self); static void<br> eom_transform_class_init (EomTransformClass *klass); static GType<br> eom_transform_get_type_once (void); static gpointer eom_transform_parent_class<br> = ((void*)0); static gint EomTransform_private_offset; static<br> void eom_transform_class_intern_init (gpointer klass) { eom_transform_parent_class<br> = g_type_class_peek_parent (klass); if (EomTransform_private_offset<br> != 0) g_type_class_adjust_private_offset (klass, &amp;EomTransform_private_offset<br>); eom_transform_class_init ((EomTransformClass*) klass); } __attribute__<br> ((__unused__)) static inline gpointer eom_transform_get_instance_private<br> (EomTransform *self) { return (((gpointer) ((guint8*) (self)<br> + (glong) (EomTransform_private_offset)))); } GType eom_transform_get_type<br> (void) { static gsize static_g_define_type_id = 0; if ((__extension__<br> ({ _Static_assert (sizeof *(&amp;static_g_define_type_id) ==<br> sizeof (gpointer), "Expression evaluates to false"); (void) (<br>0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0));<br> (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = eom_transform_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType eom_transform_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> (((GType) ((20) &lt;&lt; (2))), g_intern_static_string ("EomTransform"<br>), sizeof (EomTransformClass), (GClassInitFunc)(void (*)(void<br>)) eom_transform_class_intern_init, sizeof (EomTransform), (GInstanceInitFunc<br>)(void (*)(void)) eom_transform_init, (GTypeFlags) 0); { {{ EomTransform_private_offset<br> = g_type_add_instance_private (g_define_type_id, sizeof (EomTransformPrivate<br>)); };} } return g_define_type_id; }</span></span></td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line">eom_transform_init (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> trans-&gt;priv = eom_transform_get_instance_private (trans);</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line">eom_transform_class_init (EomTransformClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> <span class='comment'>* eom_transform_apply:</span></td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> <span class='comment'>* @pixbuf: a #GdkPixbuf</span></td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> <span class='comment'>* @job: a #EomJob</span></td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> <span class='comment'>* Applies the transformation in @trans to @pixbuf, setting its progress in @job.</span></td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> <span class='comment'>* Returns: (transfer full): A new #GdkPixbuf with the transformation applied.</span></td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line">GdkPixbuf*</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line">eom_transform_apply (EomTransform *trans, GdkPixbuf *pixbuf, EomJob *job)</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> EomPoint dest_top_left;</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> EomPoint dest_bottom_right;</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> EomPoint vertices[4] = { {0, 0}, {1, 0}, {1, 1}, {0, 1} };</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> <span class='keyword'>double</span> r_det;</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> <span class='keyword'>int</span> inverted [6];</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> EomPoint dest;</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> <span class='keyword'>int</span> src_width;</td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>int</span> src_height;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> <span class='keyword'>int</span> src_rowstride;</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> <span class='keyword'>int</span> src_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> guchar *src_buffer;</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> GdkPixbuf *dest_pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> <span class='keyword'>int</span> dest_width;</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> <span class='keyword'>int</span> dest_height;</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> <span class='keyword'>int</span> dest_rowstride;</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> <span class='keyword'>int</span> dest_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> guchar *dest_buffer;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> guchar *src_pos;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> guchar *dest_pos;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> <span class='keyword'>int</span> dx, dy, sx, sy;</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> <span class='keyword'>int</span> i, x, y;</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> <span class='keyword'>int</span> progress_delta;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> <span class='macro'>g_return_val_if_fail (pixbuf != NULL, NULL)<span class='macro_popup'>do { if ((pixbuf != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "pixbuf != NULL"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> <span class='macro'>g_object_ref (pixbuf)<span class='macro_popup'>((__typeof__ (pixbuf)) (g_object_ref) (pixbuf))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> src_width = gdk_pixbuf_get_width (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> src_height = gdk_pixbuf_get_height (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> src_rowstride = gdk_pixbuf_get_rowstride (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> src_n_channels = gdk_pixbuf_get_n_channels (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> src_buffer = gdk_pixbuf_get_pixels (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> <span class='comment'>/* find out the dimension of the destination pixbuf */</span></td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> dest_top_left.x = 100000;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> dest_top_left.y = 100000;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> dest_bottom_right.x = -100000;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> dest_bottom_right.y = -100000;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; 4; i++) {</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> dest.x = vertices[i].x * (src_width - 1);</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> dest.y = vertices[i].y * (src_height -1);</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> cairo_matrix_transform_point (&amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> &amp;dest.x, &amp;dest.y);</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> dest_top_left.x = <span class='macro'>MIN (dest_top_left.x, dest.x)<span class='macro_popup'>(((dest_top_left.x) &lt; (dest.x)) ? (dest_top_left.x) : (dest<br>.x))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> dest_top_left.y = <span class='macro'>MIN (dest_top_left.y, dest.y)<span class='macro_popup'>(((dest_top_left.y) &lt; (dest.y)) ? (dest_top_left.y) : (dest<br>.y))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> dest_bottom_right.x = <span class='macro'>MAX (dest_bottom_right.x, dest.x)<span class='macro_popup'>(((dest_bottom_right.x) &gt; (dest.x)) ? (dest_bottom_right.x<br>) : (dest.x))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> dest_bottom_right.y = <span class='macro'>MAX (dest_bottom_right.y, dest.y)<span class='macro_popup'>(((dest_bottom_right.y) &gt; (dest.y)) ? (dest_bottom_right.y<br>) : (dest.y))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> <span class='comment'>/* create the resulting pixbuf */</span></td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> dest_width = abs ((<span class='keyword'>int</span>) (dest_bottom_right.x - dest_top_left.x + 1));</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> dest_height = abs ((<span class='keyword'>int</span>) (dest_bottom_right.y - dest_top_left.y + 1));</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> dest_pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB,</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> gdk_pixbuf_get_has_alpha (pixbuf),</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> gdk_pixbuf_get_bits_per_sample (pixbuf),</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> dest_width,</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> dest_height);</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> dest_rowstride = gdk_pixbuf_get_rowstride (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> dest_n_channels = gdk_pixbuf_get_n_channels (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> dest_buffer = gdk_pixbuf_get_pixels (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> <span class='comment'>/* invert the matrix so that we can compute the source pixel</span></td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> <span class='comment'>from the target pixel and convert the values to integer</span></td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> <span class='comment'>ones (faster!) FIXME: Maybe we can do some more</span></td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> <span class='comment'>improvements by using special mmx/3dnow features if</span></td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> <span class='comment'>available.</span></td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> r_det = 1.0 / (trans-&gt;priv-&gt;affine.xx * trans-&gt;priv-&gt;affine.yy - trans-&gt;priv-&gt;affine.yx * trans-&gt;priv-&gt;affine.xy);</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> inverted[0] = trans-&gt;priv-&gt;affine.yy * r_det;</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> inverted[1] = -trans-&gt;priv-&gt;affine.yx * r_det;</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> inverted[2] = -trans-&gt;priv-&gt;affine.xy * r_det;</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> inverted[3] = trans-&gt;priv-&gt;affine.xx * r_det;</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> inverted[4] = -trans-&gt;priv-&gt;affine.x0 * inverted[0] - trans-&gt;priv-&gt;affine.y0 * inverted[2];</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> inverted[5] = -trans-&gt;priv-&gt;affine.x0 * inverted[1] - trans-&gt;priv-&gt;affine.y0 * inverted[3];</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> progress_delta = <span class='macro'>MAX (1, dest_height / EOM_TRANSFORM_N_PROG_UPDATES)<span class='macro_popup'>(((1) &gt; (dest_height / 20)) ? (1) : (dest_height / 20))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> <span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> <span class='comment'>* for every destination pixel (dx,dy) compute the source pixel (sx, sy)</span></td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> <span class='comment'>* and copy the color values</span></td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='keyword'>for</span> (y = 0, dy = dest_top_left.y; y &lt; dest_height; y++, dy++) {</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>for</span> (x = 0, dx = dest_top_left.x; x &lt; dest_width; x++, dx++) {</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> sx = dx * inverted[0] + dy * inverted[2] + inverted[4];</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> sy = dx * inverted[1] + dy * inverted[3] + inverted[5];</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> <span class='keyword'>if</span> (sx &gt;= 0 &amp;&amp; sx &lt; src_width &amp;&amp; sy &gt;= 0 &amp;&amp; sy &lt; src_height) {</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> src_pos = src_buffer + sy * src_rowstride + sx * src_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> dest_pos = dest_buffer + y * dest_rowstride + x * dest_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; src_n_channels; i++) {</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> dest_pos[i] = src_pos[i];</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> <span class='keyword'>if</span> (job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; y % progress_delta == 0) {</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> gfloat progress;</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> progress = (gfloat) (y + 1.0) / (gfloat) dest_height;</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> eom_job_set_progress (job, progress);</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> g_object_unref (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> <span class='keyword'>if</span> (job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> eom_job_set_progress (job, 1.0);</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> <span class='keyword'>return</span> dest_pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line">_eom_cairo_matrix_copy (<span class='keyword'>const</span> cairo_matrix_t *src, cairo_matrix_t *dest)</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> cairo_matrix_init (dest, src-&gt;xx, src-&gt;yx, src-&gt;xy, src-&gt;yy, src-&gt;x0, src-&gt;y0);</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span> 1e-6</span></td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL(a,b)<span class='macro_popup'>(fabs (a - b) &lt; 1e-6)</span></span> (fabs (a - b) &lt; <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"><span class='comment'>/* art_affine_equal modified to work with cairo_matrix_t */</span></td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line">_eom_cairo_matrix_equal (<span class='keyword'>const</span> cairo_matrix_t *a, <span class='keyword'>const</span> cairo_matrix_t *b)</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> <span class='keyword'>return</span> (<span class='macro'>DOUBLE_EQUAL (a-&gt;xx, b-&gt;xx)<span class='macro_popup'>(fabs (a-&gt;xx - b-&gt;xx) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;yx, b-&gt;yx)<span class='macro_popup'>(fabs (a-&gt;yx - b-&gt;yx) &lt; 1e-6)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (a-&gt;xy, b-&gt;xy)<span class='macro_popup'>(fabs (a-&gt;xy - b-&gt;xy) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;yy, b-&gt;yy)<span class='macro_popup'>(fabs (a-&gt;yy - b-&gt;yy) &lt; 1e-6)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (a-&gt;x0, b-&gt;x0)<span class='macro_popup'>(fabs (a-&gt;x0 - b-&gt;x0) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;y0, b-&gt;y0)<span class='macro_popup'>(fabs (a-&gt;y0 - b-&gt;y0) &lt; 1e-6)</span></span> );</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"><span class='comment'>/* art_affine_flip modified to work with cairo_matrix_t */</span></td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line">_eom_cairo_matrix_flip (cairo_matrix_t *dst, <span class='keyword'>const</span> cairo_matrix_t *src, gboolean horiz, gboolean vert)</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> dst-&gt;xx = horiz ? -src-&gt;xx : src-&gt;xx;</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> dst-&gt;yx = horiz ? -src-&gt;yx : src-&gt;yx;</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> dst-&gt;xy = vert ? -src-&gt;xy : src-&gt;xy;</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> dst-&gt;yy = vert ? -src-&gt;yy : src-&gt;yy;</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> dst-&gt;x0 = horiz ? -src-&gt;x0 : src-&gt;x0;</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> dst-&gt;y0 = vert ? -src-&gt;y0 : src-&gt;y0;</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> <span class='comment'>* eom_transform_reverse:</span></td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> <span class='comment'>* Creates the reverse transformation of @trans</span></td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> <span class='comment'>* Returns: (transfer full): a new transformation</span></td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line">eom_transform_reverse (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> EomTransform *reverse;</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> reverse = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> _eom_cairo_matrix_copy (&amp;trans-&gt;priv-&gt;affine, &amp;reverse-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='macro'>g_return_val_if_fail (cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine) == CAIRO_STATUS_SUCCESS, reverse)<span class='macro_popup'>do { if ((cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine<br>) == CAIRO_STATUS_SUCCESS)) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine) == CAIRO_STATUS_SUCCESS"<br>); return (reverse); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> <span class='keyword'>return</span> reverse;</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> <span class='comment'>* eom_transform_compose:</span></td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='comment'>* @compose: another #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> <span class='comment'>* Returns: (transfer full): a new transform</span></td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line">eom_transform_compose (EomTransform *trans, EomTransform *compose)</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> EomTransform *composition;</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (compose), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((compose)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (compose)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> composition = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> cairo_matrix_multiply (&amp;composition-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> &amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> &amp;compose-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> <span class='keyword'>return</span> composition;</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line">eom_transform_is_identity (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> <span class='keyword'>static</span> <span class='keyword'>const</span> cairo_matrix_t identity = { 1, 0, 0, 1, 0, 0 };</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> <span class='keyword'>return</span> _eom_cairo_matrix_equal (&amp;identity, &amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line">eom_transform_identity_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> cairo_matrix_init_identity (&amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line">eom_transform_rotate_new (<span class='keyword'>int</span> degree)</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> cairo_matrix_init_rotate (&amp;trans-&gt;priv-&gt;affine, <span class='macro'>EOM_DEG_TO_RAD(degree)<span class='macro_popup'>((degree) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line">eom_transform_flip_new (EomTransformType type)</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> gboolean horiz, vert;</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> cairo_matrix_init_identity (&amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> horiz = (type == EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> vert = (type == EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> _eom_cairo_matrix_flip (&amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> &amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> horiz, vert);</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line">eom_transform_new (EomTransformType type)</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> EomTransform *trans = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> EomTransform *temp1 = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *temp2 = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> <span class='keyword'>switch</span> (type) {</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_NONE:</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> trans = eom_transform_identity_new ();</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_HORIZONTAL:</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> trans = eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_180:</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> trans = eom_transform_rotate_new (180);</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_VERTICAL:</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> trans = eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSPOSE:</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> temp1 = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> temp2 = eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> trans = eom_transform_compose (temp1, temp2);</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> g_object_unref (temp1);</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> g_object_unref (temp2);</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_90:</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> trans = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSVERSE:</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> temp1 = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> temp2 = eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> trans = eom_transform_compose (temp1, temp2);</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> g_object_unref (temp1);</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> g_object_unref (temp2);</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_270:</td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> trans = eom_transform_rotate_new (270);</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> trans = eom_transform_identity_new ();</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line">EomTransformType</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line">eom_transform_get_transform_type (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> cairo_matrix_t affine, a1, a2;</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> EomTransformPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), EOM_TRANSFORM_NONE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (EOM_TRANSFORM_NONE);<br> } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> priv = trans-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(90)<span class='macro_popup'>((90) * (3.1415926535897932384626433832795028841971693993751/<br>180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_90;</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(180)<span class='macro_popup'>((180) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_180;</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(270)<span class='macro_popup'>((270) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_270;</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> cairo_matrix_init_identity (&amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> _eom_cairo_matrix_flip (&amp;affine, &amp;affine, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> <span class='keyword'>return</span> <span class="mrange">EOM_TRANSFORM_FLIP_HORIZONTAL</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:24ex">This statement is never executed</div></td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> cairo_matrix_init_identity (&amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> _eom_cairo_matrix_flip (&amp;affine, &amp;affine, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_FLIP_VERTICAL;</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> cairo_matrix_init_rotate (&amp;a1, <span class='macro'>EOM_DEG_TO_RAD(90)<span class='macro_popup'>((90) * (3.1415926535897932384626433832795028841971693993751/<br>180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> cairo_matrix_init_identity (&amp;a2);</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> _eom_cairo_matrix_flip (&amp;a2, &amp;a2, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> cairo_matrix_multiply(&amp;affine, &amp;a1, &amp;a2);</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_TRANSPOSE;</td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> <span class='comment'>/* A transversion is a 180° rotation followed by a transposition */</span></td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> <span class='comment'>/* Reuse the transposition from the previous step for this. */</span></td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> cairo_matrix_init_rotate (&amp;a1, <span class='macro'>EOM_DEG_TO_RAD(180)<span class='macro_popup'>((180) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> cairo_matrix_multiply(&amp;a2, &amp;a1, &amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;a2, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_TRANSVERSE;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_NONE;</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line">eom_transform_get_affine (EomTransform *trans, cairo_matrix_t *affine)</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> _eom_cairo_matrix_copy (&amp;trans-&gt;priv-&gt;affine, affine);</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> </td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-97b21d.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-97b21d.html
new file mode 100644
index 0000000..e3811c5
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-97b21d.html
@@ -0,0 +1,1126 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-transform.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC This statement is never executed -->
+
+<!-- BUGTYPE Unreachable code -->
+
+<!-- BUGCATEGORY Unused code -->
+
+<!-- BUGFILE /rootdir/src/eom-transform.c -->
+
+<!-- FILENAME eom-transform.c -->
+
+<!-- FUNCTIONNAME eom_transform_get_transform_type -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 97b21d6a11fb9f1d977ba47391942e80 -->
+
+<!-- BUGLINE 393 -->
+
+<!-- BUGCOLUMN 10 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-transform.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 393, column 10</a><br />This statement is never executed</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-transform.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-transform.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"393": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of MATE -- Affine Transformations</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2003-2009 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Portions based on code from libart_lgpl by Raph Levien.</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software Foundation,</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;time.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;math.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include &lt;cairo/cairo.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include "eom-transform.h"</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include "eom-jobs.h"</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='comment'>/* The number of progress updates per transformation */</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_TRANSFORM_N_PROG_UPDATES<span class='macro_popup'>20</span></span> 20</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='keyword'>struct</span> _EomTransformPrivate {</td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> cairo_matrix_t affine;</td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"> gdouble x;</td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> gdouble y;</td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line">} EomPoint;</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='comment'>/* Convert degrees into radians */</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_DEG_TO_RAD(degree)<span class='macro_popup'>((degree) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span> ((degree) * (<span class='macro'>G_PI<span class='macro_popup'>3.1415926535897932384626433832795028841971693993751</span></span>/180.0))</span></td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EomTransform, eom_transform, G_TYPE_OBJECT)<span class='macro_popup'>static void eom_transform_init (EomTransform *self); static void<br> eom_transform_class_init (EomTransformClass *klass); static GType<br> eom_transform_get_type_once (void); static gpointer eom_transform_parent_class<br> = ((void*)0); static gint EomTransform_private_offset; static<br> void eom_transform_class_intern_init (gpointer klass) { eom_transform_parent_class<br> = g_type_class_peek_parent (klass); if (EomTransform_private_offset<br> != 0) g_type_class_adjust_private_offset (klass, &amp;EomTransform_private_offset<br>); eom_transform_class_init ((EomTransformClass*) klass); } __attribute__<br> ((__unused__)) static inline gpointer eom_transform_get_instance_private<br> (EomTransform *self) { return (((gpointer) ((guint8*) (self)<br> + (glong) (EomTransform_private_offset)))); } GType eom_transform_get_type<br> (void) { static gsize static_g_define_type_id = 0; if ((__extension__<br> ({ _Static_assert (sizeof *(&amp;static_g_define_type_id) ==<br> sizeof (gpointer), "Expression evaluates to false"); (void) (<br>0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0));<br> (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = eom_transform_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType eom_transform_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> (((GType) ((20) &lt;&lt; (2))), g_intern_static_string ("EomTransform"<br>), sizeof (EomTransformClass), (GClassInitFunc)(void (*)(void<br>)) eom_transform_class_intern_init, sizeof (EomTransform), (GInstanceInitFunc<br>)(void (*)(void)) eom_transform_init, (GTypeFlags) 0); { {{ EomTransform_private_offset<br> = g_type_add_instance_private (g_define_type_id, sizeof (EomTransformPrivate<br>)); };} } return g_define_type_id; }</span></span></td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line">eom_transform_init (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> trans-&gt;priv = eom_transform_get_instance_private (trans);</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line">eom_transform_class_init (EomTransformClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> <span class='comment'>* eom_transform_apply:</span></td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> <span class='comment'>* @pixbuf: a #GdkPixbuf</span></td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> <span class='comment'>* @job: a #EomJob</span></td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> <span class='comment'>* Applies the transformation in @trans to @pixbuf, setting its progress in @job.</span></td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> <span class='comment'>* Returns: (transfer full): A new #GdkPixbuf with the transformation applied.</span></td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line">GdkPixbuf*</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line">eom_transform_apply (EomTransform *trans, GdkPixbuf *pixbuf, EomJob *job)</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> EomPoint dest_top_left;</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> EomPoint dest_bottom_right;</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> EomPoint vertices[4] = { {0, 0}, {1, 0}, {1, 1}, {0, 1} };</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> <span class='keyword'>double</span> r_det;</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> <span class='keyword'>int</span> inverted [6];</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> EomPoint dest;</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> <span class='keyword'>int</span> src_width;</td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>int</span> src_height;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> <span class='keyword'>int</span> src_rowstride;</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> <span class='keyword'>int</span> src_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> guchar *src_buffer;</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> GdkPixbuf *dest_pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> <span class='keyword'>int</span> dest_width;</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> <span class='keyword'>int</span> dest_height;</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> <span class='keyword'>int</span> dest_rowstride;</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> <span class='keyword'>int</span> dest_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> guchar *dest_buffer;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> guchar *src_pos;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> guchar *dest_pos;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> <span class='keyword'>int</span> dx, dy, sx, sy;</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> <span class='keyword'>int</span> i, x, y;</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> <span class='keyword'>int</span> progress_delta;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> <span class='macro'>g_return_val_if_fail (pixbuf != NULL, NULL)<span class='macro_popup'>do { if ((pixbuf != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "pixbuf != NULL"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> <span class='macro'>g_object_ref (pixbuf)<span class='macro_popup'>((__typeof__ (pixbuf)) (g_object_ref) (pixbuf))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> src_width = gdk_pixbuf_get_width (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> src_height = gdk_pixbuf_get_height (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> src_rowstride = gdk_pixbuf_get_rowstride (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> src_n_channels = gdk_pixbuf_get_n_channels (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> src_buffer = gdk_pixbuf_get_pixels (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> <span class='comment'>/* find out the dimension of the destination pixbuf */</span></td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> dest_top_left.x = 100000;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> dest_top_left.y = 100000;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> dest_bottom_right.x = -100000;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> dest_bottom_right.y = -100000;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; 4; i++) {</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> dest.x = vertices[i].x * (src_width - 1);</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> dest.y = vertices[i].y * (src_height -1);</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> cairo_matrix_transform_point (&amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> &amp;dest.x, &amp;dest.y);</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> dest_top_left.x = <span class='macro'>MIN (dest_top_left.x, dest.x)<span class='macro_popup'>(((dest_top_left.x) &lt; (dest.x)) ? (dest_top_left.x) : (dest<br>.x))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> dest_top_left.y = <span class='macro'>MIN (dest_top_left.y, dest.y)<span class='macro_popup'>(((dest_top_left.y) &lt; (dest.y)) ? (dest_top_left.y) : (dest<br>.y))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> dest_bottom_right.x = <span class='macro'>MAX (dest_bottom_right.x, dest.x)<span class='macro_popup'>(((dest_bottom_right.x) &gt; (dest.x)) ? (dest_bottom_right.x<br>) : (dest.x))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> dest_bottom_right.y = <span class='macro'>MAX (dest_bottom_right.y, dest.y)<span class='macro_popup'>(((dest_bottom_right.y) &gt; (dest.y)) ? (dest_bottom_right.y<br>) : (dest.y))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> <span class='comment'>/* create the resulting pixbuf */</span></td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> dest_width = abs ((<span class='keyword'>int</span>) (dest_bottom_right.x - dest_top_left.x + 1));</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> dest_height = abs ((<span class='keyword'>int</span>) (dest_bottom_right.y - dest_top_left.y + 1));</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> dest_pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB,</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> gdk_pixbuf_get_has_alpha (pixbuf),</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> gdk_pixbuf_get_bits_per_sample (pixbuf),</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> dest_width,</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> dest_height);</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> dest_rowstride = gdk_pixbuf_get_rowstride (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> dest_n_channels = gdk_pixbuf_get_n_channels (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> dest_buffer = gdk_pixbuf_get_pixels (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> <span class='comment'>/* invert the matrix so that we can compute the source pixel</span></td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> <span class='comment'>from the target pixel and convert the values to integer</span></td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> <span class='comment'>ones (faster!) FIXME: Maybe we can do some more</span></td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> <span class='comment'>improvements by using special mmx/3dnow features if</span></td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> <span class='comment'>available.</span></td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> r_det = 1.0 / (trans-&gt;priv-&gt;affine.xx * trans-&gt;priv-&gt;affine.yy - trans-&gt;priv-&gt;affine.yx * trans-&gt;priv-&gt;affine.xy);</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> inverted[0] = trans-&gt;priv-&gt;affine.yy * r_det;</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> inverted[1] = -trans-&gt;priv-&gt;affine.yx * r_det;</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> inverted[2] = -trans-&gt;priv-&gt;affine.xy * r_det;</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> inverted[3] = trans-&gt;priv-&gt;affine.xx * r_det;</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> inverted[4] = -trans-&gt;priv-&gt;affine.x0 * inverted[0] - trans-&gt;priv-&gt;affine.y0 * inverted[2];</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> inverted[5] = -trans-&gt;priv-&gt;affine.x0 * inverted[1] - trans-&gt;priv-&gt;affine.y0 * inverted[3];</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> progress_delta = <span class='macro'>MAX (1, dest_height / EOM_TRANSFORM_N_PROG_UPDATES)<span class='macro_popup'>(((1) &gt; (dest_height / 20)) ? (1) : (dest_height / 20))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> <span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> <span class='comment'>* for every destination pixel (dx,dy) compute the source pixel (sx, sy)</span></td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> <span class='comment'>* and copy the color values</span></td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='keyword'>for</span> (y = 0, dy = dest_top_left.y; y &lt; dest_height; y++, dy++) {</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>for</span> (x = 0, dx = dest_top_left.x; x &lt; dest_width; x++, dx++) {</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> sx = dx * inverted[0] + dy * inverted[2] + inverted[4];</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> sy = dx * inverted[1] + dy * inverted[3] + inverted[5];</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> <span class='keyword'>if</span> (sx &gt;= 0 &amp;&amp; sx &lt; src_width &amp;&amp; sy &gt;= 0 &amp;&amp; sy &lt; src_height) {</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> src_pos = src_buffer + sy * src_rowstride + sx * src_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> dest_pos = dest_buffer + y * dest_rowstride + x * dest_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; src_n_channels; i++) {</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> dest_pos[i] = src_pos[i];</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> <span class='keyword'>if</span> (job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; y % progress_delta == 0) {</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> gfloat progress;</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> progress = (gfloat) (y + 1.0) / (gfloat) dest_height;</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> eom_job_set_progress (job, progress);</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> g_object_unref (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> <span class='keyword'>if</span> (job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> eom_job_set_progress (job, 1.0);</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> <span class='keyword'>return</span> dest_pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line">_eom_cairo_matrix_copy (<span class='keyword'>const</span> cairo_matrix_t *src, cairo_matrix_t *dest)</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> cairo_matrix_init (dest, src-&gt;xx, src-&gt;yx, src-&gt;xy, src-&gt;yy, src-&gt;x0, src-&gt;y0);</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span> 1e-6</span></td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL(a,b)<span class='macro_popup'>(fabs (a - b) &lt; 1e-6)</span></span> (fabs (a - b) &lt; <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"><span class='comment'>/* art_affine_equal modified to work with cairo_matrix_t */</span></td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line">_eom_cairo_matrix_equal (<span class='keyword'>const</span> cairo_matrix_t *a, <span class='keyword'>const</span> cairo_matrix_t *b)</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> <span class='keyword'>return</span> (<span class='macro'>DOUBLE_EQUAL (a-&gt;xx, b-&gt;xx)<span class='macro_popup'>(fabs (a-&gt;xx - b-&gt;xx) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;yx, b-&gt;yx)<span class='macro_popup'>(fabs (a-&gt;yx - b-&gt;yx) &lt; 1e-6)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (a-&gt;xy, b-&gt;xy)<span class='macro_popup'>(fabs (a-&gt;xy - b-&gt;xy) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;yy, b-&gt;yy)<span class='macro_popup'>(fabs (a-&gt;yy - b-&gt;yy) &lt; 1e-6)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (a-&gt;x0, b-&gt;x0)<span class='macro_popup'>(fabs (a-&gt;x0 - b-&gt;x0) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;y0, b-&gt;y0)<span class='macro_popup'>(fabs (a-&gt;y0 - b-&gt;y0) &lt; 1e-6)</span></span> );</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"><span class='comment'>/* art_affine_flip modified to work with cairo_matrix_t */</span></td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line">_eom_cairo_matrix_flip (cairo_matrix_t *dst, <span class='keyword'>const</span> cairo_matrix_t *src, gboolean horiz, gboolean vert)</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> dst-&gt;xx = horiz ? -src-&gt;xx : src-&gt;xx;</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> dst-&gt;yx = horiz ? -src-&gt;yx : src-&gt;yx;</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> dst-&gt;xy = vert ? -src-&gt;xy : src-&gt;xy;</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> dst-&gt;yy = vert ? -src-&gt;yy : src-&gt;yy;</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> dst-&gt;x0 = horiz ? -src-&gt;x0 : src-&gt;x0;</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> dst-&gt;y0 = vert ? -src-&gt;y0 : src-&gt;y0;</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> <span class='comment'>* eom_transform_reverse:</span></td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> <span class='comment'>* Creates the reverse transformation of @trans</span></td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> <span class='comment'>* Returns: (transfer full): a new transformation</span></td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line">eom_transform_reverse (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> EomTransform *reverse;</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> reverse = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> _eom_cairo_matrix_copy (&amp;trans-&gt;priv-&gt;affine, &amp;reverse-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='macro'>g_return_val_if_fail (cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine) == CAIRO_STATUS_SUCCESS, reverse)<span class='macro_popup'>do { if ((cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine<br>) == CAIRO_STATUS_SUCCESS)) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine) == CAIRO_STATUS_SUCCESS"<br>); return (reverse); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> <span class='keyword'>return</span> reverse;</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> <span class='comment'>* eom_transform_compose:</span></td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='comment'>* @compose: another #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> <span class='comment'>* Returns: (transfer full): a new transform</span></td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line">eom_transform_compose (EomTransform *trans, EomTransform *compose)</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> EomTransform *composition;</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (compose), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((compose)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (compose)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> composition = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> cairo_matrix_multiply (&amp;composition-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> &amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> &amp;compose-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> <span class='keyword'>return</span> composition;</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line">eom_transform_is_identity (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> <span class='keyword'>static</span> <span class='keyword'>const</span> cairo_matrix_t identity = { 1, 0, 0, 1, 0, 0 };</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> <span class='keyword'>return</span> _eom_cairo_matrix_equal (&amp;identity, &amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line">eom_transform_identity_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> cairo_matrix_init_identity (&amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line">eom_transform_rotate_new (<span class='keyword'>int</span> degree)</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> cairo_matrix_init_rotate (&amp;trans-&gt;priv-&gt;affine, <span class='macro'>EOM_DEG_TO_RAD(degree)<span class='macro_popup'>((degree) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line">eom_transform_flip_new (EomTransformType type)</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> gboolean horiz, vert;</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> cairo_matrix_init_identity (&amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> horiz = (type == EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> vert = (type == EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> _eom_cairo_matrix_flip (&amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> &amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> horiz, vert);</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line">eom_transform_new (EomTransformType type)</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> EomTransform *trans = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> EomTransform *temp1 = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *temp2 = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> <span class='keyword'>switch</span> (type) {</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_NONE:</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> trans = eom_transform_identity_new ();</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_HORIZONTAL:</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> trans = eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_180:</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> trans = eom_transform_rotate_new (180);</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_VERTICAL:</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> trans = eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSPOSE:</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> temp1 = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> temp2 = eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> trans = eom_transform_compose (temp1, temp2);</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> g_object_unref (temp1);</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> g_object_unref (temp2);</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_90:</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> trans = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSVERSE:</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> temp1 = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> temp2 = eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> trans = eom_transform_compose (temp1, temp2);</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> g_object_unref (temp1);</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> g_object_unref (temp2);</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_270:</td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> trans = eom_transform_rotate_new (270);</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> trans = eom_transform_identity_new ();</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line">EomTransformType</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line">eom_transform_get_transform_type (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> cairo_matrix_t affine, a1, a2;</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> EomTransformPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), EOM_TRANSFORM_NONE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (EOM_TRANSFORM_NONE);<br> } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> priv = trans-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(90)<span class='macro_popup'>((90) * (3.1415926535897932384626433832795028841971693993751/<br>180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> <span class='keyword'>return</span> <span class="mrange">EOM_TRANSFORM_ROT_90</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:24ex">This statement is never executed</div></td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(180)<span class='macro_popup'>((180) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_180;</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(270)<span class='macro_popup'>((270) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_270;</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> cairo_matrix_init_identity (&amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> _eom_cairo_matrix_flip (&amp;affine, &amp;affine, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_FLIP_HORIZONTAL;</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> cairo_matrix_init_identity (&amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> _eom_cairo_matrix_flip (&amp;affine, &amp;affine, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_FLIP_VERTICAL;</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> cairo_matrix_init_rotate (&amp;a1, <span class='macro'>EOM_DEG_TO_RAD(90)<span class='macro_popup'>((90) * (3.1415926535897932384626433832795028841971693993751/<br>180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> cairo_matrix_init_identity (&amp;a2);</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> _eom_cairo_matrix_flip (&amp;a2, &amp;a2, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> cairo_matrix_multiply(&amp;affine, &amp;a1, &amp;a2);</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_TRANSPOSE;</td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> <span class='comment'>/* A transversion is a 180° rotation followed by a transposition */</span></td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> <span class='comment'>/* Reuse the transposition from the previous step for this. */</span></td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> cairo_matrix_init_rotate (&amp;a1, <span class='macro'>EOM_DEG_TO_RAD(180)<span class='macro_popup'>((180) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> cairo_matrix_multiply(&amp;a2, &amp;a1, &amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;a2, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_TRANSVERSE;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_NONE;</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line">eom_transform_get_affine (EomTransform *trans, cairo_matrix_t *affine)</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> _eom_cairo_matrix_copy (&amp;trans-&gt;priv-&gt;affine, affine);</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> </td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-982ff6.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-982ff6.html
new file mode 100644
index 0000000..8e3d9dd
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-982ff6.html
@@ -0,0 +1,1183 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-util.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Out of bound memory access (access exceeds upper limit of memory block) -->
+
+<!-- BUGTYPE Out-of-bound access -->
+
+<!-- BUGCATEGORY Logic error -->
+
+<!-- BUGFILE /rootdir/src/eom-util.c -->
+
+<!-- FILENAME eom-util.c -->
+
+<!-- FUNCTIONNAME eom_util_filename_get_extension -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT 982ff62e292443ad6fe0ca10ec53f7c6 -->
+
+<!-- BUGLINE 299 -->
+
+<!-- BUGCOLUMN 11 -->
+
+<!-- BUGPATHLENGTH 6 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-util.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 299, column 11</a><br />Out of bound memory access (access exceeds upper limit of memory block)</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-util.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-util.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"281": 1, "282": 1, "283": 1, "284": 1, "286": 1, "290": 1, "292": 1, "293": 1, "294": 1, "295": 1, "296": 1, "297": 1, "298": 1, "299": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+ <path class="arrow" id="arrow0"/>
+ <path class="arrow" id="arrow1"/>
+ <path class="arrow" id="arrow2"/>
+ <path class="arrow" id="arrow3"/>
+ <path class="arrow" id="arrow4"/>
+ <path class="arrow" id="arrow5"/>
+ <path class="arrow" id="arrow6"/>
+ <path class="arrow" id="arrow7"/>
+ <path class="arrow" id="arrow8"/>
+ <path class="arrow" id="arrow9"/>
+ <path class="arrow" id="arrow10"/>
+ <path class="arrow" id="arrow11"/>
+ <path class="arrow" id="arrow12"/>
+ <path class="arrow" id="arrow13"/>
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 14,12,10,7,6,1,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of Mate - General Utilities</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2006 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Author: Lucas Rocha &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* Based on code by:</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* - Jens Finke &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include "config.h"</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;sys/time.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#include &lt;time.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include "eom-util.h"</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#include &lt;<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span>.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"><span class='directive'>#include &lt;glib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#include &lt;glib/gprintf.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#include &lt;glib/gstdio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#include &lt;gio/gio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line">eom_util_show_help (<span class='keyword'>const</span> gchar *section, GtkWindow *parent)</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> gchar *uri = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"> <span class='keyword'>if</span> (section)</td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> uri = g_strdup_printf (<span class='string_literal'>"help:eom/%s"</span>, section);</td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"> gtk_show_uri_on_window (parent, ((uri != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) ? uri : <span class='string_literal'>"help:eom"</span>),</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"> gtk_get_current_event_time (), &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"> <span class='keyword'>if</span> (error) {</td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> dialog = gtk_message_dialog_new (parent,</td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> GTK_MESSAGE_ERROR,</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> GTK_BUTTONS_OK,</td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Could not display help for Eye of MATE"</span>)<span class='macro_popup'>gettext ("Could not display help for Eye of MATE")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> gtk_message_dialog_format_secondary_text (<span class='macro'>GTK_MESSAGE_DIALOG (dialog)<span class='macro_popup'>((((GtkMessageDialog*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((dialog)), ((gtk_message_dialog_get_type ())<br>)))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> <span class='string_literal'>"%s"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> <span class='macro'>g_signal_connect_swapped (dialog, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>gtk_widget_destroy))), (dialog), ((void*)0), G_CONNECT_SWAPPED<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> <span class='macro'>G_CALLBACK (gtk_widget_destroy),<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>gtk_widget_destroy))), (dialog), ((void*)0), G_CONNECT_SWAPPED<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> <span class='macro'>dialog)<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>gtk_widget_destroy))), (dialog), ((void*)0), G_CONNECT_SWAPPED<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> gtk_widget_show (dialog);</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line">gchar *</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line">eom_util_make_valid_utf8 (<span class='keyword'>const</span> gchar *str)</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> GString *string;</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *remainder, *invalid;</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> <span class='keyword'>int</span> remaining_bytes, valid_bytes;</td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> string = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> remainder = str;</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> remaining_bytes = strlen (str);</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> <span class='keyword'>while</span> (remaining_bytes != 0) {</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> <span class='keyword'>if</span> (g_utf8_validate (remainder, remaining_bytes, &amp;invalid)) {</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> valid_bytes = invalid - remainder;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> <span class='keyword'>if</span> (string == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> string = g_string_sized_new (remaining_bytes);</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> <span class='macro'>g_string_append_len (string, remainder, valid_bytes)<span class='macro_popup'>g_string_append_len_inline (string, remainder, valid_bytes)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> <span class='macro'>g_string_append_c (string, '?')<span class='macro_popup'>g_string_append_c_inline (string, '?')</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> remaining_bytes -= valid_bytes + 1;</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> remainder = invalid + 1;</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> <span class='keyword'>if</span> (string == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (str)<span class='macro_popup'>g_strdup_inline (str)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> <span class='macro'>g_string_append (string, remainder)<span class='macro_popup'>(__builtin_constant_p (remainder) ? __extension__ ({ const char<br> * const __val = (remainder); g_string_append_len_inline (string<br>, __val, (__val != ((void*)0)) ? (gssize) strlen (((__val) + !<br>(__val))) : (gssize) -1); }) : g_string_append_len_inline (string<br>, remainder, (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> <span class='macro'>g_string_append (string, _(<span class='string_literal'>" (invalid Unicode)"</span>))<span class='macro_popup'>(__builtin_constant_p (gettext (" (invalid Unicode)")) ? __extension__<br> ({ const char * const __val = (gettext (" (invalid Unicode)"<br>)); g_string_append_len_inline (string, __val, (__val != ((void<br>*)0)) ? (gssize) strlen (((__val) + !(__val))) : (gssize) -1)<br>; }) : g_string_append_len_inline (string, gettext (" (invalid Unicode)"<br>), (gssize) -1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> <span class='macro'>g_assert (g_utf8_validate (string-&gt;str, -1, NULL))<span class='macro_popup'>do { if (g_utf8_validate (string-&gt;str, -1, ((void*)0))) ; else<br> g_assertion_message_expr ("EOM", "eom-util.c", 115, ((const char<br>*) (__func__)), "g_utf8_validate (string-&gt;str, -1, NULL)")<br>; } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_string_free (string, FALSE)<span class='macro_popup'>(__builtin_constant_p ((0)) ? (((0)) ? (g_string_free) ((string<br>), ((0))) : g_string_free_and_steal (string)) : (g_string_free<br>) ((string), ((0))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line">GSList*</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line">eom_util_parse_uri_string_list_to_file_list (<span class='keyword'>const</span> gchar *uri_list)</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> GSList* file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> gsize i = 0;</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> gchar **uris;</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> uris = g_uri_list_extract_uris (uri_list);</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> <span class='keyword'>while</span> (uris[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> file_list = g_slist_append (file_list, g_file_new_for_uri (uris[i]));</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> i++;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> g_strfreev (uris);</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> <span class='keyword'>return</span> file_list;</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line">GSList*</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line">eom_util_string_list_to_file_list (GSList *string_list)</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> GSList *it = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> GSList *file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> <span class='keyword'>for</span> (it = string_list; it != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; it = it-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> <span class='keyword'>char</span> *uri_str;</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> uri_str = (gchar *) it-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> file_list = g_slist_prepend (file_list,</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> g_file_new_for_uri (uri_str));</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> <span class='keyword'>return</span> g_slist_reverse (file_list);</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line">GSList*</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line">eom_util_strings_to_file_list (gchar **strings)</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> GSList *file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> <span class='keyword'>for</span> (i = 0; strings[i]; i++) {</td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> file_list = g_slist_prepend (file_list,</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> g_file_new_for_uri (strings[i]));</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>return</span> g_slist_reverse (file_list);</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line">GSList*</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line">eom_util_string_array_to_list (<span class='keyword'>const</span> gchar **files, gboolean create_uri)</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> gint i;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> GSList *list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>if</span> (files == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) <span class='keyword'>return</span> list;</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> <span class='keyword'>for</span> (i = 0; files[i]; i++) {</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> <span class='keyword'>char</span> *str;</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> <span class='keyword'>if</span> (create_uri) {</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> file = g_file_new_for_commandline_arg (files[i]);</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> str = g_file_get_uri (file);</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> str = <span class='macro'>g_strdup (files[i])<span class='macro_popup'>g_strdup_inline (files[i])</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> <span class='keyword'>if</span> (str) {</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> list = g_slist_prepend (list, <span class='macro'>g_strdup (str)<span class='macro_popup'>g_strdup_inline (str)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> g_free (str);</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> <span class='keyword'>return</span> g_slist_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line">gchar **</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line">eom_util_string_array_make_absolute (gchar **files)</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> <span class='keyword'>int</span> size;</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> gchar **abs_files;</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> <span class='keyword'>if</span> (files == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> size = g_strv_length (files);</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> <span class='comment'>/* Ensure new list is NULL-terminated */</span></td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> abs_files = <span class='macro'>g_new0 (gchar *, size+1)<span class='macro_popup'>((gchar * *) g_malloc0_n ((size+1), sizeof (gchar *)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; size; i++) {</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> file = g_file_new_for_commandline_arg (files[i]);</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> abs_files[i] = g_file_get_uri (file);</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> <span class='keyword'>return</span> abs_files;</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"><span class='keyword'>static</span> gchar *dot_dir = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line">ensure_dir_exists (<span class='keyword'>const</span> <span class='keyword'>char</span> *dir)</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> <span class='keyword'>if</span> (g_file_test (dir, G_FILE_TEST_IS_DIR))</td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> <span class='keyword'>if</span> (g_mkdir_with_parents (dir, 0700) == 0)</td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span> == <span class='macro'>EEXIST<span class='macro_popup'>17</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> <span class='keyword'>return</span> g_file_test (dir, G_FILE_TEST_IS_DIR);</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> g_warning (<span class='string_literal'>"Failed to create directory %s: %s"</span>, dir, strerror (<span class='macro'>errno<span class='macro_popup'>(*__errno_location ())</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"><span class='keyword'>const</span> gchar *</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line">eom_util_dot_dir (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='keyword'>if</span> (dot_dir == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> gboolean exists;</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> dot_dir = g_build_filename(g_get_user_config_dir(), <span class='string_literal'>"mate"</span>, <span class='string_literal'>"eom"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> exists = ensure_dir_exists (dot_dir);</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_UNLIKELY (!exists)<span class='macro_popup'>(!exists)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='keyword'>static</span> gboolean printed_warning = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='keyword'>if</span> (!printed_warning) {</td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> g_warning (<span class='string_literal'>"EOM could not save some of your preferences in its settings directory due to a file with the same name (%s) blocking its creation. Please remove that file, or move it away."</span>, dot_dir);</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> printed_warning = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> dot_dir = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='keyword'>return</span> dot_dir;</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"><span class='comment'>/* Based on eel_filename_strip_extension() */</span></td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> <span class='comment'>* eom_util_filename_get_extension:</span></td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> <span class='comment'>* @filename: a filename</span></td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> <span class='comment'>* Returns a reasonably good guess of the file extension of @filename.</span></td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> <span class='comment'>* Returns: a newly allocated string with the file extension of @filename.</span></td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"><span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line">eom_util_filename_get_extension (<span class='keyword'>const</span> <span class='keyword'>char</span> * filename)</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> <span class='keyword'>char</span> *<span id="start13">begin</span>, *begin2;</td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> <span id="start12"><span id="end13"><span class='keyword'>if</span></span></span> (<span id="start11"><span class="mrange"><span id="end12">filename</span></span> == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path1" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">1</div></td><td>Assuming 'filename' is not equal to NULL</td><td><div class="PathNav"><a href="#Path2" title="Next event (2)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path2" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">2</div></td><td><div class="PathNav"><a href="#Path1" title="Previous event (1)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path3" title="Next event (3)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> <span id="start8"><span id="end9"><span id="start10"><span id="end11">begin</span></span></span></span> = <span id="start9"><span id="end10">strrchr</span></span> (filename, '.');</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> <span id="start7"><span id="end8"><span class='keyword'>if</span></span></span> (<span id="start6"><span class="mrange"><span id="end7">begin</span></span></span> &amp;&amp; <span id="start5"><span class="mrange"><span id="end6">begin</span></span> != filename</span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path3" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">3</div></td><td><div class="PathNav"><a href="#Path2" title="Previous event (2)">&#x2190;</a></div></td><td>Assuming 'begin' is non-null</td><td><div class="PathNav"><a href="#Path4" title="Next event (4)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path4" class="msg msgEvent" style="margin-left:22ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">4</div></td><td><div class="PathNav"><a href="#Path3" title="Previous event (3)">&#x2190;</a></div></td><td>Assuming 'begin' is not equal to 'filename'</td><td><div class="PathNav"><a href="#Path5" title="Next event (5)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> <span id="start4"><span id="end5"><span class='keyword'>if</span></span></span> (<span id="start3"><span id="end4">strcmp</span></span> (begin, <span class='string_literal'>".gz"</span>) == 0 ||</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> strcmp (begin, <span class='string_literal'>".bz2"</span>) == 0 ||</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> strcmp (begin, <span class='string_literal'>".sit"</span>) == 0 ||</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> strcmp (begin, <span class='string_literal'>".Z"</span>) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> <span id="start2"><span id="end3">begin2</span></span> = begin - 1;</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> <span id="start1"><span id="end2"><span class='keyword'>while</span></span></span> (<span id="start0"><span class="mrange"><span id="end1">begin2</span></span> &gt; filename</span> &amp;&amp;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path5" class="msg msgEvent" style="margin-left:32ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">5</div></td><td><div class="PathNav"><a href="#Path4" title="Previous event (4)">&#x2190;</a></div></td><td>Assuming 'begin2' is &gt; 'filename'</td><td><div class="PathNav"><a href="#EndPath" title="Next event (6)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> <span class="mrange"><span id="end0">*</span>begin2</span> != '.') {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:32ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">6</div></td><td><div class="PathNav"><a href="#Path5" title="Previous event (5)">&#x2190;</a></div></td><td>Out of bound memory access (access exceeds upper limit of memory block)</td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> begin2--;</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> <span class='keyword'>if</span> (begin2 != filename) {</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> begin = begin2;</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> begin ++;</td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_strdup (begin)<span class='macro_popup'>g_strdup_inline (begin)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> <span class='comment'>* eom_util_file_is_persistent:</span></td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> <span class='comment'>* @file: a #GFile</span></td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> <span class='comment'>* Checks whether @file is a non-removable local mount.</span></td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> <span class='comment'>* Returns: %TRUE if @file is in a non-removable mount,</span></td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> <span class='comment'>* %FALSE otherwise or when it is remote.</span></td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line">eom_util_file_is_persistent (GFile *file)</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> GMount *mount;</td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> <span class='keyword'>if</span> (!g_file_is_native (file))</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> mount = g_file_find_enclosing_mount (file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> <span class='keyword'>if</span> (mount) {</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> <span class='keyword'>if</span> (g_mount_can_unmount (mount)) {</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line">_eom_util_show_file_in_filemanager_fallback (GFile *file, GtkWindow *toplevel)</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> gchar *uri = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> guint32 timestamp = gtk_get_current_event_time ();</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> <span class='keyword'>if</span> (g_file_query_file_type (file, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) == G_FILE_TYPE_DIRECTORY) {</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> uri = g_file_get_uri (file);</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> <span class='comment'>/* If input file is not a directory we must open it's</span></td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> <span class='comment'>folder/parent to avoid opening the file itself */</span></td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> GFile *parent_file;</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> parent_file = g_file_get_parent (file);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_LIKELY (parent_file)<span class='macro_popup'>(parent_file)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> uri = g_file_get_uri (parent_file);</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> g_object_unref (parent_file);</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> <span class='keyword'>if</span> (uri &amp;&amp; !gtk_show_uri_on_window (toplevel, uri, timestamp, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> g_warning (<span class='string_literal'>"Couldn't show containing folder \"%s\": %s"</span>, uri,</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line">eom_util_show_file_in_filemanager (GFile *file, GtkWindow *toplevel)</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> GDBusProxy *proxy;</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> gboolean done = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> <span class='macro'>g_return_if_fail (file != NULL)<span class='macro_popup'>do { if ((file != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "file != NULL"); return;<br> } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SESSION,</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> G_DBUS_PROXY_FLAGS_DO_NOT_CONNECT_SIGNALS |</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES,</td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='string_literal'>"org.freedesktop.FileManager1"</span>,</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> <span class='string_literal'>"/org/freedesktop/FileManager1"</span>,</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"> <span class='string_literal'>"org.freedesktop.FileManager1"</span>,</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> <span class='keyword'>if</span> (proxy) {</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> gchar *uri = g_file_get_uri (file);</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> gchar *startup_id;</td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> GVariant *params, *result;</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> GVariantBuilder builder;</td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> g_variant_builder_init (&amp;builder,</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> <span class='macro'>G_VARIANT_TYPE (<span class='string_literal'>"as"</span>)<span class='macro_popup'>(g_variant_type_checked_ (("as")))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> g_variant_builder_add (&amp;builder, <span class='string_literal'>"s"</span>, uri);</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> <span class='comment'>/* This seems to be the expected format, as other values</span></td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> <span class='comment'>cause the filemanager window not to get focus. */</span></td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> startup_id = g_strdup_printf(<span class='string_literal'>"_TIME%u"</span>,</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> gtk_get_current_event_time());</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> <span class='comment'>/* params is floating! */</span></td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> params = g_variant_new (<span class='string_literal'>"(ass)"</span>, &amp;builder, startup_id);</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> g_free (startup_id);</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> g_variant_builder_clear (&amp;builder);</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> <span class='comment'>/* Floating params-GVariant is consumed here */</span></td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> result = g_dbus_proxy_call_sync (proxy, <span class='string_literal'>"ShowItems"</span>,</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> params, G_DBUS_CALL_FLAGS_NONE,</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> <span class='comment'>/* Receiving a non-NULL result counts as a successful call. */</span></td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_LIKELY (result != NULL)<span class='macro_popup'>(result != ((void*)0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> done = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> g_variant_unref (result);</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> g_free (uri);</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> g_object_unref (proxy);</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> <span class='comment'>/* Fallback to gtk_show_uri() if launch over DBus is not possible */</span></td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> <span class='keyword'>if</span> (!done)</td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> _eom_util_show_file_in_filemanager_fallback (file, toplevel);</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line">eom_notebook_scroll_event_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> GdkEventScroll *event)</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> GtkNotebook *notebook = <span class='macro'>GTK_NOTEBOOK (widget)<span class='macro_popup'>((((GtkNotebook*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((gtk_notebook_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> GtkWidget *child, *event_widget, *action_widget;</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> child = gtk_notebook_get_nth_page (notebook, gtk_notebook_get_current_page (notebook));</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> <span class='keyword'>if</span> (child == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> event_widget = gtk_get_event_widget ((GdkEvent*) event);</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> <span class='comment'>/* Ignore scroll events from the content of the page */</span></td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> <span class='keyword'>if</span> (event_widget == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> || event_widget == child || gtk_widget_is_ancestor (event_widget, child))</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> <span class='comment'>/* And also from the action widgets */</span></td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> action_widget = gtk_notebook_get_action_widget (notebook, GTK_PACK_START);</td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> <span class='keyword'>if</span> (event_widget == action_widget || (action_widget != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; gtk_widget_is_ancestor (event_widget, action_widget)))</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> action_widget = gtk_notebook_get_action_widget (notebook, GTK_PACK_END);</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> <span class='keyword'>if</span> (event_widget == action_widget || (action_widget != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; gtk_widget_is_ancestor (event_widget, action_widget)))</td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;direction) {</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_RIGHT:</td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_DOWN:</td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"> gtk_notebook_next_page (notebook);</td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_LEFT:</td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_UP:</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> gtk_notebook_prev_page (notebook);</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_SMOOTH:</td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"> <span class='keyword'>switch</span> (gtk_notebook_get_tab_pos (notebook)) {</td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line"> <span class='keyword'>case</span> GTK_POS_LEFT:</td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"> <span class='keyword'>case</span> GTK_POS_RIGHT:</td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line"> <span class='keyword'>if</span> (event-&gt;delta_y &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line"> gtk_notebook_next_page (notebook);</td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (event-&gt;delta_y &lt; 0)</td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"> gtk_notebook_prev_page (notebook);</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line"> <span class='keyword'>case</span> GTK_POS_TOP:</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> <span class='keyword'>case</span> GTK_POS_BOTTOM:</td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> <span class='keyword'>if</span> (event-&gt;delta_x &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"> gtk_notebook_next_page (notebook);</td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (event-&gt;delta_x &lt; 0)</td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line"> gtk_notebook_prev_page (notebook);</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-b791a9.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-b791a9.html
new file mode 100644
index 0000000..a12cd38
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-b791a9.html
@@ -0,0 +1,3178 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-image.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Null pointer passed to 1st parameter expecting 'nonnull' -->
+
+<!-- BUGTYPE Argument with 'nonnull' attribute passed null -->
+
+<!-- BUGCATEGORY API -->
+
+<!-- BUGFILE /rootdir/src/eom-image.c -->
+
+<!-- FILENAME eom-image.c -->
+
+<!-- FUNCTIONNAME eom_image_real_load -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT b791a959ad55fa081b9ea561200b8941 -->
+
+<!-- BUGLINE 956 -->
+
+<!-- BUGCOLUMN 8 -->
+
+<!-- BUGPATHLENGTH 25 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-image.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 956, column 8</a><br />Null pointer passed to 1st parameter expecting 'nonnull'</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-image.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-image.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"327": 1, "328": 1, "329": 1, "330": 1, "332": 1, "333": 1, "336": 1, "582": 1, "583": 1, "584": 1, "585": 1, "586": 1, "587": 1, "588": 1, "590": 1, "593": 1, "595": 1, "596": 1, "597": 1, "599": 1, "600": 1, "602": 1, "603": 1, "605": 1, "877": 1, "878": 1, "879": 1, "880": 1, "881": 1, "882": 1, "883": 1, "884": 1, "885": 1, "886": 1, "887": 1, "888": 1, "889": 1, "890": 1, "891": 1, "892": 1, "893": 1, "894": 1, "895": 1, "896": 1, "899": 1, "901": 1, "903": 1, "908": 1, "910": 1, "915": 1, "932": 1, "934": 1, "947": 1, "949": 1, "951": 1, "956": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+ <path class="arrow" id="arrow0"/>
+ <path class="arrow" id="arrow1"/>
+ <path class="arrow" id="arrow2"/>
+ <path class="arrow" id="arrow3"/>
+ <path class="arrow" id="arrow4"/>
+ <path class="arrow" id="arrow5"/>
+ <path class="arrow" id="arrow6"/>
+ <path class="arrow" id="arrow7"/>
+ <path class="arrow" id="arrow8"/>
+ <path class="arrow" id="arrow9"/>
+ <path class="arrow" id="arrow10"/>
+ <path class="arrow" id="arrow11"/>
+ <path class="arrow" id="arrow12"/>
+ <path class="arrow" id="arrow13"/>
+ <path class="arrow" id="arrow14"/>
+ <path class="arrow" id="arrow15"/>
+ <path class="arrow" id="arrow16"/>
+ <path class="arrow" id="arrow17"/>
+ <path class="arrow" id="arrow18"/>
+ <path class="arrow" id="arrow19"/>
+ <path class="arrow" id="arrow20"/>
+ <path class="arrow" id="arrow21"/>
+ <path class="arrow" id="arrow22"/>
+ <path class="arrow" id="arrow23"/>
+ <path class="arrow" id="arrow24"/>
+ <path class="arrow" id="arrow25"/>
+ <path class="arrow" id="arrow26"/>
+ <path class="arrow" id="arrow27"/>
+ <path class="arrow" id="arrow28"/>
+ <path class="arrow" id="arrow29"/>
+ <path class="arrow" id="arrow30"/>
+ <path class="arrow" id="arrow31"/>
+ <path class="arrow" id="arrow32"/>
+ <path class="arrow" id="arrow33"/>
+ <path class="arrow" id="arrow34"/>
+ <path class="arrow" id="arrow35"/>
+ <path class="arrow" id="arrow36"/>
+ <path class="arrow" id="arrow37"/>
+ <path class="arrow" id="arrow38"/>
+ <path class="arrow" id="arrow39"/>
+ <path class="arrow" id="arrow40"/>
+ <path class="arrow" id="arrow41"/>
+ <path class="arrow" id="arrow42"/>
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 43,41,37,36,34,33,32,30,29,26,24,23,20,20,19,17,13,10,8,3,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of Mate - Image</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2006 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Author: Lucas Rocha &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include "config.h"</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#define GDK_PIXBUF_ENABLE_BACKEND</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;gdk/gdkx.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include "eom-image.h"</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include "eom-image-private.h"</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#include "eom-debug.h"</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_JPEG<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='directive'>#include "eom-image-jpeg.h"</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"><span class='directive'>#include "eom-marshal.h"</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#include "eom-pixbuf-util.h"</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#include "eom-metadata-reader.h"</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"><span class='directive'>#include "eom-image-save-info.h"</span></td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#include "eom-transform.h"</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='directive'>#include "eom-util.h"</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='directive'>#include "eom-jobs.h"</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"><span class='directive'>#include "eom-thumbnail.h"</span></td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"><span class='directive'>#include &lt;unistd.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"><span class='directive'>#include &lt;glib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='directive'>#include &lt;glib-object.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"><span class='directive'>#include &lt;gdk-pixbuf/gdk-pixbuf.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXIF<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"><span class='directive'>#include "eom-exif-util.h"</span></td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"><span class='directive'>#include &lt;libexif/exif-data.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"><span class='directive'>#include &lt;libexif/exif-utils.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"><span class='directive'>#include &lt;libexif/exif-loader.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"><span class='directive'>#include &lt;lcms2.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_RSVG<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"><span class='directive'>#include &lt;librsvg/rsvg.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EomImage, eom_image, G_TYPE_OBJECT)<span class='macro_popup'>static void eom_image_init (EomImage *self); static void eom_image_class_init<br> (EomImageClass *klass); static GType eom_image_get_type_once<br> (void); static gpointer eom_image_parent_class = ((void*)0);<br> static gint EomImage_private_offset; static void eom_image_class_intern_init<br> (gpointer klass) { eom_image_parent_class = g_type_class_peek_parent<br> (klass); if (EomImage_private_offset != 0) g_type_class_adjust_private_offset<br> (klass, &amp;EomImage_private_offset); eom_image_class_init (<br>(EomImageClass*) klass); } __attribute__ ((__unused__)) static<br> inline gpointer eom_image_get_instance_private (EomImage *self<br>) { return (((gpointer) ((guint8*) (self) + (glong) (EomImage_private_offset<br>)))); } GType eom_image_get_type (void) { static gsize static_g_define_type_id<br> = 0; if ((__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); (void<br>) (0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0<br>)); (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = eom_image_get_type_once (<br>); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType eom_image_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> (((GType) ((20) &lt;&lt; (2))), g_intern_static_string ("EomImage"<br>), sizeof (EomImageClass), (GClassInitFunc)(void (*)(void)) eom_image_class_intern_init<br>, sizeof (EomImage), (GInstanceInitFunc)(void (*)(void)) eom_image_init<br>, (GTypeFlags) 0); { {{ EomImage_private_offset = g_type_add_instance_private<br> (g_define_type_id, sizeof (EomImagePrivate)); };} } return g_define_type_id<br>; }</span></span></td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"><span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> SIGNAL_CHANGED,</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> SIGNAL_SIZE_PREPARED,</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> SIGNAL_THUMBNAIL_CHANGED,</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> SIGNAL_SAVE_PROGRESS,</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> SIGNAL_NEXT_FRAME,</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> SIGNAL_FILE_CHANGED,</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> SIGNAL_LAST</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"><span class='keyword'>static</span> guint signals[SIGNAL_LAST] = { 0 };</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_IMAGE_READ_BUFFER_SIZE<span class='macro_popup'>65535</span></span> 65535</span></td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line">eom_image_free_mem_private (EomImage *image)</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> priv = image-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;status == EOM_IMAGE_STATUS_LOADING) {</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> eom_image_cancel_load (image);</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;anim_iter != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> g_object_unref (priv-&gt;anim_iter);</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> priv-&gt;anim_iter = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;anim != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> g_object_unref (priv-&gt;anim);</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> priv-&gt;anim = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> priv-&gt;is_playing = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> g_object_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> priv-&gt;image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_RSVG<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;svg != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> g_object_unref (priv-&gt;svg);</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> priv-&gt;svg = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXIF<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;exif != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> exif_data_unref (priv-&gt;exif);</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> priv-&gt;exif = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;exif_chunk != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> g_free (priv-&gt;exif_chunk);</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> priv-&gt;exif_chunk = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> priv-&gt;exif_chunk_len = 0;</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXEMPI<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;xmp != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> xmp_free (priv-&gt;xmp);</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> priv-&gt;xmp = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;profile != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>GDK_IS_X11_DISPLAY (gdk_display_get_default ())<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(gdk_display_get_default ())); GType __t = ((gdk_x11_display_get_type<br>())); gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;<br>g_class &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r =<br> (!(0)); else __r = g_type_check_instance_is_a (__inst, __t);<br> __r; }))))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> cmsCloseProfile (priv-&gt;profile);</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> priv-&gt;profile = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> priv-&gt;status = EOM_IMAGE_STATUS_UNKNOWN;</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> priv-&gt;metadata_status = EOM_IMAGE_METADATA_NOT_READ;</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line">eom_image_dispose (GObject *object)</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> priv = <span class='macro'>EOM_IMAGE (object)<span class='macro_popup'>((((EomImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_image_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> eom_image_free_mem_private (<span class='macro'>EOM_IMAGE (object)<span class='macro_popup'>((((EomImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_image_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;file) {</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> g_object_unref (priv-&gt;file);</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> priv-&gt;file = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;caption) {</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> g_free (priv-&gt;caption);</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> priv-&gt;caption = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;collate_key) {</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> g_free (priv-&gt;collate_key);</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> priv-&gt;collate_key = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;file_type) {</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> g_free (priv-&gt;file_type);</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> priv-&gt;file_type = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> g_mutex_clear (&amp;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;trans) {</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> g_object_unref (priv-&gt;trans);</td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> priv-&gt;trans = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;trans_autorotate) {</td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> g_object_unref (priv-&gt;trans_autorotate);</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> priv-&gt;trans_autorotate = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;undo_stack) {</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> g_slist_free_full (priv-&gt;undo_stack, g_object_unref);</td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> priv-&gt;undo_stack = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> <span class='macro'>G_OBJECT_CLASS (eom_image_parent_class)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_image_parent_class)), (((GType) ((20) &lt;&lt; (2)))<br>)))))</span></span>-&gt;dispose (object);</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line">eom_image_class_init (EomImageClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> GObjectClass *object_class = (GObjectClass*) klass;</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> object_class-&gt;dispose = eom_image_dispose;</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> signals[SIGNAL_SIZE_PREPARED] =</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> g_signal_new (<span class='string_literal'>"size-prepared"</span>,</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> <span class='macro'>EOM_TYPE_IMAGE<span class='macro_popup'>(eom_image_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (EomImageClass, size_prepared)<span class='macro_popup'>((glong) __builtin_offsetof(EomImageClass, size_prepared))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> eom_marshal_VOID__INT_INT,</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 2,</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> <span class='macro'>G_TYPE_INT<span class='macro_popup'>((GType) ((6) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> <span class='macro'>G_TYPE_INT<span class='macro_popup'>((GType) ((6) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> signals[SIGNAL_CHANGED] =</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> g_signal_new (<span class='string_literal'>"changed"</span>,</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> <span class='macro'>EOM_TYPE_IMAGE<span class='macro_popup'>(eom_image_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (EomImageClass, changed)<span class='macro_popup'>((glong) __builtin_offsetof(EomImageClass, changed))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> g_cclosure_marshal_VOID__VOID,</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> signals[SIGNAL_THUMBNAIL_CHANGED] =</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> g_signal_new (<span class='string_literal'>"thumbnail-changed"</span>,</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> <span class='macro'>EOM_TYPE_IMAGE<span class='macro_popup'>(eom_image_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (EomImageClass, thumbnail_changed)<span class='macro_popup'>((glong) __builtin_offsetof(EomImageClass, thumbnail_changed)<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> g_cclosure_marshal_VOID__VOID,</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> signals[SIGNAL_SAVE_PROGRESS] =</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> g_signal_new (<span class='string_literal'>"save-progress"</span>,</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> <span class='macro'>EOM_TYPE_IMAGE<span class='macro_popup'>(eom_image_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (EomImageClass, save_progress)<span class='macro_popup'>((glong) __builtin_offsetof(EomImageClass, save_progress))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> g_cclosure_marshal_VOID__FLOAT,</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 1,</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> <span class='macro'>G_TYPE_FLOAT<span class='macro_popup'>((GType) ((14) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> <span class='comment'>* EomImage::next-frame:</span></td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> <span class='comment'>* @img: the object which received the signal.</span></td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> <span class='comment'>* @delay: number of milliseconds the current frame will be displayed.</span></td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> <span class='comment'>* The ::next-frame signal will be emitted each time an animated image</span></td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> <span class='comment'>* advances to the next frame.</span></td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> signals[SIGNAL_NEXT_FRAME] =</td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> g_signal_new (<span class='string_literal'>"next-frame"</span>,</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='macro'>EOM_TYPE_IMAGE<span class='macro_popup'>(eom_image_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (EomImageClass, next_frame)<span class='macro_popup'>((glong) __builtin_offsetof(EomImageClass, next_frame))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> g_cclosure_marshal_VOID__INT,</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 1,</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> <span class='macro'>G_TYPE_INT<span class='macro_popup'>((GType) ((6) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> signals[SIGNAL_FILE_CHANGED] = g_signal_new (<span class='string_literal'>"file-changed"</span>,</td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='macro'>EOM_TYPE_IMAGE<span class='macro_popup'>(eom_image_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (EomImageClass, file_changed)<span class='macro_popup'>((glong) __builtin_offsetof(EomImageClass, file_changed))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> g_cclosure_marshal_VOID__VOID,</td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line">eom_image_init (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> img-&gt;priv = eom_image_get_instance_private (img);</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> img-&gt;priv-&gt;file = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> img-&gt;priv-&gt;image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> img-&gt;priv-&gt;anim = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> img-&gt;priv-&gt;anim_iter = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> img-&gt;priv-&gt;is_playing = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> img-&gt;priv-&gt;thumbnail = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> img-&gt;priv-&gt;width = -1;</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> img-&gt;priv-&gt;height = -1;</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> img-&gt;priv-&gt;modified = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> img-&gt;priv-&gt;file_is_changed = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> g_mutex_init (&amp;img-&gt;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> img-&gt;priv-&gt;status = EOM_IMAGE_STATUS_UNKNOWN;</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> img-&gt;priv-&gt;metadata_status = EOM_IMAGE_METADATA_NOT_READ;</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> img-&gt;priv-&gt;undo_stack = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> img-&gt;priv-&gt;trans = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> img-&gt;priv-&gt;trans_autorotate = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> img-&gt;priv-&gt;data_ref_count = 0;</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXIF<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> img-&gt;priv-&gt;orientation = 0;</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> img-&gt;priv-&gt;autorotate = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> img-&gt;priv-&gt;exif = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXEMPI<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> img-&gt;priv-&gt;xmp = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> img-&gt;priv-&gt;profile = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_RSVG<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> img-&gt;priv-&gt;svg = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line">EomImage *</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line">eom_image_new_file (GFile *file, <span class='keyword'>const</span> gchar *caption)</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> EomImage *img;</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> img = <span class='macro'>EOM_IMAGE (g_object_new (EOM_TYPE_IMAGE, NULL))<span class='macro_popup'>((((EomImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_image_get_type ()), ((void*)0)))), ((<br>eom_image_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> img-&gt;priv-&gt;file = <span class='macro'>g_object_ref (file)<span class='macro_popup'>((__typeof__ (file)) (g_object_ref) (file))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> img-&gt;priv-&gt;caption = <span class='macro'>g_strdup (caption)<span class='macro_popup'>g_strdup_inline (caption)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> <span class='keyword'>return</span> img;</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line">GQuark</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line">eom_image_error_quark (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> <span class='keyword'>static</span> GQuark q = 0;</td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> <span class='keyword'>if</span> (q == 0) {</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> q = g_quark_from_static_string (<span class='string_literal'>"eom-image-error-quark"</span>);</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> <span class='keyword'>return</span> q;</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line">eom_image_update_exif_data (EomImage *image)</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXIF<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> ExifEntry *entry;</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> ExifByteOrder bo;</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> eom_debug (<span class='macro'>DEBUG_IMAGE_DATA<span class='macro_popup'>EOM_DEBUG_IMAGE_DATA, "eom-image.c", 347, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (image))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((image)); GType __t = ((eom_image_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (image)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> priv = image-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;exif == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> bo = exif_data_get_byte_order (priv-&gt;exif);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> <span class='comment'>/* Update image width */</span></td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> entry = <span class='macro'>exif_data_get_entry (priv-&gt;exif, EXIF_TAG_PIXEL_X_DIMENSION)<span class='macro_popup'>(exif_content_get_entry(priv-&gt;exif-&gt;ifd[EXIF_IFD_0],EXIF_TAG_PIXEL_X_DIMENSION<br>) ? exif_content_get_entry(priv-&gt;exif-&gt;ifd[EXIF_IFD_0],<br>EXIF_TAG_PIXEL_X_DIMENSION) : exif_content_get_entry(priv-&gt;<br>exif-&gt;ifd[EXIF_IFD_1],EXIF_TAG_PIXEL_X_DIMENSION) ? exif_content_get_entry<br>(priv-&gt;exif-&gt;ifd[EXIF_IFD_1],EXIF_TAG_PIXEL_X_DIMENSION<br>) : exif_content_get_entry(priv-&gt;exif-&gt;ifd[EXIF_IFD_EXIF<br>],EXIF_TAG_PIXEL_X_DIMENSION) ? exif_content_get_entry(priv-&gt;<br>exif-&gt;ifd[EXIF_IFD_EXIF],EXIF_TAG_PIXEL_X_DIMENSION) : exif_content_get_entry<br>(priv-&gt;exif-&gt;ifd[EXIF_IFD_GPS],EXIF_TAG_PIXEL_X_DIMENSION<br>) ? exif_content_get_entry(priv-&gt;exif-&gt;ifd[EXIF_IFD_GPS<br>],EXIF_TAG_PIXEL_X_DIMENSION) : exif_content_get_entry(priv-&gt;<br>exif-&gt;ifd[EXIF_IFD_INTEROPERABILITY],EXIF_TAG_PIXEL_X_DIMENSION<br>) ? exif_content_get_entry(priv-&gt;exif-&gt;ifd[EXIF_IFD_INTEROPERABILITY<br>],EXIF_TAG_PIXEL_X_DIMENSION) : ((void*)0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> <span class='keyword'>if</span> (entry != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; (priv-&gt;width &gt;= 0)) {</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> <span class='keyword'>if</span> (entry-&gt;format == EXIF_FORMAT_LONG)</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> exif_set_long (entry-&gt;data, bo, priv-&gt;width);</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (entry-&gt;format == EXIF_FORMAT_SHORT)</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> exif_set_short (entry-&gt;data, bo, priv-&gt;width);</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> g_warning (<span class='string_literal'>"Exif entry has unsupported size"</span>);</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> <span class='comment'>/* Update image height */</span></td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> entry = <span class='macro'>exif_data_get_entry (priv-&gt;exif, EXIF_TAG_PIXEL_Y_DIMENSION)<span class='macro_popup'>(exif_content_get_entry(priv-&gt;exif-&gt;ifd[EXIF_IFD_0],EXIF_TAG_PIXEL_Y_DIMENSION<br>) ? exif_content_get_entry(priv-&gt;exif-&gt;ifd[EXIF_IFD_0],<br>EXIF_TAG_PIXEL_Y_DIMENSION) : exif_content_get_entry(priv-&gt;<br>exif-&gt;ifd[EXIF_IFD_1],EXIF_TAG_PIXEL_Y_DIMENSION) ? exif_content_get_entry<br>(priv-&gt;exif-&gt;ifd[EXIF_IFD_1],EXIF_TAG_PIXEL_Y_DIMENSION<br>) : exif_content_get_entry(priv-&gt;exif-&gt;ifd[EXIF_IFD_EXIF<br>],EXIF_TAG_PIXEL_Y_DIMENSION) ? exif_content_get_entry(priv-&gt;<br>exif-&gt;ifd[EXIF_IFD_EXIF],EXIF_TAG_PIXEL_Y_DIMENSION) : exif_content_get_entry<br>(priv-&gt;exif-&gt;ifd[EXIF_IFD_GPS],EXIF_TAG_PIXEL_Y_DIMENSION<br>) ? exif_content_get_entry(priv-&gt;exif-&gt;ifd[EXIF_IFD_GPS<br>],EXIF_TAG_PIXEL_Y_DIMENSION) : exif_content_get_entry(priv-&gt;<br>exif-&gt;ifd[EXIF_IFD_INTEROPERABILITY],EXIF_TAG_PIXEL_Y_DIMENSION<br>) ? exif_content_get_entry(priv-&gt;exif-&gt;ifd[EXIF_IFD_INTEROPERABILITY<br>],EXIF_TAG_PIXEL_Y_DIMENSION) : ((void*)0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> <span class='keyword'>if</span> (entry != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; (priv-&gt;height &gt;= 0)) {</td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> <span class='keyword'>if</span> (entry-&gt;format == EXIF_FORMAT_LONG)</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> exif_set_long (entry-&gt;data, bo, priv-&gt;height);</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (entry-&gt;format == EXIF_FORMAT_SHORT)</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> exif_set_short (entry-&gt;data, bo, priv-&gt;height);</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> g_warning (<span class='string_literal'>"Exif entry has unsupported size"</span>);</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> <span class='comment'>/* Update image orientation */</span></td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> entry = <span class='macro'>exif_data_get_entry (priv-&gt;exif, EXIF_TAG_ORIENTATION)<span class='macro_popup'>(exif_content_get_entry(priv-&gt;exif-&gt;ifd[EXIF_IFD_0],EXIF_TAG_ORIENTATION<br>) ? exif_content_get_entry(priv-&gt;exif-&gt;ifd[EXIF_IFD_0],<br>EXIF_TAG_ORIENTATION) : exif_content_get_entry(priv-&gt;exif-&gt;<br>ifd[EXIF_IFD_1],EXIF_TAG_ORIENTATION) ? exif_content_get_entry<br>(priv-&gt;exif-&gt;ifd[EXIF_IFD_1],EXIF_TAG_ORIENTATION) : exif_content_get_entry<br>(priv-&gt;exif-&gt;ifd[EXIF_IFD_EXIF],EXIF_TAG_ORIENTATION) ?<br> exif_content_get_entry(priv-&gt;exif-&gt;ifd[EXIF_IFD_EXIF],<br>EXIF_TAG_ORIENTATION) : exif_content_get_entry(priv-&gt;exif-&gt;<br>ifd[EXIF_IFD_GPS],EXIF_TAG_ORIENTATION) ? exif_content_get_entry<br>(priv-&gt;exif-&gt;ifd[EXIF_IFD_GPS],EXIF_TAG_ORIENTATION) : exif_content_get_entry<br>(priv-&gt;exif-&gt;ifd[EXIF_IFD_INTEROPERABILITY],EXIF_TAG_ORIENTATION<br>) ? exif_content_get_entry(priv-&gt;exif-&gt;ifd[EXIF_IFD_INTEROPERABILITY<br>],EXIF_TAG_ORIENTATION) : ((void*)0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> <span class='keyword'>if</span> (entry != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> <span class='keyword'>if</span> (entry-&gt;format == EXIF_FORMAT_LONG)</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"> exif_set_long (entry-&gt;data, bo, 1);</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (entry-&gt;format == EXIF_FORMAT_SHORT)</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> exif_set_short (entry-&gt;data, bo, 1);</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> g_warning (<span class='string_literal'>"Exif entry has unsupported size"</span>);</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> priv-&gt;orientation = 1;</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line">eom_image_real_transform (EomImage *img,</td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> EomTransform *trans,</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> gboolean is_undo,</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> EomJob *job)</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> GdkPixbuf *transformed;</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> gboolean modified = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (img))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_TRANSFORM (trans))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> transformed = eom_transform_apply (trans, priv-&gt;image, job);</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> g_object_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> priv-&gt;image = transformed;</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> priv-&gt;width = gdk_pixbuf_get_width (transformed);</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> priv-&gt;height = gdk_pixbuf_get_height (transformed);</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> modified = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;thumbnail != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> transformed = eom_transform_apply (trans, priv-&gt;thumbnail, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> g_object_unref (priv-&gt;thumbnail);</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> priv-&gt;thumbnail = transformed;</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> modified = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> <span class='keyword'>if</span> (modified) {</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> priv-&gt;modified = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> eom_image_update_exif_data (img);</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;trans == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> <span class='macro'>g_object_ref (trans)<span class='macro_popup'>((__typeof__ (trans)) (g_object_ref) (trans))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> priv-&gt;trans = trans;</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> EomTransform *composition;</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> composition = eom_transform_compose (priv-&gt;trans, trans);</td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> g_object_unref (priv-&gt;trans);</td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> priv-&gt;trans = composition;</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> <span class='keyword'>if</span> (!is_undo) {</td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> <span class='macro'>g_object_ref (trans)<span class='macro_popup'>((__typeof__ (trans)) (g_object_ref) (trans))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> priv-&gt;undo_stack = g_slist_prepend (priv-&gt;undo_stack, trans);</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line">do_emit_size_prepared_signal (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"> g_signal_emit (img, signals[SIGNAL_SIZE_PREPARED], 0,</td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> img-&gt;priv-&gt;width, img-&gt;priv-&gt;height);</td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line">eom_image_emit_size_prepared (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line"> g_idle_add_full (<span class='macro'>G_PRIORITY_DEFAULT_IDLE<span class='macro_popup'>200</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"> (GSourceFunc) do_emit_size_prepared_signal,</td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line"> <span class='macro'>g_object_ref (img)<span class='macro_popup'>((__typeof__ (img)) (g_object_ref) (img))</span></span>, g_object_unref);</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line">eom_image_size_prepared (GdkPixbufLoader *loader,</td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line"> gint width,</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> gint height,</td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> EomImage *img;</td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line"> eom_debug (<span class='macro'>DEBUG_IMAGE_LOAD<span class='macro_popup'>EOM_DEBUG_IMAGE_LOAD, "eom-image.c", 478, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((data)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"> img = <span class='macro'>EOM_IMAGE (data)<span class='macro_popup'>((((EomImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_image_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line"> g_mutex_lock (&amp;img-&gt;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> img-&gt;priv-&gt;width = width;</td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"> img-&gt;priv-&gt;height = height;</td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line"> g_mutex_unlock (&amp;img-&gt;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXIF<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line"> <span class='keyword'>if</span> (!img-&gt;priv-&gt;autorotate || img-&gt;priv-&gt;exif)</td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line"> eom_image_emit_size_prepared (img);</td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line"><span class='keyword'>static</span> EomMetadataReader*</td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line">check_for_metadata_img_format (EomImage *img, guchar *buffer, guint bytes_read)</td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> EomMetadataReader *md_reader = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_IMAGE_DATA<span class='macro_popup'>EOM_DEBUG_IMAGE_DATA, "eom-image.c", 502, ((const char*) (__func__<br>))</span></span>, <span class='string_literal'>"Check image format for jpeg: %x%x - length: %i"</span>,</td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> buffer[0], buffer[1], bytes_read);</td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> <span class='keyword'>if</span> (bytes_read &gt;= 2) {</td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"> <span class='comment'>/* SOI (start of image) marker for JPEGs is 0xFFD8 */</span></td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line"> <span class='keyword'>if</span> ((buffer[0] == 0xFF) &amp;&amp; (buffer[1] == 0xD8)) {</td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> md_reader = eom_metadata_reader_new (EOM_METADATA_JPEG);</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line"> <span class='keyword'>if</span> (bytes_read &gt;= 8 &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> memcmp (buffer, <span class='string_literal'>"\x89PNG\x0D\x0A\x1a\x0A"</span>, 8) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> md_reader = eom_metadata_reader_new (EOM_METADATA_PNG);</td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line"> <span class='keyword'>return</span> md_reader;</td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line">eom_image_needs_transformation (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> <span class='keyword'>return</span> (img-&gt;priv-&gt;trans != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> || img-&gt;priv-&gt;trans_autorotate != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line">eom_image_apply_transformations (EomImage *img, GError **error)</td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line"> GdkPixbuf *transformed = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="531"><td class="num" id="LN531">531</td><td class="line"> EomTransform *composition = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="532"><td class="num" id="LN532">532</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="533"><td class="num" id="LN533">533</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="534"><td class="num" id="LN534">534</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="535"><td class="num" id="LN535">535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="536"><td class="num" id="LN536">536</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="537"><td class="num" id="LN537">537</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="538"><td class="num" id="LN538">538</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;trans == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; priv-&gt;trans_autorotate == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="539"><td class="num" id="LN539">539</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="540"><td class="num" id="LN540">540</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="541"><td class="num" id="LN541">541</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="542"><td class="num" id="LN542">542</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="543"><td class="num" id="LN543">543</td><td class="line"> g_set_error (error,</td></tr>
+<tr class="codeline" data-linenumber="544"><td class="num" id="LN544">544</td><td class="line"> <span class='macro'>EOM_IMAGE_ERROR<span class='macro_popup'>eom_image_error_quark ()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="545"><td class="num" id="LN545">545</td><td class="line"> EOM_IMAGE_ERROR_NOT_LOADED,</td></tr>
+<tr class="codeline" data-linenumber="546"><td class="num" id="LN546">546</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Transformation on unloaded image."</span>)<span class='macro_popup'>gettext ("Transformation on unloaded image.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="547"><td class="num" id="LN547">547</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="548"><td class="num" id="LN548">548</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="549"><td class="num" id="LN549">549</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="550"><td class="num" id="LN550">550</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="551"><td class="num" id="LN551">551</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;trans != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; priv-&gt;trans_autorotate != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="552"><td class="num" id="LN552">552</td><td class="line"> composition = eom_transform_compose (priv-&gt;trans,</td></tr>
+<tr class="codeline" data-linenumber="553"><td class="num" id="LN553">553</td><td class="line"> priv-&gt;trans_autorotate);</td></tr>
+<tr class="codeline" data-linenumber="554"><td class="num" id="LN554">554</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (priv-&gt;trans != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="555"><td class="num" id="LN555">555</td><td class="line"> composition = <span class='macro'>g_object_ref (priv-&gt;trans)<span class='macro_popup'>((__typeof__ (priv-&gt;trans)) (g_object_ref) (priv-&gt;trans<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="556"><td class="num" id="LN556">556</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (priv-&gt;trans_autorotate != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="557"><td class="num" id="LN557">557</td><td class="line"> composition = <span class='macro'>g_object_ref (priv-&gt;trans_autorotate)<span class='macro_popup'>((__typeof__ (priv-&gt;trans_autorotate)) (g_object_ref) (priv<br>-&gt;trans_autorotate))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="558"><td class="num" id="LN558">558</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="559"><td class="num" id="LN559">559</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="560"><td class="num" id="LN560">560</td><td class="line"> <span class='keyword'>if</span> (composition != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="561"><td class="num" id="LN561">561</td><td class="line"> transformed = eom_transform_apply (composition, priv-&gt;image, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="562"><td class="num" id="LN562">562</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="563"><td class="num" id="LN563">563</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="564"><td class="num" id="LN564">564</td><td class="line"> g_object_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="565"><td class="num" id="LN565">565</td><td class="line"> priv-&gt;image = transformed;</td></tr>
+<tr class="codeline" data-linenumber="566"><td class="num" id="LN566">566</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="567"><td class="num" id="LN567">567</td><td class="line"> <span class='keyword'>if</span> (transformed != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="568"><td class="num" id="LN568">568</td><td class="line"> priv-&gt;width = gdk_pixbuf_get_width (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="569"><td class="num" id="LN569">569</td><td class="line"> priv-&gt;height = gdk_pixbuf_get_height (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="570"><td class="num" id="LN570">570</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="571"><td class="num" id="LN571">571</td><td class="line"> g_set_error (error,</td></tr>
+<tr class="codeline" data-linenumber="572"><td class="num" id="LN572">572</td><td class="line"> <span class='macro'>EOM_IMAGE_ERROR<span class='macro_popup'>eom_image_error_quark ()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="573"><td class="num" id="LN573">573</td><td class="line"> EOM_IMAGE_ERROR_GENERIC,</td></tr>
+<tr class="codeline" data-linenumber="574"><td class="num" id="LN574">574</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Transformation failed."</span>)<span class='macro_popup'>gettext ("Transformation failed.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="575"><td class="num" id="LN575">575</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="576"><td class="num" id="LN576">576</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="577"><td class="num" id="LN577">577</td><td class="line"> g_object_unref (composition);</td></tr>
+<tr class="codeline" data-linenumber="578"><td class="num" id="LN578">578</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="579"><td class="num" id="LN579">579</td><td class="line"> <span class='keyword'>return</span> (transformed != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="580"><td class="num" id="LN580">580</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="581"><td class="num" id="LN581">581</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="582"><td class="num" id="LN582">582</td><td class="line"><span id="start28"><span class='keyword'>static</span></span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="583"><td class="num" id="LN583">583</td><td class="line">eom_image_get_file_info (EomImage *img,</td></tr>
+<tr class="codeline" data-linenumber="584"><td class="num" id="LN584">584</td><td class="line"> goffset *bytes,</td></tr>
+<tr class="codeline" data-linenumber="585"><td class="num" id="LN585">585</td><td class="line"> gchar **mime_type,</td></tr>
+<tr class="codeline" data-linenumber="586"><td class="num" id="LN586">586</td><td class="line"> GError **error)</td></tr>
+<tr class="codeline" data-linenumber="587"><td class="num" id="LN587">587</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="588"><td class="num" id="LN588">588</td><td class="line"> <span id="start27"><span id="end28">GFileInfo</span></span> *file_info;</td></tr>
+<tr class="codeline" data-linenumber="589"><td class="num" id="LN589">589</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="590"><td class="num" id="LN590">590</td><td class="line"> file_info = g_file_query_info (img-&gt;priv-&gt;file,</td></tr>
+<tr class="codeline" data-linenumber="591"><td class="num" id="LN591">591</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_SIZE<span class='macro_popup'>"standard::size"</span></span> <span class='string_literal'>","</span></td></tr>
+<tr class="codeline" data-linenumber="592"><td class="num" id="LN592">592</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE<span class='macro_popup'>"standard::content-type"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="593"><td class="num" id="LN593">593</td><td class="line"> 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, error);</td></tr>
+<tr class="codeline" data-linenumber="594"><td class="num" id="LN594">594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="595"><td class="num" id="LN595">595</td><td class="line"> <span id="start26"><span id="end27"><span class='keyword'>if</span></span></span> (<span id="start25"><span class="mrange"><span id="end26">file_info</span></span> == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path9" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">9</div></td><td><div class="PathNav"><a href="#Path8" title="Previous event (8)">&#x2190;</a></div></td><td>Assuming 'file_info' is equal to NULL</td><td><div class="PathNav"><a href="#Path10" title="Next event (10)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path10" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">10</div></td><td><div class="PathNav"><a href="#Path9" title="Previous event (9)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#Path11" title="Next event (11)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="596"><td class="num" id="LN596">596</td><td class="line"> <span id="start24"><span id="end25"><span class='keyword'>if</span></span></span> (<span id="start23"><span id="end24"><span class='variable'>bytes<table class='variable_popup'><tbody><tr><td valign='top'><div class='PathIndex PathIndexPopUp'>10.1</div></td><td>'bytes' is non-null</td></tr></tbody></table></span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path11" class="msg msgControl" style="margin-left:17ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">11</div></td><td><div class="PathNav"><a href="#Path10" title="Previous event (10)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#Path12" title="Next event (12)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="597"><td class="num" id="LN597">597</td><td class="line"> <span id="start22"><span id="end23">*</span></span>bytes = 0;</td></tr>
+<tr class="codeline" data-linenumber="598"><td class="num" id="LN598">598</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="599"><td class="num" id="LN599">599</td><td class="line"> <span id="start21"><span id="end22"><span class='keyword'>if</span></span></span> (<span id="start20"><span id="end21"><span class='variable'>mime_type<table class='variable_popup'><tbody><tr><td valign='top'><div class='PathIndex PathIndexPopUp'>11.1</div></td><td>'mime_type' is non-null</td></tr></tbody></table></span></span></span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path12" class="msg msgControl" style="margin-left:17ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">12</div></td><td><div class="PathNav"><a href="#Path11" title="Previous event (11)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#Path13" title="Next event (13)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="600"><td class="num" id="LN600">600</td><td class="line"> <span id="start19"><span class="mrange"><span id="end20">*</span></span>mime_type = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path13" class="msg msgEvent" style="margin-left:25ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">13</div></td><td><div class="PathNav"><a href="#Path12" title="Previous event (12)">&#x2190;</a></div></td><td>Null pointer value stored to 'mime_type'</td><td><div class="PathNav"><a href="#Path14" title="Next event (14)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="601"><td class="num" id="LN601">601</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="602"><td class="num" id="LN602">602</td><td class="line"> <span id="end19">g_set_error</span> (error,</td></tr>
+<tr class="codeline" data-linenumber="603"><td class="num" id="LN603">603</td><td class="line"> <span class='macro'>EOM_IMAGE_ERROR<span class='macro_popup'>eom_image_error_quark ()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="604"><td class="num" id="LN604">604</td><td class="line"> EOM_IMAGE_ERROR_VFS,</td></tr>
+<tr class="codeline" data-linenumber="605"><td class="num" id="LN605">605</td><td class="line"> <span class='string_literal'>"Error in getting image file info"</span>);</td></tr>
+<tr class="codeline" data-linenumber="606"><td class="num" id="LN606">606</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="607"><td class="num" id="LN607">607</td><td class="line"> <span class='keyword'>if</span> (bytes)</td></tr>
+<tr class="codeline" data-linenumber="608"><td class="num" id="LN608">608</td><td class="line"> *bytes = g_file_info_get_size (file_info);</td></tr>
+<tr class="codeline" data-linenumber="609"><td class="num" id="LN609">609</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="610"><td class="num" id="LN610">610</td><td class="line"> <span class='keyword'>if</span> (mime_type)</td></tr>
+<tr class="codeline" data-linenumber="611"><td class="num" id="LN611">611</td><td class="line"> *mime_type = <span class='macro'>g_strdup (g_file_info_get_content_type (file_info))<span class='macro_popup'>g_strdup_inline (g_file_info_get_content_type (file_info))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="612"><td class="num" id="LN612">612</td><td class="line"> g_object_unref (file_info);</td></tr>
+<tr class="codeline" data-linenumber="613"><td class="num" id="LN613">613</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="614"><td class="num" id="LN614">614</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="615"><td class="num" id="LN615">615</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="616"><td class="num" id="LN616">616</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="617"><td class="num" id="LN617">617</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="618"><td class="num" id="LN618">618</td><td class="line">eom_image_apply_display_profile (EomImage *img, cmsHPROFILE screen)</td></tr>
+<tr class="codeline" data-linenumber="619"><td class="num" id="LN619">619</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="620"><td class="num" id="LN620">620</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="621"><td class="num" id="LN621">621</td><td class="line"> cmsHTRANSFORM transform;</td></tr>
+<tr class="codeline" data-linenumber="622"><td class="num" id="LN622">622</td><td class="line"> gint row, width, rows, stride;</td></tr>
+<tr class="codeline" data-linenumber="623"><td class="num" id="LN623">623</td><td class="line"> guchar *p;</td></tr>
+<tr class="codeline" data-linenumber="624"><td class="num" id="LN624">624</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="625"><td class="num" id="LN625">625</td><td class="line"> <span class='macro'>g_return_if_fail (img != NULL)<span class='macro_popup'>do { if ((img != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "img != NULL"); return; }<br> } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="626"><td class="num" id="LN626">626</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="627"><td class="num" id="LN627">627</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="628"><td class="num" id="LN628">628</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="629"><td class="num" id="LN629">629</td><td class="line"> <span class='keyword'>if</span> (screen == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="630"><td class="num" id="LN630">630</td><td class="line"> <span class='keyword'>if</span> (!<span class='macro'>GDK_IS_X11_DISPLAY(gdk_display_get_default())<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(gdk_display_get_default())); GType __t = ((gdk_x11_display_get_type<br>())); gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;<br>g_class &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r =<br> (!(0)); else __r = g_type_check_instance_is_a (__inst, __t);<br> __r; }))))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="631"><td class="num" id="LN631">631</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="632"><td class="num" id="LN632">632</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="633"><td class="num" id="LN633">633</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="634"><td class="num" id="LN634">634</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;profile == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="635"><td class="num" id="LN635">635</td><td class="line"> <span class='comment'>/* Check whether GdkPixbuf was able to extract a profile */</span></td></tr>
+<tr class="codeline" data-linenumber="636"><td class="num" id="LN636">636</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span>* data = gdk_pixbuf_get_option (priv-&gt;image,</td></tr>
+<tr class="codeline" data-linenumber="637"><td class="num" id="LN637">637</td><td class="line"> <span class='string_literal'>"icc-profile"</span>);</td></tr>
+<tr class="codeline" data-linenumber="638"><td class="num" id="LN638">638</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="639"><td class="num" id="LN639">639</td><td class="line"> <span class='keyword'>if</span>(data) {</td></tr>
+<tr class="codeline" data-linenumber="640"><td class="num" id="LN640">640</td><td class="line"> gsize profile_size = 0;</td></tr>
+<tr class="codeline" data-linenumber="641"><td class="num" id="LN641">641</td><td class="line"> guchar *profile_data = g_base64_decode(data,</td></tr>
+<tr class="codeline" data-linenumber="642"><td class="num" id="LN642">642</td><td class="line"> &amp;profile_size);</td></tr>
+<tr class="codeline" data-linenumber="643"><td class="num" id="LN643">643</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="644"><td class="num" id="LN644">644</td><td class="line"> <span class='keyword'>if</span> (profile_data &amp;&amp; profile_size &gt; 0) {</td></tr>
+<tr class="codeline" data-linenumber="645"><td class="num" id="LN645">645</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_LCMS<span class='macro_popup'>EOM_DEBUG_LCMS, "eom-image.c", 645, ((const char*) (__func__)<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="646"><td class="num" id="LN646">646</td><td class="line"> <span class='string_literal'>"Using ICC profile "</span></td></tr>
+<tr class="codeline" data-linenumber="647"><td class="num" id="LN647">647</td><td class="line"> <span class='string_literal'>"extracted by GdkPixbuf"</span>);</td></tr>
+<tr class="codeline" data-linenumber="648"><td class="num" id="LN648">648</td><td class="line"> priv-&gt;profile =</td></tr>
+<tr class="codeline" data-linenumber="649"><td class="num" id="LN649">649</td><td class="line"> cmsOpenProfileFromMem(profile_data,</td></tr>
+<tr class="codeline" data-linenumber="650"><td class="num" id="LN650">650</td><td class="line"> profile_size);</td></tr>
+<tr class="codeline" data-linenumber="651"><td class="num" id="LN651">651</td><td class="line"> g_free(profile_data);</td></tr>
+<tr class="codeline" data-linenumber="652"><td class="num" id="LN652">652</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="653"><td class="num" id="LN653">653</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="654"><td class="num" id="LN654">654</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="655"><td class="num" id="LN655">655</td><td class="line"> <span class='keyword'>if</span>(priv-&gt;profile == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="656"><td class="num" id="LN656">656</td><td class="line"> <span class='comment'>/* Assume sRGB color space for images without ICC profile */</span></td></tr>
+<tr class="codeline" data-linenumber="657"><td class="num" id="LN657">657</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_LCMS<span class='macro_popup'>EOM_DEBUG_LCMS, "eom-image.c", 657, ((const char*) (__func__)<br>)</span></span>, <span class='string_literal'>"Image has no ICC profile. "</span></td></tr>
+<tr class="codeline" data-linenumber="658"><td class="num" id="LN658">658</td><td class="line"> <span class='string_literal'>"Assuming sRGB."</span>);</td></tr>
+<tr class="codeline" data-linenumber="659"><td class="num" id="LN659">659</td><td class="line"> priv-&gt;profile = cmsCreate_sRGBProfile ();</td></tr>
+<tr class="codeline" data-linenumber="660"><td class="num" id="LN660">660</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="661"><td class="num" id="LN661">661</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="662"><td class="num" id="LN662">662</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="663"><td class="num" id="LN663">663</td><td class="line"> <span class='comment'>/* TODO: support other colorspaces than RGB */</span></td></tr>
+<tr class="codeline" data-linenumber="664"><td class="num" id="LN664">664</td><td class="line"> <span class='keyword'>if</span> (cmsGetColorSpace (priv-&gt;profile) != cmsSigRgbData ||</td></tr>
+<tr class="codeline" data-linenumber="665"><td class="num" id="LN665">665</td><td class="line"> cmsGetColorSpace (screen) != cmsSigRgbData) {</td></tr>
+<tr class="codeline" data-linenumber="666"><td class="num" id="LN666">666</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_LCMS<span class='macro_popup'>EOM_DEBUG_LCMS, "eom-image.c", 666, ((const char*) (__func__)<br>)</span></span>, <span class='string_literal'>"One or both ICC profiles not in RGB colorspace; not correcting"</span>);</td></tr>
+<tr class="codeline" data-linenumber="667"><td class="num" id="LN667">667</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="668"><td class="num" id="LN668">668</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="669"><td class="num" id="LN669">669</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="670"><td class="num" id="LN670">670</td><td class="line"> cmsUInt32Number color_type = <span class='macro'>TYPE_RGB_8<span class='macro_popup'>(((4) &lt;&lt; 16)|((3) &lt;&lt; 3)|(1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="671"><td class="num" id="LN671">671</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="672"><td class="num" id="LN672">672</td><td class="line"> <span class='keyword'>if</span> (gdk_pixbuf_get_has_alpha (priv-&gt;image))</td></tr>
+<tr class="codeline" data-linenumber="673"><td class="num" id="LN673">673</td><td class="line"> color_type = <span class='macro'>TYPE_RGBA_8<span class='macro_popup'>(((4) &lt;&lt; 16)|((1) &lt;&lt; 7)|((3) &lt;&lt; 3)|(1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="674"><td class="num" id="LN674">674</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="675"><td class="num" id="LN675">675</td><td class="line"> transform = cmsCreateTransform (priv-&gt;profile,</td></tr>
+<tr class="codeline" data-linenumber="676"><td class="num" id="LN676">676</td><td class="line"> color_type,</td></tr>
+<tr class="codeline" data-linenumber="677"><td class="num" id="LN677">677</td><td class="line"> screen,</td></tr>
+<tr class="codeline" data-linenumber="678"><td class="num" id="LN678">678</td><td class="line"> color_type,</td></tr>
+<tr class="codeline" data-linenumber="679"><td class="num" id="LN679">679</td><td class="line"> <span class='macro'>INTENT_PERCEPTUAL<span class='macro_popup'>0</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="680"><td class="num" id="LN680">680</td><td class="line"> 0);</td></tr>
+<tr class="codeline" data-linenumber="681"><td class="num" id="LN681">681</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="682"><td class="num" id="LN682">682</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_LIKELY (transform != NULL)<span class='macro_popup'>(transform != ((void*)0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="683"><td class="num" id="LN683">683</td><td class="line"> rows = gdk_pixbuf_get_height (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="684"><td class="num" id="LN684">684</td><td class="line"> width = gdk_pixbuf_get_width (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="685"><td class="num" id="LN685">685</td><td class="line"> stride = gdk_pixbuf_get_rowstride (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="686"><td class="num" id="LN686">686</td><td class="line"> p = gdk_pixbuf_get_pixels (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="687"><td class="num" id="LN687">687</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="688"><td class="num" id="LN688">688</td><td class="line"> <span class='keyword'>for</span> (row = 0; row &lt; rows; ++row) {</td></tr>
+<tr class="codeline" data-linenumber="689"><td class="num" id="LN689">689</td><td class="line"> cmsDoTransform (transform, p, p, width);</td></tr>
+<tr class="codeline" data-linenumber="690"><td class="num" id="LN690">690</td><td class="line"> p += stride;</td></tr>
+<tr class="codeline" data-linenumber="691"><td class="num" id="LN691">691</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="692"><td class="num" id="LN692">692</td><td class="line"> cmsDeleteTransform (transform);</td></tr>
+<tr class="codeline" data-linenumber="693"><td class="num" id="LN693">693</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="694"><td class="num" id="LN694">694</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="695"><td class="num" id="LN695">695</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="696"><td class="num" id="LN696">696</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="697"><td class="num" id="LN697">697</td><td class="line">eom_image_set_icc_data (EomImage *img, EomMetadataReader *md_reader)</td></tr>
+<tr class="codeline" data-linenumber="698"><td class="num" id="LN698">698</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="699"><td class="num" id="LN699">699</td><td class="line"> EomImagePrivate *priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="700"><td class="num" id="LN700">700</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="701"><td class="num" id="LN701">701</td><td class="line"> priv-&gt;profile = eom_metadata_reader_get_icc_profile (md_reader);</td></tr>
+<tr class="codeline" data-linenumber="702"><td class="num" id="LN702">702</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="703"><td class="num" id="LN703">703</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="704"><td class="num" id="LN704">704</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="705"><td class="num" id="LN705">705</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="706"><td class="num" id="LN706">706</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="707"><td class="num" id="LN707">707</td><td class="line">eom_image_set_orientation (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="708"><td class="num" id="LN708">708</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="709"><td class="num" id="LN709">709</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="710"><td class="num" id="LN710">710</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXIF<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="711"><td class="num" id="LN711">711</td><td class="line"> ExifData* exif;</td></tr>
+<tr class="codeline" data-linenumber="712"><td class="num" id="LN712">712</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="713"><td class="num" id="LN713">713</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="714"><td class="num" id="LN714">714</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (img))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="715"><td class="num" id="LN715">715</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="716"><td class="num" id="LN716">716</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="717"><td class="num" id="LN717">717</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="718"><td class="num" id="LN718">718</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXIF<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="719"><td class="num" id="LN719">719</td><td class="line"> exif = (ExifData*) eom_image_get_exif_info (img);</td></tr>
+<tr class="codeline" data-linenumber="720"><td class="num" id="LN720">720</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="721"><td class="num" id="LN721">721</td><td class="line"> <span class='keyword'>if</span> (exif != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="722"><td class="num" id="LN722">722</td><td class="line"> ExifByteOrder o = exif_data_get_byte_order (exif);</td></tr>
+<tr class="codeline" data-linenumber="723"><td class="num" id="LN723">723</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="724"><td class="num" id="LN724">724</td><td class="line"> ExifEntry *entry = <span class='macro'>exif_data_get_entry (exif,<span class='macro_popup'>(exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_0],EXIF_TAG_ORIENTATION<br>) ? exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_0],EXIF_TAG_ORIENTATION<br>) : exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_1],EXIF_TAG_ORIENTATION<br>) ? exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_1],EXIF_TAG_ORIENTATION<br>) : exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_EXIF],EXIF_TAG_ORIENTATION<br>) ? exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_EXIF],EXIF_TAG_ORIENTATION<br>) : exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_GPS],EXIF_TAG_ORIENTATION<br>) ? exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_GPS],EXIF_TAG_ORIENTATION<br>) : exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_INTEROPERABILITY<br>],EXIF_TAG_ORIENTATION) ? exif_content_get_entry(exif-&gt;ifd<br>[EXIF_IFD_INTEROPERABILITY],EXIF_TAG_ORIENTATION) : ((void*)0<br>))</span></span></td></tr>
+<tr class="codeline" data-linenumber="725"><td class="num" id="LN725">725</td><td class="line"> <span class='macro'>EXIF_TAG_ORIENTATION)<span class='macro_popup'>(exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_0],EXIF_TAG_ORIENTATION<br>) ? exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_0],EXIF_TAG_ORIENTATION<br>) : exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_1],EXIF_TAG_ORIENTATION<br>) ? exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_1],EXIF_TAG_ORIENTATION<br>) : exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_EXIF],EXIF_TAG_ORIENTATION<br>) ? exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_EXIF],EXIF_TAG_ORIENTATION<br>) : exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_GPS],EXIF_TAG_ORIENTATION<br>) ? exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_GPS],EXIF_TAG_ORIENTATION<br>) : exif_content_get_entry(exif-&gt;ifd[EXIF_IFD_INTEROPERABILITY<br>],EXIF_TAG_ORIENTATION) ? exif_content_get_entry(exif-&gt;ifd<br>[EXIF_IFD_INTEROPERABILITY],EXIF_TAG_ORIENTATION) : ((void*)0<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="726"><td class="num" id="LN726">726</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="727"><td class="num" id="LN727">727</td><td class="line"> <span class='keyword'>if</span> (entry &amp;&amp; entry-&gt;data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="728"><td class="num" id="LN728">728</td><td class="line"> priv-&gt;orientation = exif_get_short (entry-&gt;data, o);</td></tr>
+<tr class="codeline" data-linenumber="729"><td class="num" id="LN729">729</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="730"><td class="num" id="LN730">730</td><td class="line"> exif_data_unref (exif);</td></tr>
+<tr class="codeline" data-linenumber="731"><td class="num" id="LN731">731</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="732"><td class="num" id="LN732">732</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="733"><td class="num" id="LN733">733</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="734"><td class="num" id="LN734">734</td><td class="line"> GdkPixbuf *pbuf;</td></tr>
+<tr class="codeline" data-linenumber="735"><td class="num" id="LN735">735</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="736"><td class="num" id="LN736">736</td><td class="line"> pbuf = eom_image_get_pixbuf (img);</td></tr>
+<tr class="codeline" data-linenumber="737"><td class="num" id="LN737">737</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="738"><td class="num" id="LN738">738</td><td class="line"> <span class='keyword'>if</span> (pbuf) {</td></tr>
+<tr class="codeline" data-linenumber="739"><td class="num" id="LN739">739</td><td class="line"> <span class='keyword'>const</span> gchar *o_str;</td></tr>
+<tr class="codeline" data-linenumber="740"><td class="num" id="LN740">740</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="741"><td class="num" id="LN741">741</td><td class="line"> o_str = gdk_pixbuf_get_option (pbuf, <span class='string_literal'>"orientation"</span>);</td></tr>
+<tr class="codeline" data-linenumber="742"><td class="num" id="LN742">742</td><td class="line"> <span class='keyword'>if</span> (o_str) {</td></tr>
+<tr class="codeline" data-linenumber="743"><td class="num" id="LN743">743</td><td class="line"> <span class='keyword'>short</span> t = (<span class='keyword'>short</span>) g_ascii_strtoll (o_str,</td></tr>
+<tr class="codeline" data-linenumber="744"><td class="num" id="LN744">744</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, 10);</td></tr>
+<tr class="codeline" data-linenumber="745"><td class="num" id="LN745">745</td><td class="line"> <span class='keyword'>if</span> (t &gt;= 0 &amp;&amp; t &lt; 9)</td></tr>
+<tr class="codeline" data-linenumber="746"><td class="num" id="LN746">746</td><td class="line"> priv-&gt;orientation = t;</td></tr>
+<tr class="codeline" data-linenumber="747"><td class="num" id="LN747">747</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="748"><td class="num" id="LN748">748</td><td class="line"> g_object_unref (pbuf);</td></tr>
+<tr class="codeline" data-linenumber="749"><td class="num" id="LN749">749</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="750"><td class="num" id="LN750">750</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="751"><td class="num" id="LN751">751</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="752"><td class="num" id="LN752">752</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;orientation &gt; 4 &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="753"><td class="num" id="LN753">753</td><td class="line"> priv-&gt;orientation &lt; 9) {</td></tr>
+<tr class="codeline" data-linenumber="754"><td class="num" id="LN754">754</td><td class="line"> gint tmp;</td></tr>
+<tr class="codeline" data-linenumber="755"><td class="num" id="LN755">755</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="756"><td class="num" id="LN756">756</td><td class="line"> tmp = priv-&gt;width;</td></tr>
+<tr class="codeline" data-linenumber="757"><td class="num" id="LN757">757</td><td class="line"> priv-&gt;width = priv-&gt;height;</td></tr>
+<tr class="codeline" data-linenumber="758"><td class="num" id="LN758">758</td><td class="line"> priv-&gt;height = tmp;</td></tr>
+<tr class="codeline" data-linenumber="759"><td class="num" id="LN759">759</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="760"><td class="num" id="LN760">760</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="761"><td class="num" id="LN761">761</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="762"><td class="num" id="LN762">762</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="763"><td class="num" id="LN763">763</td><td class="line">eom_image_real_autorotate (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="764"><td class="num" id="LN764">764</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="765"><td class="num" id="LN765">765</td><td class="line"> <span class='keyword'>static</span> <span class='keyword'>const</span> EomTransformType lookup[8] = {EOM_TRANSFORM_NONE,</td></tr>
+<tr class="codeline" data-linenumber="766"><td class="num" id="LN766">766</td><td class="line"> EOM_TRANSFORM_FLIP_HORIZONTAL,</td></tr>
+<tr class="codeline" data-linenumber="767"><td class="num" id="LN767">767</td><td class="line"> EOM_TRANSFORM_ROT_180,</td></tr>
+<tr class="codeline" data-linenumber="768"><td class="num" id="LN768">768</td><td class="line"> EOM_TRANSFORM_FLIP_VERTICAL,</td></tr>
+<tr class="codeline" data-linenumber="769"><td class="num" id="LN769">769</td><td class="line"> EOM_TRANSFORM_TRANSPOSE,</td></tr>
+<tr class="codeline" data-linenumber="770"><td class="num" id="LN770">770</td><td class="line"> EOM_TRANSFORM_ROT_90,</td></tr>
+<tr class="codeline" data-linenumber="771"><td class="num" id="LN771">771</td><td class="line"> EOM_TRANSFORM_TRANSVERSE,</td></tr>
+<tr class="codeline" data-linenumber="772"><td class="num" id="LN772">772</td><td class="line"> EOM_TRANSFORM_ROT_270};</td></tr>
+<tr class="codeline" data-linenumber="773"><td class="num" id="LN773">773</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="774"><td class="num" id="LN774">774</td><td class="line"> EomTransformType type;</td></tr>
+<tr class="codeline" data-linenumber="775"><td class="num" id="LN775">775</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="776"><td class="num" id="LN776">776</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (img))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="777"><td class="num" id="LN777">777</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="778"><td class="num" id="LN778">778</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="779"><td class="num" id="LN779">779</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="780"><td class="num" id="LN780">780</td><td class="line"> type = (priv-&gt;orientation &gt;= 1 &amp;&amp; priv-&gt;orientation &lt;= 8 ?</td></tr>
+<tr class="codeline" data-linenumber="781"><td class="num" id="LN781">781</td><td class="line"> lookup[priv-&gt;orientation - 1] : EOM_TRANSFORM_NONE);</td></tr>
+<tr class="codeline" data-linenumber="782"><td class="num" id="LN782">782</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="783"><td class="num" id="LN783">783</td><td class="line"> <span class='keyword'>if</span> (type != EOM_TRANSFORM_NONE) {</td></tr>
+<tr class="codeline" data-linenumber="784"><td class="num" id="LN784">784</td><td class="line"> img-&gt;priv-&gt;trans_autorotate = eom_transform_new (type);</td></tr>
+<tr class="codeline" data-linenumber="785"><td class="num" id="LN785">785</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="786"><td class="num" id="LN786">786</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="787"><td class="num" id="LN787">787</td><td class="line"> <span class='comment'>/* Disable auto orientation for next loads */</span></td></tr>
+<tr class="codeline" data-linenumber="788"><td class="num" id="LN788">788</td><td class="line"> priv-&gt;autorotate = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="789"><td class="num" id="LN789">789</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="790"><td class="num" id="LN790">790</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="791"><td class="num" id="LN791">791</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="792"><td class="num" id="LN792">792</td><td class="line">eom_image_autorotate (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="793"><td class="num" id="LN793">793</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="794"><td class="num" id="LN794">794</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (img))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="795"><td class="num" id="LN795">795</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="796"><td class="num" id="LN796">796</td><td class="line"> <span class='comment'>/* Schedule auto orientation */</span></td></tr>
+<tr class="codeline" data-linenumber="797"><td class="num" id="LN797">797</td><td class="line"> img-&gt;priv-&gt;autorotate = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="798"><td class="num" id="LN798">798</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="799"><td class="num" id="LN799">799</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="800"><td class="num" id="LN800">800</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXEMPI<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="801"><td class="num" id="LN801">801</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="802"><td class="num" id="LN802">802</td><td class="line">eom_image_set_xmp_data (EomImage *img, EomMetadataReader *md_reader)</td></tr>
+<tr class="codeline" data-linenumber="803"><td class="num" id="LN803">803</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="804"><td class="num" id="LN804">804</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="805"><td class="num" id="LN805">805</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="806"><td class="num" id="LN806">806</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (img))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="807"><td class="num" id="LN807">807</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="808"><td class="num" id="LN808">808</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="809"><td class="num" id="LN809">809</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="810"><td class="num" id="LN810">810</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;xmp) {</td></tr>
+<tr class="codeline" data-linenumber="811"><td class="num" id="LN811">811</td><td class="line"> xmp_free (priv-&gt;xmp);</td></tr>
+<tr class="codeline" data-linenumber="812"><td class="num" id="LN812">812</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="813"><td class="num" id="LN813">813</td><td class="line"> priv-&gt;xmp = eom_metadata_reader_get_xmp_data (md_reader);</td></tr>
+<tr class="codeline" data-linenumber="814"><td class="num" id="LN814">814</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="815"><td class="num" id="LN815">815</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="816"><td class="num" id="LN816">816</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="817"><td class="num" id="LN817">817</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="818"><td class="num" id="LN818">818</td><td class="line">eom_image_set_exif_data (EomImage *img, EomMetadataReader *md_reader)</td></tr>
+<tr class="codeline" data-linenumber="819"><td class="num" id="LN819">819</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="820"><td class="num" id="LN820">820</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="821"><td class="num" id="LN821">821</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="822"><td class="num" id="LN822">822</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (img))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="823"><td class="num" id="LN823">823</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="824"><td class="num" id="LN824">824</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="825"><td class="num" id="LN825">825</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="826"><td class="num" id="LN826">826</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXIF<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="827"><td class="num" id="LN827">827</td><td class="line"> g_mutex_lock (&amp;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="828"><td class="num" id="LN828">828</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;exif) {</td></tr>
+<tr class="codeline" data-linenumber="829"><td class="num" id="LN829">829</td><td class="line"> exif_data_unref (priv-&gt;exif);</td></tr>
+<tr class="codeline" data-linenumber="830"><td class="num" id="LN830">830</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="831"><td class="num" id="LN831">831</td><td class="line"> priv-&gt;exif = eom_metadata_reader_get_exif_data (md_reader);</td></tr>
+<tr class="codeline" data-linenumber="832"><td class="num" id="LN832">832</td><td class="line"> g_mutex_unlock (&amp;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="833"><td class="num" id="LN833">833</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="834"><td class="num" id="LN834">834</td><td class="line"> priv-&gt;exif_chunk = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="835"><td class="num" id="LN835">835</td><td class="line"> priv-&gt;exif_chunk_len = 0;</td></tr>
+<tr class="codeline" data-linenumber="836"><td class="num" id="LN836">836</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="837"><td class="num" id="LN837">837</td><td class="line"> <span class='comment'>/* EXIF data is already available, set the image orientation */</span></td></tr>
+<tr class="codeline" data-linenumber="838"><td class="num" id="LN838">838</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;autorotate) {</td></tr>
+<tr class="codeline" data-linenumber="839"><td class="num" id="LN839">839</td><td class="line"> eom_image_set_orientation (img);</td></tr>
+<tr class="codeline" data-linenumber="840"><td class="num" id="LN840">840</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="841"><td class="num" id="LN841">841</td><td class="line"> <span class='comment'>/* Emit size prepared signal if we have the size */</span></td></tr>
+<tr class="codeline" data-linenumber="842"><td class="num" id="LN842">842</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;width &gt; 0 &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="843"><td class="num" id="LN843">843</td><td class="line"> priv-&gt;height &gt; 0) {</td></tr>
+<tr class="codeline" data-linenumber="844"><td class="num" id="LN844">844</td><td class="line"> eom_image_emit_size_prepared (img);</td></tr>
+<tr class="codeline" data-linenumber="845"><td class="num" id="LN845">845</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="846"><td class="num" id="LN846">846</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="847"><td class="num" id="LN847">847</td><td class="line"><span class='directive'>#else</span></td></tr>
+<tr class="codeline" data-linenumber="848"><td class="num" id="LN848">848</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;exif_chunk) {</td></tr>
+<tr class="codeline" data-linenumber="849"><td class="num" id="LN849">849</td><td class="line"> g_free (priv-&gt;exif_chunk);</td></tr>
+<tr class="codeline" data-linenumber="850"><td class="num" id="LN850">850</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="851"><td class="num" id="LN851">851</td><td class="line"> eom_metadata_reader_get_exif_chunk (md_reader,</td></tr>
+<tr class="codeline" data-linenumber="852"><td class="num" id="LN852">852</td><td class="line"> &amp;priv-&gt;exif_chunk,</td></tr>
+<tr class="codeline" data-linenumber="853"><td class="num" id="LN853">853</td><td class="line"> &amp;priv-&gt;exif_chunk_len);</td></tr>
+<tr class="codeline" data-linenumber="854"><td class="num" id="LN854">854</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="855"><td class="num" id="LN855">855</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="856"><td class="num" id="LN856">856</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="857"><td class="num" id="LN857">857</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="858"><td class="num" id="LN858">858</td><td class="line"> <span class='comment'>* Attempts to get the image dimensions from the thumbnail.</span></td></tr>
+<tr class="codeline" data-linenumber="859"><td class="num" id="LN859">859</td><td class="line"> <span class='comment'>* Returns FALSE if this information is not found.</span></td></tr>
+<tr class="codeline" data-linenumber="860"><td class="num" id="LN860">860</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="861"><td class="num" id="LN861">861</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="862"><td class="num" id="LN862">862</td><td class="line">eom_image_get_dimension_from_thumbnail (EomImage *image,</td></tr>
+<tr class="codeline" data-linenumber="863"><td class="num" id="LN863">863</td><td class="line"> gint *width,</td></tr>
+<tr class="codeline" data-linenumber="864"><td class="num" id="LN864">864</td><td class="line"> gint *height)</td></tr>
+<tr class="codeline" data-linenumber="865"><td class="num" id="LN865">865</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="866"><td class="num" id="LN866">866</td><td class="line"> <span class='keyword'>if</span> (image-&gt;priv-&gt;thumbnail == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="867"><td class="num" id="LN867">867</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="868"><td class="num" id="LN868">868</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="869"><td class="num" id="LN869">869</td><td class="line"> *width = <span class='macro'>GPOINTER_TO_INT (g_object_get_data (G_OBJECT (image-&gt;priv-&gt;thumbnail),<span class='macro_popup'>((gint) (glong) (g_object_get_data (((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((image-&gt;priv-&gt;thumbnail)), (((GType<br>) ((20) &lt;&lt; (2)))))))), "eom-thumbnail-orig-width")))</span></span></td></tr>
+<tr class="codeline" data-linenumber="870"><td class="num" id="LN870">870</td><td class="line"> <span class='macro'>EOM_THUMBNAIL_ORIGINAL_WIDTH))<span class='macro_popup'>((gint) (glong) (g_object_get_data (((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((image-&gt;priv-&gt;thumbnail)), (((GType<br>) ((20) &lt;&lt; (2)))))))), "eom-thumbnail-orig-width")))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="871"><td class="num" id="LN871">871</td><td class="line"> *height = <span class='macro'>GPOINTER_TO_INT (g_object_get_data (G_OBJECT (image-&gt;priv-&gt;thumbnail),<span class='macro_popup'>((gint) (glong) (g_object_get_data (((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((image-&gt;priv-&gt;thumbnail)), (((GType<br>) ((20) &lt;&lt; (2)))))))), "eom-thumbnail-orig-height")))</span></span></td></tr>
+<tr class="codeline" data-linenumber="872"><td class="num" id="LN872">872</td><td class="line"> <span class='macro'>EOM_THUMBNAIL_ORIGINAL_HEIGHT))<span class='macro_popup'>((gint) (glong) (g_object_get_data (((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((image-&gt;priv-&gt;thumbnail)), (((GType<br>) ((20) &lt;&lt; (2)))))))), "eom-thumbnail-orig-height")))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="873"><td class="num" id="LN873">873</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="874"><td class="num" id="LN874">874</td><td class="line"> <span class='keyword'>return</span> (*width || *height);</td></tr>
+<tr class="codeline" data-linenumber="875"><td class="num" id="LN875">875</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="876"><td class="num" id="LN876">876</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="877"><td class="num" id="LN877">877</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="878"><td class="num" id="LN878">878</td><td class="line">eom_image_real_load (EomImage *img,</td></tr>
+<tr class="codeline" data-linenumber="879"><td class="num" id="LN879">879</td><td class="line"> guint data2read,</td></tr>
+<tr class="codeline" data-linenumber="880"><td class="num" id="LN880">880</td><td class="line"> EomJob *job,</td></tr>
+<tr class="codeline" data-linenumber="881"><td class="num" id="LN881">881</td><td class="line"> GError **error)</td></tr>
+<tr class="codeline" data-linenumber="882"><td class="num" id="LN882">882</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="883"><td class="num" id="LN883">883</td><td class="line"> <span id="start42">EomImagePrivate</span> *priv;</td></tr>
+<tr class="codeline" data-linenumber="884"><td class="num" id="LN884">884</td><td class="line"> GFileInputStream *input_stream;</td></tr>
+<tr class="codeline" data-linenumber="885"><td class="num" id="LN885">885</td><td class="line"> EomMetadataReader *md_reader = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="886"><td class="num" id="LN886">886</td><td class="line"> GdkPixbufFormat *format;</td></tr>
+<tr class="codeline" data-linenumber="887"><td class="num" id="LN887">887</td><td class="line"> gchar *mime_type;</td></tr>
+<tr class="codeline" data-linenumber="888"><td class="num" id="LN888">888</td><td class="line"> GdkPixbufLoader *loader = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="889"><td class="num" id="LN889">889</td><td class="line"> guchar *buffer;</td></tr>
+<tr class="codeline" data-linenumber="890"><td class="num" id="LN890">890</td><td class="line"> goffset bytes_read, bytes_read_total = 0;</td></tr>
+<tr class="codeline" data-linenumber="891"><td class="num" id="LN891">891</td><td class="line"> gboolean failed = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="892"><td class="num" id="LN892">892</td><td class="line"> gboolean first_run = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="893"><td class="num" id="LN893">893</td><td class="line"> gboolean set_metadata = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="894"><td class="num" id="LN894">894</td><td class="line"> gboolean use_rsvg = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="895"><td class="num" id="LN895">895</td><td class="line"> gboolean read_image_data = (data2read &amp; EOM_IMAGE_DATA_IMAGE);</td></tr>
+<tr class="codeline" data-linenumber="896"><td class="num" id="LN896">896</td><td class="line"> <span id="start39"><span id="end40"><span id="start41"><span id="end42">gboolean</span></span></span></span> read_only_dimension = <span id="end41">(</span><span id="start40"><span class="mrange">data2read</span> &amp; EOM_IMAGE_DATA_DIMENSION</span>) &amp;&amp;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path1" class="msg msgEvent" style="margin-left:41ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">1</div></td><td>Assuming the condition is false</td><td><div class="PathNav"><a href="#Path2" title="Next event (2)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="897"><td class="num" id="LN897">897</td><td class="line"> ((data2read ^ EOM_IMAGE_DATA_DIMENSION) == 0);</td></tr>
+<tr class="codeline" data-linenumber="898"><td class="num" id="LN898">898</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="899"><td class="num" id="LN899">899</td><td class="line"> <span id="start38"><span id="end39">priv</span></span> = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="900"><td class="num" id="LN900">900</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="901"><td class="num" id="LN901">901</td><td class="line"> <span id="start33"><span id="start35"><span class="mrange"><span id="start36"><span id="end36"><span class="mrange"><span id="start37"><span id="end37"><span id="end38"><span class='macro'>g_assert</span></span></span></span></span></span></span></span></span> (!read_image_data || priv-&gt;image == NULL)<span class='macro_popup'>do { if (!read_image_data || priv-&gt;image == ((void*)0)) ; else<br> g_assertion_message_expr ("EOM", "eom-image.c", 901, ((const<br> char*) (__func__)), "!read_image_data || priv-&gt;image == NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path2" class="msg msgEvent" style="margin-left:10ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">2</div></td><td><div class="PathNav"><a href="#Path1" title="Previous event (1)">&#x2190;</a></div></td><td>Assuming 'read_image_data' is not equal to 0</td><td><div class="PathNav"><a href="#Path3" title="Next event (3)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path3" class="msg msgEvent" style="margin-left:10ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">3</div></td><td><div class="PathNav"><a href="#Path2" title="Previous event (2)">&#x2190;</a></div></td><td>Assuming field 'image' is equal to null</td><td><div class="PathNav"><a href="#Path4" title="Next event (4)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path4" class="msg msgControl" style="margin-left:10ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">4</div></td><td><div class="PathNav"><a href="#Path3" title="Previous event (3)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#Path5" title="Next event (5)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="902"><td class="num" id="LN902">902</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="903"><td class="num" id="LN903">903</td><td class="line"> <span id="end33"><span id="start34"><span id="end35"><span class='keyword'>if</span></span></span></span> (<span id="start32"><span id="end34"><span class='variable'>read_image_data<table class='variable_popup'><tbody><tr><td valign='top'><div class='PathIndex PathIndexPopUp'>5.1</div></td><td>'read_image_data' is not equal to 0</td></tr></tbody></table></span></span></span> &amp;&amp; <span id="start31"><span class="mrange"><span id="end32">priv</span></span>-&gt;file_type != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path5" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">5</div></td><td><div class="PathNav"><a href="#Path4" title="Previous event (4)">&#x2190;</a></div></td><td>Loop condition is false. Exiting loop</td><td><div class="PathNav"><a href="#Path6" title="Next event (6)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path6" class="msg msgEvent" style="margin-left:32ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">6</div></td><td><div class="PathNav"><a href="#Path5" title="Previous event (5)">&#x2190;</a></div></td><td>Assuming field 'file_type' is equal to NULL</td><td><div class="PathNav"><a href="#Path7" title="Next event (7)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path7" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">7</div></td><td><div class="PathNav"><a href="#Path6" title="Previous event (6)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path8" title="Next event (8)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="904"><td class="num" id="LN904">904</td><td class="line"> g_free (priv-&gt;file_type);</td></tr>
+<tr class="codeline" data-linenumber="905"><td class="num" id="LN905">905</td><td class="line"> priv-&gt;file_type = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="906"><td class="num" id="LN906">906</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="907"><td class="num" id="LN907">907</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="908"><td class="num" id="LN908">908</td><td class="line"> <span id="start18"><span class="mrange"><span class="mrange"><span id="end29"><span id="start30"><span id="end31">eom_image_get_file_info</span></span></span></span> (<span id="start29"><span id="end30">img</span></span>, &amp;priv-&gt;bytes, &amp;mime_type, error)</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path8" class="msg msgEvent" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">8</div></td><td><div class="PathNav"><a href="#Path7" title="Previous event (7)">&#x2190;</a></div></td><td>Calling 'eom_image_get_file_info'</td><td><div class="PathNav"><a href="#Path9" title="Next event (9)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path14" class="msg msgEvent" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">14</div></td><td><div class="PathNav"><a href="#Path13" title="Previous event (13)">&#x2190;</a></div></td><td>Returning from 'eom_image_get_file_info'</td><td><div class="PathNav"><a href="#Path15" title="Next event (15)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="909"><td class="num" id="LN909">909</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="910"><td class="num" id="LN910">910</td><td class="line"> <span id="start17"><span id="end18"><span class='keyword'>if</span></span></span> (<span id="start16"><span class="mrange"><span id="end17">error</span></span></span> &amp;&amp; *error) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path15" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">15</div></td><td><div class="PathNav"><a href="#Path14" title="Previous event (14)">&#x2190;</a></div></td><td>Assuming 'error' is null</td><td><div class="PathNav"><a href="#Path16" title="Next event (16)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="911"><td class="num" id="LN911">911</td><td class="line"> g_free (mime_type);</td></tr>
+<tr class="codeline" data-linenumber="912"><td class="num" id="LN912">912</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="913"><td class="num" id="LN913">913</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="914"><td class="num" id="LN914">914</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="915"><td class="num" id="LN915">915</td><td class="line"> <span id="start15"><span id="end16"><span class='keyword'>if</span></span></span> (<span id="start14"><span id="end15"><span class='variable'>read_only_dimension<table class='variable_popup'><tbody><tr><td valign='top'><div class='PathIndex PathIndexPopUp'>15.1</div></td><td>'read_only_dimension' is 0</td></tr></tbody></table></span></span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path16" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">16</div></td><td><div class="PathNav"><a href="#Path15" title="Previous event (15)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path17" title="Next event (17)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="916"><td class="num" id="LN916">916</td><td class="line"> gint width, height;</td></tr>
+<tr class="codeline" data-linenumber="917"><td class="num" id="LN917">917</td><td class="line"> gboolean done;</td></tr>
+<tr class="codeline" data-linenumber="918"><td class="num" id="LN918">918</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="919"><td class="num" id="LN919">919</td><td class="line"> done = eom_image_get_dimension_from_thumbnail (img,</td></tr>
+<tr class="codeline" data-linenumber="920"><td class="num" id="LN920">920</td><td class="line"> &amp;width,</td></tr>
+<tr class="codeline" data-linenumber="921"><td class="num" id="LN921">921</td><td class="line"> &amp;height);</td></tr>
+<tr class="codeline" data-linenumber="922"><td class="num" id="LN922">922</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="923"><td class="num" id="LN923">923</td><td class="line"> <span class='keyword'>if</span> (done) {</td></tr>
+<tr class="codeline" data-linenumber="924"><td class="num" id="LN924">924</td><td class="line"> priv-&gt;width = width;</td></tr>
+<tr class="codeline" data-linenumber="925"><td class="num" id="LN925">925</td><td class="line"> priv-&gt;height = height;</td></tr>
+<tr class="codeline" data-linenumber="926"><td class="num" id="LN926">926</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="927"><td class="num" id="LN927">927</td><td class="line"> g_free (mime_type);</td></tr>
+<tr class="codeline" data-linenumber="928"><td class="num" id="LN928">928</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="929"><td class="num" id="LN929">929</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="930"><td class="num" id="LN930">930</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="931"><td class="num" id="LN931">931</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="932"><td class="num" id="LN932">932</td><td class="line"> <span id="start11"><span id="end12"><span id="start13"><span id="end14">input_stream</span></span></span></span> = g_file_read (<span id="start12"><span id="end13">priv</span></span>-&gt;file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, error);</td></tr>
+<tr class="codeline" data-linenumber="933"><td class="num" id="LN933">933</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="934"><td class="num" id="LN934">934</td><td class="line"> <span id="start10"><span id="end11"><span class='keyword'>if</span></span></span> (<span id="start9"><span class="mrange"><span id="end10">input_stream</span></span> == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path17" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">17</div></td><td><div class="PathNav"><a href="#Path16" title="Previous event (16)">&#x2190;</a></div></td><td>Assuming 'input_stream' is not equal to NULL</td><td><div class="PathNav"><a href="#Path18" title="Next event (18)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path18" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">18</div></td><td><div class="PathNav"><a href="#Path17" title="Previous event (17)">&#x2190;</a></div></td><td>Taking false branch</td><td><div class="PathNav"><a href="#Path19" title="Next event (19)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="935"><td class="num" id="LN935">935</td><td class="line"> g_free (mime_type);</td></tr>
+<tr class="codeline" data-linenumber="936"><td class="num" id="LN936">936</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="937"><td class="num" id="LN937">937</td><td class="line"> <span class='keyword'>if</span> (error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="938"><td class="num" id="LN938">938</td><td class="line"> g_clear_error (error);</td></tr>
+<tr class="codeline" data-linenumber="939"><td class="num" id="LN939">939</td><td class="line"> g_set_error (error,</td></tr>
+<tr class="codeline" data-linenumber="940"><td class="num" id="LN940">940</td><td class="line"> <span class='macro'>EOM_IMAGE_ERROR<span class='macro_popup'>eom_image_error_quark ()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="941"><td class="num" id="LN941">941</td><td class="line"> EOM_IMAGE_ERROR_VFS,</td></tr>
+<tr class="codeline" data-linenumber="942"><td class="num" id="LN942">942</td><td class="line"> <span class='string_literal'>"Failed to open input stream for file"</span>);</td></tr>
+<tr class="codeline" data-linenumber="943"><td class="num" id="LN943">943</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="944"><td class="num" id="LN944">944</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="945"><td class="num" id="LN945">945</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="946"><td class="num" id="LN946">946</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="947"><td class="num" id="LN947">947</td><td class="line"> <span id="start6"><span id="end7"><span id="start8"><span id="end9">buffer</span></span></span></span> = <span id="start7"><span id="end8"><span class='macro'>g_new0</span></span> (guchar, EOM_IMAGE_READ_BUFFER_SIZE)<span class='macro_popup'>((guchar *) g_malloc0_n ((65535), sizeof (guchar)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="948"><td class="num" id="LN948">948</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="949"><td class="num" id="LN949">949</td><td class="line"> <span id="start5"><span id="end6"><span class='keyword'>if</span></span></span> (<span id="start4"><span id="end5"><span class='variable'>read_image_data<table class='variable_popup'><tbody><tr><td valign='top'><div class='PathIndex PathIndexPopUp'>18.1</div></td><td>'read_image_data' is not equal to 0</td></tr></tbody></table></span></span></span> || read_only_dimension) {</td></tr>
+<tr class="codeline" data-linenumber="950"><td class="num" id="LN950">950</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_RSVG<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="951"><td class="num" id="LN951">951</td><td class="line"> <span id="start3"><span id="end4"><span class='keyword'>if</span></span></span> (<span id="start2"><span class="mrange"><span id="end3">priv</span></span>-&gt;svg != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span></span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path19" class="msg msgEvent" style="margin-left:21ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">19</div></td><td><div class="PathNav"><a href="#Path18" title="Previous event (18)">&#x2190;</a></div></td><td>Assuming field 'svg' is equal to NULL</td><td><div class="PathNav"><a href="#EndPath" title="Next event (20)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="952"><td class="num" id="LN952">952</td><td class="line"> g_object_unref (priv-&gt;svg);</td></tr>
+<tr class="codeline" data-linenumber="953"><td class="num" id="LN953">953</td><td class="line"> priv-&gt;svg = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="954"><td class="num" id="LN954">954</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="955"><td class="num" id="LN955">955</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="956"><td class="num" id="LN956">956</td><td class="line"> <span id="start1"><span id="end2"><span class='keyword'>if</span></span></span> (<span id="end1">!</span><span id="end0">strcmp</span> (<span class="mrange"><span id="start0">mime_type</span></span>, <span class='string_literal'>"image/svg+xml"</span>)</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:22ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">20</div></td><td><div class="PathNav"><a href="#Path19" title="Previous event (19)">&#x2190;</a></div></td><td>Null pointer passed to 1st parameter expecting 'nonnull'</td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="957"><td class="num" id="LN957">957</td><td class="line"><span class='directive'>#if defined (<span class='macro'>LIBRSVG_HAVE_SVGZ<span class='macro_popup'>((!(0)))</span></span>) &amp;&amp; <span class='macro'>LIBRSVG_HAVE_SVGZ<span class='macro_popup'>((!(0)))</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="958"><td class="num" id="LN958">958</td><td class="line"> || !strcmp (mime_type, <span class='string_literal'>"image/svg+xml-compressed"</span>)</td></tr>
+<tr class="codeline" data-linenumber="959"><td class="num" id="LN959">959</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="960"><td class="num" id="LN960">960</td><td class="line"> ) {</td></tr>
+<tr class="codeline" data-linenumber="961"><td class="num" id="LN961">961</td><td class="line"> gchar *file_path;</td></tr>
+<tr class="codeline" data-linenumber="962"><td class="num" id="LN962">962</td><td class="line"> <span class='comment'>/* Keep the object for rendering */</span></td></tr>
+<tr class="codeline" data-linenumber="963"><td class="num" id="LN963">963</td><td class="line"> priv-&gt;svg = rsvg_handle_new ();</td></tr>
+<tr class="codeline" data-linenumber="964"><td class="num" id="LN964">964</td><td class="line"> use_rsvg = (priv-&gt;svg != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="965"><td class="num" id="LN965">965</td><td class="line"> file_path = g_file_get_path (priv-&gt;file);</td></tr>
+<tr class="codeline" data-linenumber="966"><td class="num" id="LN966">966</td><td class="line"> rsvg_handle_set_base_uri (priv-&gt;svg, file_path);</td></tr>
+<tr class="codeline" data-linenumber="967"><td class="num" id="LN967">967</td><td class="line"> g_free (file_path);</td></tr>
+<tr class="codeline" data-linenumber="968"><td class="num" id="LN968">968</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="969"><td class="num" id="LN969">969</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="970"><td class="num" id="LN970">970</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="971"><td class="num" id="LN971">971</td><td class="line"> <span class='keyword'>if</span> (!use_rsvg) {</td></tr>
+<tr class="codeline" data-linenumber="972"><td class="num" id="LN972">972</td><td class="line"> loader = gdk_pixbuf_loader_new_with_mime_type (mime_type, error);</td></tr>
+<tr class="codeline" data-linenumber="973"><td class="num" id="LN973">973</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="974"><td class="num" id="LN974">974</td><td class="line"> <span class='keyword'>if</span> (error &amp;&amp; *error) {</td></tr>
+<tr class="codeline" data-linenumber="975"><td class="num" id="LN975">975</td><td class="line"> g_error_free (*error);</td></tr>
+<tr class="codeline" data-linenumber="976"><td class="num" id="LN976">976</td><td class="line"> *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="977"><td class="num" id="LN977">977</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="978"><td class="num" id="LN978">978</td><td class="line"> loader = gdk_pixbuf_loader_new ();</td></tr>
+<tr class="codeline" data-linenumber="979"><td class="num" id="LN979">979</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="980"><td class="num" id="LN980">980</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="981"><td class="num" id="LN981">981</td><td class="line"> g_signal_connect_object (loader, <span class='string_literal'>"size-prepared"</span>,</td></tr>
+<tr class="codeline" data-linenumber="982"><td class="num" id="LN982">982</td><td class="line"> <span class='macro'>G_CALLBACK (eom_image_size_prepared)<span class='macro_popup'>((GCallback) (eom_image_size_prepared))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="983"><td class="num" id="LN983">983</td><td class="line"> img,</td></tr>
+<tr class="codeline" data-linenumber="984"><td class="num" id="LN984">984</td><td class="line"> 0);</td></tr>
+<tr class="codeline" data-linenumber="985"><td class="num" id="LN985">985</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="986"><td class="num" id="LN986">986</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="987"><td class="num" id="LN987">987</td><td class="line"> g_free (mime_type);</td></tr>
+<tr class="codeline" data-linenumber="988"><td class="num" id="LN988">988</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="989"><td class="num" id="LN989">989</td><td class="line"> <span class='keyword'>while</span> (!priv-&gt;cancel_loading) {</td></tr>
+<tr class="codeline" data-linenumber="990"><td class="num" id="LN990">990</td><td class="line"> <span class='comment'>/* FIXME: make this async */</span></td></tr>
+<tr class="codeline" data-linenumber="991"><td class="num" id="LN991">991</td><td class="line"> bytes_read = g_input_stream_read (<span class='macro'>G_INPUT_STREAM (input_stream)<span class='macro_popup'>((((GInputStream*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((input_stream)), ((g_input_stream_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="992"><td class="num" id="LN992">992</td><td class="line"> buffer,</td></tr>
+<tr class="codeline" data-linenumber="993"><td class="num" id="LN993">993</td><td class="line"> <span class='macro'>EOM_IMAGE_READ_BUFFER_SIZE<span class='macro_popup'>65535</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="994"><td class="num" id="LN994">994</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, error);</td></tr>
+<tr class="codeline" data-linenumber="995"><td class="num" id="LN995">995</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="996"><td class="num" id="LN996">996</td><td class="line"> <span class='keyword'>if</span> (bytes_read == 0) {</td></tr>
+<tr class="codeline" data-linenumber="997"><td class="num" id="LN997">997</td><td class="line"> <span class='comment'>/* End of the file */</span></td></tr>
+<tr class="codeline" data-linenumber="998"><td class="num" id="LN998">998</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="999"><td class="num" id="LN999">999</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (bytes_read == -1) {</td></tr>
+<tr class="codeline" data-linenumber="1000"><td class="num" id="LN1000">1000</td><td class="line"> failed = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1001"><td class="num" id="LN1001">1001</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1002"><td class="num" id="LN1002">1002</td><td class="line"> g_set_error (error,</td></tr>
+<tr class="codeline" data-linenumber="1003"><td class="num" id="LN1003">1003</td><td class="line"> <span class='macro'>EOM_IMAGE_ERROR<span class='macro_popup'>eom_image_error_quark ()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1004"><td class="num" id="LN1004">1004</td><td class="line"> EOM_IMAGE_ERROR_VFS,</td></tr>
+<tr class="codeline" data-linenumber="1005"><td class="num" id="LN1005">1005</td><td class="line"> <span class='string_literal'>"Failed to read from input stream"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1006"><td class="num" id="LN1006">1006</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1007"><td class="num" id="LN1007">1007</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1008"><td class="num" id="LN1008">1008</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1009"><td class="num" id="LN1009">1009</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1010"><td class="num" id="LN1010">1010</td><td class="line"> <span class='keyword'>if</span> ((read_image_data || read_only_dimension)) {</td></tr>
+<tr class="codeline" data-linenumber="1011"><td class="num" id="LN1011">1011</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_RSVG<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="1012"><td class="num" id="LN1012">1012</td><td class="line"> <span class='keyword'>if</span> (use_rsvg) {</td></tr>
+<tr class="codeline" data-linenumber="1013"><td class="num" id="LN1013">1013</td><td class="line"> gboolean res;</td></tr>
+<tr class="codeline" data-linenumber="1014"><td class="num" id="LN1014">1014</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1015"><td class="num" id="LN1015">1015</td><td class="line"> res = rsvg_handle_write (priv-&gt;svg, buffer,</td></tr>
+<tr class="codeline" data-linenumber="1016"><td class="num" id="LN1016">1016</td><td class="line"> bytes_read, error);</td></tr>
+<tr class="codeline" data-linenumber="1017"><td class="num" id="LN1017">1017</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1018"><td class="num" id="LN1018">1018</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_UNLIKELY (!res)<span class='macro_popup'>(!res)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1019"><td class="num" id="LN1019">1019</td><td class="line"> failed = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1020"><td class="num" id="LN1020">1020</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1021"><td class="num" id="LN1021">1021</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1022"><td class="num" id="LN1022">1022</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1023"><td class="num" id="LN1023">1023</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="1024"><td class="num" id="LN1024">1024</td><td class="line"> <span class='keyword'>if</span> (!gdk_pixbuf_loader_write (loader, buffer, bytes_read, error)) {</td></tr>
+<tr class="codeline" data-linenumber="1025"><td class="num" id="LN1025">1025</td><td class="line"> failed = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1026"><td class="num" id="LN1026">1026</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1027"><td class="num" id="LN1027">1027</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1028"><td class="num" id="LN1028">1028</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1029"><td class="num" id="LN1029">1029</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1030"><td class="num" id="LN1030">1030</td><td class="line"> bytes_read_total += bytes_read;</td></tr>
+<tr class="codeline" data-linenumber="1031"><td class="num" id="LN1031">1031</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1032"><td class="num" id="LN1032">1032</td><td class="line"> <span class='keyword'>if</span> (job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1033"><td class="num" id="LN1033">1033</td><td class="line"> <span class='keyword'>float</span> progress = (<span class='keyword'>float</span>) bytes_read_total / (<span class='keyword'>float</span>) priv-&gt;bytes;</td></tr>
+<tr class="codeline" data-linenumber="1034"><td class="num" id="LN1034">1034</td><td class="line"> eom_job_set_progress (job, progress);</td></tr>
+<tr class="codeline" data-linenumber="1035"><td class="num" id="LN1035">1035</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1036"><td class="num" id="LN1036">1036</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1037"><td class="num" id="LN1037">1037</td><td class="line"> <span class='keyword'>if</span> (first_run) {</td></tr>
+<tr class="codeline" data-linenumber="1038"><td class="num" id="LN1038">1038</td><td class="line"> md_reader = check_for_metadata_img_format (img, buffer, bytes_read);</td></tr>
+<tr class="codeline" data-linenumber="1039"><td class="num" id="LN1039">1039</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1040"><td class="num" id="LN1040">1040</td><td class="line"> <span class='keyword'>if</span> (md_reader == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1041"><td class="num" id="LN1041">1041</td><td class="line"> <span class='keyword'>if</span> (data2read == EOM_IMAGE_DATA_EXIF) {</td></tr>
+<tr class="codeline" data-linenumber="1042"><td class="num" id="LN1042">1042</td><td class="line"> g_set_error (error,</td></tr>
+<tr class="codeline" data-linenumber="1043"><td class="num" id="LN1043">1043</td><td class="line"> <span class='macro'>EOM_IMAGE_ERROR<span class='macro_popup'>eom_image_error_quark ()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1044"><td class="num" id="LN1044">1044</td><td class="line"> EOM_IMAGE_ERROR_GENERIC,</td></tr>
+<tr class="codeline" data-linenumber="1045"><td class="num" id="LN1045">1045</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"EXIF not supported for this file format."</span>)<span class='macro_popup'>gettext ("EXIF not supported for this file format.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1046"><td class="num" id="LN1046">1046</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1047"><td class="num" id="LN1047">1047</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1048"><td class="num" id="LN1048">1048</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1049"><td class="num" id="LN1049">1049</td><td class="line"> priv-&gt;metadata_status = EOM_IMAGE_METADATA_NOT_AVAILABLE;</td></tr>
+<tr class="codeline" data-linenumber="1050"><td class="num" id="LN1050">1050</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1051"><td class="num" id="LN1051">1051</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1052"><td class="num" id="LN1052">1052</td><td class="line"> first_run = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1053"><td class="num" id="LN1053">1053</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1054"><td class="num" id="LN1054">1054</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1055"><td class="num" id="LN1055">1055</td><td class="line"> <span class='keyword'>if</span> (md_reader != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1056"><td class="num" id="LN1056">1056</td><td class="line"> eom_metadata_reader_consume (md_reader, buffer, bytes_read);</td></tr>
+<tr class="codeline" data-linenumber="1057"><td class="num" id="LN1057">1057</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1058"><td class="num" id="LN1058">1058</td><td class="line"> <span class='keyword'>if</span> (eom_metadata_reader_finished (md_reader)) {</td></tr>
+<tr class="codeline" data-linenumber="1059"><td class="num" id="LN1059">1059</td><td class="line"> <span class='keyword'>if</span> (set_metadata) {</td></tr>
+<tr class="codeline" data-linenumber="1060"><td class="num" id="LN1060">1060</td><td class="line"> eom_image_set_exif_data (img, md_reader);</td></tr>
+<tr class="codeline" data-linenumber="1061"><td class="num" id="LN1061">1061</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1062"><td class="num" id="LN1062">1062</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="1063"><td class="num" id="LN1063">1063</td><td class="line"> eom_image_set_icc_data (img, md_reader);</td></tr>
+<tr class="codeline" data-linenumber="1064"><td class="num" id="LN1064">1064</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="1065"><td class="num" id="LN1065">1065</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1066"><td class="num" id="LN1066">1066</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXEMPI<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="1067"><td class="num" id="LN1067">1067</td><td class="line"> eom_image_set_xmp_data (img, md_reader);</td></tr>
+<tr class="codeline" data-linenumber="1068"><td class="num" id="LN1068">1068</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="1069"><td class="num" id="LN1069">1069</td><td class="line"> set_metadata = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1070"><td class="num" id="LN1070">1070</td><td class="line"> priv-&gt;metadata_status = EOM_IMAGE_METADATA_READY;</td></tr>
+<tr class="codeline" data-linenumber="1071"><td class="num" id="LN1071">1071</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1072"><td class="num" id="LN1072">1072</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1073"><td class="num" id="LN1073">1073</td><td class="line"> <span class='keyword'>if</span> (data2read == EOM_IMAGE_DATA_EXIF)</td></tr>
+<tr class="codeline" data-linenumber="1074"><td class="num" id="LN1074">1074</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1075"><td class="num" id="LN1075">1075</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1076"><td class="num" id="LN1076">1076</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1077"><td class="num" id="LN1077">1077</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1078"><td class="num" id="LN1078">1078</td><td class="line"> <span class='keyword'>if</span> (read_only_dimension &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="1079"><td class="num" id="LN1079">1079</td><td class="line"> eom_image_has_data (img, EOM_IMAGE_DATA_DIMENSION)) {</td></tr>
+<tr class="codeline" data-linenumber="1080"><td class="num" id="LN1080">1080</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1081"><td class="num" id="LN1081">1081</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1082"><td class="num" id="LN1082">1082</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1083"><td class="num" id="LN1083">1083</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1084"><td class="num" id="LN1084">1084</td><td class="line"> <span class='keyword'>if</span> (read_image_data || read_only_dimension) {</td></tr>
+<tr class="codeline" data-linenumber="1085"><td class="num" id="LN1085">1085</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_RSVG<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="1086"><td class="num" id="LN1086">1086</td><td class="line"> <span class='keyword'>if</span> (use_rsvg) {</td></tr>
+<tr class="codeline" data-linenumber="1087"><td class="num" id="LN1087">1087</td><td class="line"> <span class='comment'>/* Ignore the error if loading failed earlier</span></td></tr>
+<tr class="codeline" data-linenumber="1088"><td class="num" id="LN1088">1088</td><td class="line"> <span class='comment'>* as the error will already be set in that case */</span></td></tr>
+<tr class="codeline" data-linenumber="1089"><td class="num" id="LN1089">1089</td><td class="line"> rsvg_handle_close (priv-&gt;svg,</td></tr>
+<tr class="codeline" data-linenumber="1090"><td class="num" id="LN1090">1090</td><td class="line"> (failed ? <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> : error));</td></tr>
+<tr class="codeline" data-linenumber="1091"><td class="num" id="LN1091">1091</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1092"><td class="num" id="LN1092">1092</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="1093"><td class="num" id="LN1093">1093</td><td class="line"> <span class='keyword'>if</span> (failed) {</td></tr>
+<tr class="codeline" data-linenumber="1094"><td class="num" id="LN1094">1094</td><td class="line"> gdk_pixbuf_loader_close (loader, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1095"><td class="num" id="LN1095">1095</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (!gdk_pixbuf_loader_close (loader, error)) {</td></tr>
+<tr class="codeline" data-linenumber="1096"><td class="num" id="LN1096">1096</td><td class="line"> <span class='keyword'>if</span> (gdk_pixbuf_loader_get_pixbuf (loader) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1097"><td class="num" id="LN1097">1097</td><td class="line"> <span class='comment'>/* Clear error in order to support partial</span></td></tr>
+<tr class="codeline" data-linenumber="1098"><td class="num" id="LN1098">1098</td><td class="line"> <span class='comment'>* images as well. */</span></td></tr>
+<tr class="codeline" data-linenumber="1099"><td class="num" id="LN1099">1099</td><td class="line"> g_clear_error (error);</td></tr>
+<tr class="codeline" data-linenumber="1100"><td class="num" id="LN1100">1100</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1101"><td class="num" id="LN1101">1101</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1102"><td class="num" id="LN1102">1102</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1103"><td class="num" id="LN1103">1103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1104"><td class="num" id="LN1104">1104</td><td class="line"> g_free (buffer);</td></tr>
+<tr class="codeline" data-linenumber="1105"><td class="num" id="LN1105">1105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1106"><td class="num" id="LN1106">1106</td><td class="line"> g_object_unref (<span class='macro'>G_OBJECT (input_stream)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((input_stream)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1107"><td class="num" id="LN1107">1107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1108"><td class="num" id="LN1108">1108</td><td class="line"> failed = (failed ||</td></tr>
+<tr class="codeline" data-linenumber="1109"><td class="num" id="LN1109">1109</td><td class="line"> priv-&gt;cancel_loading ||</td></tr>
+<tr class="codeline" data-linenumber="1110"><td class="num" id="LN1110">1110</td><td class="line"> bytes_read_total == 0 ||</td></tr>
+<tr class="codeline" data-linenumber="1111"><td class="num" id="LN1111">1111</td><td class="line"> (error &amp;&amp; *error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="1112"><td class="num" id="LN1112">1112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1113"><td class="num" id="LN1113">1113</td><td class="line"> <span class='keyword'>if</span> (failed) {</td></tr>
+<tr class="codeline" data-linenumber="1114"><td class="num" id="LN1114">1114</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;cancel_loading) {</td></tr>
+<tr class="codeline" data-linenumber="1115"><td class="num" id="LN1115">1115</td><td class="line"> priv-&gt;cancel_loading = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1116"><td class="num" id="LN1116">1116</td><td class="line"> priv-&gt;status = EOM_IMAGE_STATUS_UNKNOWN;</td></tr>
+<tr class="codeline" data-linenumber="1117"><td class="num" id="LN1117">1117</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1118"><td class="num" id="LN1118">1118</td><td class="line"> priv-&gt;status = EOM_IMAGE_STATUS_FAILED;</td></tr>
+<tr class="codeline" data-linenumber="1119"><td class="num" id="LN1119">1119</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1120"><td class="num" id="LN1120">1120</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (read_image_data) {</td></tr>
+<tr class="codeline" data-linenumber="1121"><td class="num" id="LN1121">1121</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1122"><td class="num" id="LN1122">1122</td><td class="line"> g_object_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="1123"><td class="num" id="LN1123">1123</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1124"><td class="num" id="LN1124">1124</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1125"><td class="num" id="LN1125">1125</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_RSVG<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="1126"><td class="num" id="LN1126">1126</td><td class="line"> <span class='keyword'>if</span> (use_rsvg) {</td></tr>
+<tr class="codeline" data-linenumber="1127"><td class="num" id="LN1127">1127</td><td class="line"> priv-&gt;image = rsvg_handle_get_pixbuf (priv-&gt;svg);</td></tr>
+<tr class="codeline" data-linenumber="1128"><td class="num" id="LN1128">1128</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1129"><td class="num" id="LN1129">1129</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="1130"><td class="num" id="LN1130">1130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1131"><td class="num" id="LN1131">1131</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1132"><td class="num" id="LN1132">1132</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1133"><td class="num" id="LN1133">1133</td><td class="line"> priv-&gt;anim = gdk_pixbuf_loader_get_animation (loader);</td></tr>
+<tr class="codeline" data-linenumber="1134"><td class="num" id="LN1134">1134</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1135"><td class="num" id="LN1135">1135</td><td class="line"> <span class='keyword'>if</span> (gdk_pixbuf_animation_is_static_image (priv-&gt;anim)) {</td></tr>
+<tr class="codeline" data-linenumber="1136"><td class="num" id="LN1136">1136</td><td class="line"> priv-&gt;image = gdk_pixbuf_animation_get_static_image (priv-&gt;anim);</td></tr>
+<tr class="codeline" data-linenumber="1137"><td class="num" id="LN1137">1137</td><td class="line"> priv-&gt;anim = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1138"><td class="num" id="LN1138">1138</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1139"><td class="num" id="LN1139">1139</td><td class="line"> priv-&gt;anim_iter = gdk_pixbuf_animation_get_iter (priv-&gt;anim,<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1140"><td class="num" id="LN1140">1140</td><td class="line"> priv-&gt;image = gdk_pixbuf_animation_iter_get_pixbuf (priv-&gt;anim_iter);</td></tr>
+<tr class="codeline" data-linenumber="1141"><td class="num" id="LN1141">1141</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1142"><td class="num" id="LN1142">1142</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1143"><td class="num" id="LN1143">1143</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1144"><td class="num" id="LN1144">1144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1145"><td class="num" id="LN1145">1145</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_LIKELY (priv-&gt;image != NULL)<span class='macro_popup'>(priv-&gt;image != ((void*)0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1146"><td class="num" id="LN1146">1146</td><td class="line"> <span class='keyword'>if</span> (!use_rsvg)</td></tr>
+<tr class="codeline" data-linenumber="1147"><td class="num" id="LN1147">1147</td><td class="line"> <span class='macro'>g_object_ref (priv-&gt;image)<span class='macro_popup'>((__typeof__ (priv-&gt;image)) (g_object_ref) (priv-&gt;image<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1148"><td class="num" id="LN1148">1148</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1149"><td class="num" id="LN1149">1149</td><td class="line"> priv-&gt;width = gdk_pixbuf_get_width (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="1150"><td class="num" id="LN1150">1150</td><td class="line"> priv-&gt;height = gdk_pixbuf_get_height (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="1151"><td class="num" id="LN1151">1151</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1152"><td class="num" id="LN1152">1152</td><td class="line"> <span class='keyword'>if</span> (use_rsvg) {</td></tr>
+<tr class="codeline" data-linenumber="1153"><td class="num" id="LN1153">1153</td><td class="line"> format = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1154"><td class="num" id="LN1154">1154</td><td class="line"> priv-&gt;file_type = <span class='macro'>g_strdup (<span class='string_literal'>"svg"</span>)<span class='macro_popup'>g_strdup_inline ("svg")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1155"><td class="num" id="LN1155">1155</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1156"><td class="num" id="LN1156">1156</td><td class="line"> format = gdk_pixbuf_loader_get_format (loader);</td></tr>
+<tr class="codeline" data-linenumber="1157"><td class="num" id="LN1157">1157</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1158"><td class="num" id="LN1158">1158</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1159"><td class="num" id="LN1159">1159</td><td class="line"> <span class='keyword'>if</span> (format != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1160"><td class="num" id="LN1160">1160</td><td class="line"> priv-&gt;file_type = gdk_pixbuf_format_get_name (format);</td></tr>
+<tr class="codeline" data-linenumber="1161"><td class="num" id="LN1161">1161</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1162"><td class="num" id="LN1162">1162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1163"><td class="num" id="LN1163">1163</td><td class="line"> priv-&gt;file_is_changed = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1164"><td class="num" id="LN1164">1164</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1165"><td class="num" id="LN1165">1165</td><td class="line"> <span class='comment'>/* Set orientation again for safety, eg. if we don't</span></td></tr>
+<tr class="codeline" data-linenumber="1166"><td class="num" id="LN1166">1166</td><td class="line"> <span class='comment'>* have Exif data or HAVE_EXIF is undefined. */</span></td></tr>
+<tr class="codeline" data-linenumber="1167"><td class="num" id="LN1167">1167</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;autorotate) {</td></tr>
+<tr class="codeline" data-linenumber="1168"><td class="num" id="LN1168">1168</td><td class="line"> eom_image_set_orientation (img);</td></tr>
+<tr class="codeline" data-linenumber="1169"><td class="num" id="LN1169">1169</td><td class="line"> eom_image_emit_size_prepared (img);</td></tr>
+<tr class="codeline" data-linenumber="1170"><td class="num" id="LN1170">1170</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1171"><td class="num" id="LN1171">1171</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1172"><td class="num" id="LN1172">1172</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1173"><td class="num" id="LN1173">1173</td><td class="line"> <span class='comment'>/* Some loaders don't report errors correctly.</span></td></tr>
+<tr class="codeline" data-linenumber="1174"><td class="num" id="LN1174">1174</td><td class="line"> <span class='comment'>* Error will be set below. */</span></td></tr>
+<tr class="codeline" data-linenumber="1175"><td class="num" id="LN1175">1175</td><td class="line"> failed = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1176"><td class="num" id="LN1176">1176</td><td class="line"> priv-&gt;status = EOM_IMAGE_STATUS_FAILED;</td></tr>
+<tr class="codeline" data-linenumber="1177"><td class="num" id="LN1177">1177</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1178"><td class="num" id="LN1178">1178</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1179"><td class="num" id="LN1179">1179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1180"><td class="num" id="LN1180">1180</td><td class="line"> <span class='keyword'>if</span> (loader != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1181"><td class="num" id="LN1181">1181</td><td class="line"> g_object_unref (loader);</td></tr>
+<tr class="codeline" data-linenumber="1182"><td class="num" id="LN1182">1182</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1183"><td class="num" id="LN1183">1183</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1184"><td class="num" id="LN1184">1184</td><td class="line"> <span class='keyword'>if</span> (md_reader != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1185"><td class="num" id="LN1185">1185</td><td class="line"> g_object_unref (md_reader);</td></tr>
+<tr class="codeline" data-linenumber="1186"><td class="num" id="LN1186">1186</td><td class="line"> md_reader = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1187"><td class="num" id="LN1187">1187</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1188"><td class="num" id="LN1188">1188</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1189"><td class="num" id="LN1189">1189</td><td class="line"> <span class='comment'>/* Catch-all in case of poor-error reporting */</span></td></tr>
+<tr class="codeline" data-linenumber="1190"><td class="num" id="LN1190">1190</td><td class="line"> <span class='keyword'>if</span> (failed &amp;&amp; error &amp;&amp; *error == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1191"><td class="num" id="LN1191">1191</td><td class="line"> g_set_error (error,</td></tr>
+<tr class="codeline" data-linenumber="1192"><td class="num" id="LN1192">1192</td><td class="line"> <span class='macro'>EOM_IMAGE_ERROR<span class='macro_popup'>eom_image_error_quark ()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1193"><td class="num" id="LN1193">1193</td><td class="line"> EOM_IMAGE_ERROR_GENERIC,</td></tr>
+<tr class="codeline" data-linenumber="1194"><td class="num" id="LN1194">1194</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Image loading failed."</span>)<span class='macro_popup'>gettext ("Image loading failed.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1195"><td class="num" id="LN1195">1195</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1196"><td class="num" id="LN1196">1196</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1197"><td class="num" id="LN1197">1197</td><td class="line"> <span class='keyword'>return</span> !failed;</td></tr>
+<tr class="codeline" data-linenumber="1198"><td class="num" id="LN1198">1198</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1199"><td class="num" id="LN1199">1199</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1200"><td class="num" id="LN1200">1200</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="1201"><td class="num" id="LN1201">1201</td><td class="line">eom_image_has_data (EomImage *img, EomImageData req_data)</td></tr>
+<tr class="codeline" data-linenumber="1202"><td class="num" id="LN1202">1202</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1203"><td class="num" id="LN1203">1203</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1204"><td class="num" id="LN1204">1204</td><td class="line"> gboolean has_data = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1205"><td class="num" id="LN1205">1205</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1206"><td class="num" id="LN1206">1206</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1207"><td class="num" id="LN1207">1207</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1208"><td class="num" id="LN1208">1208</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1209"><td class="num" id="LN1209">1209</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1210"><td class="num" id="LN1210">1210</td><td class="line"> <span class='keyword'>if</span> ((req_data &amp; EOM_IMAGE_DATA_IMAGE) &gt; 0) {</td></tr>
+<tr class="codeline" data-linenumber="1211"><td class="num" id="LN1211">1211</td><td class="line"> req_data = (req_data &amp; ~EOM_IMAGE_DATA_IMAGE);</td></tr>
+<tr class="codeline" data-linenumber="1212"><td class="num" id="LN1212">1212</td><td class="line"> has_data = has_data &amp;&amp; (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1213"><td class="num" id="LN1213">1213</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1214"><td class="num" id="LN1214">1214</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1215"><td class="num" id="LN1215">1215</td><td class="line"> <span class='keyword'>if</span> ((req_data &amp; EOM_IMAGE_DATA_DIMENSION) &gt; 0 ) {</td></tr>
+<tr class="codeline" data-linenumber="1216"><td class="num" id="LN1216">1216</td><td class="line"> req_data = (req_data &amp; ~EOM_IMAGE_DATA_DIMENSION);</td></tr>
+<tr class="codeline" data-linenumber="1217"><td class="num" id="LN1217">1217</td><td class="line"> has_data = has_data &amp;&amp; (priv-&gt;width &gt;= 0) &amp;&amp; (priv-&gt;height &gt;= 0);</td></tr>
+<tr class="codeline" data-linenumber="1218"><td class="num" id="LN1218">1218</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1219"><td class="num" id="LN1219">1219</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1220"><td class="num" id="LN1220">1220</td><td class="line"> <span class='keyword'>if</span> ((req_data &amp; EOM_IMAGE_DATA_EXIF) &gt; 0) {</td></tr>
+<tr class="codeline" data-linenumber="1221"><td class="num" id="LN1221">1221</td><td class="line"> req_data = (req_data &amp; ~EOM_IMAGE_DATA_EXIF);</td></tr>
+<tr class="codeline" data-linenumber="1222"><td class="num" id="LN1222">1222</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXIF<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="1223"><td class="num" id="LN1223">1223</td><td class="line"> has_data = has_data &amp;&amp; (priv-&gt;exif != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1224"><td class="num" id="LN1224">1224</td><td class="line"><span class='directive'>#else</span></td></tr>
+<tr class="codeline" data-linenumber="1225"><td class="num" id="LN1225">1225</td><td class="line"> has_data = has_data &amp;&amp; (priv-&gt;exif_chunk != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1226"><td class="num" id="LN1226">1226</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="1227"><td class="num" id="LN1227">1227</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1228"><td class="num" id="LN1228">1228</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1229"><td class="num" id="LN1229">1229</td><td class="line"> <span class='keyword'>if</span> ((req_data &amp; EOM_IMAGE_DATA_XMP) &gt; 0) {</td></tr>
+<tr class="codeline" data-linenumber="1230"><td class="num" id="LN1230">1230</td><td class="line"> req_data = (req_data &amp; ~EOM_IMAGE_DATA_XMP);</td></tr>
+<tr class="codeline" data-linenumber="1231"><td class="num" id="LN1231">1231</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXEMPI<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="1232"><td class="num" id="LN1232">1232</td><td class="line"> has_data = has_data &amp;&amp; (priv-&gt;xmp != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1233"><td class="num" id="LN1233">1233</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="1234"><td class="num" id="LN1234">1234</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1235"><td class="num" id="LN1235">1235</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1236"><td class="num" id="LN1236">1236</td><td class="line"> <span class='keyword'>if</span> (req_data != 0) {</td></tr>
+<tr class="codeline" data-linenumber="1237"><td class="num" id="LN1237">1237</td><td class="line"> g_warning (<span class='string_literal'>"Asking for unknown data, remaining: %i\n"</span>, req_data);</td></tr>
+<tr class="codeline" data-linenumber="1238"><td class="num" id="LN1238">1238</td><td class="line"> has_data = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1239"><td class="num" id="LN1239">1239</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1240"><td class="num" id="LN1240">1240</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1241"><td class="num" id="LN1241">1241</td><td class="line"> <span class='keyword'>return</span> has_data;</td></tr>
+<tr class="codeline" data-linenumber="1242"><td class="num" id="LN1242">1242</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1243"><td class="num" id="LN1243">1243</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1244"><td class="num" id="LN1244">1244</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="1245"><td class="num" id="LN1245">1245</td><td class="line">eom_image_load (EomImage *img, EomImageData data2read, EomJob *job, GError **error)</td></tr>
+<tr class="codeline" data-linenumber="1246"><td class="num" id="LN1246">1246</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1247"><td class="num" id="LN1247">1247</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1248"><td class="num" id="LN1248">1248</td><td class="line"> gboolean success = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1249"><td class="num" id="LN1249">1249</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1250"><td class="num" id="LN1250">1250</td><td class="line"> eom_debug (<span class='macro'>DEBUG_IMAGE_LOAD<span class='macro_popup'>EOM_DEBUG_IMAGE_LOAD, "eom-image.c", 1250, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1251"><td class="num" id="LN1251">1251</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1252"><td class="num" id="LN1252">1252</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1253"><td class="num" id="LN1253">1253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1254"><td class="num" id="LN1254">1254</td><td class="line"> priv = <span class='macro'>EOM_IMAGE (img)<span class='macro_popup'>((((EomImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((img)), ((eom_image_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1255"><td class="num" id="LN1255">1255</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1256"><td class="num" id="LN1256">1256</td><td class="line"> <span class='keyword'>if</span> (data2read == 0) {</td></tr>
+<tr class="codeline" data-linenumber="1257"><td class="num" id="LN1257">1257</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1258"><td class="num" id="LN1258">1258</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1259"><td class="num" id="LN1259">1259</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1260"><td class="num" id="LN1260">1260</td><td class="line"> <span class='keyword'>if</span> (eom_image_has_data (img, data2read)) {</td></tr>
+<tr class="codeline" data-linenumber="1261"><td class="num" id="LN1261">1261</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1262"><td class="num" id="LN1262">1262</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1263"><td class="num" id="LN1263">1263</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1264"><td class="num" id="LN1264">1264</td><td class="line"> priv-&gt;status = EOM_IMAGE_STATUS_LOADING;</td></tr>
+<tr class="codeline" data-linenumber="1265"><td class="num" id="LN1265">1265</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1266"><td class="num" id="LN1266">1266</td><td class="line"> success = eom_image_real_load (img, data2read, job, error);</td></tr>
+<tr class="codeline" data-linenumber="1267"><td class="num" id="LN1267">1267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1268"><td class="num" id="LN1268">1268</td><td class="line"> <span class='comment'>/* Check that the metadata was loaded at least once before</span></td></tr>
+<tr class="codeline" data-linenumber="1269"><td class="num" id="LN1269">1269</td><td class="line"> <span class='comment'>* trying to autorotate. Also only an imatge load job should try to</span></td></tr>
+<tr class="codeline" data-linenumber="1270"><td class="num" id="LN1270">1270</td><td class="line"> <span class='comment'>* autorotate and image */</span></td></tr>
+<tr class="codeline" data-linenumber="1271"><td class="num" id="LN1271">1271</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;autorotate &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="1272"><td class="num" id="LN1272">1272</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXIF<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="1273"><td class="num" id="LN1273">1273</td><td class="line"> priv-&gt;metadata_status != EOM_IMAGE_METADATA_NOT_READ &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="1274"><td class="num" id="LN1274">1274</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="1275"><td class="num" id="LN1275">1275</td><td class="line"> data2read &amp; EOM_IMAGE_DATA_IMAGE) {</td></tr>
+<tr class="codeline" data-linenumber="1276"><td class="num" id="LN1276">1276</td><td class="line"> eom_image_real_autorotate (img);</td></tr>
+<tr class="codeline" data-linenumber="1277"><td class="num" id="LN1277">1277</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1278"><td class="num" id="LN1278">1278</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1279"><td class="num" id="LN1279">1279</td><td class="line"> <span class='keyword'>if</span> (success &amp;&amp; eom_image_needs_transformation (img)) {</td></tr>
+<tr class="codeline" data-linenumber="1280"><td class="num" id="LN1280">1280</td><td class="line"> success = eom_image_apply_transformations (img, error);</td></tr>
+<tr class="codeline" data-linenumber="1281"><td class="num" id="LN1281">1281</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1282"><td class="num" id="LN1282">1282</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1283"><td class="num" id="LN1283">1283</td><td class="line"> <span class='keyword'>if</span> (success) {</td></tr>
+<tr class="codeline" data-linenumber="1284"><td class="num" id="LN1284">1284</td><td class="line"> priv-&gt;status = EOM_IMAGE_STATUS_LOADED;</td></tr>
+<tr class="codeline" data-linenumber="1285"><td class="num" id="LN1285">1285</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1286"><td class="num" id="LN1286">1286</td><td class="line"> priv-&gt;status = EOM_IMAGE_STATUS_FAILED;</td></tr>
+<tr class="codeline" data-linenumber="1287"><td class="num" id="LN1287">1287</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1288"><td class="num" id="LN1288">1288</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1289"><td class="num" id="LN1289">1289</td><td class="line"> <span class='keyword'>return</span> success;</td></tr>
+<tr class="codeline" data-linenumber="1290"><td class="num" id="LN1290">1290</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1291"><td class="num" id="LN1291">1291</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1292"><td class="num" id="LN1292">1292</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1293"><td class="num" id="LN1293">1293</td><td class="line">eom_image_set_thumbnail (EomImage *img, GdkPixbuf *thumbnail)</td></tr>
+<tr class="codeline" data-linenumber="1294"><td class="num" id="LN1294">1294</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1295"><td class="num" id="LN1295">1295</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1296"><td class="num" id="LN1296">1296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1297"><td class="num" id="LN1297">1297</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (img))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1298"><td class="num" id="LN1298">1298</td><td class="line"> <span class='macro'>g_return_if_fail (GDK_IS_PIXBUF (thumbnail) || thumbnail == NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((thumbnail)); GType __t = ((gdk_pixbuf_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))) || thumbnail<br> == ((void*)0))) { } else { g_return_if_fail_warning ("EOM", (<br>(const char*) (__func__)), "GDK_IS_PIXBUF (thumbnail) || thumbnail == NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1299"><td class="num" id="LN1299">1299</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1300"><td class="num" id="LN1300">1300</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1301"><td class="num" id="LN1301">1301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1302"><td class="num" id="LN1302">1302</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;thumbnail != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1303"><td class="num" id="LN1303">1303</td><td class="line"> g_object_unref (priv-&gt;thumbnail);</td></tr>
+<tr class="codeline" data-linenumber="1304"><td class="num" id="LN1304">1304</td><td class="line"> priv-&gt;thumbnail = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1305"><td class="num" id="LN1305">1305</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1306"><td class="num" id="LN1306">1306</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1307"><td class="num" id="LN1307">1307</td><td class="line"> <span class='keyword'>if</span> (thumbnail != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; priv-&gt;trans != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1308"><td class="num" id="LN1308">1308</td><td class="line"> priv-&gt;thumbnail = eom_transform_apply (priv-&gt;trans, thumbnail, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1309"><td class="num" id="LN1309">1309</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1310"><td class="num" id="LN1310">1310</td><td class="line"> priv-&gt;thumbnail = thumbnail;</td></tr>
+<tr class="codeline" data-linenumber="1311"><td class="num" id="LN1311">1311</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1312"><td class="num" id="LN1312">1312</td><td class="line"> <span class='keyword'>if</span> (thumbnail != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1313"><td class="num" id="LN1313">1313</td><td class="line"> <span class='macro'>g_object_ref (priv-&gt;thumbnail)<span class='macro_popup'>((__typeof__ (priv-&gt;thumbnail)) (g_object_ref) (priv-&gt;thumbnail<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1314"><td class="num" id="LN1314">1314</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1315"><td class="num" id="LN1315">1315</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1316"><td class="num" id="LN1316">1316</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1317"><td class="num" id="LN1317">1317</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;thumbnail != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1318"><td class="num" id="LN1318">1318</td><td class="line"> g_signal_emit (img, signals[SIGNAL_THUMBNAIL_CHANGED], 0);</td></tr>
+<tr class="codeline" data-linenumber="1319"><td class="num" id="LN1319">1319</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1320"><td class="num" id="LN1320">1320</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1321"><td class="num" id="LN1321">1321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1322"><td class="num" id="LN1322">1322</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="1323"><td class="num" id="LN1323">1323</td><td class="line"> <span class='comment'>* eom_image_get_pixbuf:</span></td></tr>
+<tr class="codeline" data-linenumber="1324"><td class="num" id="LN1324">1324</td><td class="line"> <span class='comment'>* @img: a #EomImage</span></td></tr>
+<tr class="codeline" data-linenumber="1325"><td class="num" id="LN1325">1325</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1326"><td class="num" id="LN1326">1326</td><td class="line"> <span class='comment'>* Gets the #GdkPixbuf of the image</span></td></tr>
+<tr class="codeline" data-linenumber="1327"><td class="num" id="LN1327">1327</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1328"><td class="num" id="LN1328">1328</td><td class="line"> <span class='comment'>* Returns: (transfer full): a #GdkPixbuf</span></td></tr>
+<tr class="codeline" data-linenumber="1329"><td class="num" id="LN1329">1329</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="1330"><td class="num" id="LN1330">1330</td><td class="line">GdkPixbuf *</td></tr>
+<tr class="codeline" data-linenumber="1331"><td class="num" id="LN1331">1331</td><td class="line">eom_image_get_pixbuf (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="1332"><td class="num" id="LN1332">1332</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1333"><td class="num" id="LN1333">1333</td><td class="line"> GdkPixbuf *image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1334"><td class="num" id="LN1334">1334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1335"><td class="num" id="LN1335">1335</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1336"><td class="num" id="LN1336">1336</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1337"><td class="num" id="LN1337">1337</td><td class="line"> g_mutex_lock (&amp;img-&gt;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="1338"><td class="num" id="LN1338">1338</td><td class="line"> image = img-&gt;priv-&gt;image;</td></tr>
+<tr class="codeline" data-linenumber="1339"><td class="num" id="LN1339">1339</td><td class="line"> g_mutex_unlock (&amp;img-&gt;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="1340"><td class="num" id="LN1340">1340</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1341"><td class="num" id="LN1341">1341</td><td class="line"> <span class='keyword'>if</span> (image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1342"><td class="num" id="LN1342">1342</td><td class="line"> <span class='macro'>g_object_ref (image)<span class='macro_popup'>((__typeof__ (image)) (g_object_ref) (image))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1343"><td class="num" id="LN1343">1343</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1344"><td class="num" id="LN1344">1344</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1345"><td class="num" id="LN1345">1345</td><td class="line"> <span class='keyword'>return</span> image;</td></tr>
+<tr class="codeline" data-linenumber="1346"><td class="num" id="LN1346">1346</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1347"><td class="num" id="LN1347">1347</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1348"><td class="num" id="LN1348">1348</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="1349"><td class="num" id="LN1349">1349</td><td class="line">cmsHPROFILE</td></tr>
+<tr class="codeline" data-linenumber="1350"><td class="num" id="LN1350">1350</td><td class="line">eom_image_get_profile (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="1351"><td class="num" id="LN1351">1351</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1352"><td class="num" id="LN1352">1352</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1353"><td class="num" id="LN1353">1353</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1354"><td class="num" id="LN1354">1354</td><td class="line"> <span class='keyword'>return</span> img-&gt;priv-&gt;profile;</td></tr>
+<tr class="codeline" data-linenumber="1355"><td class="num" id="LN1355">1355</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1356"><td class="num" id="LN1356">1356</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="1357"><td class="num" id="LN1357">1357</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1358"><td class="num" id="LN1358">1358</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="1359"><td class="num" id="LN1359">1359</td><td class="line"> <span class='comment'>* eom_image_get_thumbnail:</span></td></tr>
+<tr class="codeline" data-linenumber="1360"><td class="num" id="LN1360">1360</td><td class="line"> <span class='comment'>* @img: a #EomImage</span></td></tr>
+<tr class="codeline" data-linenumber="1361"><td class="num" id="LN1361">1361</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1362"><td class="num" id="LN1362">1362</td><td class="line"> <span class='comment'>* Gets the thumbnail pixbuf for @img</span></td></tr>
+<tr class="codeline" data-linenumber="1363"><td class="num" id="LN1363">1363</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1364"><td class="num" id="LN1364">1364</td><td class="line"> <span class='comment'>* Returns: (transfer full): a #GdkPixbuf with a thumbnail</span></td></tr>
+<tr class="codeline" data-linenumber="1365"><td class="num" id="LN1365">1365</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="1366"><td class="num" id="LN1366">1366</td><td class="line">GdkPixbuf *</td></tr>
+<tr class="codeline" data-linenumber="1367"><td class="num" id="LN1367">1367</td><td class="line">eom_image_get_thumbnail (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="1368"><td class="num" id="LN1368">1368</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1369"><td class="num" id="LN1369">1369</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1370"><td class="num" id="LN1370">1370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1371"><td class="num" id="LN1371">1371</td><td class="line"> <span class='keyword'>if</span> (img-&gt;priv-&gt;thumbnail != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1372"><td class="num" id="LN1372">1372</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_object_ref (img-&gt;priv-&gt;thumbnail)<span class='macro_popup'>((__typeof__ (img-&gt;priv-&gt;thumbnail)) (g_object_ref) (img<br>-&gt;priv-&gt;thumbnail))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1373"><td class="num" id="LN1373">1373</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1374"><td class="num" id="LN1374">1374</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1375"><td class="num" id="LN1375">1375</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1376"><td class="num" id="LN1376">1376</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1377"><td class="num" id="LN1377">1377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1378"><td class="num" id="LN1378">1378</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1379"><td class="num" id="LN1379">1379</td><td class="line">eom_image_get_size (EomImage *img, <span class='keyword'>int</span> *width, <span class='keyword'>int</span> *height)</td></tr>
+<tr class="codeline" data-linenumber="1380"><td class="num" id="LN1380">1380</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1381"><td class="num" id="LN1381">1381</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1382"><td class="num" id="LN1382">1382</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1383"><td class="num" id="LN1383">1383</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (img))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1384"><td class="num" id="LN1384">1384</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1385"><td class="num" id="LN1385">1385</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1386"><td class="num" id="LN1386">1386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1387"><td class="num" id="LN1387">1387</td><td class="line"> *width = priv-&gt;width;</td></tr>
+<tr class="codeline" data-linenumber="1388"><td class="num" id="LN1388">1388</td><td class="line"> *height = priv-&gt;height;</td></tr>
+<tr class="codeline" data-linenumber="1389"><td class="num" id="LN1389">1389</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1390"><td class="num" id="LN1390">1390</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1391"><td class="num" id="LN1391">1391</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1392"><td class="num" id="LN1392">1392</td><td class="line">eom_image_transform (EomImage *img, EomTransform *trans, EomJob *job)</td></tr>
+<tr class="codeline" data-linenumber="1393"><td class="num" id="LN1393">1393</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1394"><td class="num" id="LN1394">1394</td><td class="line"> eom_image_real_transform (img, trans, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, job);</td></tr>
+<tr class="codeline" data-linenumber="1395"><td class="num" id="LN1395">1395</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1396"><td class="num" id="LN1396">1396</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1397"><td class="num" id="LN1397">1397</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1398"><td class="num" id="LN1398">1398</td><td class="line">eom_image_undo (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="1399"><td class="num" id="LN1399">1399</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1400"><td class="num" id="LN1400">1400</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1401"><td class="num" id="LN1401">1401</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="1402"><td class="num" id="LN1402">1402</td><td class="line"> EomTransform *inverse;</td></tr>
+<tr class="codeline" data-linenumber="1403"><td class="num" id="LN1403">1403</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1404"><td class="num" id="LN1404">1404</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (img))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1405"><td class="num" id="LN1405">1405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1406"><td class="num" id="LN1406">1406</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1407"><td class="num" id="LN1407">1407</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1408"><td class="num" id="LN1408">1408</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;undo_stack != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1409"><td class="num" id="LN1409">1409</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (priv-&gt;undo_stack-&gt;data)<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;undo_stack-&gt;data)), ((eom_transform_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1410"><td class="num" id="LN1410">1410</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1411"><td class="num" id="LN1411">1411</td><td class="line"> inverse = eom_transform_reverse (trans);</td></tr>
+<tr class="codeline" data-linenumber="1412"><td class="num" id="LN1412">1412</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1413"><td class="num" id="LN1413">1413</td><td class="line"> eom_image_real_transform (img, inverse, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1414"><td class="num" id="LN1414">1414</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1415"><td class="num" id="LN1415">1415</td><td class="line"> priv-&gt;undo_stack = g_slist_delete_link (priv-&gt;undo_stack, priv-&gt;undo_stack);</td></tr>
+<tr class="codeline" data-linenumber="1416"><td class="num" id="LN1416">1416</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1417"><td class="num" id="LN1417">1417</td><td class="line"> g_object_unref (trans);</td></tr>
+<tr class="codeline" data-linenumber="1418"><td class="num" id="LN1418">1418</td><td class="line"> g_object_unref (inverse);</td></tr>
+<tr class="codeline" data-linenumber="1419"><td class="num" id="LN1419">1419</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1420"><td class="num" id="LN1420">1420</td><td class="line"> <span class='keyword'>if</span> (eom_transform_is_identity (priv-&gt;trans)) {</td></tr>
+<tr class="codeline" data-linenumber="1421"><td class="num" id="LN1421">1421</td><td class="line"> g_object_unref (priv-&gt;trans);</td></tr>
+<tr class="codeline" data-linenumber="1422"><td class="num" id="LN1422">1422</td><td class="line"> priv-&gt;trans = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1423"><td class="num" id="LN1423">1423</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1424"><td class="num" id="LN1424">1424</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1425"><td class="num" id="LN1425">1425</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1426"><td class="num" id="LN1426">1426</td><td class="line"> priv-&gt;modified = (priv-&gt;undo_stack != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1427"><td class="num" id="LN1427">1427</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1428"><td class="num" id="LN1428">1428</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1429"><td class="num" id="LN1429">1429</td><td class="line"><span class='keyword'>static</span> GFile *</td></tr>
+<tr class="codeline" data-linenumber="1430"><td class="num" id="LN1430">1430</td><td class="line">tmp_file_get (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="1431"><td class="num" id="LN1431">1431</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1432"><td class="num" id="LN1432">1432</td><td class="line"> GFile *tmp_file;</td></tr>
+<tr class="codeline" data-linenumber="1433"><td class="num" id="LN1433">1433</td><td class="line"> <span class='keyword'>char</span> *tmp_file_path;</td></tr>
+<tr class="codeline" data-linenumber="1434"><td class="num" id="LN1434">1434</td><td class="line"> gint fd;</td></tr>
+<tr class="codeline" data-linenumber="1435"><td class="num" id="LN1435">1435</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1436"><td class="num" id="LN1436">1436</td><td class="line"> tmp_file_path = g_build_filename (g_get_tmp_dir (), <span class='string_literal'>"eom-save-XXXXXX"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1437"><td class="num" id="LN1437">1437</td><td class="line"> fd = g_mkstemp (tmp_file_path);</td></tr>
+<tr class="codeline" data-linenumber="1438"><td class="num" id="LN1438">1438</td><td class="line"> <span class='keyword'>if</span> (fd == -1) {</td></tr>
+<tr class="codeline" data-linenumber="1439"><td class="num" id="LN1439">1439</td><td class="line"> g_free (tmp_file_path);</td></tr>
+<tr class="codeline" data-linenumber="1440"><td class="num" id="LN1440">1440</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1441"><td class="num" id="LN1441">1441</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1442"><td class="num" id="LN1442">1442</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1443"><td class="num" id="LN1443">1443</td><td class="line"> tmp_file = g_file_new_for_path (tmp_file_path);</td></tr>
+<tr class="codeline" data-linenumber="1444"><td class="num" id="LN1444">1444</td><td class="line"> g_free (tmp_file_path);</td></tr>
+<tr class="codeline" data-linenumber="1445"><td class="num" id="LN1445">1445</td><td class="line"> <span class='keyword'>return</span> tmp_file;</td></tr>
+<tr class="codeline" data-linenumber="1446"><td class="num" id="LN1446">1446</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1447"><td class="num" id="LN1447">1447</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1448"><td class="num" id="LN1448">1448</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1449"><td class="num" id="LN1449">1449</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1450"><td class="num" id="LN1450">1450</td><td class="line">transfer_progress_cb (goffset cur_bytes,</td></tr>
+<tr class="codeline" data-linenumber="1451"><td class="num" id="LN1451">1451</td><td class="line"> goffset total_bytes,</td></tr>
+<tr class="codeline" data-linenumber="1452"><td class="num" id="LN1452">1452</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1453"><td class="num" id="LN1453">1453</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1454"><td class="num" id="LN1454">1454</td><td class="line"> EomImage *image = <span class='macro'>EOM_IMAGE (user_data)<span class='macro_popup'>((((EomImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_image_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1455"><td class="num" id="LN1455">1455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1456"><td class="num" id="LN1456">1456</td><td class="line"> <span class='keyword'>if</span> (cur_bytes &gt; 0) {</td></tr>
+<tr class="codeline" data-linenumber="1457"><td class="num" id="LN1457">1457</td><td class="line"> g_signal_emit (image, signals[SIGNAL_SAVE_PROGRESS],</td></tr>
+<tr class="codeline" data-linenumber="1458"><td class="num" id="LN1458">1458</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="1459"><td class="num" id="LN1459">1459</td><td class="line"> (gfloat) cur_bytes / (gfloat) total_bytes);</td></tr>
+<tr class="codeline" data-linenumber="1460"><td class="num" id="LN1460">1460</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1461"><td class="num" id="LN1461">1461</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1462"><td class="num" id="LN1462">1462</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1463"><td class="num" id="LN1463">1463</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1464"><td class="num" id="LN1464">1464</td><td class="line">tmp_file_restore_unix_attributes (GFile *temp_file,</td></tr>
+<tr class="codeline" data-linenumber="1465"><td class="num" id="LN1465">1465</td><td class="line"> GFile *target_file)</td></tr>
+<tr class="codeline" data-linenumber="1466"><td class="num" id="LN1466">1466</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1467"><td class="num" id="LN1467">1467</td><td class="line"> GFileInfo *file_info;</td></tr>
+<tr class="codeline" data-linenumber="1468"><td class="num" id="LN1468">1468</td><td class="line"> guint uid;</td></tr>
+<tr class="codeline" data-linenumber="1469"><td class="num" id="LN1469">1469</td><td class="line"> guint gid;</td></tr>
+<tr class="codeline" data-linenumber="1470"><td class="num" id="LN1470">1470</td><td class="line"> guint mode;</td></tr>
+<tr class="codeline" data-linenumber="1471"><td class="num" id="LN1471">1471</td><td class="line"> guint mode_mask = 00600;</td></tr>
+<tr class="codeline" data-linenumber="1472"><td class="num" id="LN1472">1472</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1473"><td class="num" id="LN1473">1473</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1474"><td class="num" id="LN1474">1474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1475"><td class="num" id="LN1475">1475</td><td class="line"> <span class='macro'>g_return_if_fail (G_IS_FILE (temp_file))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((temp_file)); GType __t = ((g_file_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "G_IS_FILE (temp_file)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1476"><td class="num" id="LN1476">1476</td><td class="line"> <span class='macro'>g_return_if_fail (G_IS_FILE (target_file))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((target_file)); GType __t = ((g_file_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "G_IS_FILE (target_file)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1477"><td class="num" id="LN1477">1477</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1478"><td class="num" id="LN1478">1478</td><td class="line"> <span class='comment'>/* check if file exists */</span></td></tr>
+<tr class="codeline" data-linenumber="1479"><td class="num" id="LN1479">1479</td><td class="line"> <span class='keyword'>if</span> (!g_file_query_exists (target_file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="1480"><td class="num" id="LN1480">1480</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_IMAGE_SAVE<span class='macro_popup'>EOM_DEBUG_IMAGE_SAVE, "eom-image.c", 1480, ((const char*) (__func__<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1481"><td class="num" id="LN1481">1481</td><td class="line"> <span class='string_literal'>"Target file doesn't exist. Setting default attributes."</span>);</td></tr>
+<tr class="codeline" data-linenumber="1482"><td class="num" id="LN1482">1482</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1483"><td class="num" id="LN1483">1483</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1484"><td class="num" id="LN1484">1484</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1485"><td class="num" id="LN1485">1485</td><td class="line"> <span class='comment'>/* retrieve UID, GID, and MODE of the original file info */</span></td></tr>
+<tr class="codeline" data-linenumber="1486"><td class="num" id="LN1486">1486</td><td class="line"> file_info = g_file_query_info (target_file,</td></tr>
+<tr class="codeline" data-linenumber="1487"><td class="num" id="LN1487">1487</td><td class="line"> <span class='string_literal'>"unix::uid,unix::gid,unix::mode"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1488"><td class="num" id="LN1488">1488</td><td class="line"> G_FILE_QUERY_INFO_NONE,</td></tr>
+<tr class="codeline" data-linenumber="1489"><td class="num" id="LN1489">1489</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1490"><td class="num" id="LN1490">1490</td><td class="line"> &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="1491"><td class="num" id="LN1491">1491</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1492"><td class="num" id="LN1492">1492</td><td class="line"> <span class='comment'>/* check that there aren't any error */</span></td></tr>
+<tr class="codeline" data-linenumber="1493"><td class="num" id="LN1493">1493</td><td class="line"> <span class='keyword'>if</span> (error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1494"><td class="num" id="LN1494">1494</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_IMAGE_SAVE<span class='macro_popup'>EOM_DEBUG_IMAGE_SAVE, "eom-image.c", 1494, ((const char*) (__func__<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1495"><td class="num" id="LN1495">1495</td><td class="line"> <span class='string_literal'>"File information not available. Setting default attributes."</span>);</td></tr>
+<tr class="codeline" data-linenumber="1496"><td class="num" id="LN1496">1496</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1497"><td class="num" id="LN1497">1497</td><td class="line"> <span class='comment'>/* free objects */</span></td></tr>
+<tr class="codeline" data-linenumber="1498"><td class="num" id="LN1498">1498</td><td class="line"> g_object_unref (file_info);</td></tr>
+<tr class="codeline" data-linenumber="1499"><td class="num" id="LN1499">1499</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="1500"><td class="num" id="LN1500">1500</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1501"><td class="num" id="LN1501">1501</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1502"><td class="num" id="LN1502">1502</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1503"><td class="num" id="LN1503">1503</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1504"><td class="num" id="LN1504">1504</td><td class="line"> <span class='comment'>/* save UID, GID and MODE values */</span></td></tr>
+<tr class="codeline" data-linenumber="1505"><td class="num" id="LN1505">1505</td><td class="line"> uid = g_file_info_get_attribute_uint32 (file_info,</td></tr>
+<tr class="codeline" data-linenumber="1506"><td class="num" id="LN1506">1506</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_UNIX_UID<span class='macro_popup'>"unix::uid"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1507"><td class="num" id="LN1507">1507</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1508"><td class="num" id="LN1508">1508</td><td class="line"> gid = g_file_info_get_attribute_uint32 (file_info,</td></tr>
+<tr class="codeline" data-linenumber="1509"><td class="num" id="LN1509">1509</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_UNIX_GID<span class='macro_popup'>"unix::gid"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1510"><td class="num" id="LN1510">1510</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1511"><td class="num" id="LN1511">1511</td><td class="line"> mode = g_file_info_get_attribute_uint32 (file_info,</td></tr>
+<tr class="codeline" data-linenumber="1512"><td class="num" id="LN1512">1512</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_UNIX_MODE<span class='macro_popup'>"unix::mode"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1513"><td class="num" id="LN1513">1513</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1514"><td class="num" id="LN1514">1514</td><td class="line"> <span class='comment'>/* apply default mode mask to file mode */</span></td></tr>
+<tr class="codeline" data-linenumber="1515"><td class="num" id="LN1515">1515</td><td class="line"> mode |= mode_mask;</td></tr>
+<tr class="codeline" data-linenumber="1516"><td class="num" id="LN1516">1516</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1517"><td class="num" id="LN1517">1517</td><td class="line"> <span class='comment'>/* restore original UID, GID, and MODE into the temporal file */</span></td></tr>
+<tr class="codeline" data-linenumber="1518"><td class="num" id="LN1518">1518</td><td class="line"> g_file_set_attribute_uint32 (temp_file,</td></tr>
+<tr class="codeline" data-linenumber="1519"><td class="num" id="LN1519">1519</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_UNIX_UID<span class='macro_popup'>"unix::uid"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1520"><td class="num" id="LN1520">1520</td><td class="line"> uid,</td></tr>
+<tr class="codeline" data-linenumber="1521"><td class="num" id="LN1521">1521</td><td class="line"> G_FILE_QUERY_INFO_NONE,</td></tr>
+<tr class="codeline" data-linenumber="1522"><td class="num" id="LN1522">1522</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1523"><td class="num" id="LN1523">1523</td><td class="line"> &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="1524"><td class="num" id="LN1524">1524</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1525"><td class="num" id="LN1525">1525</td><td class="line"> <span class='comment'>/* check that there aren't any error */</span></td></tr>
+<tr class="codeline" data-linenumber="1526"><td class="num" id="LN1526">1526</td><td class="line"> <span class='keyword'>if</span> (error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1527"><td class="num" id="LN1527">1527</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_IMAGE_SAVE<span class='macro_popup'>EOM_DEBUG_IMAGE_SAVE, "eom-image.c", 1527, ((const char*) (__func__<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1528"><td class="num" id="LN1528">1528</td><td class="line"> <span class='string_literal'>"You do not have the permissions necessary to change the file UID."</span>);</td></tr>
+<tr class="codeline" data-linenumber="1529"><td class="num" id="LN1529">1529</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1530"><td class="num" id="LN1530">1530</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="1531"><td class="num" id="LN1531">1531</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1532"><td class="num" id="LN1532">1532</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1533"><td class="num" id="LN1533">1533</td><td class="line"> g_file_set_attribute_uint32 (temp_file,</td></tr>
+<tr class="codeline" data-linenumber="1534"><td class="num" id="LN1534">1534</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_UNIX_GID<span class='macro_popup'>"unix::gid"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1535"><td class="num" id="LN1535">1535</td><td class="line"> gid,</td></tr>
+<tr class="codeline" data-linenumber="1536"><td class="num" id="LN1536">1536</td><td class="line"> G_FILE_QUERY_INFO_NONE,</td></tr>
+<tr class="codeline" data-linenumber="1537"><td class="num" id="LN1537">1537</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1538"><td class="num" id="LN1538">1538</td><td class="line"> &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="1539"><td class="num" id="LN1539">1539</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1540"><td class="num" id="LN1540">1540</td><td class="line"> <span class='comment'>/* check that there aren't any error */</span></td></tr>
+<tr class="codeline" data-linenumber="1541"><td class="num" id="LN1541">1541</td><td class="line"> <span class='keyword'>if</span> (error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1542"><td class="num" id="LN1542">1542</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_IMAGE_SAVE<span class='macro_popup'>EOM_DEBUG_IMAGE_SAVE, "eom-image.c", 1542, ((const char*) (__func__<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1543"><td class="num" id="LN1543">1543</td><td class="line"> <span class='string_literal'>"You do not have the permissions necessary to change the file GID. Setting user default GID."</span>);</td></tr>
+<tr class="codeline" data-linenumber="1544"><td class="num" id="LN1544">1544</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1545"><td class="num" id="LN1545">1545</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="1546"><td class="num" id="LN1546">1546</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1547"><td class="num" id="LN1547">1547</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1548"><td class="num" id="LN1548">1548</td><td class="line"> g_file_set_attribute_uint32 (temp_file,</td></tr>
+<tr class="codeline" data-linenumber="1549"><td class="num" id="LN1549">1549</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_UNIX_MODE<span class='macro_popup'>"unix::mode"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1550"><td class="num" id="LN1550">1550</td><td class="line"> mode,</td></tr>
+<tr class="codeline" data-linenumber="1551"><td class="num" id="LN1551">1551</td><td class="line"> G_FILE_QUERY_INFO_NONE,</td></tr>
+<tr class="codeline" data-linenumber="1552"><td class="num" id="LN1552">1552</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1553"><td class="num" id="LN1553">1553</td><td class="line"> &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="1554"><td class="num" id="LN1554">1554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1555"><td class="num" id="LN1555">1555</td><td class="line"> <span class='comment'>/* check that there aren't any error */</span></td></tr>
+<tr class="codeline" data-linenumber="1556"><td class="num" id="LN1556">1556</td><td class="line"> <span class='keyword'>if</span> (error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1557"><td class="num" id="LN1557">1557</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_IMAGE_SAVE<span class='macro_popup'>EOM_DEBUG_IMAGE_SAVE, "eom-image.c", 1557, ((const char*) (__func__<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1558"><td class="num" id="LN1558">1558</td><td class="line"> <span class='string_literal'>"You do not have the permissions necessary to change the file MODE."</span>);</td></tr>
+<tr class="codeline" data-linenumber="1559"><td class="num" id="LN1559">1559</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1560"><td class="num" id="LN1560">1560</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="1561"><td class="num" id="LN1561">1561</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1562"><td class="num" id="LN1562">1562</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1563"><td class="num" id="LN1563">1563</td><td class="line"> <span class='comment'>/* free objects */</span></td></tr>
+<tr class="codeline" data-linenumber="1564"><td class="num" id="LN1564">1564</td><td class="line"> g_object_unref (file_info);</td></tr>
+<tr class="codeline" data-linenumber="1565"><td class="num" id="LN1565">1565</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1566"><td class="num" id="LN1566">1566</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1567"><td class="num" id="LN1567">1567</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1568"><td class="num" id="LN1568">1568</td><td class="line">tmp_file_move_to_uri (EomImage *image,</td></tr>
+<tr class="codeline" data-linenumber="1569"><td class="num" id="LN1569">1569</td><td class="line"> GFile *tmpfile,</td></tr>
+<tr class="codeline" data-linenumber="1570"><td class="num" id="LN1570">1570</td><td class="line"> GFile *file,</td></tr>
+<tr class="codeline" data-linenumber="1571"><td class="num" id="LN1571">1571</td><td class="line"> gboolean overwrite,</td></tr>
+<tr class="codeline" data-linenumber="1572"><td class="num" id="LN1572">1572</td><td class="line"> GError **error)</td></tr>
+<tr class="codeline" data-linenumber="1573"><td class="num" id="LN1573">1573</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1574"><td class="num" id="LN1574">1574</td><td class="line"> gboolean result;</td></tr>
+<tr class="codeline" data-linenumber="1575"><td class="num" id="LN1575">1575</td><td class="line"> GError *ioerror = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1576"><td class="num" id="LN1576">1576</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1577"><td class="num" id="LN1577">1577</td><td class="line"> <span class='comment'>/* try to restore target file unix attributes */</span></td></tr>
+<tr class="codeline" data-linenumber="1578"><td class="num" id="LN1578">1578</td><td class="line"> tmp_file_restore_unix_attributes (tmpfile, file);</td></tr>
+<tr class="codeline" data-linenumber="1579"><td class="num" id="LN1579">1579</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1580"><td class="num" id="LN1580">1580</td><td class="line"> <span class='comment'>/* replace target file with temporal file */</span></td></tr>
+<tr class="codeline" data-linenumber="1581"><td class="num" id="LN1581">1581</td><td class="line"> result = g_file_move (tmpfile,</td></tr>
+<tr class="codeline" data-linenumber="1582"><td class="num" id="LN1582">1582</td><td class="line"> file,</td></tr>
+<tr class="codeline" data-linenumber="1583"><td class="num" id="LN1583">1583</td><td class="line"> (overwrite ? G_FILE_COPY_OVERWRITE : 0) |</td></tr>
+<tr class="codeline" data-linenumber="1584"><td class="num" id="LN1584">1584</td><td class="line"> G_FILE_COPY_ALL_METADATA,</td></tr>
+<tr class="codeline" data-linenumber="1585"><td class="num" id="LN1585">1585</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1586"><td class="num" id="LN1586">1586</td><td class="line"> (GFileProgressCallback) transfer_progress_cb,</td></tr>
+<tr class="codeline" data-linenumber="1587"><td class="num" id="LN1587">1587</td><td class="line"> image,</td></tr>
+<tr class="codeline" data-linenumber="1588"><td class="num" id="LN1588">1588</td><td class="line"> &amp;ioerror);</td></tr>
+<tr class="codeline" data-linenumber="1589"><td class="num" id="LN1589">1589</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1590"><td class="num" id="LN1590">1590</td><td class="line"> <span class='keyword'>if</span> (result == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1591"><td class="num" id="LN1591">1591</td><td class="line"> <span class='keyword'>if</span> (g_error_matches (ioerror, <span class='macro'>G_IO_ERROR<span class='macro_popup'>g_io_error_quark()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1592"><td class="num" id="LN1592">1592</td><td class="line"> G_IO_ERROR_EXISTS)) {</td></tr>
+<tr class="codeline" data-linenumber="1593"><td class="num" id="LN1593">1593</td><td class="line"> g_set_error (error, <span class='macro'>EOM_IMAGE_ERROR<span class='macro_popup'>eom_image_error_quark ()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1594"><td class="num" id="LN1594">1594</td><td class="line"> EOM_IMAGE_ERROR_FILE_EXISTS,</td></tr>
+<tr class="codeline" data-linenumber="1595"><td class="num" id="LN1595">1595</td><td class="line"> <span class='string_literal'>"File exists"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1596"><td class="num" id="LN1596">1596</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1597"><td class="num" id="LN1597">1597</td><td class="line"> g_set_error (error, <span class='macro'>EOM_IMAGE_ERROR<span class='macro_popup'>eom_image_error_quark ()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1598"><td class="num" id="LN1598">1598</td><td class="line"> EOM_IMAGE_ERROR_VFS,</td></tr>
+<tr class="codeline" data-linenumber="1599"><td class="num" id="LN1599">1599</td><td class="line"> <span class='string_literal'>"VFS error moving the temp file"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1600"><td class="num" id="LN1600">1600</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1601"><td class="num" id="LN1601">1601</td><td class="line"> g_clear_error (&amp;ioerror);</td></tr>
+<tr class="codeline" data-linenumber="1602"><td class="num" id="LN1602">1602</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1603"><td class="num" id="LN1603">1603</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1604"><td class="num" id="LN1604">1604</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="1605"><td class="num" id="LN1605">1605</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1606"><td class="num" id="LN1606">1606</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1607"><td class="num" id="LN1607">1607</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1608"><td class="num" id="LN1608">1608</td><td class="line">tmp_file_delete (GFile *tmpfile)</td></tr>
+<tr class="codeline" data-linenumber="1609"><td class="num" id="LN1609">1609</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1610"><td class="num" id="LN1610">1610</td><td class="line"> gboolean result;</td></tr>
+<tr class="codeline" data-linenumber="1611"><td class="num" id="LN1611">1611</td><td class="line"> GError *err = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1612"><td class="num" id="LN1612">1612</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1613"><td class="num" id="LN1613">1613</td><td class="line"> <span class='keyword'>if</span> (tmpfile == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1614"><td class="num" id="LN1614">1614</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1615"><td class="num" id="LN1615">1615</td><td class="line"> result = g_file_delete (tmpfile, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, &amp;err);</td></tr>
+<tr class="codeline" data-linenumber="1616"><td class="num" id="LN1616">1616</td><td class="line"> <span class='keyword'>if</span> (result == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1617"><td class="num" id="LN1617">1617</td><td class="line"> <span class='keyword'>char</span> *tmpfile_path;</td></tr>
+<tr class="codeline" data-linenumber="1618"><td class="num" id="LN1618">1618</td><td class="line"> <span class='keyword'>if</span> (err != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1619"><td class="num" id="LN1619">1619</td><td class="line"> <span class='keyword'>if</span> (err-&gt;code == G_IO_ERROR_NOT_FOUND) {</td></tr>
+<tr class="codeline" data-linenumber="1620"><td class="num" id="LN1620">1620</td><td class="line"> g_error_free (err);</td></tr>
+<tr class="codeline" data-linenumber="1621"><td class="num" id="LN1621">1621</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1622"><td class="num" id="LN1622">1622</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1623"><td class="num" id="LN1623">1623</td><td class="line"> g_error_free (err);</td></tr>
+<tr class="codeline" data-linenumber="1624"><td class="num" id="LN1624">1624</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1625"><td class="num" id="LN1625">1625</td><td class="line"> tmpfile_path = g_file_get_path (tmpfile);</td></tr>
+<tr class="codeline" data-linenumber="1626"><td class="num" id="LN1626">1626</td><td class="line"> g_warning (<span class='string_literal'>"Couldn't delete temporary file: %s"</span>, tmpfile_path);</td></tr>
+<tr class="codeline" data-linenumber="1627"><td class="num" id="LN1627">1627</td><td class="line"> g_free (tmpfile_path);</td></tr>
+<tr class="codeline" data-linenumber="1628"><td class="num" id="LN1628">1628</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1629"><td class="num" id="LN1629">1629</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1630"><td class="num" id="LN1630">1630</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="1631"><td class="num" id="LN1631">1631</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1632"><td class="num" id="LN1632">1632</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1633"><td class="num" id="LN1633">1633</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1634"><td class="num" id="LN1634">1634</td><td class="line">eom_image_reset_modifications (EomImage *image)</td></tr>
+<tr class="codeline" data-linenumber="1635"><td class="num" id="LN1635">1635</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1636"><td class="num" id="LN1636">1636</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1637"><td class="num" id="LN1637">1637</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1638"><td class="num" id="LN1638">1638</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (image))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((image)); GType __t = ((eom_image_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (image)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1639"><td class="num" id="LN1639">1639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1640"><td class="num" id="LN1640">1640</td><td class="line"> priv = image-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1641"><td class="num" id="LN1641">1641</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1642"><td class="num" id="LN1642">1642</td><td class="line"> g_slist_free_full (priv-&gt;undo_stack, g_object_unref);</td></tr>
+<tr class="codeline" data-linenumber="1643"><td class="num" id="LN1643">1643</td><td class="line"> priv-&gt;undo_stack = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1644"><td class="num" id="LN1644">1644</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1645"><td class="num" id="LN1645">1645</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;trans != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1646"><td class="num" id="LN1646">1646</td><td class="line"> g_object_unref (priv-&gt;trans);</td></tr>
+<tr class="codeline" data-linenumber="1647"><td class="num" id="LN1647">1647</td><td class="line"> priv-&gt;trans = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1648"><td class="num" id="LN1648">1648</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1649"><td class="num" id="LN1649">1649</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1650"><td class="num" id="LN1650">1650</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;trans_autorotate != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1651"><td class="num" id="LN1651">1651</td><td class="line"> g_object_unref (priv-&gt;trans_autorotate);</td></tr>
+<tr class="codeline" data-linenumber="1652"><td class="num" id="LN1652">1652</td><td class="line"> priv-&gt;trans_autorotate = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1653"><td class="num" id="LN1653">1653</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1654"><td class="num" id="LN1654">1654</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1655"><td class="num" id="LN1655">1655</td><td class="line"> priv-&gt;modified = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1656"><td class="num" id="LN1656">1656</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1657"><td class="num" id="LN1657">1657</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1658"><td class="num" id="LN1658">1658</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1659"><td class="num" id="LN1659">1659</td><td class="line">eom_image_link_with_target (EomImage *image, EomImageSaveInfo *target)</td></tr>
+<tr class="codeline" data-linenumber="1660"><td class="num" id="LN1660">1660</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1661"><td class="num" id="LN1661">1661</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1662"><td class="num" id="LN1662">1662</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1663"><td class="num" id="LN1663">1663</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (image))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((image)); GType __t = ((eom_image_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (image)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1664"><td class="num" id="LN1664">1664</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE_SAVE_INFO (target))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((target)); GType __t = ((eom_image_save_info_get_type ())<br>); gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;<br>g_class &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r =<br> (!(0)); else __r = g_type_check_instance_is_a (__inst, __t);<br> __r; })))))) { } else { g_return_if_fail_warning ("EOM", ((const<br> char*) (__func__)), "EOM_IS_IMAGE_SAVE_INFO (target)"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1665"><td class="num" id="LN1665">1665</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1666"><td class="num" id="LN1666">1666</td><td class="line"> priv = image-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1667"><td class="num" id="LN1667">1667</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1668"><td class="num" id="LN1668">1668</td><td class="line"> <span class='comment'>/* update file location */</span></td></tr>
+<tr class="codeline" data-linenumber="1669"><td class="num" id="LN1669">1669</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;file != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1670"><td class="num" id="LN1670">1670</td><td class="line"> g_object_unref (priv-&gt;file);</td></tr>
+<tr class="codeline" data-linenumber="1671"><td class="num" id="LN1671">1671</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1672"><td class="num" id="LN1672">1672</td><td class="line"> priv-&gt;file = <span class='macro'>g_object_ref (target-&gt;file)<span class='macro_popup'>((__typeof__ (target-&gt;file)) (g_object_ref) (target-&gt;file<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1673"><td class="num" id="LN1673">1673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1674"><td class="num" id="LN1674">1674</td><td class="line"> <span class='comment'>/* Clear caption and caption key, these will be</span></td></tr>
+<tr class="codeline" data-linenumber="1675"><td class="num" id="LN1675">1675</td><td class="line"> <span class='comment'>* updated on next eom_image_get_caption call.</span></td></tr>
+<tr class="codeline" data-linenumber="1676"><td class="num" id="LN1676">1676</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1677"><td class="num" id="LN1677">1677</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;caption != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1678"><td class="num" id="LN1678">1678</td><td class="line"> g_free (priv-&gt;caption);</td></tr>
+<tr class="codeline" data-linenumber="1679"><td class="num" id="LN1679">1679</td><td class="line"> priv-&gt;caption = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1680"><td class="num" id="LN1680">1680</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1681"><td class="num" id="LN1681">1681</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;collate_key != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1682"><td class="num" id="LN1682">1682</td><td class="line"> g_free (priv-&gt;collate_key);</td></tr>
+<tr class="codeline" data-linenumber="1683"><td class="num" id="LN1683">1683</td><td class="line"> priv-&gt;collate_key = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1684"><td class="num" id="LN1684">1684</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1685"><td class="num" id="LN1685">1685</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1686"><td class="num" id="LN1686">1686</td><td class="line"> <span class='comment'>/* update file format */</span></td></tr>
+<tr class="codeline" data-linenumber="1687"><td class="num" id="LN1687">1687</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;file_type != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1688"><td class="num" id="LN1688">1688</td><td class="line"> g_free (priv-&gt;file_type);</td></tr>
+<tr class="codeline" data-linenumber="1689"><td class="num" id="LN1689">1689</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1690"><td class="num" id="LN1690">1690</td><td class="line"> priv-&gt;file_type = <span class='macro'>g_strdup (target-&gt;format)<span class='macro_popup'>g_strdup_inline (target-&gt;format)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1691"><td class="num" id="LN1691">1691</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1692"><td class="num" id="LN1692">1692</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1693"><td class="num" id="LN1693">1693</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="1694"><td class="num" id="LN1694">1694</td><td class="line">eom_image_save_by_info (EomImage *img, EomImageSaveInfo *source, GError **error)</td></tr>
+<tr class="codeline" data-linenumber="1695"><td class="num" id="LN1695">1695</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1696"><td class="num" id="LN1696">1696</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1697"><td class="num" id="LN1697">1697</td><td class="line"> EomImageStatus prev_status;</td></tr>
+<tr class="codeline" data-linenumber="1698"><td class="num" id="LN1698">1698</td><td class="line"> gboolean success = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1699"><td class="num" id="LN1699">1699</td><td class="line"> GFile *tmp_file;</td></tr>
+<tr class="codeline" data-linenumber="1700"><td class="num" id="LN1700">1700</td><td class="line"> <span class='keyword'>char</span> *tmp_file_path;</td></tr>
+<tr class="codeline" data-linenumber="1701"><td class="num" id="LN1701">1701</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1702"><td class="num" id="LN1702">1702</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1703"><td class="num" id="LN1703">1703</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE_SAVE_INFO (source), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((source)); GType __t = ((eom_image_save_info_get_type ())<br>); gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;<br>g_class &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r =<br> (!(0)); else __r = g_type_check_instance_is_a (__inst, __t);<br> __r; })))))) { } else { g_return_if_fail_warning ("EOM", ((const<br> char*) (__func__)), "EOM_IS_IMAGE_SAVE_INFO (source)"); return<br> ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1704"><td class="num" id="LN1704">1704</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1705"><td class="num" id="LN1705">1705</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1706"><td class="num" id="LN1706">1706</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1707"><td class="num" id="LN1707">1707</td><td class="line"> prev_status = priv-&gt;status;</td></tr>
+<tr class="codeline" data-linenumber="1708"><td class="num" id="LN1708">1708</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1709"><td class="num" id="LN1709">1709</td><td class="line"> <span class='comment'>/* Image is now being saved */</span></td></tr>
+<tr class="codeline" data-linenumber="1710"><td class="num" id="LN1710">1710</td><td class="line"> priv-&gt;status = EOM_IMAGE_STATUS_SAVING;</td></tr>
+<tr class="codeline" data-linenumber="1711"><td class="num" id="LN1711">1711</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1712"><td class="num" id="LN1712">1712</td><td class="line"> <span class='comment'>/* see if we need any saving at all */</span></td></tr>
+<tr class="codeline" data-linenumber="1713"><td class="num" id="LN1713">1713</td><td class="line"> <span class='keyword'>if</span> (source-&gt;exists &amp;&amp; !source-&gt;modified) {</td></tr>
+<tr class="codeline" data-linenumber="1714"><td class="num" id="LN1714">1714</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1715"><td class="num" id="LN1715">1715</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1716"><td class="num" id="LN1716">1716</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1717"><td class="num" id="LN1717">1717</td><td class="line"> <span class='comment'>/* fail if there is no image to save */</span></td></tr>
+<tr class="codeline" data-linenumber="1718"><td class="num" id="LN1718">1718</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1719"><td class="num" id="LN1719">1719</td><td class="line"> g_set_error (error, <span class='macro'>EOM_IMAGE_ERROR<span class='macro_popup'>eom_image_error_quark ()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1720"><td class="num" id="LN1720">1720</td><td class="line"> EOM_IMAGE_ERROR_NOT_LOADED,</td></tr>
+<tr class="codeline" data-linenumber="1721"><td class="num" id="LN1721">1721</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"No image loaded."</span>)<span class='macro_popup'>gettext ("No image loaded.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1722"><td class="num" id="LN1722">1722</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1723"><td class="num" id="LN1723">1723</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1724"><td class="num" id="LN1724">1724</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1725"><td class="num" id="LN1725">1725</td><td class="line"> <span class='comment'>/* generate temporary file */</span></td></tr>
+<tr class="codeline" data-linenumber="1726"><td class="num" id="LN1726">1726</td><td class="line"> tmp_file = tmp_file_get ();</td></tr>
+<tr class="codeline" data-linenumber="1727"><td class="num" id="LN1727">1727</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1728"><td class="num" id="LN1728">1728</td><td class="line"> <span class='keyword'>if</span> (tmp_file == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1729"><td class="num" id="LN1729">1729</td><td class="line"> g_set_error (error, <span class='macro'>EOM_IMAGE_ERROR<span class='macro_popup'>eom_image_error_quark ()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1730"><td class="num" id="LN1730">1730</td><td class="line"> EOM_IMAGE_ERROR_TMP_FILE_FAILED,</td></tr>
+<tr class="codeline" data-linenumber="1731"><td class="num" id="LN1731">1731</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Temporary file creation failed."</span>)<span class='macro_popup'>gettext ("Temporary file creation failed.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1732"><td class="num" id="LN1732">1732</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1733"><td class="num" id="LN1733">1733</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1734"><td class="num" id="LN1734">1734</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1735"><td class="num" id="LN1735">1735</td><td class="line"> tmp_file_path = g_file_get_path (tmp_file);</td></tr>
+<tr class="codeline" data-linenumber="1736"><td class="num" id="LN1736">1736</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1737"><td class="num" id="LN1737">1737</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_JPEG<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="1738"><td class="num" id="LN1738">1738</td><td class="line"> <span class='comment'>/* determine kind of saving */</span></td></tr>
+<tr class="codeline" data-linenumber="1739"><td class="num" id="LN1739">1739</td><td class="line"> <span class='keyword'>if</span> ((g_ascii_strcasecmp (source-&gt;format, <span class='macro'>EOM_FILE_FORMAT_JPEG<span class='macro_popup'>"jpeg"</span></span>) == 0) &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="1740"><td class="num" id="LN1740">1740</td><td class="line"> source-&gt;exists &amp;&amp; source-&gt;modified)</td></tr>
+<tr class="codeline" data-linenumber="1741"><td class="num" id="LN1741">1741</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1742"><td class="num" id="LN1742">1742</td><td class="line"> success = eom_image_jpeg_save_file (img, tmp_file_path, source, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, error);</td></tr>
+<tr class="codeline" data-linenumber="1743"><td class="num" id="LN1743">1743</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1744"><td class="num" id="LN1744">1744</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="1745"><td class="num" id="LN1745">1745</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1746"><td class="num" id="LN1746">1746</td><td class="line"> <span class='keyword'>if</span> (!success &amp;&amp; (*error == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="1747"><td class="num" id="LN1747">1747</td><td class="line"> success = gdk_pixbuf_save (priv-&gt;image, tmp_file_path, source-&gt;format, error, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1748"><td class="num" id="LN1748">1748</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1749"><td class="num" id="LN1749">1749</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1750"><td class="num" id="LN1750">1750</td><td class="line"> <span class='keyword'>if</span> (success) {</td></tr>
+<tr class="codeline" data-linenumber="1751"><td class="num" id="LN1751">1751</td><td class="line"> <span class='comment'>/* try to move result file to target uri */</span></td></tr>
+<tr class="codeline" data-linenumber="1752"><td class="num" id="LN1752">1752</td><td class="line"> success = tmp_file_move_to_uri (img, tmp_file, priv-&gt;file, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span> <span class='comment'>/*overwrite*/</span>, error);</td></tr>
+<tr class="codeline" data-linenumber="1753"><td class="num" id="LN1753">1753</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1754"><td class="num" id="LN1754">1754</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1755"><td class="num" id="LN1755">1755</td><td class="line"> <span class='keyword'>if</span> (success) {</td></tr>
+<tr class="codeline" data-linenumber="1756"><td class="num" id="LN1756">1756</td><td class="line"> eom_image_reset_modifications (img);</td></tr>
+<tr class="codeline" data-linenumber="1757"><td class="num" id="LN1757">1757</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1758"><td class="num" id="LN1758">1758</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1759"><td class="num" id="LN1759">1759</td><td class="line"> tmp_file_delete (tmp_file);</td></tr>
+<tr class="codeline" data-linenumber="1760"><td class="num" id="LN1760">1760</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1761"><td class="num" id="LN1761">1761</td><td class="line"> g_free (tmp_file_path);</td></tr>
+<tr class="codeline" data-linenumber="1762"><td class="num" id="LN1762">1762</td><td class="line"> g_object_unref (tmp_file);</td></tr>
+<tr class="codeline" data-linenumber="1763"><td class="num" id="LN1763">1763</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1764"><td class="num" id="LN1764">1764</td><td class="line"> priv-&gt;status = prev_status;</td></tr>
+<tr class="codeline" data-linenumber="1765"><td class="num" id="LN1765">1765</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1766"><td class="num" id="LN1766">1766</td><td class="line"> <span class='keyword'>return</span> success;</td></tr>
+<tr class="codeline" data-linenumber="1767"><td class="num" id="LN1767">1767</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1768"><td class="num" id="LN1768">1768</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1769"><td class="num" id="LN1769">1769</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1770"><td class="num" id="LN1770">1770</td><td class="line">eom_image_copy_file (EomImage *image, EomImageSaveInfo *source, EomImageSaveInfo *target, GError **error)</td></tr>
+<tr class="codeline" data-linenumber="1771"><td class="num" id="LN1771">1771</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1772"><td class="num" id="LN1772">1772</td><td class="line"> gboolean result;</td></tr>
+<tr class="codeline" data-linenumber="1773"><td class="num" id="LN1773">1773</td><td class="line"> GError *ioerror = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1774"><td class="num" id="LN1774">1774</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1775"><td class="num" id="LN1775">1775</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE_SAVE_INFO (source), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((source)); GType __t = ((eom_image_save_info_get_type ())<br>); gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;<br>g_class &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r =<br> (!(0)); else __r = g_type_check_instance_is_a (__inst, __t);<br> __r; })))))) { } else { g_return_if_fail_warning ("EOM", ((const<br> char*) (__func__)), "EOM_IS_IMAGE_SAVE_INFO (source)"); return<br> ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1776"><td class="num" id="LN1776">1776</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE_SAVE_INFO (target), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((target)); GType __t = ((eom_image_save_info_get_type ())<br>); gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;<br>g_class &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r =<br> (!(0)); else __r = g_type_check_instance_is_a (__inst, __t);<br> __r; })))))) { } else { g_return_if_fail_warning ("EOM", ((const<br> char*) (__func__)), "EOM_IS_IMAGE_SAVE_INFO (target)"); return<br> ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1777"><td class="num" id="LN1777">1777</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1778"><td class="num" id="LN1778">1778</td><td class="line"> result = g_file_copy (source-&gt;file,</td></tr>
+<tr class="codeline" data-linenumber="1779"><td class="num" id="LN1779">1779</td><td class="line"> target-&gt;file,</td></tr>
+<tr class="codeline" data-linenumber="1780"><td class="num" id="LN1780">1780</td><td class="line"> (target-&gt;overwrite ? G_FILE_COPY_OVERWRITE : 0) |</td></tr>
+<tr class="codeline" data-linenumber="1781"><td class="num" id="LN1781">1781</td><td class="line"> G_FILE_COPY_ALL_METADATA,</td></tr>
+<tr class="codeline" data-linenumber="1782"><td class="num" id="LN1782">1782</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1783"><td class="num" id="LN1783">1783</td><td class="line"> <span class='macro'>EOM_IS_IMAGE (image)<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(image)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))</span></span> ? transfer_progress_cb :<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1784"><td class="num" id="LN1784">1784</td><td class="line"> image,</td></tr>
+<tr class="codeline" data-linenumber="1785"><td class="num" id="LN1785">1785</td><td class="line"> &amp;ioerror);</td></tr>
+<tr class="codeline" data-linenumber="1786"><td class="num" id="LN1786">1786</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1787"><td class="num" id="LN1787">1787</td><td class="line"> <span class='keyword'>if</span> (result == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1788"><td class="num" id="LN1788">1788</td><td class="line"> <span class='keyword'>if</span> (ioerror-&gt;code == G_IO_ERROR_EXISTS) {</td></tr>
+<tr class="codeline" data-linenumber="1789"><td class="num" id="LN1789">1789</td><td class="line"> g_set_error (error, <span class='macro'>EOM_IMAGE_ERROR<span class='macro_popup'>eom_image_error_quark ()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1790"><td class="num" id="LN1790">1790</td><td class="line"> EOM_IMAGE_ERROR_FILE_EXISTS,</td></tr>
+<tr class="codeline" data-linenumber="1791"><td class="num" id="LN1791">1791</td><td class="line"> <span class='string_literal'>"%s"</span>, ioerror-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="1792"><td class="num" id="LN1792">1792</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1793"><td class="num" id="LN1793">1793</td><td class="line"> g_set_error (error, <span class='macro'>EOM_IMAGE_ERROR<span class='macro_popup'>eom_image_error_quark ()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1794"><td class="num" id="LN1794">1794</td><td class="line"> EOM_IMAGE_ERROR_VFS,</td></tr>
+<tr class="codeline" data-linenumber="1795"><td class="num" id="LN1795">1795</td><td class="line"> <span class='string_literal'>"%s"</span>, ioerror-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="1796"><td class="num" id="LN1796">1796</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1797"><td class="num" id="LN1797">1797</td><td class="line"> g_error_free (ioerror);</td></tr>
+<tr class="codeline" data-linenumber="1798"><td class="num" id="LN1798">1798</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1799"><td class="num" id="LN1799">1799</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1800"><td class="num" id="LN1800">1800</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="1801"><td class="num" id="LN1801">1801</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1802"><td class="num" id="LN1802">1802</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1803"><td class="num" id="LN1803">1803</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="1804"><td class="num" id="LN1804">1804</td><td class="line">eom_image_save_as_by_info (EomImage *img, EomImageSaveInfo *source, EomImageSaveInfo *target, GError **error)</td></tr>
+<tr class="codeline" data-linenumber="1805"><td class="num" id="LN1805">1805</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1806"><td class="num" id="LN1806">1806</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1807"><td class="num" id="LN1807">1807</td><td class="line"> gboolean success = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1808"><td class="num" id="LN1808">1808</td><td class="line"> <span class='keyword'>char</span> *tmp_file_path;</td></tr>
+<tr class="codeline" data-linenumber="1809"><td class="num" id="LN1809">1809</td><td class="line"> GFile *tmp_file;</td></tr>
+<tr class="codeline" data-linenumber="1810"><td class="num" id="LN1810">1810</td><td class="line"> gboolean direct_copy = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1811"><td class="num" id="LN1811">1811</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1812"><td class="num" id="LN1812">1812</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1813"><td class="num" id="LN1813">1813</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE_SAVE_INFO (source), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((source)); GType __t = ((eom_image_save_info_get_type ())<br>); gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;<br>g_class &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r =<br> (!(0)); else __r = g_type_check_instance_is_a (__inst, __t);<br> __r; })))))) { } else { g_return_if_fail_warning ("EOM", ((const<br> char*) (__func__)), "EOM_IS_IMAGE_SAVE_INFO (source)"); return<br> ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1814"><td class="num" id="LN1814">1814</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE_SAVE_INFO (target), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((target)); GType __t = ((eom_image_save_info_get_type ())<br>); gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;<br>g_class &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r =<br> (!(0)); else __r = g_type_check_instance_is_a (__inst, __t);<br> __r; })))))) { } else { g_return_if_fail_warning ("EOM", ((const<br> char*) (__func__)), "EOM_IS_IMAGE_SAVE_INFO (target)"); return<br> ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1815"><td class="num" id="LN1815">1815</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1816"><td class="num" id="LN1816">1816</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1817"><td class="num" id="LN1817">1817</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1818"><td class="num" id="LN1818">1818</td><td class="line"> <span class='comment'>/* fail if there is no image to save */</span></td></tr>
+<tr class="codeline" data-linenumber="1819"><td class="num" id="LN1819">1819</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1820"><td class="num" id="LN1820">1820</td><td class="line"> g_set_error (error,</td></tr>
+<tr class="codeline" data-linenumber="1821"><td class="num" id="LN1821">1821</td><td class="line"> <span class='macro'>EOM_IMAGE_ERROR<span class='macro_popup'>eom_image_error_quark ()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1822"><td class="num" id="LN1822">1822</td><td class="line"> EOM_IMAGE_ERROR_NOT_LOADED,</td></tr>
+<tr class="codeline" data-linenumber="1823"><td class="num" id="LN1823">1823</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"No image loaded."</span>)<span class='macro_popup'>gettext ("No image loaded.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1824"><td class="num" id="LN1824">1824</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1825"><td class="num" id="LN1825">1825</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1826"><td class="num" id="LN1826">1826</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1827"><td class="num" id="LN1827">1827</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1828"><td class="num" id="LN1828">1828</td><td class="line"> <span class='comment'>/* generate temporary file name */</span></td></tr>
+<tr class="codeline" data-linenumber="1829"><td class="num" id="LN1829">1829</td><td class="line"> tmp_file = tmp_file_get ();</td></tr>
+<tr class="codeline" data-linenumber="1830"><td class="num" id="LN1830">1830</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1831"><td class="num" id="LN1831">1831</td><td class="line"> <span class='keyword'>if</span> (tmp_file == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1832"><td class="num" id="LN1832">1832</td><td class="line"> g_set_error (error,</td></tr>
+<tr class="codeline" data-linenumber="1833"><td class="num" id="LN1833">1833</td><td class="line"> <span class='macro'>EOM_IMAGE_ERROR<span class='macro_popup'>eom_image_error_quark ()</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1834"><td class="num" id="LN1834">1834</td><td class="line"> EOM_IMAGE_ERROR_TMP_FILE_FAILED,</td></tr>
+<tr class="codeline" data-linenumber="1835"><td class="num" id="LN1835">1835</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Temporary file creation failed."</span>)<span class='macro_popup'>gettext ("Temporary file creation failed.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1836"><td class="num" id="LN1836">1836</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1837"><td class="num" id="LN1837">1837</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1838"><td class="num" id="LN1838">1838</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1839"><td class="num" id="LN1839">1839</td><td class="line"> tmp_file_path = g_file_get_path (tmp_file);</td></tr>
+<tr class="codeline" data-linenumber="1840"><td class="num" id="LN1840">1840</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1841"><td class="num" id="LN1841">1841</td><td class="line"> <span class='comment'>/* determine kind of saving */</span></td></tr>
+<tr class="codeline" data-linenumber="1842"><td class="num" id="LN1842">1842</td><td class="line"> <span class='keyword'>if</span> (g_ascii_strcasecmp (source-&gt;format, target-&gt;format) == 0 &amp;&amp; !source-&gt;modified) {</td></tr>
+<tr class="codeline" data-linenumber="1843"><td class="num" id="LN1843">1843</td><td class="line"> success = eom_image_copy_file (img, source, target, error);</td></tr>
+<tr class="codeline" data-linenumber="1844"><td class="num" id="LN1844">1844</td><td class="line"> direct_copy = success;</td></tr>
+<tr class="codeline" data-linenumber="1845"><td class="num" id="LN1845">1845</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1846"><td class="num" id="LN1846">1846</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1847"><td class="num" id="LN1847">1847</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_JPEG<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="1848"><td class="num" id="LN1848">1848</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> ((g_ascii_strcasecmp (source-&gt;format, <span class='macro'>EOM_FILE_FORMAT_JPEG<span class='macro_popup'>"jpeg"</span></span>) == 0 &amp;&amp; source-&gt;exists) ||</td></tr>
+<tr class="codeline" data-linenumber="1849"><td class="num" id="LN1849">1849</td><td class="line"> (g_ascii_strcasecmp (target-&gt;format, <span class='macro'>EOM_FILE_FORMAT_JPEG<span class='macro_popup'>"jpeg"</span></span>) == 0))</td></tr>
+<tr class="codeline" data-linenumber="1850"><td class="num" id="LN1850">1850</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1851"><td class="num" id="LN1851">1851</td><td class="line"> success = eom_image_jpeg_save_file (img, tmp_file_path, source, target, error);</td></tr>
+<tr class="codeline" data-linenumber="1852"><td class="num" id="LN1852">1852</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1853"><td class="num" id="LN1853">1853</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="1854"><td class="num" id="LN1854">1854</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1855"><td class="num" id="LN1855">1855</td><td class="line"> <span class='keyword'>if</span> (!success &amp;&amp; (*error == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="1856"><td class="num" id="LN1856">1856</td><td class="line"> success = gdk_pixbuf_save (priv-&gt;image, tmp_file_path, target-&gt;format, error, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1857"><td class="num" id="LN1857">1857</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1858"><td class="num" id="LN1858">1858</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1859"><td class="num" id="LN1859">1859</td><td class="line"> <span class='keyword'>if</span> (success &amp;&amp; !direct_copy) { <span class='comment'>/* not required if we alredy copied the file directly */</span></td></tr>
+<tr class="codeline" data-linenumber="1860"><td class="num" id="LN1860">1860</td><td class="line"> <span class='comment'>/* try to move result file to target uri */</span></td></tr>
+<tr class="codeline" data-linenumber="1861"><td class="num" id="LN1861">1861</td><td class="line"> success = tmp_file_move_to_uri (img, tmp_file, target-&gt;file, target-&gt;overwrite, error);</td></tr>
+<tr class="codeline" data-linenumber="1862"><td class="num" id="LN1862">1862</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1863"><td class="num" id="LN1863">1863</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1864"><td class="num" id="LN1864">1864</td><td class="line"> <span class='keyword'>if</span> (success) {</td></tr>
+<tr class="codeline" data-linenumber="1865"><td class="num" id="LN1865">1865</td><td class="line"> <span class='comment'>/* update image information to new uri */</span></td></tr>
+<tr class="codeline" data-linenumber="1866"><td class="num" id="LN1866">1866</td><td class="line"> eom_image_reset_modifications (img);</td></tr>
+<tr class="codeline" data-linenumber="1867"><td class="num" id="LN1867">1867</td><td class="line"> eom_image_link_with_target (img, target);</td></tr>
+<tr class="codeline" data-linenumber="1868"><td class="num" id="LN1868">1868</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1869"><td class="num" id="LN1869">1869</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1870"><td class="num" id="LN1870">1870</td><td class="line"> tmp_file_delete (tmp_file);</td></tr>
+<tr class="codeline" data-linenumber="1871"><td class="num" id="LN1871">1871</td><td class="line"> g_object_unref (tmp_file);</td></tr>
+<tr class="codeline" data-linenumber="1872"><td class="num" id="LN1872">1872</td><td class="line"> g_free (tmp_file_path);</td></tr>
+<tr class="codeline" data-linenumber="1873"><td class="num" id="LN1873">1873</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1874"><td class="num" id="LN1874">1874</td><td class="line"> priv-&gt;status = EOM_IMAGE_STATUS_UNKNOWN;</td></tr>
+<tr class="codeline" data-linenumber="1875"><td class="num" id="LN1875">1875</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1876"><td class="num" id="LN1876">1876</td><td class="line"> <span class='keyword'>return</span> success;</td></tr>
+<tr class="codeline" data-linenumber="1877"><td class="num" id="LN1877">1877</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1878"><td class="num" id="LN1878">1878</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1879"><td class="num" id="LN1879">1879</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="1880"><td class="num" id="LN1880">1880</td><td class="line"> <span class='comment'>* This function is extracted from</span></td></tr>
+<tr class="codeline" data-linenumber="1881"><td class="num" id="LN1881">1881</td><td class="line"> <span class='comment'>* File: caja/libcaja-private/caja-file.c</span></td></tr>
+<tr class="codeline" data-linenumber="1882"><td class="num" id="LN1882">1882</td><td class="line"> <span class='comment'>* Revision: 1.309</span></td></tr>
+<tr class="codeline" data-linenumber="1883"><td class="num" id="LN1883">1883</td><td class="line"> <span class='comment'>* Author: Darin Adler &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="1884"><td class="num" id="LN1884">1884</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1885"><td class="num" id="LN1885">1885</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1886"><td class="num" id="LN1886">1886</td><td class="line">have_broken_filenames (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="1887"><td class="num" id="LN1887">1887</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1888"><td class="num" id="LN1888">1888</td><td class="line"> <span class='keyword'>static</span> gboolean initialized = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1889"><td class="num" id="LN1889">1889</td><td class="line"> <span class='keyword'>static</span> gboolean broken;</td></tr>
+<tr class="codeline" data-linenumber="1890"><td class="num" id="LN1890">1890</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1891"><td class="num" id="LN1891">1891</td><td class="line"> <span class='keyword'>if</span> (initialized) {</td></tr>
+<tr class="codeline" data-linenumber="1892"><td class="num" id="LN1892">1892</td><td class="line"> <span class='keyword'>return</span> broken;</td></tr>
+<tr class="codeline" data-linenumber="1893"><td class="num" id="LN1893">1893</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1894"><td class="num" id="LN1894">1894</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1895"><td class="num" id="LN1895">1895</td><td class="line"> broken = g_getenv (<span class='string_literal'>"G_BROKEN_FILENAMES"</span>) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1896"><td class="num" id="LN1896">1896</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1897"><td class="num" id="LN1897">1897</td><td class="line"> initialized = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1898"><td class="num" id="LN1898">1898</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1899"><td class="num" id="LN1899">1899</td><td class="line"> <span class='keyword'>return</span> broken;</td></tr>
+<tr class="codeline" data-linenumber="1900"><td class="num" id="LN1900">1900</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1901"><td class="num" id="LN1901">1901</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1902"><td class="num" id="LN1902">1902</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="1903"><td class="num" id="LN1903">1903</td><td class="line"> <span class='comment'>* This function is inspired by</span></td></tr>
+<tr class="codeline" data-linenumber="1904"><td class="num" id="LN1904">1904</td><td class="line"> <span class='comment'>* caja/libcaja-private/caja-file.c:caja_file_get_display_name_nocopy</span></td></tr>
+<tr class="codeline" data-linenumber="1905"><td class="num" id="LN1905">1905</td><td class="line"> <span class='comment'>* Revision: 1.309</span></td></tr>
+<tr class="codeline" data-linenumber="1906"><td class="num" id="LN1906">1906</td><td class="line"> <span class='comment'>* Author: Darin Adler &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="1907"><td class="num" id="LN1907">1907</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1908"><td class="num" id="LN1908">1908</td><td class="line"><span class='keyword'>const</span> gchar*</td></tr>
+<tr class="codeline" data-linenumber="1909"><td class="num" id="LN1909">1909</td><td class="line">eom_image_get_caption (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="1910"><td class="num" id="LN1910">1910</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1911"><td class="num" id="LN1911">1911</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1912"><td class="num" id="LN1912">1912</td><td class="line"> <span class='keyword'>char</span> *name;</td></tr>
+<tr class="codeline" data-linenumber="1913"><td class="num" id="LN1913">1913</td><td class="line"> <span class='keyword'>char</span> *utf8_name;</td></tr>
+<tr class="codeline" data-linenumber="1914"><td class="num" id="LN1914">1914</td><td class="line"> <span class='keyword'>char</span> *scheme;</td></tr>
+<tr class="codeline" data-linenumber="1915"><td class="num" id="LN1915">1915</td><td class="line"> gboolean validated = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1916"><td class="num" id="LN1916">1916</td><td class="line"> gboolean broken_filenames;</td></tr>
+<tr class="codeline" data-linenumber="1917"><td class="num" id="LN1917">1917</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1918"><td class="num" id="LN1918">1918</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1919"><td class="num" id="LN1919">1919</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1920"><td class="num" id="LN1920">1920</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1921"><td class="num" id="LN1921">1921</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1922"><td class="num" id="LN1922">1922</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;file == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1923"><td class="num" id="LN1923">1923</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1924"><td class="num" id="LN1924">1924</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;caption != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1925"><td class="num" id="LN1925">1925</td><td class="line"> <span class='comment'>/* Use cached caption string */</span></td></tr>
+<tr class="codeline" data-linenumber="1926"><td class="num" id="LN1926">1926</td><td class="line"> <span class='keyword'>return</span> priv-&gt;caption;</td></tr>
+<tr class="codeline" data-linenumber="1927"><td class="num" id="LN1927">1927</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1928"><td class="num" id="LN1928">1928</td><td class="line"> name = g_file_get_basename (priv-&gt;file);</td></tr>
+<tr class="codeline" data-linenumber="1929"><td class="num" id="LN1929">1929</td><td class="line"> scheme = g_file_get_uri_scheme (priv-&gt;file);</td></tr>
+<tr class="codeline" data-linenumber="1930"><td class="num" id="LN1930">1930</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1931"><td class="num" id="LN1931">1931</td><td class="line"> <span class='keyword'>if</span> (name != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; g_ascii_strcasecmp (scheme, <span class='string_literal'>"file"</span>) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="1932"><td class="num" id="LN1932">1932</td><td class="line"> <span class='comment'>/* Support the G_BROKEN_FILENAMES feature of</span></td></tr>
+<tr class="codeline" data-linenumber="1933"><td class="num" id="LN1933">1933</td><td class="line"> <span class='comment'>* glib by using g_filename_to_utf8 to convert</span></td></tr>
+<tr class="codeline" data-linenumber="1934"><td class="num" id="LN1934">1934</td><td class="line"> <span class='comment'>* local filenames to UTF-8. Also do the same</span></td></tr>
+<tr class="codeline" data-linenumber="1935"><td class="num" id="LN1935">1935</td><td class="line"> <span class='comment'>* thing with any local filename that does not</span></td></tr>
+<tr class="codeline" data-linenumber="1936"><td class="num" id="LN1936">1936</td><td class="line"> <span class='comment'>* validate as good UTF-8.</span></td></tr>
+<tr class="codeline" data-linenumber="1937"><td class="num" id="LN1937">1937</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1938"><td class="num" id="LN1938">1938</td><td class="line"> broken_filenames = have_broken_filenames ();</td></tr>
+<tr class="codeline" data-linenumber="1939"><td class="num" id="LN1939">1939</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1940"><td class="num" id="LN1940">1940</td><td class="line"> <span class='keyword'>if</span> (broken_filenames || !g_utf8_validate (name, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="1941"><td class="num" id="LN1941">1941</td><td class="line"> utf8_name = g_locale_to_utf8 (name, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1942"><td class="num" id="LN1942">1942</td><td class="line"> <span class='keyword'>if</span> (utf8_name != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1943"><td class="num" id="LN1943">1943</td><td class="line"> g_free (name);</td></tr>
+<tr class="codeline" data-linenumber="1944"><td class="num" id="LN1944">1944</td><td class="line"> name = utf8_name;</td></tr>
+<tr class="codeline" data-linenumber="1945"><td class="num" id="LN1945">1945</td><td class="line"> <span class='comment'>/* Guaranteed to be correct utf8 here */</span></td></tr>
+<tr class="codeline" data-linenumber="1946"><td class="num" id="LN1946">1946</td><td class="line"> validated = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1947"><td class="num" id="LN1947">1947</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1948"><td class="num" id="LN1948">1948</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1949"><td class="num" id="LN1949">1949</td><td class="line"> <span class='comment'>/* name was valid, no need to re-validate */</span></td></tr>
+<tr class="codeline" data-linenumber="1950"><td class="num" id="LN1950">1950</td><td class="line"> validated = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1951"><td class="num" id="LN1951">1951</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1952"><td class="num" id="LN1952">1952</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1953"><td class="num" id="LN1953">1953</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1954"><td class="num" id="LN1954">1954</td><td class="line"> <span class='keyword'>if</span> (!validated &amp;&amp; !g_utf8_validate (name, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="1955"><td class="num" id="LN1955">1955</td><td class="line"> <span class='keyword'>if</span> (name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1956"><td class="num" id="LN1956">1956</td><td class="line"> name = <span class='macro'>g_strdup (<span class='string_literal'>"[Invalid Unicode]"</span>)<span class='macro_popup'>g_strdup_inline ("[Invalid Unicode]")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1957"><td class="num" id="LN1957">1957</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1958"><td class="num" id="LN1958">1958</td><td class="line"> utf8_name = eom_util_make_valid_utf8 (name);</td></tr>
+<tr class="codeline" data-linenumber="1959"><td class="num" id="LN1959">1959</td><td class="line"> g_free (name);</td></tr>
+<tr class="codeline" data-linenumber="1960"><td class="num" id="LN1960">1960</td><td class="line"> name = utf8_name;</td></tr>
+<tr class="codeline" data-linenumber="1961"><td class="num" id="LN1961">1961</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1962"><td class="num" id="LN1962">1962</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1963"><td class="num" id="LN1963">1963</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1964"><td class="num" id="LN1964">1964</td><td class="line"> priv-&gt;caption = name;</td></tr>
+<tr class="codeline" data-linenumber="1965"><td class="num" id="LN1965">1965</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1966"><td class="num" id="LN1966">1966</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;caption == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1967"><td class="num" id="LN1967">1967</td><td class="line"> <span class='keyword'>char</span> *short_str;</td></tr>
+<tr class="codeline" data-linenumber="1968"><td class="num" id="LN1968">1968</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1969"><td class="num" id="LN1969">1969</td><td class="line"> short_str = g_file_get_basename (priv-&gt;file);</td></tr>
+<tr class="codeline" data-linenumber="1970"><td class="num" id="LN1970">1970</td><td class="line"> <span class='keyword'>if</span> (g_utf8_validate (short_str, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="1971"><td class="num" id="LN1971">1971</td><td class="line"> priv-&gt;caption = <span class='macro'>g_strdup (short_str)<span class='macro_popup'>g_strdup_inline (short_str)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1972"><td class="num" id="LN1972">1972</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1973"><td class="num" id="LN1973">1973</td><td class="line"> priv-&gt;caption = g_filename_to_utf8 (short_str, -1, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1974"><td class="num" id="LN1974">1974</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1975"><td class="num" id="LN1975">1975</td><td class="line"> g_free (short_str);</td></tr>
+<tr class="codeline" data-linenumber="1976"><td class="num" id="LN1976">1976</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1977"><td class="num" id="LN1977">1977</td><td class="line"> g_free (scheme);</td></tr>
+<tr class="codeline" data-linenumber="1978"><td class="num" id="LN1978">1978</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1979"><td class="num" id="LN1979">1979</td><td class="line"> <span class='keyword'>return</span> priv-&gt;caption;</td></tr>
+<tr class="codeline" data-linenumber="1980"><td class="num" id="LN1980">1980</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1981"><td class="num" id="LN1981">1981</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1982"><td class="num" id="LN1982">1982</td><td class="line"><span class='keyword'>const</span> gchar*</td></tr>
+<tr class="codeline" data-linenumber="1983"><td class="num" id="LN1983">1983</td><td class="line">eom_image_get_collate_key (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="1984"><td class="num" id="LN1984">1984</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1985"><td class="num" id="LN1985">1985</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1986"><td class="num" id="LN1986">1986</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1987"><td class="num" id="LN1987">1987</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1988"><td class="num" id="LN1988">1988</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1989"><td class="num" id="LN1989">1989</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1990"><td class="num" id="LN1990">1990</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1991"><td class="num" id="LN1991">1991</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;collate_key == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1992"><td class="num" id="LN1992">1992</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *caption;</td></tr>
+<tr class="codeline" data-linenumber="1993"><td class="num" id="LN1993">1993</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1994"><td class="num" id="LN1994">1994</td><td class="line"> caption = eom_image_get_caption (img);</td></tr>
+<tr class="codeline" data-linenumber="1995"><td class="num" id="LN1995">1995</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1996"><td class="num" id="LN1996">1996</td><td class="line"> priv-&gt;collate_key = g_utf8_collate_key_for_filename (caption, -1);</td></tr>
+<tr class="codeline" data-linenumber="1997"><td class="num" id="LN1997">1997</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1998"><td class="num" id="LN1998">1998</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1999"><td class="num" id="LN1999">1999</td><td class="line"> <span class='keyword'>return</span> priv-&gt;collate_key;</td></tr>
+<tr class="codeline" data-linenumber="2000"><td class="num" id="LN2000">2000</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2001"><td class="num" id="LN2001">2001</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2002"><td class="num" id="LN2002">2002</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2003"><td class="num" id="LN2003">2003</td><td class="line">eom_image_cancel_load (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2004"><td class="num" id="LN2004">2004</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2005"><td class="num" id="LN2005">2005</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2006"><td class="num" id="LN2006">2006</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2007"><td class="num" id="LN2007">2007</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (img))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2008"><td class="num" id="LN2008">2008</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2009"><td class="num" id="LN2009">2009</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2010"><td class="num" id="LN2010">2010</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2011"><td class="num" id="LN2011">2011</td><td class="line"> g_mutex_lock (&amp;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="2012"><td class="num" id="LN2012">2012</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2013"><td class="num" id="LN2013">2013</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;status == EOM_IMAGE_STATUS_LOADING) {</td></tr>
+<tr class="codeline" data-linenumber="2014"><td class="num" id="LN2014">2014</td><td class="line"> priv-&gt;cancel_loading = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2015"><td class="num" id="LN2015">2015</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2016"><td class="num" id="LN2016">2016</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2017"><td class="num" id="LN2017">2017</td><td class="line"> g_mutex_unlock (&amp;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="2018"><td class="num" id="LN2018">2018</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2019"><td class="num" id="LN2019">2019</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2020"><td class="num" id="LN2020">2020</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXIF<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2021"><td class="num" id="LN2021">2021</td><td class="line">ExifData *</td></tr>
+<tr class="codeline" data-linenumber="2022"><td class="num" id="LN2022">2022</td><td class="line">eom_image_get_exif_info (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2023"><td class="num" id="LN2023">2023</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2024"><td class="num" id="LN2024">2024</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2025"><td class="num" id="LN2025">2025</td><td class="line"> ExifData *data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2026"><td class="num" id="LN2026">2026</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2027"><td class="num" id="LN2027">2027</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2028"><td class="num" id="LN2028">2028</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2029"><td class="num" id="LN2029">2029</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2030"><td class="num" id="LN2030">2030</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2031"><td class="num" id="LN2031">2031</td><td class="line"> g_mutex_lock (&amp;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="2032"><td class="num" id="LN2032">2032</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2033"><td class="num" id="LN2033">2033</td><td class="line"> exif_data_ref (priv-&gt;exif);</td></tr>
+<tr class="codeline" data-linenumber="2034"><td class="num" id="LN2034">2034</td><td class="line"> data = priv-&gt;exif;</td></tr>
+<tr class="codeline" data-linenumber="2035"><td class="num" id="LN2035">2035</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2036"><td class="num" id="LN2036">2036</td><td class="line"> g_mutex_unlock (&amp;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="2037"><td class="num" id="LN2037">2037</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2038"><td class="num" id="LN2038">2038</td><td class="line"> <span class='keyword'>return</span> data;</td></tr>
+<tr class="codeline" data-linenumber="2039"><td class="num" id="LN2039">2039</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2040"><td class="num" id="LN2040">2040</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="2041"><td class="num" id="LN2041">2041</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2042"><td class="num" id="LN2042">2042</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2043"><td class="num" id="LN2043">2043</td><td class="line"> <span class='comment'>* eom_image_get_xmp_info:</span></td></tr>
+<tr class="codeline" data-linenumber="2044"><td class="num" id="LN2044">2044</td><td class="line"> <span class='comment'>* @img: a #EomImage</span></td></tr>
+<tr class="codeline" data-linenumber="2045"><td class="num" id="LN2045">2045</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2046"><td class="num" id="LN2046">2046</td><td class="line"> <span class='comment'>* Gets the XMP info for @img or NULL if compiled without</span></td></tr>
+<tr class="codeline" data-linenumber="2047"><td class="num" id="LN2047">2047</td><td class="line"> <span class='comment'>* libexempi support.</span></td></tr>
+<tr class="codeline" data-linenumber="2048"><td class="num" id="LN2048">2048</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2049"><td class="num" id="LN2049">2049</td><td class="line"> <span class='comment'>* Returns: (transfer full): the xmp data</span></td></tr>
+<tr class="codeline" data-linenumber="2050"><td class="num" id="LN2050">2050</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="2051"><td class="num" id="LN2051">2051</td><td class="line">gpointer</td></tr>
+<tr class="codeline" data-linenumber="2052"><td class="num" id="LN2052">2052</td><td class="line">eom_image_get_xmp_info (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2053"><td class="num" id="LN2053">2053</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2054"><td class="num" id="LN2054">2054</td><td class="line"> gpointer data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2055"><td class="num" id="LN2055">2055</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2056"><td class="num" id="LN2056">2056</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2057"><td class="num" id="LN2057">2057</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2058"><td class="num" id="LN2058">2058</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXEMPI<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2059"><td class="num" id="LN2059">2059</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2060"><td class="num" id="LN2060">2060</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2061"><td class="num" id="LN2061">2061</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2062"><td class="num" id="LN2062">2062</td><td class="line"> g_mutex_lock (&amp;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="2063"><td class="num" id="LN2063">2063</td><td class="line"> data = (gpointer) xmp_copy (priv-&gt;xmp);</td></tr>
+<tr class="codeline" data-linenumber="2064"><td class="num" id="LN2064">2064</td><td class="line"> g_mutex_unlock (&amp;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="2065"><td class="num" id="LN2065">2065</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="2066"><td class="num" id="LN2066">2066</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2067"><td class="num" id="LN2067">2067</td><td class="line"> <span class='keyword'>return</span> data;</td></tr>
+<tr class="codeline" data-linenumber="2068"><td class="num" id="LN2068">2068</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2069"><td class="num" id="LN2069">2069</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2070"><td class="num" id="LN2070">2070</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2071"><td class="num" id="LN2071">2071</td><td class="line"> <span class='comment'>* eom_image_get_file:</span></td></tr>
+<tr class="codeline" data-linenumber="2072"><td class="num" id="LN2072">2072</td><td class="line"> <span class='comment'>* @img: a #EomImage</span></td></tr>
+<tr class="codeline" data-linenumber="2073"><td class="num" id="LN2073">2073</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2074"><td class="num" id="LN2074">2074</td><td class="line"> <span class='comment'>* Gets the #GFile associated with @img</span></td></tr>
+<tr class="codeline" data-linenumber="2075"><td class="num" id="LN2075">2075</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2076"><td class="num" id="LN2076">2076</td><td class="line"> <span class='comment'>* Returns: (transfer full): a #GFile</span></td></tr>
+<tr class="codeline" data-linenumber="2077"><td class="num" id="LN2077">2077</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="2078"><td class="num" id="LN2078">2078</td><td class="line">GFile *</td></tr>
+<tr class="codeline" data-linenumber="2079"><td class="num" id="LN2079">2079</td><td class="line">eom_image_get_file (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2080"><td class="num" id="LN2080">2080</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2081"><td class="num" id="LN2081">2081</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2082"><td class="num" id="LN2082">2082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2083"><td class="num" id="LN2083">2083</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>g_object_ref (img-&gt;priv-&gt;file)<span class='macro_popup'>((__typeof__ (img-&gt;priv-&gt;file)) (g_object_ref) (img-&gt;<br>priv-&gt;file))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2084"><td class="num" id="LN2084">2084</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2085"><td class="num" id="LN2085">2085</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2086"><td class="num" id="LN2086">2086</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="2087"><td class="num" id="LN2087">2087</td><td class="line">eom_image_is_modified (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2088"><td class="num" id="LN2088">2088</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2089"><td class="num" id="LN2089">2089</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2090"><td class="num" id="LN2090">2090</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2091"><td class="num" id="LN2091">2091</td><td class="line"> <span class='keyword'>return</span> img-&gt;priv-&gt;modified;</td></tr>
+<tr class="codeline" data-linenumber="2092"><td class="num" id="LN2092">2092</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2093"><td class="num" id="LN2093">2093</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2094"><td class="num" id="LN2094">2094</td><td class="line">goffset</td></tr>
+<tr class="codeline" data-linenumber="2095"><td class="num" id="LN2095">2095</td><td class="line">eom_image_get_bytes (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2096"><td class="num" id="LN2096">2096</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2097"><td class="num" id="LN2097">2097</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), 0)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return (0); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2098"><td class="num" id="LN2098">2098</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2099"><td class="num" id="LN2099">2099</td><td class="line"> <span class='keyword'>return</span> img-&gt;priv-&gt;bytes;</td></tr>
+<tr class="codeline" data-linenumber="2100"><td class="num" id="LN2100">2100</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2101"><td class="num" id="LN2101">2101</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2102"><td class="num" id="LN2102">2102</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2103"><td class="num" id="LN2103">2103</td><td class="line">eom_image_modified (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2104"><td class="num" id="LN2104">2104</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2105"><td class="num" id="LN2105">2105</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (img))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2106"><td class="num" id="LN2106">2106</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2107"><td class="num" id="LN2107">2107</td><td class="line"> g_signal_emit (img, signals[SIGNAL_CHANGED], 0);</td></tr>
+<tr class="codeline" data-linenumber="2108"><td class="num" id="LN2108">2108</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2109"><td class="num" id="LN2109">2109</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2110"><td class="num" id="LN2110">2110</td><td class="line">gchar*</td></tr>
+<tr class="codeline" data-linenumber="2111"><td class="num" id="LN2111">2111</td><td class="line">eom_image_get_uri_for_display (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2112"><td class="num" id="LN2112">2112</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2113"><td class="num" id="LN2113">2113</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2114"><td class="num" id="LN2114">2114</td><td class="line"> gchar *uri_str = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2115"><td class="num" id="LN2115">2115</td><td class="line"> gchar *str = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2116"><td class="num" id="LN2116">2116</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2117"><td class="num" id="LN2117">2117</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2118"><td class="num" id="LN2118">2118</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2119"><td class="num" id="LN2119">2119</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2120"><td class="num" id="LN2120">2120</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2121"><td class="num" id="LN2121">2121</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;file != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2122"><td class="num" id="LN2122">2122</td><td class="line"> uri_str = g_file_get_uri (priv-&gt;file);</td></tr>
+<tr class="codeline" data-linenumber="2123"><td class="num" id="LN2123">2123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2124"><td class="num" id="LN2124">2124</td><td class="line"> <span class='keyword'>if</span> (uri_str != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2125"><td class="num" id="LN2125">2125</td><td class="line"> str = g_uri_unescape_string (uri_str, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2126"><td class="num" id="LN2126">2126</td><td class="line"> g_free (uri_str);</td></tr>
+<tr class="codeline" data-linenumber="2127"><td class="num" id="LN2127">2127</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2128"><td class="num" id="LN2128">2128</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2129"><td class="num" id="LN2129">2129</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2130"><td class="num" id="LN2130">2130</td><td class="line"> <span class='keyword'>return</span> str;</td></tr>
+<tr class="codeline" data-linenumber="2131"><td class="num" id="LN2131">2131</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2132"><td class="num" id="LN2132">2132</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2133"><td class="num" id="LN2133">2133</td><td class="line">EomImageStatus</td></tr>
+<tr class="codeline" data-linenumber="2134"><td class="num" id="LN2134">2134</td><td class="line">eom_image_get_status (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2135"><td class="num" id="LN2135">2135</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2136"><td class="num" id="LN2136">2136</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), EOM_IMAGE_STATUS_UNKNOWN)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return (EOM_IMAGE_STATUS_UNKNOWN);<br> } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2137"><td class="num" id="LN2137">2137</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2138"><td class="num" id="LN2138">2138</td><td class="line"> <span class='keyword'>return</span> img-&gt;priv-&gt;status;</td></tr>
+<tr class="codeline" data-linenumber="2139"><td class="num" id="LN2139">2139</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2140"><td class="num" id="LN2140">2140</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2141"><td class="num" id="LN2141">2141</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2142"><td class="num" id="LN2142">2142</td><td class="line"> <span class='comment'>* eom_image_get_metadata_status:</span></td></tr>
+<tr class="codeline" data-linenumber="2143"><td class="num" id="LN2143">2143</td><td class="line"> <span class='comment'>* @img: a #EomImage</span></td></tr>
+<tr class="codeline" data-linenumber="2144"><td class="num" id="LN2144">2144</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2145"><td class="num" id="LN2145">2145</td><td class="line"> <span class='comment'>* Returns the current status of the image metadata, that is,</span></td></tr>
+<tr class="codeline" data-linenumber="2146"><td class="num" id="LN2146">2146</td><td class="line"> <span class='comment'>* whether the metadata has not been read yet, is ready, or not available at all.</span></td></tr>
+<tr class="codeline" data-linenumber="2147"><td class="num" id="LN2147">2147</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2148"><td class="num" id="LN2148">2148</td><td class="line"> <span class='comment'>* Returns: one of #EomImageMetadataStatus</span></td></tr>
+<tr class="codeline" data-linenumber="2149"><td class="num" id="LN2149">2149</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="2150"><td class="num" id="LN2150">2150</td><td class="line">EomImageMetadataStatus</td></tr>
+<tr class="codeline" data-linenumber="2151"><td class="num" id="LN2151">2151</td><td class="line">eom_image_get_metadata_status (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2152"><td class="num" id="LN2152">2152</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2153"><td class="num" id="LN2153">2153</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), EOM_IMAGE_METADATA_NOT_AVAILABLE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return (EOM_IMAGE_METADATA_NOT_AVAILABLE<br>); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2154"><td class="num" id="LN2154">2154</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2155"><td class="num" id="LN2155">2155</td><td class="line"> <span class='keyword'>return</span> img-&gt;priv-&gt;metadata_status;</td></tr>
+<tr class="codeline" data-linenumber="2156"><td class="num" id="LN2156">2156</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2157"><td class="num" id="LN2157">2157</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2158"><td class="num" id="LN2158">2158</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2159"><td class="num" id="LN2159">2159</td><td class="line">eom_image_data_ref (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2160"><td class="num" id="LN2160">2160</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2161"><td class="num" id="LN2161">2161</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (img))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2162"><td class="num" id="LN2162">2162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2163"><td class="num" id="LN2163">2163</td><td class="line"> <span class='macro'>g_object_ref (G_OBJECT (img))<span class='macro_popup'>((__typeof__ (((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((img)), (((GType) ((20) &lt;&lt; (2))))))<br>)))) (g_object_ref) (((((GObject*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((img)), (((GType) ((20) &lt;&lt; (2))))))<br>))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2164"><td class="num" id="LN2164">2164</td><td class="line"> img-&gt;priv-&gt;data_ref_count++;</td></tr>
+<tr class="codeline" data-linenumber="2165"><td class="num" id="LN2165">2165</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2166"><td class="num" id="LN2166">2166</td><td class="line"> <span class='macro'>g_assert (img-&gt;priv-&gt;data_ref_count &lt;= G_OBJECT (img)-&gt;ref_count)<span class='macro_popup'>do { if (img-&gt;priv-&gt;data_ref_count &lt;= ((((GObject*) (<br>void *) g_type_check_instance_cast ((GTypeInstance*) ((img)),<br> (((GType) ((20) &lt;&lt; (2))))))))-&gt;ref_count) ; else g_assertion_message_expr<br> ("EOM", "eom-image.c", 2166, ((const char*) (__func__)), "img-&gt;priv-&gt;data_ref_count &lt;= G_OBJECT (img)-&gt;ref_count"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2167"><td class="num" id="LN2167">2167</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2168"><td class="num" id="LN2168">2168</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2169"><td class="num" id="LN2169">2169</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2170"><td class="num" id="LN2170">2170</td><td class="line">eom_image_data_unref (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2171"><td class="num" id="LN2171">2171</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2172"><td class="num" id="LN2172">2172</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (img))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2173"><td class="num" id="LN2173">2173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2174"><td class="num" id="LN2174">2174</td><td class="line"> <span class='keyword'>if</span> (img-&gt;priv-&gt;data_ref_count &gt; 0) {</td></tr>
+<tr class="codeline" data-linenumber="2175"><td class="num" id="LN2175">2175</td><td class="line"> img-&gt;priv-&gt;data_ref_count--;</td></tr>
+<tr class="codeline" data-linenumber="2176"><td class="num" id="LN2176">2176</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2177"><td class="num" id="LN2177">2177</td><td class="line"> g_warning (<span class='string_literal'>"More image data unrefs than refs."</span>);</td></tr>
+<tr class="codeline" data-linenumber="2178"><td class="num" id="LN2178">2178</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2179"><td class="num" id="LN2179">2179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2180"><td class="num" id="LN2180">2180</td><td class="line"> <span class='keyword'>if</span> (img-&gt;priv-&gt;data_ref_count == 0) {</td></tr>
+<tr class="codeline" data-linenumber="2181"><td class="num" id="LN2181">2181</td><td class="line"> eom_image_free_mem_private (img);</td></tr>
+<tr class="codeline" data-linenumber="2182"><td class="num" id="LN2182">2182</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2183"><td class="num" id="LN2183">2183</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2184"><td class="num" id="LN2184">2184</td><td class="line"> g_object_unref (<span class='macro'>G_OBJECT (img)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((img)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2185"><td class="num" id="LN2185">2185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2186"><td class="num" id="LN2186">2186</td><td class="line"> <span class='macro'>g_assert (img-&gt;priv-&gt;data_ref_count &lt;= G_OBJECT (img)-&gt;ref_count)<span class='macro_popup'>do { if (img-&gt;priv-&gt;data_ref_count &lt;= ((((GObject*) (<br>void *) g_type_check_instance_cast ((GTypeInstance*) ((img)),<br> (((GType) ((20) &lt;&lt; (2))))))))-&gt;ref_count) ; else g_assertion_message_expr<br> ("EOM", "eom-image.c", 2186, ((const char*) (__func__)), "img-&gt;priv-&gt;data_ref_count &lt;= G_OBJECT (img)-&gt;ref_count"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2187"><td class="num" id="LN2187">2187</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2188"><td class="num" id="LN2188">2188</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2189"><td class="num" id="LN2189">2189</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="2190"><td class="num" id="LN2190">2190</td><td class="line">compare_quarks (gconstpointer a, gconstpointer b)</td></tr>
+<tr class="codeline" data-linenumber="2191"><td class="num" id="LN2191">2191</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2192"><td class="num" id="LN2192">2192</td><td class="line"> GQuark quark;</td></tr>
+<tr class="codeline" data-linenumber="2193"><td class="num" id="LN2193">2193</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2194"><td class="num" id="LN2194">2194</td><td class="line"> quark = g_quark_from_string ((<span class='keyword'>const</span> gchar *) a);</td></tr>
+<tr class="codeline" data-linenumber="2195"><td class="num" id="LN2195">2195</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2196"><td class="num" id="LN2196">2196</td><td class="line"> <span class='keyword'>return</span> quark - <span class='macro'>GPOINTER_TO_INT (b)<span class='macro_popup'>((gint) (glong) (b))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2197"><td class="num" id="LN2197">2197</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2198"><td class="num" id="LN2198">2198</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2199"><td class="num" id="LN2199">2199</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2200"><td class="num" id="LN2200">2200</td><td class="line"> <span class='comment'>* eom_image_get_supported_mime_types:</span></td></tr>
+<tr class="codeline" data-linenumber="2201"><td class="num" id="LN2201">2201</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2202"><td class="num" id="LN2202">2202</td><td class="line"> <span class='comment'>* Gets the list of supported mimetypes</span></td></tr>
+<tr class="codeline" data-linenumber="2203"><td class="num" id="LN2203">2203</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2204"><td class="num" id="LN2204">2204</td><td class="line"> <span class='comment'>* Returns: (transfer none)(element-type utf8): a #GList of supported mimetypes</span></td></tr>
+<tr class="codeline" data-linenumber="2205"><td class="num" id="LN2205">2205</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="2206"><td class="num" id="LN2206">2206</td><td class="line">GList *</td></tr>
+<tr class="codeline" data-linenumber="2207"><td class="num" id="LN2207">2207</td><td class="line">eom_image_get_supported_mime_types (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="2208"><td class="num" id="LN2208">2208</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2209"><td class="num" id="LN2209">2209</td><td class="line"> <span class='keyword'>static</span> GList *supported_mime_types = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2210"><td class="num" id="LN2210">2210</td><td class="line"> GSList *format_list, *it;</td></tr>
+<tr class="codeline" data-linenumber="2211"><td class="num" id="LN2211">2211</td><td class="line"> gchar **mime_types;</td></tr>
+<tr class="codeline" data-linenumber="2212"><td class="num" id="LN2212">2212</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="2213"><td class="num" id="LN2213">2213</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2214"><td class="num" id="LN2214">2214</td><td class="line"> <span class='keyword'>if</span> (supported_mime_types == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2215"><td class="num" id="LN2215">2215</td><td class="line"> format_list = gdk_pixbuf_get_formats ();</td></tr>
+<tr class="codeline" data-linenumber="2216"><td class="num" id="LN2216">2216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2217"><td class="num" id="LN2217">2217</td><td class="line"> <span class='keyword'>for</span> (it = format_list; it != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; it = it-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="2218"><td class="num" id="LN2218">2218</td><td class="line"> mime_types =</td></tr>
+<tr class="codeline" data-linenumber="2219"><td class="num" id="LN2219">2219</td><td class="line"> gdk_pixbuf_format_get_mime_types ((GdkPixbufFormat *) it-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="2220"><td class="num" id="LN2220">2220</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2221"><td class="num" id="LN2221">2221</td><td class="line"> <span class='keyword'>for</span> (i = 0; mime_types[i] != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; i++) {</td></tr>
+<tr class="codeline" data-linenumber="2222"><td class="num" id="LN2222">2222</td><td class="line"> supported_mime_types =</td></tr>
+<tr class="codeline" data-linenumber="2223"><td class="num" id="LN2223">2223</td><td class="line"> g_list_prepend (supported_mime_types,</td></tr>
+<tr class="codeline" data-linenumber="2224"><td class="num" id="LN2224">2224</td><td class="line"> <span class='macro'>g_strdup (mime_types[i])<span class='macro_popup'>g_strdup_inline (mime_types[i])</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2225"><td class="num" id="LN2225">2225</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2226"><td class="num" id="LN2226">2226</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2227"><td class="num" id="LN2227">2227</td><td class="line"> g_strfreev (mime_types);</td></tr>
+<tr class="codeline" data-linenumber="2228"><td class="num" id="LN2228">2228</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2229"><td class="num" id="LN2229">2229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2230"><td class="num" id="LN2230">2230</td><td class="line"> supported_mime_types = g_list_sort (supported_mime_types,</td></tr>
+<tr class="codeline" data-linenumber="2231"><td class="num" id="LN2231">2231</td><td class="line"> (GCompareFunc) compare_quarks);</td></tr>
+<tr class="codeline" data-linenumber="2232"><td class="num" id="LN2232">2232</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2233"><td class="num" id="LN2233">2233</td><td class="line"> g_slist_free (format_list);</td></tr>
+<tr class="codeline" data-linenumber="2234"><td class="num" id="LN2234">2234</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2235"><td class="num" id="LN2235">2235</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2236"><td class="num" id="LN2236">2236</td><td class="line"> <span class='keyword'>return</span> supported_mime_types;</td></tr>
+<tr class="codeline" data-linenumber="2237"><td class="num" id="LN2237">2237</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2238"><td class="num" id="LN2238">2238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2239"><td class="num" id="LN2239">2239</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="2240"><td class="num" id="LN2240">2240</td><td class="line">eom_image_is_supported_mime_type (<span class='keyword'>const</span> <span class='keyword'>char</span> *mime_type)</td></tr>
+<tr class="codeline" data-linenumber="2241"><td class="num" id="LN2241">2241</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2242"><td class="num" id="LN2242">2242</td><td class="line"> GList *result;</td></tr>
+<tr class="codeline" data-linenumber="2243"><td class="num" id="LN2243">2243</td><td class="line"> GQuark quark;</td></tr>
+<tr class="codeline" data-linenumber="2244"><td class="num" id="LN2244">2244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2245"><td class="num" id="LN2245">2245</td><td class="line"> <span class='keyword'>if</span> (mime_type == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2246"><td class="num" id="LN2246">2246</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2247"><td class="num" id="LN2247">2247</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2248"><td class="num" id="LN2248">2248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2249"><td class="num" id="LN2249">2249</td><td class="line"> quark = g_quark_from_string (mime_type);</td></tr>
+<tr class="codeline" data-linenumber="2250"><td class="num" id="LN2250">2250</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2251"><td class="num" id="LN2251">2251</td><td class="line"> result = g_list_find_custom (eom_image_get_supported_mime_types (),</td></tr>
+<tr class="codeline" data-linenumber="2252"><td class="num" id="LN2252">2252</td><td class="line"> <span class='macro'>GINT_TO_POINTER (quark)<span class='macro_popup'>((gpointer) (glong) (quark))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2253"><td class="num" id="LN2253">2253</td><td class="line"> (GCompareFunc) compare_quarks);</td></tr>
+<tr class="codeline" data-linenumber="2254"><td class="num" id="LN2254">2254</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2255"><td class="num" id="LN2255">2255</td><td class="line"> <span class='keyword'>return</span> (result != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2256"><td class="num" id="LN2256">2256</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2257"><td class="num" id="LN2257">2257</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2258"><td class="num" id="LN2258">2258</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2259"><td class="num" id="LN2259">2259</td><td class="line">eom_image_iter_advance (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2260"><td class="num" id="LN2260">2260</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2261"><td class="num" id="LN2261">2261</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2262"><td class="num" id="LN2262">2262</td><td class="line"> gboolean new_frame;</td></tr>
+<tr class="codeline" data-linenumber="2263"><td class="num" id="LN2263">2263</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2264"><td class="num" id="LN2264">2264</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2265"><td class="num" id="LN2265">2265</td><td class="line"> <span class='macro'>g_return_val_if_fail (GDK_IS_PIXBUF_ANIMATION_ITER (img-&gt;priv-&gt;anim_iter), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img-&gt;priv-&gt;anim_iter)); GType __t = ((gdk_pixbuf_animation_iter_get_type<br> ())); gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;<br>g_class &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r =<br> (!(0)); else __r = g_type_check_instance_is_a (__inst, __t);<br> __r; })))))) { } else { g_return_if_fail_warning ("EOM", ((const<br> char*) (__func__)), "GDK_IS_PIXBUF_ANIMATION_ITER (img-&gt;priv-&gt;anim_iter)"<br>); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2266"><td class="num" id="LN2266">2266</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2267"><td class="num" id="LN2267">2267</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2268"><td class="num" id="LN2268">2268</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2269"><td class="num" id="LN2269">2269</td><td class="line"> <span class='keyword'>if</span> ((new_frame = gdk_pixbuf_animation_iter_advance (img-&gt;priv-&gt;anim_iter, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) == <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2270"><td class="num" id="LN2270">2270</td><td class="line"> g_mutex_lock (&amp;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="2271"><td class="num" id="LN2271">2271</td><td class="line"> g_object_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="2272"><td class="num" id="LN2272">2272</td><td class="line"> priv-&gt;image = gdk_pixbuf_animation_iter_get_pixbuf (priv-&gt;anim_iter);</td></tr>
+<tr class="codeline" data-linenumber="2273"><td class="num" id="LN2273">2273</td><td class="line"> <span class='macro'>g_object_ref (priv-&gt;image)<span class='macro_popup'>((__typeof__ (priv-&gt;image)) (g_object_ref) (priv-&gt;image<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2274"><td class="num" id="LN2274">2274</td><td class="line"> <span class='comment'>/* keep the transformation over time */</span></td></tr>
+<tr class="codeline" data-linenumber="2275"><td class="num" id="LN2275">2275</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>EOM_IS_TRANSFORM (priv-&gt;trans)<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(priv-&gt;trans)); GType __t = ((eom_transform_get_type ()));<br> gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>))))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2276"><td class="num" id="LN2276">2276</td><td class="line"> GdkPixbuf* transformed = eom_transform_apply (priv-&gt;trans, priv-&gt;image, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2277"><td class="num" id="LN2277">2277</td><td class="line"> g_object_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="2278"><td class="num" id="LN2278">2278</td><td class="line"> priv-&gt;image = transformed;</td></tr>
+<tr class="codeline" data-linenumber="2279"><td class="num" id="LN2279">2279</td><td class="line"> priv-&gt;width = gdk_pixbuf_get_width (transformed);</td></tr>
+<tr class="codeline" data-linenumber="2280"><td class="num" id="LN2280">2280</td><td class="line"> priv-&gt;height = gdk_pixbuf_get_height (transformed);</td></tr>
+<tr class="codeline" data-linenumber="2281"><td class="num" id="LN2281">2281</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2282"><td class="num" id="LN2282">2282</td><td class="line"> g_mutex_unlock (&amp;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="2283"><td class="num" id="LN2283">2283</td><td class="line"> <span class='comment'>/* Emit next frame signal so we can update the display */</span></td></tr>
+<tr class="codeline" data-linenumber="2284"><td class="num" id="LN2284">2284</td><td class="line"> g_signal_emit (img, signals[SIGNAL_NEXT_FRAME], 0,</td></tr>
+<tr class="codeline" data-linenumber="2285"><td class="num" id="LN2285">2285</td><td class="line"> gdk_pixbuf_animation_iter_get_delay_time (priv-&gt;anim_iter));</td></tr>
+<tr class="codeline" data-linenumber="2286"><td class="num" id="LN2286">2286</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2287"><td class="num" id="LN2287">2287</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2288"><td class="num" id="LN2288">2288</td><td class="line"> <span class='keyword'>return</span> new_frame;</td></tr>
+<tr class="codeline" data-linenumber="2289"><td class="num" id="LN2289">2289</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2290"><td class="num" id="LN2290">2290</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2291"><td class="num" id="LN2291">2291</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2292"><td class="num" id="LN2292">2292</td><td class="line"> <span class='comment'>* eom_image_is_animation:</span></td></tr>
+<tr class="codeline" data-linenumber="2293"><td class="num" id="LN2293">2293</td><td class="line"> <span class='comment'>* @img: a #EomImage</span></td></tr>
+<tr class="codeline" data-linenumber="2294"><td class="num" id="LN2294">2294</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2295"><td class="num" id="LN2295">2295</td><td class="line"> <span class='comment'>* Checks whether a given image is animated.</span></td></tr>
+<tr class="codeline" data-linenumber="2296"><td class="num" id="LN2296">2296</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2297"><td class="num" id="LN2297">2297</td><td class="line"> <span class='comment'>* Returns: #TRUE if it is an animated image, #FALSE otherwise.</span></td></tr>
+<tr class="codeline" data-linenumber="2298"><td class="num" id="LN2298">2298</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2299"><td class="num" id="LN2299">2299</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="2300"><td class="num" id="LN2300">2300</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="2301"><td class="num" id="LN2301">2301</td><td class="line">eom_image_is_animation (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2302"><td class="num" id="LN2302">2302</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2303"><td class="num" id="LN2303">2303</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2304"><td class="num" id="LN2304">2304</td><td class="line"> <span class='keyword'>return</span> img-&gt;priv-&gt;anim != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2305"><td class="num" id="LN2305">2305</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2306"><td class="num" id="LN2306">2306</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2307"><td class="num" id="LN2307">2307</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2308"><td class="num" id="LN2308">2308</td><td class="line">private_timeout (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="2309"><td class="num" id="LN2309">2309</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2310"><td class="num" id="LN2310">2310</td><td class="line"> EomImage *img = <span class='macro'>EOM_IMAGE (data)<span class='macro_popup'>((((EomImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_image_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2311"><td class="num" id="LN2311">2311</td><td class="line"> EomImagePrivate *priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2312"><td class="num" id="LN2312">2312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2313"><td class="num" id="LN2313">2313</td><td class="line"> <span class='keyword'>if</span> (eom_image_is_animation (img) &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="2314"><td class="num" id="LN2314">2314</td><td class="line"> !g_source_is_destroyed (g_main_current_source ()) &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="2315"><td class="num" id="LN2315">2315</td><td class="line"> priv-&gt;is_playing) {</td></tr>
+<tr class="codeline" data-linenumber="2316"><td class="num" id="LN2316">2316</td><td class="line"> <span class='keyword'>while</span> (eom_image_iter_advance (img) != <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>) {}; <span class='comment'>/* cpu-sucking ? */</span></td></tr>
+<tr class="codeline" data-linenumber="2317"><td class="num" id="LN2317">2317</td><td class="line"> g_timeout_add (gdk_pixbuf_animation_iter_get_delay_time (priv-&gt;anim_iter), private_timeout, img);</td></tr>
+<tr class="codeline" data-linenumber="2318"><td class="num" id="LN2318">2318</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2319"><td class="num" id="LN2319">2319</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2320"><td class="num" id="LN2320">2320</td><td class="line"> priv-&gt;is_playing = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2321"><td class="num" id="LN2321">2321</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>; <span class='comment'>/* stop playing */</span></td></tr>
+<tr class="codeline" data-linenumber="2322"><td class="num" id="LN2322">2322</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2323"><td class="num" id="LN2323">2323</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2324"><td class="num" id="LN2324">2324</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2325"><td class="num" id="LN2325">2325</td><td class="line"> <span class='comment'>* eom_image_start_animation:</span></td></tr>
+<tr class="codeline" data-linenumber="2326"><td class="num" id="LN2326">2326</td><td class="line"> <span class='comment'>* @img: a #EomImage</span></td></tr>
+<tr class="codeline" data-linenumber="2327"><td class="num" id="LN2327">2327</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2328"><td class="num" id="LN2328">2328</td><td class="line"> <span class='comment'>* Starts playing an animated image.</span></td></tr>
+<tr class="codeline" data-linenumber="2329"><td class="num" id="LN2329">2329</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2330"><td class="num" id="LN2330">2330</td><td class="line"> <span class='comment'>* Returns: %TRUE on success, %FALSE if @img is already playing or isn't an animated image.</span></td></tr>
+<tr class="codeline" data-linenumber="2331"><td class="num" id="LN2331">2331</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="2332"><td class="num" id="LN2332">2332</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="2333"><td class="num" id="LN2333">2333</td><td class="line">eom_image_start_animation (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2334"><td class="num" id="LN2334">2334</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2335"><td class="num" id="LN2335">2335</td><td class="line"> EomImagePrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2336"><td class="num" id="LN2336">2336</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2337"><td class="num" id="LN2337">2337</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2338"><td class="num" id="LN2338">2338</td><td class="line"> priv = img-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2339"><td class="num" id="LN2339">2339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2340"><td class="num" id="LN2340">2340</td><td class="line"> <span class='keyword'>if</span> (!eom_image_is_animation (img) || priv-&gt;is_playing)</td></tr>
+<tr class="codeline" data-linenumber="2341"><td class="num" id="LN2341">2341</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2342"><td class="num" id="LN2342">2342</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2343"><td class="num" id="LN2343">2343</td><td class="line"> g_mutex_lock (&amp;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="2344"><td class="num" id="LN2344">2344</td><td class="line"> <span class='macro'>g_object_ref (priv-&gt;anim_iter)<span class='macro_popup'>((__typeof__ (priv-&gt;anim_iter)) (g_object_ref) (priv-&gt;anim_iter<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2345"><td class="num" id="LN2345">2345</td><td class="line"> priv-&gt;is_playing = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2346"><td class="num" id="LN2346">2346</td><td class="line"> g_mutex_unlock (&amp;priv-&gt;status_mutex);</td></tr>
+<tr class="codeline" data-linenumber="2347"><td class="num" id="LN2347">2347</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2348"><td class="num" id="LN2348">2348</td><td class="line"> g_timeout_add (gdk_pixbuf_animation_iter_get_delay_time (priv-&gt;anim_iter), private_timeout, img);</td></tr>
+<tr class="codeline" data-linenumber="2349"><td class="num" id="LN2349">2349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2350"><td class="num" id="LN2350">2350</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2351"><td class="num" id="LN2351">2351</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2352"><td class="num" id="LN2352">2352</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2353"><td class="num" id="LN2353">2353</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_RSVG<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2354"><td class="num" id="LN2354">2354</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="2355"><td class="num" id="LN2355">2355</td><td class="line">eom_image_is_svg (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2356"><td class="num" id="LN2356">2356</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2357"><td class="num" id="LN2357">2357</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2358"><td class="num" id="LN2358">2358</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2359"><td class="num" id="LN2359">2359</td><td class="line"> <span class='keyword'>return</span> (img-&gt;priv-&gt;svg != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2360"><td class="num" id="LN2360">2360</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2361"><td class="num" id="LN2361">2361</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2362"><td class="num" id="LN2362">2362</td><td class="line">RsvgHandle *</td></tr>
+<tr class="codeline" data-linenumber="2363"><td class="num" id="LN2363">2363</td><td class="line">eom_image_get_svg (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2364"><td class="num" id="LN2364">2364</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2365"><td class="num" id="LN2365">2365</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2366"><td class="num" id="LN2366">2366</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2367"><td class="num" id="LN2367">2367</td><td class="line"> <span class='keyword'>return</span> img-&gt;priv-&gt;svg;</td></tr>
+<tr class="codeline" data-linenumber="2368"><td class="num" id="LN2368">2368</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2369"><td class="num" id="LN2369">2369</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2370"><td class="num" id="LN2370">2370</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="2371"><td class="num" id="LN2371">2371</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2372"><td class="num" id="LN2372">2372</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2373"><td class="num" id="LN2373">2373</td><td class="line"> <span class='comment'>* eom_image_get_transform:</span></td></tr>
+<tr class="codeline" data-linenumber="2374"><td class="num" id="LN2374">2374</td><td class="line"> <span class='comment'>* @img: a #EomImage</span></td></tr>
+<tr class="codeline" data-linenumber="2375"><td class="num" id="LN2375">2375</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2376"><td class="num" id="LN2376">2376</td><td class="line"> <span class='comment'>* Get @img transform.</span></td></tr>
+<tr class="codeline" data-linenumber="2377"><td class="num" id="LN2377">2377</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2378"><td class="num" id="LN2378">2378</td><td class="line"> <span class='comment'>* Returns: (transfer none): A #EomTransform.</span></td></tr>
+<tr class="codeline" data-linenumber="2379"><td class="num" id="LN2379">2379</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="2380"><td class="num" id="LN2380">2380</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2381"><td class="num" id="LN2381">2381</td><td class="line">EomTransform *</td></tr>
+<tr class="codeline" data-linenumber="2382"><td class="num" id="LN2382">2382</td><td class="line">eom_image_get_transform (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2383"><td class="num" id="LN2383">2383</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2384"><td class="num" id="LN2384">2384</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2385"><td class="num" id="LN2385">2385</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2386"><td class="num" id="LN2386">2386</td><td class="line"> <span class='keyword'>return</span> img-&gt;priv-&gt;trans;</td></tr>
+<tr class="codeline" data-linenumber="2387"><td class="num" id="LN2387">2387</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2388"><td class="num" id="LN2388">2388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2389"><td class="num" id="LN2389">2389</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2390"><td class="num" id="LN2390">2390</td><td class="line"> <span class='comment'>* eom_image_get_autorotate_transform:</span></td></tr>
+<tr class="codeline" data-linenumber="2391"><td class="num" id="LN2391">2391</td><td class="line"> <span class='comment'>* @img: a #EomImage</span></td></tr>
+<tr class="codeline" data-linenumber="2392"><td class="num" id="LN2392">2392</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2393"><td class="num" id="LN2393">2393</td><td class="line"> <span class='comment'>* Get @img autorotate transform.</span></td></tr>
+<tr class="codeline" data-linenumber="2394"><td class="num" id="LN2394">2394</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2395"><td class="num" id="LN2395">2395</td><td class="line"> <span class='comment'>* Returns: (transfer none): A #EomTransform.</span></td></tr>
+<tr class="codeline" data-linenumber="2396"><td class="num" id="LN2396">2396</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="2397"><td class="num" id="LN2397">2397</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2398"><td class="num" id="LN2398">2398</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="2399"><td class="num" id="LN2399">2399</td><td class="line">eom_image_get_autorotate_transform (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2400"><td class="num" id="LN2400">2400</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2401"><td class="num" id="LN2401">2401</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2402"><td class="num" id="LN2402">2402</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2403"><td class="num" id="LN2403">2403</td><td class="line"> <span class='keyword'>return</span> img-&gt;priv-&gt;trans_autorotate;</td></tr>
+<tr class="codeline" data-linenumber="2404"><td class="num" id="LN2404">2404</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2405"><td class="num" id="LN2405">2405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2406"><td class="num" id="LN2406">2406</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2407"><td class="num" id="LN2407">2407</td><td class="line"> <span class='comment'>* eom_image_file_changed:</span></td></tr>
+<tr class="codeline" data-linenumber="2408"><td class="num" id="LN2408">2408</td><td class="line"> <span class='comment'>* @img: a #EomImage</span></td></tr>
+<tr class="codeline" data-linenumber="2409"><td class="num" id="LN2409">2409</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2410"><td class="num" id="LN2410">2410</td><td class="line"> <span class='comment'>* Marks the image files contents as changed. Also, emits</span></td></tr>
+<tr class="codeline" data-linenumber="2411"><td class="num" id="LN2411">2411</td><td class="line"> <span class='comment'>* EomImage::file-changed signal</span></td></tr>
+<tr class="codeline" data-linenumber="2412"><td class="num" id="LN2412">2412</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="2413"><td class="num" id="LN2413">2413</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2414"><td class="num" id="LN2414">2414</td><td class="line">eom_image_file_changed (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2415"><td class="num" id="LN2415">2415</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2416"><td class="num" id="LN2416">2416</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (img))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2417"><td class="num" id="LN2417">2417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2418"><td class="num" id="LN2418">2418</td><td class="line"> img-&gt;priv-&gt;file_is_changed = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2419"><td class="num" id="LN2419">2419</td><td class="line"> g_signal_emit (img, signals[SIGNAL_FILE_CHANGED], 0);</td></tr>
+<tr class="codeline" data-linenumber="2420"><td class="num" id="LN2420">2420</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2421"><td class="num" id="LN2421">2421</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2422"><td class="num" id="LN2422">2422</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="2423"><td class="num" id="LN2423">2423</td><td class="line">eom_image_is_file_changed (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2424"><td class="num" id="LN2424">2424</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2425"><td class="num" id="LN2425">2425</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), TRUE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return ((!(0))); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2426"><td class="num" id="LN2426">2426</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2427"><td class="num" id="LN2427">2427</td><td class="line"> <span class='keyword'>return</span> img-&gt;priv-&gt;file_is_changed;</td></tr>
+<tr class="codeline" data-linenumber="2428"><td class="num" id="LN2428">2428</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2429"><td class="num" id="LN2429">2429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2430"><td class="num" id="LN2430">2430</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="2431"><td class="num" id="LN2431">2431</td><td class="line">eom_image_is_jpeg (EomImage *img)</td></tr>
+<tr class="codeline" data-linenumber="2432"><td class="num" id="LN2432">2432</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2433"><td class="num" id="LN2433">2433</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (img), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((img)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (img)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2434"><td class="num" id="LN2434">2434</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2435"><td class="num" id="LN2435">2435</td><td class="line"> <span class='keyword'>return</span> ((img-&gt;priv-&gt;file_type != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) &amp;&amp; (g_ascii_strcasecmp (img-&gt;priv-&gt;file_type, <span class='macro'>EOM_FILE_FORMAT_JPEG<span class='macro_popup'>"jpeg"</span></span>) == 0));</td></tr>
+<tr class="codeline" data-linenumber="2436"><td class="num" id="LN2436">2436</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-d22e5d.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-d22e5d.html
new file mode 100644
index 0000000..9f2c3e0
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-d22e5d.html
@@ -0,0 +1,1812 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-print-preview.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC 2nd function call argument is an uninitialized value -->
+
+<!-- BUGTYPE Uninitialized argument value -->
+
+<!-- BUGCATEGORY Logic error -->
+
+<!-- BUGFILE /rootdir/src/eom-print-preview.c -->
+
+<!-- FILENAME eom-print-preview.c -->
+
+<!-- FUNCTIONNAME key_press_event_cb -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT d22e5dd40debf7ef6c571a85c6aa57be -->
+
+<!-- BUGLINE 793 -->
+
+<!-- BUGCOLUMN 3 -->
+
+<!-- BUGPATHLENGTH 5 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-print-preview.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 793, column 3</a><br />2nd function call argument is an uninitialized value</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-print-preview.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-print-preview.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"762": 1, "763": 1, "764": 1, "765": 1, "766": 1, "767": 1, "768": 1, "769": 1, "771": 1, "773": 1, "792": 1, "793": 1, "794": 1, "795": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+ <path class="arrow" id="arrow0"/>
+ <path class="arrow" id="arrow1"/>
+ <path class="arrow" id="arrow2"/>
+ <path class="arrow" id="arrow3"/>
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 4,3,1,1,0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of MATE -- Print Preview Widget</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2006-2008 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Author: Claudio Saavedra &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;cairo.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#include &lt;gdk/gdkkeysyms.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include "eom-image.h"</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include "eom-print-preview.h"</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='keyword'>struct</span> _EomPrintPreviewPrivate {</td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"> GtkWidget *area;</td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"> GdkPixbuf *image;</td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"> GdkPixbuf *image_scaled;</td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"> <span class='comment'>/* The surface to set to the cairo context, created from the image */</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"> cairo_surface_t *surface;</td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"> <span class='comment'>/* Flag whether we have to create surface */</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"> gboolean flag_create_surface;</td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"> <span class='comment'>/* the alignment of the image in the page */</span></td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"> gfloat image_x_align, image_y_align;</td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"> <span class='comment'>/* real paper size, in inches */</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> gfloat p_width, p_height;</td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"> <span class='comment'>/* page margins, in inches */</span></td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"> gfloat l_margin, r_margin, t_margin, b_margin;</td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> <span class='comment'>/* page margins, relatives to the widget size */</span></td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"> gint l_rmargin, r_rmargin, t_rmargin, b_rmargin;</td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"> <span class='comment'>/* image width, relative to the widget size */</span></td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"> gint r_width, r_height;</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> <span class='comment'>/* scale of the image, as defined by the user */</span></td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"> gfloat i_scale;</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"> <span class='comment'>/* scale of the page, relative to the widget size */</span></td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> gfloat p_scale;</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> <span class='comment'>/* whether we are currently grabbing the image */</span></td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"> gboolean grabbed;</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> <span class='comment'>/* the last cursor position */</span></td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> gdouble cursorx, cursory;</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> <span class='comment'>/* if we reject to move the image,</span></td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> <span class='comment'>store the delta here */</span></td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> gdouble r_dx, r_dy;</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"><span class='comment'>/* Signal IDs */</span></td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"><span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> SIGNAL_IMAGE_MOVED,</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> SIGNAL_LAST</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"><span class='keyword'>static</span> guint preview_signals [SIGNAL_LAST] = { 0 };</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"><span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> PROP_0,</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> PROP_IMAGE,</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> PROP_IMAGE_X_ALIGN,</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> PROP_IMAGE_Y_ALIGN,</td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> PROP_IMAGE_SCALE,</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> PROP_PAPER_WIDTH,</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> PROP_PAPER_HEIGHT,</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> PROP_PAGE_LEFT_MARGIN,</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> PROP_PAGE_RIGHT_MARGIN,</td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> PROP_PAGE_TOP_MARGIN,</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> PROP_PAGE_BOTTOM_MARGIN</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EomPrintPreview, eom_print_preview, GTK_TYPE_ASPECT_FRAME)<span class='macro_popup'>static void eom_print_preview_init (EomPrintPreview *self); static<br> void eom_print_preview_class_init (EomPrintPreviewClass *klass<br>); static GType eom_print_preview_get_type_once (void); static<br> gpointer eom_print_preview_parent_class = ((void*)0); static<br> gint EomPrintPreview_private_offset; static void eom_print_preview_class_intern_init<br> (gpointer klass) { eom_print_preview_parent_class = g_type_class_peek_parent<br> (klass); if (EomPrintPreview_private_offset != 0) g_type_class_adjust_private_offset<br> (klass, &amp;EomPrintPreview_private_offset); eom_print_preview_class_init<br> ((EomPrintPreviewClass*) klass); } __attribute__ ((__unused__<br>)) static inline gpointer eom_print_preview_get_instance_private<br> (EomPrintPreview *self) { return (((gpointer) ((guint8*) (self<br>) + (glong) (EomPrintPreview_private_offset)))); } GType eom_print_preview_get_type<br> (void) { static gsize static_g_define_type_id = 0; if ((__extension__<br> ({ _Static_assert (sizeof *(&amp;static_g_define_type_id) ==<br> sizeof (gpointer), "Expression evaluates to false"); (void) (<br>0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0));<br> (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = eom_print_preview_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType eom_print_preview_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> ((gtk_aspect_frame_get_type ()), g_intern_static_string ("EomPrintPreview"<br>), sizeof (EomPrintPreviewClass), (GClassInitFunc)(void (*)(void<br>)) eom_print_preview_class_intern_init, sizeof (EomPrintPreview<br>), (GInstanceInitFunc)(void (*)(void)) eom_print_preview_init<br>, (GTypeFlags) 0); { {{ EomPrintPreview_private_offset = g_type_add_instance_private<br> (g_define_type_id, sizeof (EomPrintPreviewPrivate)); };} } return<br> g_define_type_id; }</span></span></td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_print_preview_draw (EomPrintPreview *preview, cairo_t *cr);</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_print_preview_finalize (GObject *object);</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> update_relative_sizes (EomPrintPreview *preview);</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> create_surface (EomPrintPreview *preview);</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> create_image_scaled (EomPrintPreview *preview);</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"><span class='keyword'>static</span> gboolean create_surface_when_idle (EomPrintPreview *preview);</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line">eom_print_preview_get_property (GObject *object,</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> guint prop_id,</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> GParamSpec *pspec)</td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> EomPrintPreviewPrivate *priv = <span class='macro'>EOM_PRINT_PREVIEW (object)<span class='macro_popup'>((((EomPrintPreview*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_print_preview_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> <span class='keyword'>switch</span> (prop_id) {</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> <span class='keyword'>case</span> PROP_IMAGE:</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> g_value_set_object (value, priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> <span class='keyword'>case</span> PROP_IMAGE_X_ALIGN:</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> g_value_set_float (value, priv-&gt;image_x_align);</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> <span class='keyword'>case</span> PROP_IMAGE_Y_ALIGN:</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> g_value_set_float (value, priv-&gt;image_y_align);</td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> <span class='keyword'>case</span> PROP_IMAGE_SCALE:</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> g_value_set_float (value, priv-&gt;i_scale);</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> <span class='keyword'>case</span> PROP_PAPER_WIDTH:</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> g_value_set_float (value, priv-&gt;p_width);</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> <span class='keyword'>case</span> PROP_PAPER_HEIGHT:</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> g_value_set_float (value, priv-&gt;p_height);</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> <span class='keyword'>case</span> PROP_PAGE_LEFT_MARGIN:</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> g_value_set_float (value, priv-&gt;l_margin);</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> <span class='keyword'>case</span> PROP_PAGE_RIGHT_MARGIN:</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> g_value_set_float (value, priv-&gt;r_margin);</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> <span class='keyword'>case</span> PROP_PAGE_TOP_MARGIN:</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> g_value_set_float (value, priv-&gt;t_margin);</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> <span class='keyword'>case</span> PROP_PAGE_BOTTOM_MARGIN:</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> g_value_set_float (value, priv-&gt;b_margin);</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> <span class='macro'>G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec)<span class='macro_popup'>do { GObject *_glib__object = (GObject*) ((object)); GParamSpec<br> *_glib__pspec = (GParamSpec*) ((pspec)); guint _glib__property_id<br> = ((prop_id)); g_warning ("%s:%d: invalid %s id %u for \"%s\" of type '%s' in '%s'"<br>, "eom-print-preview.c", 143, ("property"), _glib__property_id<br>, _glib__pspec-&gt;name, g_type_name ((((((GTypeClass*) (((GTypeInstance<br>*) (_glib__pspec))-&gt;g_class))-&gt;g_type)))), (g_type_name<br> ((((((GTypeClass*) (((GTypeInstance*) (_glib__object))-&gt;g_class<br>))-&gt;g_type)))))); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line">eom_print_preview_set_property (GObject *object,</td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> guint prop_id,</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> <span class='keyword'>const</span> GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> GParamSpec *pspec)</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> EomPrintPreviewPrivate *priv = <span class='macro'>EOM_PRINT_PREVIEW (object)<span class='macro_popup'>((((EomPrintPreview*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_print_preview_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> gboolean paper_size_changed = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> <span class='keyword'>switch</span> (prop_id) {</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> <span class='keyword'>case</span> PROP_IMAGE:</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image) {</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> g_object_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> priv-&gt;image = <span class='macro'>GDK_PIXBUF (g_value_dup_object (value))<span class='macro_popup'>((((GdkPixbuf*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_value_dup_object (value))), ((gdk_pixbuf_get_type ()))<br>))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image_scaled) {</td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> g_object_unref (priv-&gt;image_scaled);</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> priv-&gt;image_scaled = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> priv-&gt;flag_create_surface = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> <span class='keyword'>case</span> PROP_IMAGE_X_ALIGN:</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> priv-&gt;image_x_align = g_value_get_float (value);</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> <span class='keyword'>case</span> PROP_IMAGE_Y_ALIGN:</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> priv-&gt;image_y_align = g_value_get_float (value);</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> <span class='keyword'>case</span> PROP_IMAGE_SCALE:</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> priv-&gt;i_scale = g_value_get_float (value);</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> priv-&gt;flag_create_surface = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> <span class='keyword'>case</span> PROP_PAPER_WIDTH:</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> priv-&gt;p_width = g_value_get_float (value);</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> paper_size_changed = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> <span class='keyword'>case</span> PROP_PAPER_HEIGHT:</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> priv-&gt;p_height = g_value_get_float (value);</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> paper_size_changed = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> <span class='keyword'>case</span> PROP_PAGE_LEFT_MARGIN:</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> priv-&gt;l_margin = g_value_get_float (value);</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> <span class='keyword'>case</span> PROP_PAGE_RIGHT_MARGIN:</td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> priv-&gt;r_margin = g_value_get_float (value);</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> <span class='keyword'>case</span> PROP_PAGE_TOP_MARGIN:</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> priv-&gt;t_margin = g_value_get_float (value);</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> <span class='keyword'>case</span> PROP_PAGE_BOTTOM_MARGIN:</td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> priv-&gt;b_margin = g_value_get_float (value);</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> <span class='macro'>G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec)<span class='macro_popup'>do { GObject *_glib__object = (GObject*) ((object)); GParamSpec<br> *_glib__pspec = (GParamSpec*) ((pspec)); guint _glib__property_id<br> = ((prop_id)); g_warning ("%s:%d: invalid %s id %u for \"%s\" of type '%s' in '%s'"<br>, "eom-print-preview.c", 201, ("property"), _glib__property_id<br>, _glib__pspec-&gt;name, g_type_name ((((((GTypeClass*) (((GTypeInstance<br>*) (_glib__pspec))-&gt;g_class))-&gt;g_type)))), (g_type_name<br> ((((((GTypeClass*) (((GTypeInstance*) (_glib__object))-&gt;g_class<br>))-&gt;g_type)))))); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> <span class='keyword'>if</span> (paper_size_changed) {</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"> g_object_set (object,</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> <span class='string_literal'>"ratio"</span>, priv-&gt;p_width/priv-&gt;p_height,</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> update_relative_sizes (<span class='macro'>EOM_PRINT_PREVIEW (object)<span class='macro_popup'>((((EomPrintPreview*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_print_preview_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> gtk_widget_queue_draw (priv-&gt;area);</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line">eom_print_preview_class_init (EomPrintPreviewClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> GObjectClass *gobject_class;</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> gobject_class = (GObjectClass*) klass;</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> gobject_class-&gt;get_property = eom_print_preview_get_property;</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> gobject_class-&gt;set_property = eom_print_preview_set_property;</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> gobject_class-&gt;finalize = eom_print_preview_finalize;</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> <span class='comment'>* EomPrintPreview:image:</span></td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> <span class='comment'>* The "image" property defines the image that is previewed</span></td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> <span class='comment'>* in the widget.</span></td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> g_object_class_install_property (gobject_class,</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> PROP_IMAGE,</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> g_param_spec_object (<span class='string_literal'>"image"</span>,</td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> <span class='string_literal'>"Image to show in the preview"</span>,</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> <span class='string_literal'>""</span>,</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> <span class='macro'>G_TYPE_OBJECT<span class='macro_popup'>((GType) ((20) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> G_PARAM_READWRITE));</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> <span class='comment'>* EomPrintPreview:image-x-align:</span></td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> <span class='comment'>* The "image-x-align" property defines the horizontal alignment</span></td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> <span class='comment'>* of the image in the widget.</span></td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> g_object_class_install_property (gobject_class,</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> PROP_IMAGE_X_ALIGN,</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> g_param_spec_float (<span class='string_literal'>"image-x-align"</span>,</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> <span class='string_literal'>"Horizontal alignment for the image"</span>,</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='string_literal'>""</span>,</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> 1,</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> 0.5,</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> G_PARAM_READWRITE));</td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> <span class='comment'>* EomPrintPreview:image-y-align:</span></td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='comment'>* The "image-y-align" property defines the horizontal alignment</span></td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='comment'>* of the image in the widget.</span></td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> g_object_class_install_property (gobject_class,</td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> PROP_IMAGE_Y_ALIGN,</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> g_param_spec_float (<span class='string_literal'>"image-y-align"</span>,</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> <span class='string_literal'>"Vertical alignment for the image"</span>,</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> <span class='string_literal'>""</span>,</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> 1,</td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> 0.5,</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> G_PARAM_READWRITE));</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> <span class='comment'>* EomPrintPreview:image-scale:</span></td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> <span class='comment'>* The "image-scale" property defines the scaling of the image</span></td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> <span class='comment'>* that the user wants for the printing.</span></td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> g_object_class_install_property (gobject_class,</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> PROP_IMAGE_SCALE,</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> g_param_spec_float (<span class='string_literal'>"image-scale"</span>,</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> <span class='string_literal'>"The scale for the image"</span>,</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> <span class='string_literal'>""</span>,</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> 1,</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> 1,</td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> G_PARAM_READWRITE));</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> <span class='comment'>* EomPrintPreview:paper-width:</span></td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> <span class='comment'>* The width of the previewed paper, in inches.</span></td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> g_object_class_install_property (gobject_class,</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> PROP_PAPER_WIDTH,</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> g_param_spec_float (<span class='string_literal'>"paper-width"</span>,</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> <span class='string_literal'>"Real paper width in inches"</span>,</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> <span class='string_literal'>""</span>,</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> 100,</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> 8.5,</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> G_PARAM_READWRITE));</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> <span class='comment'>* EomPrintPreview:paper-height:</span></td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> <span class='comment'>* The height of the previewed paper, in inches.</span></td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> g_object_class_install_property (gobject_class,</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> PROP_PAPER_HEIGHT,</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> g_param_spec_float (<span class='string_literal'>"paper-height"</span>,</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> <span class='string_literal'>"Real paper height in inches"</span>,</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> <span class='string_literal'>""</span>,</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> 200,</td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"> 11,</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> G_PARAM_READWRITE));</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> <span class='comment'>* EomPrintPreview:page-left-margin:</span></td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> <span class='comment'>* The size of the page's left margin, in inches.</span></td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> g_object_class_install_property (gobject_class,</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> PROP_PAGE_LEFT_MARGIN,</td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> g_param_spec_float (<span class='string_literal'>"page-left-margin"</span>,</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> <span class='string_literal'>"Left margin of the page in inches"</span>,</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> <span class='string_literal'>""</span>,</td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> 100,</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> 0.25,</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> G_PARAM_READWRITE));</td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> <span class='comment'>* EomPrintPreview:page-right-margin:</span></td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> <span class='comment'>* The size of the page's right margin, in inches.</span></td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> g_object_class_install_property (gobject_class,</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> PROP_PAGE_RIGHT_MARGIN,</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> g_param_spec_float (<span class='string_literal'>"page-right-margin"</span>,</td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> <span class='string_literal'>"Right margin of the page in inches"</span>,</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> <span class='string_literal'>""</span>,</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> 200,</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> 0.25,</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> G_PARAM_READWRITE));</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> <span class='comment'>* EomPrintPreview:page-top-margin:</span></td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> <span class='comment'>* The size of the page's top margin, in inches.</span></td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> g_object_class_install_property (gobject_class,</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> PROP_PAGE_TOP_MARGIN,</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> g_param_spec_float (<span class='string_literal'>"page-top-margin"</span>,</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> <span class='string_literal'>"Top margin of the page in inches"</span>,</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> <span class='string_literal'>""</span>,</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> 100,</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> 0.25,</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> G_PARAM_READWRITE));</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> <span class='comment'>* EomPrintPreview:page-bottom-margin:</span></td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> <span class='comment'>* The size of the page's bottom margin, in inches.</span></td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> g_object_class_install_property (gobject_class,</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> PROP_PAGE_BOTTOM_MARGIN,</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> g_param_spec_float (<span class='string_literal'>"page-bottom-margin"</span>,</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='string_literal'>"Bottom margin of the page in inches"</span>,</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> <span class='string_literal'>""</span>,</td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> 200,</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> 0.56,</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> G_PARAM_READWRITE));</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> <span class='comment'>* EomPrintPreview::image-moved:</span></td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> <span class='comment'>* @preview: the object which received the signal</span></td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> <span class='comment'>* The #EomPrintPreview::image-moved signal is emitted when the position</span></td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> <span class='comment'>* of the image is changed.</span></td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"> preview_signals [SIGNAL_IMAGE_MOVED] =</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> g_signal_new (<span class='string_literal'>"image_moved"</span>,</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> <span class='macro'>G_TYPE_FROM_CLASS (gobject_class)<span class='macro_popup'>(((GTypeClass*) (gobject_class))-&gt;g_type)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> G_SIGNAL_RUN_FIRST, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> g_cclosure_marshal_VOID__VOID, <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line">eom_print_preview_finalize (GObject *object)</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> EomPrintPreviewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> priv = <span class='macro'>EOM_PRINT_PREVIEW (object)<span class='macro_popup'>((((EomPrintPreview*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_print_preview_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image) {</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> g_object_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> priv-&gt;image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image_scaled) {</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> g_object_unref (priv-&gt;image_scaled);</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> priv-&gt;image_scaled = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;surface) {</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> cairo_surface_destroy (priv-&gt;surface);</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> priv-&gt;surface = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> <span class='macro'>G_OBJECT_CLASS (eom_print_preview_parent_class)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_print_preview_parent_class)), (((GType) ((20) &lt;&lt;<br> (2))))))))</span></span>-&gt;finalize (object);</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line">eom_print_preview_init (EomPrintPreview *preview)</td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> EomPrintPreviewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> gfloat ratio;</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> priv = preview-&gt;priv = eom_print_preview_get_instance_private (preview);</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> priv-&gt;area = <span class='macro'>GTK_WIDGET (gtk_drawing_area_new ())<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_drawing_area_new ())), ((gtk_widget_get_type ())))))<br>)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (preview)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((preview)), ((gtk_container_get_type ()))))))</span></span>, priv-&gt;area);</td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> priv-&gt;p_width = 8.5;</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> priv-&gt;p_height = 11.0;</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> ratio = priv-&gt;p_width/priv-&gt;p_height;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> gtk_aspect_frame_set (<span class='macro'>GTK_ASPECT_FRAME (preview)<span class='macro_popup'>((((GtkAspectFrame*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((preview)), ((gtk_aspect_frame_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> 0.5, 0.5, ratio, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> priv-&gt;image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> priv-&gt;image_scaled = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> priv-&gt;image_x_align = 0.5;</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> priv-&gt;image_y_align = 0.5;</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> priv-&gt;i_scale = 1;</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> priv-&gt;surface = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> priv-&gt;flag_create_surface = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> priv-&gt;p_scale = 0;</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> priv-&gt;l_margin = 0.25;</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> priv-&gt;r_margin = 0.25;</td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> priv-&gt;t_margin = 0.25;</td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> priv-&gt;b_margin = 0.56;</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> priv-&gt;grabbed = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> priv-&gt;cursorx = 0;</td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"> priv-&gt;cursory = 0;</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> priv-&gt;r_dx = 0;</td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"> priv-&gt;r_dy = 0;</td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"><span class='keyword'>static</span> gboolean button_press_event_cb (GtkWidget *widget, GdkEventButton *bev, gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"><span class='keyword'>static</span> gboolean button_release_event_cb (GtkWidget *widget, GdkEventButton *bev, gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"><span class='keyword'>static</span> gboolean motion_notify_event_cb (GtkWidget *widget, GdkEventMotion *mev, gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line"><span class='keyword'>static</span> gboolean key_press_event_cb (GtkWidget *widget, GdkEventKey *event, gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"><span class='keyword'>static</span> gboolean draw_cb (GtkDrawingArea *drawing_area, cairo_t *cr, gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> size_allocate_cb (GtkWidget *widget, GtkAllocation *allocation, gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line"> <span class='comment'>* eom_print_preview_new_with_pixbuf:</span></td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> <span class='comment'>* @pixbuf: a #GdkPixbuf</span></td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line"> <span class='comment'>* Creates a new #EomPrintPreview widget, and sets the #GdkPixbuf to preview</span></td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line"> <span class='comment'>* on it.</span></td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> <span class='comment'>* Returns: A new #EomPrintPreview widget.</span></td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line">GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line">eom_print_preview_new_with_pixbuf (GdkPixbuf *pixbuf)</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> EomPrintPreview *preview;</td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> <span class='macro'>g_return_val_if_fail (GDK_IS_PIXBUF (pixbuf), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((pixbuf)); GType __t = ((gdk_pixbuf_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "GDK_IS_PIXBUF (pixbuf)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line"> preview = <span class='macro'>EOM_PRINT_PREVIEW (eom_print_preview_new ())<span class='macro_popup'>((((EomPrintPreview*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((eom_print_preview_new ())), ((eom_print_preview_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line"> preview-&gt;priv-&gt;image = <span class='macro'>g_object_ref (pixbuf)<span class='macro_popup'>((__typeof__ (pixbuf)) (g_object_ref) (pixbuf))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"> update_relative_sizes (preview);</td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>GTK_WIDGET (preview)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((preview)), ((gtk_widget_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line"> <span class='comment'>* eom_print_preview_new:</span></td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> <span class='comment'>* Creates a new #EomPrintPreview widget, setting it to the default values,</span></td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line"> <span class='comment'>* and leaving the page empty. You still need to set the #EomPrintPreview:image</span></td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line"> <span class='comment'>* property to make it useful.</span></td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> <span class='comment'>* Returns: A new and empty #EomPrintPreview widget.</span></td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line">GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line">eom_print_preview_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line"> EomPrintPreview *preview;</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> GtkWidget *area;</td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line"> preview = g_object_new (<span class='macro'>EOM_TYPE_PRINT_PREVIEW<span class='macro_popup'>(eom_print_preview_get_type ())</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> area = preview-&gt;priv-&gt;area;</td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> gtk_widget_set_events (area,</td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> GDK_EXPOSURE_MASK |</td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> GDK_POINTER_MOTION_MASK |</td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> GDK_BUTTON_PRESS_MASK |</td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> GDK_BUTTON_RELEASE_MASK |</td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line"> GDK_KEY_PRESS_MASK);</td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (area)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((area)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line"> <span class='string_literal'>"can-focus"</span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"><span class='comment'>/* update_relative_sizes (preview); */</span></td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> <span class='macro'>g_signal_connect (area, <span class='string_literal'>"draw"</span>,<span class='macro_popup'>g_signal_connect_data ((area), ("draw"), (((GCallback) (draw_cb<br>))), (preview), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> <span class='macro'>G_CALLBACK (draw_cb),<span class='macro_popup'>g_signal_connect_data ((area), ("draw"), (((GCallback) (draw_cb<br>))), (preview), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line"> <span class='macro'>preview)<span class='macro_popup'>g_signal_connect_data ((area), ("draw"), (((GCallback) (draw_cb<br>))), (preview), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"> <span class='macro'>g_signal_connect (area, <span class='string_literal'>"motion-notify-event"</span>,<span class='macro_popup'>g_signal_connect_data ((area), ("motion-notify-event"), (((GCallback<br>) (motion_notify_event_cb))), (preview), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line"> <span class='macro'>G_CALLBACK (motion_notify_event_cb),<span class='macro_popup'>g_signal_connect_data ((area), ("motion-notify-event"), (((GCallback<br>) (motion_notify_event_cb))), (preview), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line"> <span class='macro'>preview)<span class='macro_popup'>g_signal_connect_data ((area), ("motion-notify-event"), (((GCallback<br>) (motion_notify_event_cb))), (preview), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="531"><td class="num" id="LN531">531</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="532"><td class="num" id="LN532">532</td><td class="line"> <span class='macro'>g_signal_connect (area, <span class='string_literal'>"button-press-event"</span>,<span class='macro_popup'>g_signal_connect_data ((area), ("button-press-event"), (((GCallback<br>) (button_press_event_cb))), (preview), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="533"><td class="num" id="LN533">533</td><td class="line"> <span class='macro'>G_CALLBACK (button_press_event_cb),<span class='macro_popup'>g_signal_connect_data ((area), ("button-press-event"), (((GCallback<br>) (button_press_event_cb))), (preview), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="534"><td class="num" id="LN534">534</td><td class="line"> <span class='macro'>preview)<span class='macro_popup'>g_signal_connect_data ((area), ("button-press-event"), (((GCallback<br>) (button_press_event_cb))), (preview), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="535"><td class="num" id="LN535">535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="536"><td class="num" id="LN536">536</td><td class="line"> <span class='macro'>g_signal_connect (area, <span class='string_literal'>"button-release-event"</span>,<span class='macro_popup'>g_signal_connect_data ((area), ("button-release-event"), (((GCallback<br>) (button_release_event_cb))), (preview), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="537"><td class="num" id="LN537">537</td><td class="line"> <span class='macro'>G_CALLBACK (button_release_event_cb),<span class='macro_popup'>g_signal_connect_data ((area), ("button-release-event"), (((GCallback<br>) (button_release_event_cb))), (preview), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="538"><td class="num" id="LN538">538</td><td class="line"> <span class='macro'>preview)<span class='macro_popup'>g_signal_connect_data ((area), ("button-release-event"), (((GCallback<br>) (button_release_event_cb))), (preview), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="539"><td class="num" id="LN539">539</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="540"><td class="num" id="LN540">540</td><td class="line"> <span class='macro'>g_signal_connect (area, <span class='string_literal'>"key-press-event"</span>,<span class='macro_popup'>g_signal_connect_data ((area), ("key-press-event"), (((GCallback<br>) (key_press_event_cb))), (preview), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="541"><td class="num" id="LN541">541</td><td class="line"> <span class='macro'>G_CALLBACK (key_press_event_cb),<span class='macro_popup'>g_signal_connect_data ((area), ("key-press-event"), (((GCallback<br>) (key_press_event_cb))), (preview), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="542"><td class="num" id="LN542">542</td><td class="line"> <span class='macro'>preview)<span class='macro_popup'>g_signal_connect_data ((area), ("key-press-event"), (((GCallback<br>) (key_press_event_cb))), (preview), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="543"><td class="num" id="LN543">543</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="544"><td class="num" id="LN544">544</td><td class="line"> <span class='macro'>g_signal_connect (area, <span class='string_literal'>"size-allocate"</span>,<span class='macro_popup'>g_signal_connect_data ((area), ("size-allocate"), (((GCallback<br>) (size_allocate_cb))), (preview), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="545"><td class="num" id="LN545">545</td><td class="line"> <span class='macro'>G_CALLBACK (size_allocate_cb),<span class='macro_popup'>g_signal_connect_data ((area), ("size-allocate"), (((GCallback<br>) (size_allocate_cb))), (preview), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="546"><td class="num" id="LN546">546</td><td class="line"> <span class='macro'>preview)<span class='macro_popup'>g_signal_connect_data ((area), ("size-allocate"), (((GCallback<br>) (size_allocate_cb))), (preview), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="547"><td class="num" id="LN547">547</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="548"><td class="num" id="LN548">548</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>GTK_WIDGET (preview)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((preview)), ((gtk_widget_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="549"><td class="num" id="LN549">549</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="550"><td class="num" id="LN550">550</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="551"><td class="num" id="LN551">551</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="552"><td class="num" id="LN552">552</td><td class="line">draw_cb (GtkDrawingArea *drawing_area,</td></tr>
+<tr class="codeline" data-linenumber="553"><td class="num" id="LN553">553</td><td class="line"> cairo_t *cr,</td></tr>
+<tr class="codeline" data-linenumber="554"><td class="num" id="LN554">554</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="555"><td class="num" id="LN555">555</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="556"><td class="num" id="LN556">556</td><td class="line"> update_relative_sizes (<span class='macro'>EOM_PRINT_PREVIEW (user_data)<span class='macro_popup'>((((EomPrintPreview*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_print_preview_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="557"><td class="num" id="LN557">557</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="558"><td class="num" id="LN558">558</td><td class="line"> eom_print_preview_draw (<span class='macro'>EOM_PRINT_PREVIEW (user_data)<span class='macro_popup'>((((EomPrintPreview*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_print_preview_get_type ()))))))</span></span>, cr);</td></tr>
+<tr class="codeline" data-linenumber="559"><td class="num" id="LN559">559</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="560"><td class="num" id="LN560">560</td><td class="line"> <span class='keyword'>if</span> (cairo_status (cr) != CAIRO_STATUS_SUCCESS) {</td></tr>
+<tr class="codeline" data-linenumber="561"><td class="num" id="LN561">561</td><td class="line"> fprintf (<span class='macro'>stderr<span class='macro_popup'>stderr</span></span>, <span class='string_literal'>"Cairo is unhappy: %s\n"</span>,</td></tr>
+<tr class="codeline" data-linenumber="562"><td class="num" id="LN562">562</td><td class="line"> cairo_status_to_string (cairo_status (cr)));</td></tr>
+<tr class="codeline" data-linenumber="563"><td class="num" id="LN563">563</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="564"><td class="num" id="LN564">564</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="565"><td class="num" id="LN565">565</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="566"><td class="num" id="LN566">566</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="567"><td class="num" id="LN567">567</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="568"><td class="num" id="LN568">568</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="569"><td class="num" id="LN569">569</td><td class="line"> <span class='comment'>* get_current_image_coordinates:</span></td></tr>
+<tr class="codeline" data-linenumber="570"><td class="num" id="LN570">570</td><td class="line"> <span class='comment'>* @preview: an #EomPrintPreview</span></td></tr>
+<tr class="codeline" data-linenumber="571"><td class="num" id="LN571">571</td><td class="line"> <span class='comment'>* @x0: A pointer where to store the x coordinate.</span></td></tr>
+<tr class="codeline" data-linenumber="572"><td class="num" id="LN572">572</td><td class="line"> <span class='comment'>* @y0: A pointer where to store the y coordinate.</span></td></tr>
+<tr class="codeline" data-linenumber="573"><td class="num" id="LN573">573</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="574"><td class="num" id="LN574">574</td><td class="line"> <span class='comment'>* This function returns the current image coordinates, according</span></td></tr>
+<tr class="codeline" data-linenumber="575"><td class="num" id="LN575">575</td><td class="line"> <span class='comment'>* with the properties of the given @preview widget.</span></td></tr>
+<tr class="codeline" data-linenumber="576"><td class="num" id="LN576">576</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="577"><td class="num" id="LN577">577</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="578"><td class="num" id="LN578">578</td><td class="line">get_current_image_coordinates (EomPrintPreview *preview,</td></tr>
+<tr class="codeline" data-linenumber="579"><td class="num" id="LN579">579</td><td class="line"> gint *x0, gint *y0)</td></tr>
+<tr class="codeline" data-linenumber="580"><td class="num" id="LN580">580</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="581"><td class="num" id="LN581">581</td><td class="line"> EomPrintPreviewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="582"><td class="num" id="LN582">582</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="583"><td class="num" id="LN583">583</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="584"><td class="num" id="LN584">584</td><td class="line"> priv = preview-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="585"><td class="num" id="LN585">585</td><td class="line"> gtk_widget_get_allocation (<span class='macro'>GTK_WIDGET (priv-&gt;area)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;area)), ((gtk_widget_get_type ()))))))</span></span>, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="586"><td class="num" id="LN586">586</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="587"><td class="num" id="LN587">587</td><td class="line"> *x0 = (gint)((1 - priv-&gt;image_x_align)*priv-&gt;l_rmargin + priv-&gt;image_x_align*(allocation.width - priv-&gt;r_rmargin - priv-&gt;r_width));</td></tr>
+<tr class="codeline" data-linenumber="588"><td class="num" id="LN588">588</td><td class="line"> *y0 = (gint)((1 - priv-&gt;image_y_align)*priv-&gt;t_rmargin + priv-&gt;image_y_align*(allocation.height - priv-&gt;b_rmargin - priv-&gt;r_height));</td></tr>
+<tr class="codeline" data-linenumber="589"><td class="num" id="LN589">589</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="590"><td class="num" id="LN590">590</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="591"><td class="num" id="LN591">591</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="592"><td class="num" id="LN592">592</td><td class="line"> <span class='comment'>* press_inside_image_area:</span></td></tr>
+<tr class="codeline" data-linenumber="593"><td class="num" id="LN593">593</td><td class="line"> <span class='comment'>* @preview: an #EomPrintPreview</span></td></tr>
+<tr class="codeline" data-linenumber="594"><td class="num" id="LN594">594</td><td class="line"> <span class='comment'>* @x: the points x coordinate</span></td></tr>
+<tr class="codeline" data-linenumber="595"><td class="num" id="LN595">595</td><td class="line"> <span class='comment'>* @y: the points y coordinate</span></td></tr>
+<tr class="codeline" data-linenumber="596"><td class="num" id="LN596">596</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="597"><td class="num" id="LN597">597</td><td class="line"> <span class='comment'>* Returns whether the given point is inside the image area.</span></td></tr>
+<tr class="codeline" data-linenumber="598"><td class="num" id="LN598">598</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="599"><td class="num" id="LN599">599</td><td class="line"> <span class='comment'>* Returns: %TRUE if the given point is inside of the image area,</span></td></tr>
+<tr class="codeline" data-linenumber="600"><td class="num" id="LN600">600</td><td class="line"> <span class='comment'>* %FALSE otherwise.</span></td></tr>
+<tr class="codeline" data-linenumber="601"><td class="num" id="LN601">601</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="602"><td class="num" id="LN602">602</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="603"><td class="num" id="LN603">603</td><td class="line">press_inside_image_area (EomPrintPreview *preview,</td></tr>
+<tr class="codeline" data-linenumber="604"><td class="num" id="LN604">604</td><td class="line"> guint x,</td></tr>
+<tr class="codeline" data-linenumber="605"><td class="num" id="LN605">605</td><td class="line"> guint y)</td></tr>
+<tr class="codeline" data-linenumber="606"><td class="num" id="LN606">606</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="607"><td class="num" id="LN607">607</td><td class="line"> EomPrintPreviewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="608"><td class="num" id="LN608">608</td><td class="line"> gint x0, y0;</td></tr>
+<tr class="codeline" data-linenumber="609"><td class="num" id="LN609">609</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="610"><td class="num" id="LN610">610</td><td class="line"> priv = preview-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="611"><td class="num" id="LN611">611</td><td class="line"> get_current_image_coordinates (preview, &amp;x0, &amp;y0);</td></tr>
+<tr class="codeline" data-linenumber="612"><td class="num" id="LN612">612</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="613"><td class="num" id="LN613">613</td><td class="line"> <span class='keyword'>if</span> (x &gt;= x0 &amp;&amp; y &gt;= y0 &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="614"><td class="num" id="LN614">614</td><td class="line"> x &lt;= x0 + priv-&gt;r_width &amp;&amp; y &lt;= y0 + priv-&gt;r_height)</td></tr>
+<tr class="codeline" data-linenumber="615"><td class="num" id="LN615">615</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="616"><td class="num" id="LN616">616</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="617"><td class="num" id="LN617">617</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="618"><td class="num" id="LN618">618</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="619"><td class="num" id="LN619">619</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="620"><td class="num" id="LN620">620</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="621"><td class="num" id="LN621">621</td><td class="line">create_image_scaled (EomPrintPreview *preview)</td></tr>
+<tr class="codeline" data-linenumber="622"><td class="num" id="LN622">622</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="623"><td class="num" id="LN623">623</td><td class="line"> EomPrintPreviewPrivate *priv = preview-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="624"><td class="num" id="LN624">624</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="625"><td class="num" id="LN625">625</td><td class="line"> <span class='keyword'>if</span> (!priv-&gt;image_scaled) {</td></tr>
+<tr class="codeline" data-linenumber="626"><td class="num" id="LN626">626</td><td class="line"> gint i_width, i_height;</td></tr>
+<tr class="codeline" data-linenumber="627"><td class="num" id="LN627">627</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="628"><td class="num" id="LN628">628</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="629"><td class="num" id="LN629">629</td><td class="line"> gtk_widget_get_allocation (priv-&gt;area, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="630"><td class="num" id="LN630">630</td><td class="line"> i_width = gdk_pixbuf_get_width (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="631"><td class="num" id="LN631">631</td><td class="line"> i_height = gdk_pixbuf_get_height (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="632"><td class="num" id="LN632">632</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="633"><td class="num" id="LN633">633</td><td class="line"> <span class='keyword'>if</span> ((i_width &gt; allocation.width) ||</td></tr>
+<tr class="codeline" data-linenumber="634"><td class="num" id="LN634">634</td><td class="line"> (i_height &gt; allocation.height)) {</td></tr>
+<tr class="codeline" data-linenumber="635"><td class="num" id="LN635">635</td><td class="line"> gdouble scale;</td></tr>
+<tr class="codeline" data-linenumber="636"><td class="num" id="LN636">636</td><td class="line"> scale = <span class='macro'>MIN ((gdouble) allocation.width/i_width,<span class='macro_popup'>((((gdouble) allocation.width/i_width) &lt; ((gdouble) allocation<br>.height/i_height)) ? ((gdouble) allocation.width/i_width) : (<br>(gdouble) allocation.height/i_height))</span></span></td></tr>
+<tr class="codeline" data-linenumber="637"><td class="num" id="LN637">637</td><td class="line"> <span class='macro'>(gdouble) allocation.height/i_height)<span class='macro_popup'>((((gdouble) allocation.width/i_width) &lt; ((gdouble) allocation<br>.height/i_height)) ? ((gdouble) allocation.width/i_width) : (<br>(gdouble) allocation.height/i_height))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="638"><td class="num" id="LN638">638</td><td class="line"> scale *= gtk_widget_get_scale_factor (<span class='macro'>GTK_WIDGET (priv-&gt;area)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;area)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="639"><td class="num" id="LN639">639</td><td class="line"> priv-&gt;image_scaled = gdk_pixbuf_scale_simple (priv-&gt;image,</td></tr>
+<tr class="codeline" data-linenumber="640"><td class="num" id="LN640">640</td><td class="line"> i_width*scale,</td></tr>
+<tr class="codeline" data-linenumber="641"><td class="num" id="LN641">641</td><td class="line"> i_height*scale,</td></tr>
+<tr class="codeline" data-linenumber="642"><td class="num" id="LN642">642</td><td class="line"> GDK_INTERP_TILES);</td></tr>
+<tr class="codeline" data-linenumber="643"><td class="num" id="LN643">643</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="644"><td class="num" id="LN644">644</td><td class="line"> priv-&gt;image_scaled = priv-&gt;image;</td></tr>
+<tr class="codeline" data-linenumber="645"><td class="num" id="LN645">645</td><td class="line"> <span class='macro'>g_object_ref (priv-&gt;image_scaled)<span class='macro_popup'>((__typeof__ (priv-&gt;image_scaled)) (g_object_ref) (priv-&gt;<br>image_scaled))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="646"><td class="num" id="LN646">646</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="647"><td class="num" id="LN647">647</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="648"><td class="num" id="LN648">648</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="649"><td class="num" id="LN649">649</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="650"><td class="num" id="LN650">650</td><td class="line"><span class='keyword'>static</span> GdkPixbuf *</td></tr>
+<tr class="codeline" data-linenumber="651"><td class="num" id="LN651">651</td><td class="line">create_preview_buffer (EomPrintPreview *preview)</td></tr>
+<tr class="codeline" data-linenumber="652"><td class="num" id="LN652">652</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="653"><td class="num" id="LN653">653</td><td class="line"> GdkPixbuf *pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="654"><td class="num" id="LN654">654</td><td class="line"> gint width, height, widget_scale;</td></tr>
+<tr class="codeline" data-linenumber="655"><td class="num" id="LN655">655</td><td class="line"> GdkInterpType type = GDK_INTERP_TILES;</td></tr>
+<tr class="codeline" data-linenumber="656"><td class="num" id="LN656">656</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="657"><td class="num" id="LN657">657</td><td class="line"> <span class='keyword'>if</span> (preview-&gt;priv-&gt;image == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="658"><td class="num" id="LN658">658</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="659"><td class="num" id="LN659">659</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="660"><td class="num" id="LN660">660</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="661"><td class="num" id="LN661">661</td><td class="line"> create_image_scaled (preview);</td></tr>
+<tr class="codeline" data-linenumber="662"><td class="num" id="LN662">662</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="663"><td class="num" id="LN663">663</td><td class="line"> width = gdk_pixbuf_get_width (preview-&gt;priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="664"><td class="num" id="LN664">664</td><td class="line"> height = gdk_pixbuf_get_height (preview-&gt;priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="665"><td class="num" id="LN665">665</td><td class="line"> widget_scale = gtk_widget_get_scale_factor (<span class='macro'>GTK_WIDGET (preview-&gt;priv-&gt;area)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((preview-&gt;priv-&gt;area)), ((gtk_widget_get_type ())))<br>)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="666"><td class="num" id="LN666">666</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="667"><td class="num" id="LN667">667</td><td class="line"> width *= preview-&gt;priv-&gt;i_scale * preview-&gt;priv-&gt;p_scale</td></tr>
+<tr class="codeline" data-linenumber="668"><td class="num" id="LN668">668</td><td class="line"> * widget_scale;</td></tr>
+<tr class="codeline" data-linenumber="669"><td class="num" id="LN669">669</td><td class="line"> height *= preview-&gt;priv-&gt;i_scale * preview-&gt;priv-&gt;p_scale</td></tr>
+<tr class="codeline" data-linenumber="670"><td class="num" id="LN670">670</td><td class="line"> * widget_scale;</td></tr>
+<tr class="codeline" data-linenumber="671"><td class="num" id="LN671">671</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="672"><td class="num" id="LN672">672</td><td class="line"> <span class='keyword'>if</span> (width &lt; 1 || height &lt; 1)</td></tr>
+<tr class="codeline" data-linenumber="673"><td class="num" id="LN673">673</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="674"><td class="num" id="LN674">674</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="675"><td class="num" id="LN675">675</td><td class="line"> <span class='comment'>/* to use GDK_INTERP_TILES for small pixbufs is expensive and unnecessary */</span></td></tr>
+<tr class="codeline" data-linenumber="676"><td class="num" id="LN676">676</td><td class="line"> <span class='keyword'>if</span> (width &lt; 25 || height &lt; 25)</td></tr>
+<tr class="codeline" data-linenumber="677"><td class="num" id="LN677">677</td><td class="line"> type = GDK_INTERP_NEAREST;</td></tr>
+<tr class="codeline" data-linenumber="678"><td class="num" id="LN678">678</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="679"><td class="num" id="LN679">679</td><td class="line"> <span class='keyword'>if</span> (preview-&gt;priv-&gt;image_scaled) {</td></tr>
+<tr class="codeline" data-linenumber="680"><td class="num" id="LN680">680</td><td class="line"> pixbuf = gdk_pixbuf_scale_simple (preview-&gt;priv-&gt;image_scaled,</td></tr>
+<tr class="codeline" data-linenumber="681"><td class="num" id="LN681">681</td><td class="line"> width, height, type);</td></tr>
+<tr class="codeline" data-linenumber="682"><td class="num" id="LN682">682</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="683"><td class="num" id="LN683">683</td><td class="line"> pixbuf = gdk_pixbuf_scale_simple (preview-&gt;priv-&gt;image,</td></tr>
+<tr class="codeline" data-linenumber="684"><td class="num" id="LN684">684</td><td class="line"> width, height, type);</td></tr>
+<tr class="codeline" data-linenumber="685"><td class="num" id="LN685">685</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="686"><td class="num" id="LN686">686</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="687"><td class="num" id="LN687">687</td><td class="line"> <span class='keyword'>return</span> pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="688"><td class="num" id="LN688">688</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="689"><td class="num" id="LN689">689</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="690"><td class="num" id="LN690">690</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="691"><td class="num" id="LN691">691</td><td class="line">create_surface (EomPrintPreview *preview)</td></tr>
+<tr class="codeline" data-linenumber="692"><td class="num" id="LN692">692</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="693"><td class="num" id="LN693">693</td><td class="line"> EomPrintPreviewPrivate *priv = preview-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="694"><td class="num" id="LN694">694</td><td class="line"> GdkPixbuf *pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="695"><td class="num" id="LN695">695</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="696"><td class="num" id="LN696">696</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;surface) {</td></tr>
+<tr class="codeline" data-linenumber="697"><td class="num" id="LN697">697</td><td class="line"> cairo_surface_destroy (priv-&gt;surface);</td></tr>
+<tr class="codeline" data-linenumber="698"><td class="num" id="LN698">698</td><td class="line"> priv-&gt;surface = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="699"><td class="num" id="LN699">699</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="700"><td class="num" id="LN700">700</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="701"><td class="num" id="LN701">701</td><td class="line"> pixbuf = create_preview_buffer (preview);</td></tr>
+<tr class="codeline" data-linenumber="702"><td class="num" id="LN702">702</td><td class="line"> <span class='keyword'>if</span> (pixbuf) {</td></tr>
+<tr class="codeline" data-linenumber="703"><td class="num" id="LN703">703</td><td class="line"> priv-&gt;surface =</td></tr>
+<tr class="codeline" data-linenumber="704"><td class="num" id="LN704">704</td><td class="line"> gdk_cairo_surface_create_from_pixbuf (pixbuf, 0,</td></tr>
+<tr class="codeline" data-linenumber="705"><td class="num" id="LN705">705</td><td class="line"> gtk_widget_get_window (<span class='macro'>GTK_WIDGET (preview)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((preview)), ((gtk_widget_get_type ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="706"><td class="num" id="LN706">706</td><td class="line"> g_object_unref (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="707"><td class="num" id="LN707">707</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="708"><td class="num" id="LN708">708</td><td class="line"> priv-&gt;flag_create_surface = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="709"><td class="num" id="LN709">709</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="710"><td class="num" id="LN710">710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="711"><td class="num" id="LN711">711</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="712"><td class="num" id="LN712">712</td><td class="line">create_surface_when_idle (EomPrintPreview *preview)</td></tr>
+<tr class="codeline" data-linenumber="713"><td class="num" id="LN713">713</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="714"><td class="num" id="LN714">714</td><td class="line"> create_surface (preview);</td></tr>
+<tr class="codeline" data-linenumber="715"><td class="num" id="LN715">715</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="716"><td class="num" id="LN716">716</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="717"><td class="num" id="LN717">717</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="718"><td class="num" id="LN718">718</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="719"><td class="num" id="LN719">719</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="720"><td class="num" id="LN720">720</td><td class="line">button_press_event_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="721"><td class="num" id="LN721">721</td><td class="line"> GdkEventButton *event,</td></tr>
+<tr class="codeline" data-linenumber="722"><td class="num" id="LN722">722</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="723"><td class="num" id="LN723">723</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="724"><td class="num" id="LN724">724</td><td class="line"> EomPrintPreview *preview = <span class='macro'>EOM_PRINT_PREVIEW (user_data)<span class='macro_popup'>((((EomPrintPreview*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_print_preview_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="725"><td class="num" id="LN725">725</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="726"><td class="num" id="LN726">726</td><td class="line"> preview-&gt;priv-&gt;cursorx = event-&gt;x;</td></tr>
+<tr class="codeline" data-linenumber="727"><td class="num" id="LN727">727</td><td class="line"> preview-&gt;priv-&gt;cursory = event-&gt;y;</td></tr>
+<tr class="codeline" data-linenumber="728"><td class="num" id="LN728">728</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="729"><td class="num" id="LN729">729</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;button) {</td></tr>
+<tr class="codeline" data-linenumber="730"><td class="num" id="LN730">730</td><td class="line"> <span class='keyword'>case</span> 1:</td></tr>
+<tr class="codeline" data-linenumber="731"><td class="num" id="LN731">731</td><td class="line"> preview-&gt;priv-&gt;grabbed = press_inside_image_area (preview, event-&gt;x, event-&gt;y);</td></tr>
+<tr class="codeline" data-linenumber="732"><td class="num" id="LN732">732</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="733"><td class="num" id="LN733">733</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="734"><td class="num" id="LN734">734</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="735"><td class="num" id="LN735">735</td><td class="line"> <span class='keyword'>if</span> (preview-&gt;priv-&gt;grabbed) {</td></tr>
+<tr class="codeline" data-linenumber="736"><td class="num" id="LN736">736</td><td class="line"> gtk_widget_queue_draw (<span class='macro'>GTK_WIDGET (preview)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((preview)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="737"><td class="num" id="LN737">737</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="738"><td class="num" id="LN738">738</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="739"><td class="num" id="LN739">739</td><td class="line"> gtk_widget_grab_focus (preview-&gt;priv-&gt;area);</td></tr>
+<tr class="codeline" data-linenumber="740"><td class="num" id="LN740">740</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="741"><td class="num" id="LN741">741</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="742"><td class="num" id="LN742">742</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="743"><td class="num" id="LN743">743</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="744"><td class="num" id="LN744">744</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="745"><td class="num" id="LN745">745</td><td class="line">button_release_event_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="746"><td class="num" id="LN746">746</td><td class="line"> GdkEventButton *event,</td></tr>
+<tr class="codeline" data-linenumber="747"><td class="num" id="LN747">747</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="748"><td class="num" id="LN748">748</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="749"><td class="num" id="LN749">749</td><td class="line"> EomPrintPreview *preview = <span class='macro'>EOM_PRINT_PREVIEW (user_data)<span class='macro_popup'>((((EomPrintPreview*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_print_preview_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="750"><td class="num" id="LN750">750</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="751"><td class="num" id="LN751">751</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;button) {</td></tr>
+<tr class="codeline" data-linenumber="752"><td class="num" id="LN752">752</td><td class="line"> <span class='keyword'>case</span> 1:</td></tr>
+<tr class="codeline" data-linenumber="753"><td class="num" id="LN753">753</td><td class="line"> preview-&gt;priv-&gt;grabbed = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="754"><td class="num" id="LN754">754</td><td class="line"> preview-&gt;priv-&gt;r_dx = 0;</td></tr>
+<tr class="codeline" data-linenumber="755"><td class="num" id="LN755">755</td><td class="line"> preview-&gt;priv-&gt;r_dy = 0;</td></tr>
+<tr class="codeline" data-linenumber="756"><td class="num" id="LN756">756</td><td class="line"> gtk_widget_queue_draw (<span class='macro'>GTK_WIDGET (preview)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((preview)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="757"><td class="num" id="LN757">757</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="758"><td class="num" id="LN758">758</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="759"><td class="num" id="LN759">759</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="760"><td class="num" id="LN760">760</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="761"><td class="num" id="LN761">761</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="762"><td class="num" id="LN762">762</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="763"><td class="num" id="LN763">763</td><td class="line">key_press_event_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="764"><td class="num" id="LN764">764</td><td class="line"> GdkEventKey *event,</td></tr>
+<tr class="codeline" data-linenumber="765"><td class="num" id="LN765">765</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="766"><td class="num" id="LN766">766</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="767"><td class="num" id="LN767">767</td><td class="line"> gfloat <span id="start3">delta</span>, align;</td></tr>
+<tr class="codeline" data-linenumber="768"><td class="num" id="LN768">768</td><td class="line"> gboolean stop_emission = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="769"><td class="num" id="LN769">769</td><td class="line"> <span id="start2"><span class="mrange"><span id="end3"><span class='keyword'>const</span></span></span> gchar *property</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path1" class="msg msgEvent" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">1</div></td><td>'property' declared without an initial value</td><td><div class="PathNav"><a href="#Path2" title="Next event (2)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="770"><td class="num" id="LN770">770</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="771"><td class="num" id="LN771">771</td><td class="line"> delta = 0;</td></tr>
+<tr class="codeline" data-linenumber="772"><td class="num" id="LN772">772</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="773"><td class="num" id="LN773">773</td><td class="line"> <span id="start1"><span id="end2"><span class='keyword'>switch</span></span></span> (event-&gt;keyval) {</td></tr>
+<tr class="codeline" data-linenumber="774"><td class="num" id="LN774">774</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Left<span class='macro_popup'>0xff51</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="775"><td class="num" id="LN775">775</td><td class="line"> property = <span class='string_literal'>"image-x-align"</span>;</td></tr>
+<tr class="codeline" data-linenumber="776"><td class="num" id="LN776">776</td><td class="line"> delta = -0.01;</td></tr>
+<tr class="codeline" data-linenumber="777"><td class="num" id="LN777">777</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="778"><td class="num" id="LN778">778</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Right<span class='macro_popup'>0xff53</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="779"><td class="num" id="LN779">779</td><td class="line"> property = <span class='string_literal'>"image-x-align"</span>;</td></tr>
+<tr class="codeline" data-linenumber="780"><td class="num" id="LN780">780</td><td class="line"> delta = 0.01;</td></tr>
+<tr class="codeline" data-linenumber="781"><td class="num" id="LN781">781</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="782"><td class="num" id="LN782">782</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Up<span class='macro_popup'>0xff52</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="783"><td class="num" id="LN783">783</td><td class="line"> property = <span class='string_literal'>"image-y-align"</span>;</td></tr>
+<tr class="codeline" data-linenumber="784"><td class="num" id="LN784">784</td><td class="line"> delta = -0.01;</td></tr>
+<tr class="codeline" data-linenumber="785"><td class="num" id="LN785">785</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="786"><td class="num" id="LN786">786</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Down<span class='macro_popup'>0xff54</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="787"><td class="num" id="LN787">787</td><td class="line"> property = <span class='string_literal'>"image-y-align"</span>;</td></tr>
+<tr class="codeline" data-linenumber="788"><td class="num" id="LN788">788</td><td class="line"> delta = 0.01;</td></tr>
+<tr class="codeline" data-linenumber="789"><td class="num" id="LN789">789</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="790"><td class="num" id="LN790">790</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="791"><td class="num" id="LN791">791</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="792"><td class="num" id="LN792">792</td><td class="line"> <span id="end1"><span class='keyword'>if</span></span> (<span id="start0"><span class="mrange">delta</span> != 0</span>) {</td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path2" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">2</div></td><td><div class="PathNav"><a href="#Path1" title="Previous event (1)">&#x2190;</a></div></td><td>'Default' branch taken. Execution continues on line 792</td><td><div class="PathNav"><a href="#Path3" title="Next event (3)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path3" class="msg msgEvent" style="margin-left:13ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">3</div></td><td><div class="PathNav"><a href="#Path2" title="Previous event (2)">&#x2190;</a></div></td><td>Assuming 'delta' is not equal to 0</td><td><div class="PathNav"><a href="#Path4" title="Next event (4)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr><td class="num"></td><td class="line"><div id="Path4" class="msg msgControl" style="margin-left:9ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexControl">4</div></td><td><div class="PathNav"><a href="#Path3" title="Previous event (3)">&#x2190;</a></div></td><td>Taking true branch</td><td><div class="PathNav"><a href="#EndPath" title="Next event (5)">&#x2192;</a></div></td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="793"><td class="num" id="LN793">793</td><td class="line"> <span id="end0">g_object_get</span> (<span class='macro'>G_OBJECT (user_data)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:17ex"><table class="msgT"><tr><td valign="top"><div class="PathIndex PathIndexEvent">5</div></td><td><div class="PathNav"><a href="#Path4" title="Previous event (4)">&#x2190;</a></div></td><td>2nd function call argument is an uninitialized value</td></tr></table></div></td></tr>
+<tr class="codeline" data-linenumber="794"><td class="num" id="LN794">794</td><td class="line"> <span class="mrange">property</span>, &amp;align,</td></tr>
+<tr class="codeline" data-linenumber="795"><td class="num" id="LN795">795</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="796"><td class="num" id="LN796">796</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="797"><td class="num" id="LN797">797</td><td class="line"> align += delta;</td></tr>
+<tr class="codeline" data-linenumber="798"><td class="num" id="LN798">798</td><td class="line"> align = <span class='macro'>CLAMP (align, 0, 1)<span class='macro_popup'>(((align) &gt; (1)) ? (1) : (((align) &lt; (0)) ? (0) : (align<br>)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="799"><td class="num" id="LN799">799</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (user_data)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="800"><td class="num" id="LN800">800</td><td class="line"> property, align,</td></tr>
+<tr class="codeline" data-linenumber="801"><td class="num" id="LN801">801</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="802"><td class="num" id="LN802">802</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="803"><td class="num" id="LN803">803</td><td class="line"> stop_emission = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="804"><td class="num" id="LN804">804</td><td class="line"> g_signal_emit (user_data, preview_signals[SIGNAL_IMAGE_MOVED], 0);</td></tr>
+<tr class="codeline" data-linenumber="805"><td class="num" id="LN805">805</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="806"><td class="num" id="LN806">806</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="807"><td class="num" id="LN807">807</td><td class="line"> <span class='keyword'>return</span> stop_emission;</td></tr>
+<tr class="codeline" data-linenumber="808"><td class="num" id="LN808">808</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="809"><td class="num" id="LN809">809</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="810"><td class="num" id="LN810">810</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="811"><td class="num" id="LN811">811</td><td class="line">motion_notify_event_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="812"><td class="num" id="LN812">812</td><td class="line"> GdkEventMotion *event,</td></tr>
+<tr class="codeline" data-linenumber="813"><td class="num" id="LN813">813</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="814"><td class="num" id="LN814">814</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="815"><td class="num" id="LN815">815</td><td class="line"> EomPrintPreviewPrivate *priv = <span class='macro'>EOM_PRINT_PREVIEW (user_data)<span class='macro_popup'>((((EomPrintPreview*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_print_preview_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="816"><td class="num" id="LN816">816</td><td class="line"> gdouble dx, dy;</td></tr>
+<tr class="codeline" data-linenumber="817"><td class="num" id="LN817">817</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="818"><td class="num" id="LN818">818</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="819"><td class="num" id="LN819">819</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;grabbed) {</td></tr>
+<tr class="codeline" data-linenumber="820"><td class="num" id="LN820">820</td><td class="line"> dx = event-&gt;x - priv-&gt;cursorx;</td></tr>
+<tr class="codeline" data-linenumber="821"><td class="num" id="LN821">821</td><td class="line"> dy = event-&gt;y - priv-&gt;cursory;</td></tr>
+<tr class="codeline" data-linenumber="822"><td class="num" id="LN822">822</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="823"><td class="num" id="LN823">823</td><td class="line"> gtk_widget_get_allocation (widget, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="824"><td class="num" id="LN824">824</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="825"><td class="num" id="LN825">825</td><td class="line"> <span class='comment'>/* Make sure the image stays inside the margins */</span></td></tr>
+<tr class="codeline" data-linenumber="826"><td class="num" id="LN826">826</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="827"><td class="num" id="LN827">827</td><td class="line"> priv-&gt;image_x_align += (dx + priv-&gt;r_dx)/(allocation.width - priv-&gt;r_width - priv-&gt;l_rmargin - priv-&gt;r_rmargin);</td></tr>
+<tr class="codeline" data-linenumber="828"><td class="num" id="LN828">828</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image_x_align &lt; 0. || priv-&gt;image_x_align &gt; 1.) {</td></tr>
+<tr class="codeline" data-linenumber="829"><td class="num" id="LN829">829</td><td class="line"> priv-&gt;image_x_align = <span class='macro'>CLAMP (priv-&gt;image_x_align, 0., 1.)<span class='macro_popup'>(((priv-&gt;image_x_align) &gt; (1.)) ? (1.) : (((priv-&gt;image_x_align<br>) &lt; (0.)) ? (0.) : (priv-&gt;image_x_align)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="830"><td class="num" id="LN830">830</td><td class="line"> priv-&gt;r_dx += dx;</td></tr>
+<tr class="codeline" data-linenumber="831"><td class="num" id="LN831">831</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="832"><td class="num" id="LN832">832</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="833"><td class="num" id="LN833">833</td><td class="line"> priv-&gt;r_dx = 0;</td></tr>
+<tr class="codeline" data-linenumber="834"><td class="num" id="LN834">834</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="835"><td class="num" id="LN835">835</td><td class="line"> priv-&gt;image_y_align += (dy + priv-&gt;r_dy)/(allocation.height - priv-&gt;r_height - priv-&gt;t_rmargin - priv-&gt;b_rmargin);</td></tr>
+<tr class="codeline" data-linenumber="836"><td class="num" id="LN836">836</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image_y_align &lt; 0. || priv-&gt;image_y_align &gt; 1.) {</td></tr>
+<tr class="codeline" data-linenumber="837"><td class="num" id="LN837">837</td><td class="line"> priv-&gt;image_y_align = <span class='macro'>CLAMP (priv-&gt;image_y_align, 0., 1.)<span class='macro_popup'>(((priv-&gt;image_y_align) &gt; (1.)) ? (1.) : (((priv-&gt;image_y_align<br>) &lt; (0.)) ? (0.) : (priv-&gt;image_y_align)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="838"><td class="num" id="LN838">838</td><td class="line"> priv-&gt;r_dy += dy;</td></tr>
+<tr class="codeline" data-linenumber="839"><td class="num" id="LN839">839</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="840"><td class="num" id="LN840">840</td><td class="line"> priv-&gt;r_dy = 0;</td></tr>
+<tr class="codeline" data-linenumber="841"><td class="num" id="LN841">841</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="842"><td class="num" id="LN842">842</td><td class="line"> <span class='comment'>/* we do this to correctly change the property values */</span></td></tr>
+<tr class="codeline" data-linenumber="843"><td class="num" id="LN843">843</td><td class="line"> g_object_set (<span class='macro'>EOM_PRINT_PREVIEW (user_data)<span class='macro_popup'>((((EomPrintPreview*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_print_preview_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="844"><td class="num" id="LN844">844</td><td class="line"> <span class='string_literal'>"image-x-align"</span>, priv-&gt;image_x_align,</td></tr>
+<tr class="codeline" data-linenumber="845"><td class="num" id="LN845">845</td><td class="line"> <span class='string_literal'>"image-y-align"</span>, priv-&gt;image_y_align,</td></tr>
+<tr class="codeline" data-linenumber="846"><td class="num" id="LN846">846</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="847"><td class="num" id="LN847">847</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="848"><td class="num" id="LN848">848</td><td class="line"> priv-&gt;cursorx = event-&gt;x;</td></tr>
+<tr class="codeline" data-linenumber="849"><td class="num" id="LN849">849</td><td class="line"> priv-&gt;cursory = event-&gt;y;</td></tr>
+<tr class="codeline" data-linenumber="850"><td class="num" id="LN850">850</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="851"><td class="num" id="LN851">851</td><td class="line"> g_signal_emit (user_data, preview_signals[SIGNAL_IMAGE_MOVED], 0);</td></tr>
+<tr class="codeline" data-linenumber="852"><td class="num" id="LN852">852</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="853"><td class="num" id="LN853">853</td><td class="line"> <span class='keyword'>if</span> (press_inside_image_area (<span class='macro'>EOM_PRINT_PREVIEW (user_data)<span class='macro_popup'>((((EomPrintPreview*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_print_preview_get_type ()))))))</span></span>, event-&gt;x, event-&gt;y)) {</td></tr>
+<tr class="codeline" data-linenumber="854"><td class="num" id="LN854">854</td><td class="line"> GdkCursor *cursor;</td></tr>
+<tr class="codeline" data-linenumber="855"><td class="num" id="LN855">855</td><td class="line"> cursor = gdk_cursor_new_for_display (gtk_widget_get_display (widget),</td></tr>
+<tr class="codeline" data-linenumber="856"><td class="num" id="LN856">856</td><td class="line"> GDK_FLEUR);</td></tr>
+<tr class="codeline" data-linenumber="857"><td class="num" id="LN857">857</td><td class="line"> gdk_window_set_cursor (gtk_widget_get_window (widget),</td></tr>
+<tr class="codeline" data-linenumber="858"><td class="num" id="LN858">858</td><td class="line"> cursor);</td></tr>
+<tr class="codeline" data-linenumber="859"><td class="num" id="LN859">859</td><td class="line"> g_object_unref (cursor);</td></tr>
+<tr class="codeline" data-linenumber="860"><td class="num" id="LN860">860</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="861"><td class="num" id="LN861">861</td><td class="line"> gdk_window_set_cursor (gtk_widget_get_window (widget),</td></tr>
+<tr class="codeline" data-linenumber="862"><td class="num" id="LN862">862</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="863"><td class="num" id="LN863">863</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="864"><td class="num" id="LN864">864</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="865"><td class="num" id="LN865">865</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="866"><td class="num" id="LN866">866</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="867"><td class="num" id="LN867">867</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="868"><td class="num" id="LN868">868</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="869"><td class="num" id="LN869">869</td><td class="line">size_allocate_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="870"><td class="num" id="LN870">870</td><td class="line"> GtkAllocation *allocation,</td></tr>
+<tr class="codeline" data-linenumber="871"><td class="num" id="LN871">871</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="872"><td class="num" id="LN872">872</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="873"><td class="num" id="LN873">873</td><td class="line"> EomPrintPreview *preview;</td></tr>
+<tr class="codeline" data-linenumber="874"><td class="num" id="LN874">874</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="875"><td class="num" id="LN875">875</td><td class="line"> preview = <span class='macro'>EOM_PRINT_PREVIEW (user_data)<span class='macro_popup'>((((EomPrintPreview*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_print_preview_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="876"><td class="num" id="LN876">876</td><td class="line"> update_relative_sizes (preview);</td></tr>
+<tr class="codeline" data-linenumber="877"><td class="num" id="LN877">877</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="878"><td class="num" id="LN878">878</td><td class="line"> preview-&gt;priv-&gt;flag_create_surface = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="879"><td class="num" id="LN879">879</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="880"><td class="num" id="LN880">880</td><td class="line"> <span class='keyword'>if</span> (preview-&gt;priv-&gt;image_scaled) {</td></tr>
+<tr class="codeline" data-linenumber="881"><td class="num" id="LN881">881</td><td class="line"> g_object_unref (preview-&gt;priv-&gt;image_scaled);</td></tr>
+<tr class="codeline" data-linenumber="882"><td class="num" id="LN882">882</td><td class="line"> preview-&gt;priv-&gt;image_scaled = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="883"><td class="num" id="LN883">883</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="884"><td class="num" id="LN884">884</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="885"><td class="num" id="LN885">885</td><td class="line"> g_idle_add ((GSourceFunc) create_surface_when_idle, preview);</td></tr>
+<tr class="codeline" data-linenumber="886"><td class="num" id="LN886">886</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="887"><td class="num" id="LN887">887</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="888"><td class="num" id="LN888">888</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="889"><td class="num" id="LN889">889</td><td class="line">eom_print_preview_draw (EomPrintPreview *preview, cairo_t *cr)</td></tr>
+<tr class="codeline" data-linenumber="890"><td class="num" id="LN890">890</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="891"><td class="num" id="LN891">891</td><td class="line"> EomPrintPreviewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="892"><td class="num" id="LN892">892</td><td class="line"> GtkWidget *area;</td></tr>
+<tr class="codeline" data-linenumber="893"><td class="num" id="LN893">893</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="894"><td class="num" id="LN894">894</td><td class="line"> gint x0, y0;</td></tr>
+<tr class="codeline" data-linenumber="895"><td class="num" id="LN895">895</td><td class="line"> gboolean has_focus;</td></tr>
+<tr class="codeline" data-linenumber="896"><td class="num" id="LN896">896</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="897"><td class="num" id="LN897">897</td><td class="line"> priv = preview-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="898"><td class="num" id="LN898">898</td><td class="line"> area = priv-&gt;area;</td></tr>
+<tr class="codeline" data-linenumber="899"><td class="num" id="LN899">899</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="900"><td class="num" id="LN900">900</td><td class="line"> has_focus = gtk_widget_has_focus (area);</td></tr>
+<tr class="codeline" data-linenumber="901"><td class="num" id="LN901">901</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="902"><td class="num" id="LN902">902</td><td class="line"> gtk_widget_get_allocation (area, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="903"><td class="num" id="LN903">903</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="904"><td class="num" id="LN904">904</td><td class="line"> <span class='comment'>/* draw the page */</span></td></tr>
+<tr class="codeline" data-linenumber="905"><td class="num" id="LN905">905</td><td class="line"> cairo_set_source_rgb (cr, 1., 1., 1.);</td></tr>
+<tr class="codeline" data-linenumber="906"><td class="num" id="LN906">906</td><td class="line"> cairo_rectangle (cr, 0, 0, allocation.width, allocation.height);</td></tr>
+<tr class="codeline" data-linenumber="907"><td class="num" id="LN907">907</td><td class="line"> cairo_fill (cr);</td></tr>
+<tr class="codeline" data-linenumber="908"><td class="num" id="LN908">908</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="909"><td class="num" id="LN909">909</td><td class="line"> <span class='comment'>/* draw the page margins */</span></td></tr>
+<tr class="codeline" data-linenumber="910"><td class="num" id="LN910">910</td><td class="line"> cairo_set_source_rgb (cr, 0., 0., 0.);</td></tr>
+<tr class="codeline" data-linenumber="911"><td class="num" id="LN911">911</td><td class="line"> cairo_set_line_width (cr, 0.1);</td></tr>
+<tr class="codeline" data-linenumber="912"><td class="num" id="LN912">912</td><td class="line"> cairo_rectangle (cr,</td></tr>
+<tr class="codeline" data-linenumber="913"><td class="num" id="LN913">913</td><td class="line"> priv-&gt;l_rmargin, priv-&gt;t_rmargin,</td></tr>
+<tr class="codeline" data-linenumber="914"><td class="num" id="LN914">914</td><td class="line"> allocation.width - priv-&gt;l_rmargin - priv-&gt;r_rmargin,</td></tr>
+<tr class="codeline" data-linenumber="915"><td class="num" id="LN915">915</td><td class="line"> allocation.height - priv-&gt;t_rmargin - priv-&gt;b_rmargin);</td></tr>
+<tr class="codeline" data-linenumber="916"><td class="num" id="LN916">916</td><td class="line"> cairo_stroke (cr);</td></tr>
+<tr class="codeline" data-linenumber="917"><td class="num" id="LN917">917</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="918"><td class="num" id="LN918">918</td><td class="line"> get_current_image_coordinates (preview, &amp;x0, &amp;y0);</td></tr>
+<tr class="codeline" data-linenumber="919"><td class="num" id="LN919">919</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="920"><td class="num" id="LN920">920</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;flag_create_surface) {</td></tr>
+<tr class="codeline" data-linenumber="921"><td class="num" id="LN921">921</td><td class="line"> create_surface (preview);</td></tr>
+<tr class="codeline" data-linenumber="922"><td class="num" id="LN922">922</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="923"><td class="num" id="LN923">923</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="924"><td class="num" id="LN924">924</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;surface) {</td></tr>
+<tr class="codeline" data-linenumber="925"><td class="num" id="LN925">925</td><td class="line"> cairo_set_source_surface (cr, priv-&gt;surface, x0, y0);</td></tr>
+<tr class="codeline" data-linenumber="926"><td class="num" id="LN926">926</td><td class="line"> cairo_paint (cr);</td></tr>
+<tr class="codeline" data-linenumber="927"><td class="num" id="LN927">927</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (priv-&gt;image_scaled) {</td></tr>
+<tr class="codeline" data-linenumber="928"><td class="num" id="LN928">928</td><td class="line"> <span class='comment'>/* just in the remote case we don't have the surface */</span></td></tr>
+<tr class="codeline" data-linenumber="929"><td class="num" id="LN929">929</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="930"><td class="num" id="LN930">930</td><td class="line"> <span class='comment'>/* adjust (x0, y0) to the new scale */</span></td></tr>
+<tr class="codeline" data-linenumber="931"><td class="num" id="LN931">931</td><td class="line"> gdouble scale = priv-&gt;i_scale * priv-&gt;p_scale *</td></tr>
+<tr class="codeline" data-linenumber="932"><td class="num" id="LN932">932</td><td class="line"> gdk_pixbuf_get_width (priv-&gt;image) / gdk_pixbuf_get_width (priv-&gt;image_scaled);</td></tr>
+<tr class="codeline" data-linenumber="933"><td class="num" id="LN933">933</td><td class="line"> x0 /= scale;</td></tr>
+<tr class="codeline" data-linenumber="934"><td class="num" id="LN934">934</td><td class="line"> y0 /= scale;</td></tr>
+<tr class="codeline" data-linenumber="935"><td class="num" id="LN935">935</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="936"><td class="num" id="LN936">936</td><td class="line"> cairo_scale (cr, scale, scale);</td></tr>
+<tr class="codeline" data-linenumber="937"><td class="num" id="LN937">937</td><td class="line"> gdk_cairo_set_source_pixbuf (cr, priv-&gt;image_scaled, x0, y0);</td></tr>
+<tr class="codeline" data-linenumber="938"><td class="num" id="LN938">938</td><td class="line"> cairo_paint (cr);</td></tr>
+<tr class="codeline" data-linenumber="939"><td class="num" id="LN939">939</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (priv-&gt;image) {</td></tr>
+<tr class="codeline" data-linenumber="940"><td class="num" id="LN940">940</td><td class="line"> <span class='comment'>/* just in the remote case we don't have the surface */</span></td></tr>
+<tr class="codeline" data-linenumber="941"><td class="num" id="LN941">941</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="942"><td class="num" id="LN942">942</td><td class="line"> <span class='comment'>/* adjust (x0, y0) to the new scale */</span></td></tr>
+<tr class="codeline" data-linenumber="943"><td class="num" id="LN943">943</td><td class="line"> x0 /= priv-&gt;i_scale * priv-&gt;p_scale;</td></tr>
+<tr class="codeline" data-linenumber="944"><td class="num" id="LN944">944</td><td class="line"> y0 /= priv-&gt;i_scale * priv-&gt;p_scale;</td></tr>
+<tr class="codeline" data-linenumber="945"><td class="num" id="LN945">945</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="946"><td class="num" id="LN946">946</td><td class="line"> cairo_scale (cr, priv-&gt;i_scale*priv-&gt;p_scale, priv-&gt;i_scale*priv-&gt;p_scale);</td></tr>
+<tr class="codeline" data-linenumber="947"><td class="num" id="LN947">947</td><td class="line"> gdk_cairo_set_source_pixbuf (cr, priv-&gt;image, x0, y0);</td></tr>
+<tr class="codeline" data-linenumber="948"><td class="num" id="LN948">948</td><td class="line"> cairo_paint (cr);</td></tr>
+<tr class="codeline" data-linenumber="949"><td class="num" id="LN949">949</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="950"><td class="num" id="LN950">950</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="951"><td class="num" id="LN951">951</td><td class="line"> <span class='keyword'>if</span> (has_focus) {</td></tr>
+<tr class="codeline" data-linenumber="952"><td class="num" id="LN952">952</td><td class="line"> GtkStyleContext *ctx;</td></tr>
+<tr class="codeline" data-linenumber="953"><td class="num" id="LN953">953</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="954"><td class="num" id="LN954">954</td><td class="line"> ctx = gtk_widget_get_style_context (area);</td></tr>
+<tr class="codeline" data-linenumber="955"><td class="num" id="LN955">955</td><td class="line"> gtk_render_focus (ctx, cr, 0, 0,</td></tr>
+<tr class="codeline" data-linenumber="956"><td class="num" id="LN956">956</td><td class="line"> allocation.width, allocation.height);</td></tr>
+<tr class="codeline" data-linenumber="957"><td class="num" id="LN957">957</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="958"><td class="num" id="LN958">958</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="959"><td class="num" id="LN959">959</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="960"><td class="num" id="LN960">960</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="961"><td class="num" id="LN961">961</td><td class="line">update_relative_sizes (EomPrintPreview *preview)</td></tr>
+<tr class="codeline" data-linenumber="962"><td class="num" id="LN962">962</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="963"><td class="num" id="LN963">963</td><td class="line"> EomPrintPreviewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="964"><td class="num" id="LN964">964</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="965"><td class="num" id="LN965">965</td><td class="line"> gint i_width, i_height;</td></tr>
+<tr class="codeline" data-linenumber="966"><td class="num" id="LN966">966</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="967"><td class="num" id="LN967">967</td><td class="line"> priv = preview-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="968"><td class="num" id="LN968">968</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="969"><td class="num" id="LN969">969</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="970"><td class="num" id="LN970">970</td><td class="line"> i_width = gdk_pixbuf_get_width (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="971"><td class="num" id="LN971">971</td><td class="line"> i_height = gdk_pixbuf_get_height (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="972"><td class="num" id="LN972">972</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="973"><td class="num" id="LN973">973</td><td class="line"> i_width = i_height = 0;</td></tr>
+<tr class="codeline" data-linenumber="974"><td class="num" id="LN974">974</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="975"><td class="num" id="LN975">975</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="976"><td class="num" id="LN976">976</td><td class="line"> gtk_widget_get_allocation (priv-&gt;area, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="977"><td class="num" id="LN977">977</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="978"><td class="num" id="LN978">978</td><td class="line"> priv-&gt;p_scale = (gfloat) allocation.width / (priv-&gt;p_width * 72.0);</td></tr>
+<tr class="codeline" data-linenumber="979"><td class="num" id="LN979">979</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="980"><td class="num" id="LN980">980</td><td class="line"> priv-&gt;r_width = (gint) i_width * priv-&gt;i_scale * priv-&gt;p_scale;</td></tr>
+<tr class="codeline" data-linenumber="981"><td class="num" id="LN981">981</td><td class="line"> priv-&gt;r_height = (gint) i_height * priv-&gt;i_scale * priv-&gt;p_scale;</td></tr>
+<tr class="codeline" data-linenumber="982"><td class="num" id="LN982">982</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="983"><td class="num" id="LN983">983</td><td class="line"> priv-&gt;l_rmargin = (gint) (72. * priv-&gt;l_margin * priv-&gt;p_scale);</td></tr>
+<tr class="codeline" data-linenumber="984"><td class="num" id="LN984">984</td><td class="line"> priv-&gt;r_rmargin = (gint) (72. * priv-&gt;r_margin * priv-&gt;p_scale);</td></tr>
+<tr class="codeline" data-linenumber="985"><td class="num" id="LN985">985</td><td class="line"> priv-&gt;t_rmargin = (gint) (72. * priv-&gt;t_margin * priv-&gt;p_scale);</td></tr>
+<tr class="codeline" data-linenumber="986"><td class="num" id="LN986">986</td><td class="line"> priv-&gt;b_rmargin = (gint) (72. * priv-&gt;b_margin * priv-&gt;p_scale);</td></tr>
+<tr class="codeline" data-linenumber="987"><td class="num" id="LN987">987</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="988"><td class="num" id="LN988">988</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="989"><td class="num" id="LN989">989</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="990"><td class="num" id="LN990">990</td><td class="line"> <span class='comment'>* eom_print_preview_set_page_margins:</span></td></tr>
+<tr class="codeline" data-linenumber="991"><td class="num" id="LN991">991</td><td class="line"> <span class='comment'>* @preview: a #EomPrintPreview</span></td></tr>
+<tr class="codeline" data-linenumber="992"><td class="num" id="LN992">992</td><td class="line"> <span class='comment'>* @l_margin: Left margin.</span></td></tr>
+<tr class="codeline" data-linenumber="993"><td class="num" id="LN993">993</td><td class="line"> <span class='comment'>* @r_margin: Right margin.</span></td></tr>
+<tr class="codeline" data-linenumber="994"><td class="num" id="LN994">994</td><td class="line"> <span class='comment'>* @t_margin: Top margin.</span></td></tr>
+<tr class="codeline" data-linenumber="995"><td class="num" id="LN995">995</td><td class="line"> <span class='comment'>* @b_margin: Bottom margin.</span></td></tr>
+<tr class="codeline" data-linenumber="996"><td class="num" id="LN996">996</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="997"><td class="num" id="LN997">997</td><td class="line"> <span class='comment'>* Manually set the margins, in inches.</span></td></tr>
+<tr class="codeline" data-linenumber="998"><td class="num" id="LN998">998</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="999"><td class="num" id="LN999">999</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1000"><td class="num" id="LN1000">1000</td><td class="line">eom_print_preview_set_page_margins (EomPrintPreview *preview,</td></tr>
+<tr class="codeline" data-linenumber="1001"><td class="num" id="LN1001">1001</td><td class="line"> gfloat l_margin,</td></tr>
+<tr class="codeline" data-linenumber="1002"><td class="num" id="LN1002">1002</td><td class="line"> gfloat r_margin,</td></tr>
+<tr class="codeline" data-linenumber="1003"><td class="num" id="LN1003">1003</td><td class="line"> gfloat t_margin,</td></tr>
+<tr class="codeline" data-linenumber="1004"><td class="num" id="LN1004">1004</td><td class="line"> gfloat b_margin)</td></tr>
+<tr class="codeline" data-linenumber="1005"><td class="num" id="LN1005">1005</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1006"><td class="num" id="LN1006">1006</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_PRINT_PREVIEW (preview))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((preview)); GType __t = ((eom_print_preview_get_type ()))<br>; gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning ("EOM", ((const char<br>*) (__func__)), "EOM_IS_PRINT_PREVIEW (preview)"); return; } }<br> while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1007"><td class="num" id="LN1007">1007</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1008"><td class="num" id="LN1008">1008</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT(preview)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((preview)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1009"><td class="num" id="LN1009">1009</td><td class="line"> <span class='string_literal'>"page-left-margin"</span>, l_margin,</td></tr>
+<tr class="codeline" data-linenumber="1010"><td class="num" id="LN1010">1010</td><td class="line"> <span class='string_literal'>"page-right-margin"</span>, r_margin,</td></tr>
+<tr class="codeline" data-linenumber="1011"><td class="num" id="LN1011">1011</td><td class="line"> <span class='string_literal'>"page-top-margin"</span>, t_margin,</td></tr>
+<tr class="codeline" data-linenumber="1012"><td class="num" id="LN1012">1012</td><td class="line"> <span class='string_literal'>"page-bottom-margin"</span>, r_margin,</td></tr>
+<tr class="codeline" data-linenumber="1013"><td class="num" id="LN1013">1013</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1014"><td class="num" id="LN1014">1014</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1015"><td class="num" id="LN1015">1015</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1016"><td class="num" id="LN1016">1016</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="1017"><td class="num" id="LN1017">1017</td><td class="line"> <span class='comment'>* eom_print_preview_set_from_page_setup:</span></td></tr>
+<tr class="codeline" data-linenumber="1018"><td class="num" id="LN1018">1018</td><td class="line"> <span class='comment'>* @preview: a #EomPrintPreview</span></td></tr>
+<tr class="codeline" data-linenumber="1019"><td class="num" id="LN1019">1019</td><td class="line"> <span class='comment'>* @setup: a #GtkPageSetup to set the properties from</span></td></tr>
+<tr class="codeline" data-linenumber="1020"><td class="num" id="LN1020">1020</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1021"><td class="num" id="LN1021">1021</td><td class="line"> <span class='comment'>* Sets up the page properties from a #GtkPageSetup. Useful when using the</span></td></tr>
+<tr class="codeline" data-linenumber="1022"><td class="num" id="LN1022">1022</td><td class="line"> <span class='comment'>* widget with the GtkPrint API.</span></td></tr>
+<tr class="codeline" data-linenumber="1023"><td class="num" id="LN1023">1023</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="1024"><td class="num" id="LN1024">1024</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1025"><td class="num" id="LN1025">1025</td><td class="line">eom_print_preview_set_from_page_setup (EomPrintPreview *preview,</td></tr>
+<tr class="codeline" data-linenumber="1026"><td class="num" id="LN1026">1026</td><td class="line"> GtkPageSetup *setup)</td></tr>
+<tr class="codeline" data-linenumber="1027"><td class="num" id="LN1027">1027</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1028"><td class="num" id="LN1028">1028</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_PRINT_PREVIEW (preview))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((preview)); GType __t = ((eom_print_preview_get_type ()))<br>; gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning ("EOM", ((const char<br>*) (__func__)), "EOM_IS_PRINT_PREVIEW (preview)"); return; } }<br> while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1029"><td class="num" id="LN1029">1029</td><td class="line"> <span class='macro'>g_return_if_fail (GTK_IS_PAGE_SETUP (setup))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((setup)); GType __t = ((gtk_page_setup_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "GTK_IS_PAGE_SETUP (setup)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1030"><td class="num" id="LN1030">1030</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1031"><td class="num" id="LN1031">1031</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (preview)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((preview)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1032"><td class="num" id="LN1032">1032</td><td class="line"> <span class='string_literal'>"page-left-margin"</span>, gtk_page_setup_get_left_margin (setup, GTK_UNIT_INCH),</td></tr>
+<tr class="codeline" data-linenumber="1033"><td class="num" id="LN1033">1033</td><td class="line"> <span class='string_literal'>"page-right-margin"</span>, gtk_page_setup_get_right_margin (setup, GTK_UNIT_INCH),</td></tr>
+<tr class="codeline" data-linenumber="1034"><td class="num" id="LN1034">1034</td><td class="line"> <span class='string_literal'>"page-top-margin"</span>, gtk_page_setup_get_top_margin (setup, GTK_UNIT_INCH),</td></tr>
+<tr class="codeline" data-linenumber="1035"><td class="num" id="LN1035">1035</td><td class="line"> <span class='string_literal'>"page-bottom-margin"</span>, gtk_page_setup_get_bottom_margin (setup, GTK_UNIT_INCH),</td></tr>
+<tr class="codeline" data-linenumber="1036"><td class="num" id="LN1036">1036</td><td class="line"> <span class='string_literal'>"paper-width"</span>, gtk_page_setup_get_paper_width (setup, GTK_UNIT_INCH),</td></tr>
+<tr class="codeline" data-linenumber="1037"><td class="num" id="LN1037">1037</td><td class="line"> <span class='string_literal'>"paper-height"</span>, gtk_page_setup_get_paper_height (setup, GTK_UNIT_INCH),</td></tr>
+<tr class="codeline" data-linenumber="1038"><td class="num" id="LN1038">1038</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1039"><td class="num" id="LN1039">1039</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1040"><td class="num" id="LN1040">1040</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1041"><td class="num" id="LN1041">1041</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1042"><td class="num" id="LN1042">1042</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="1043"><td class="num" id="LN1043">1043</td><td class="line"> <span class='comment'>* eom_print_preview_get_image_position:</span></td></tr>
+<tr class="codeline" data-linenumber="1044"><td class="num" id="LN1044">1044</td><td class="line"> <span class='comment'>* @preview: a #EomPrintPreview</span></td></tr>
+<tr class="codeline" data-linenumber="1045"><td class="num" id="LN1045">1045</td><td class="line"> <span class='comment'>* @x: a pointer to a #gdouble, or %NULL to ignore it</span></td></tr>
+<tr class="codeline" data-linenumber="1046"><td class="num" id="LN1046">1046</td><td class="line"> <span class='comment'>* @y: a pointer to a #gdouble, or %NULL to ignore it</span></td></tr>
+<tr class="codeline" data-linenumber="1047"><td class="num" id="LN1047">1047</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1048"><td class="num" id="LN1048">1048</td><td class="line"> <span class='comment'>* Gets current image position in inches, relative to the margins. A</span></td></tr>
+<tr class="codeline" data-linenumber="1049"><td class="num" id="LN1049">1049</td><td class="line"> <span class='comment'>* (0, 0) position is the intersection between the left and top margins.</span></td></tr>
+<tr class="codeline" data-linenumber="1050"><td class="num" id="LN1050">1050</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="1051"><td class="num" id="LN1051">1051</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1052"><td class="num" id="LN1052">1052</td><td class="line">eom_print_preview_get_image_position (EomPrintPreview *preview,</td></tr>
+<tr class="codeline" data-linenumber="1053"><td class="num" id="LN1053">1053</td><td class="line"> gdouble *x,</td></tr>
+<tr class="codeline" data-linenumber="1054"><td class="num" id="LN1054">1054</td><td class="line"> gdouble *y)</td></tr>
+<tr class="codeline" data-linenumber="1055"><td class="num" id="LN1055">1055</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1056"><td class="num" id="LN1056">1056</td><td class="line"> EomPrintPreviewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1057"><td class="num" id="LN1057">1057</td><td class="line"> gdouble width, height;</td></tr>
+<tr class="codeline" data-linenumber="1058"><td class="num" id="LN1058">1058</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1059"><td class="num" id="LN1059">1059</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_PRINT_PREVIEW (preview))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((preview)); GType __t = ((eom_print_preview_get_type ()))<br>; gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning ("EOM", ((const char<br>*) (__func__)), "EOM_IS_PRINT_PREVIEW (preview)"); return; } }<br> while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1060"><td class="num" id="LN1060">1060</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1061"><td class="num" id="LN1061">1061</td><td class="line"> priv = preview-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1062"><td class="num" id="LN1062">1062</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1063"><td class="num" id="LN1063">1063</td><td class="line"> <span class='keyword'>if</span> (x != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1064"><td class="num" id="LN1064">1064</td><td class="line"> width = gdk_pixbuf_get_width (priv-&gt;image) * priv-&gt;i_scale / 72.;</td></tr>
+<tr class="codeline" data-linenumber="1065"><td class="num" id="LN1065">1065</td><td class="line"> *x = priv-&gt;image_x_align * (priv-&gt;p_width - priv-&gt;l_margin - priv-&gt;r_margin - width);</td></tr>
+<tr class="codeline" data-linenumber="1066"><td class="num" id="LN1066">1066</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1067"><td class="num" id="LN1067">1067</td><td class="line"> <span class='keyword'>if</span> (y != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1068"><td class="num" id="LN1068">1068</td><td class="line"> height = gdk_pixbuf_get_height (priv-&gt;image) * priv-&gt;i_scale / 72.;</td></tr>
+<tr class="codeline" data-linenumber="1069"><td class="num" id="LN1069">1069</td><td class="line"> *y = priv-&gt;image_y_align * (priv-&gt;p_height - priv-&gt;t_margin - priv-&gt;b_margin - height);</td></tr>
+<tr class="codeline" data-linenumber="1070"><td class="num" id="LN1070">1070</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1071"><td class="num" id="LN1071">1071</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1072"><td class="num" id="LN1072">1072</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1073"><td class="num" id="LN1073">1073</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="1074"><td class="num" id="LN1074">1074</td><td class="line"> <span class='comment'>* eom_print_preview_set_image_position:</span></td></tr>
+<tr class="codeline" data-linenumber="1075"><td class="num" id="LN1075">1075</td><td class="line"> <span class='comment'>* @preview: a #EomPrintPreview</span></td></tr>
+<tr class="codeline" data-linenumber="1076"><td class="num" id="LN1076">1076</td><td class="line"> <span class='comment'>* @x: The X coordinate, in inches, or -1 to ignore it.</span></td></tr>
+<tr class="codeline" data-linenumber="1077"><td class="num" id="LN1077">1077</td><td class="line"> <span class='comment'>* @y: The Y coordinate, in inches, or -1 to ignore it.</span></td></tr>
+<tr class="codeline" data-linenumber="1078"><td class="num" id="LN1078">1078</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1079"><td class="num" id="LN1079">1079</td><td class="line"> <span class='comment'>* Sets the image position. You can pass -1 to one of the coordinates if you</span></td></tr>
+<tr class="codeline" data-linenumber="1080"><td class="num" id="LN1080">1080</td><td class="line"> <span class='comment'>* only want to set the other.</span></td></tr>
+<tr class="codeline" data-linenumber="1081"><td class="num" id="LN1081">1081</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="1082"><td class="num" id="LN1082">1082</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1083"><td class="num" id="LN1083">1083</td><td class="line">eom_print_preview_set_image_position (EomPrintPreview *preview,</td></tr>
+<tr class="codeline" data-linenumber="1084"><td class="num" id="LN1084">1084</td><td class="line"> gdouble x,</td></tr>
+<tr class="codeline" data-linenumber="1085"><td class="num" id="LN1085">1085</td><td class="line"> gdouble y)</td></tr>
+<tr class="codeline" data-linenumber="1086"><td class="num" id="LN1086">1086</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1087"><td class="num" id="LN1087">1087</td><td class="line"> EomPrintPreviewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1088"><td class="num" id="LN1088">1088</td><td class="line"> gfloat x_align, y_align;</td></tr>
+<tr class="codeline" data-linenumber="1089"><td class="num" id="LN1089">1089</td><td class="line"> gdouble width, height;</td></tr>
+<tr class="codeline" data-linenumber="1090"><td class="num" id="LN1090">1090</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1091"><td class="num" id="LN1091">1091</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_PRINT_PREVIEW (preview))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((preview)); GType __t = ((eom_print_preview_get_type ()))<br>; gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning ("EOM", ((const char<br>*) (__func__)), "EOM_IS_PRINT_PREVIEW (preview)"); return; } }<br> while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1092"><td class="num" id="LN1092">1092</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1093"><td class="num" id="LN1093">1093</td><td class="line"> priv = preview-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1094"><td class="num" id="LN1094">1094</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1095"><td class="num" id="LN1095">1095</td><td class="line"> <span class='keyword'>if</span> (x != -1) {</td></tr>
+<tr class="codeline" data-linenumber="1096"><td class="num" id="LN1096">1096</td><td class="line"> width = gdk_pixbuf_get_width (priv-&gt;image) * priv-&gt;i_scale / 72.;</td></tr>
+<tr class="codeline" data-linenumber="1097"><td class="num" id="LN1097">1097</td><td class="line"> x_align = <span class='macro'>CLAMP (x/(priv-&gt;p_width - priv-&gt;l_margin - priv-&gt;r_margin - width), 0, 1)<span class='macro_popup'>(((x/(priv-&gt;p_width - priv-&gt;l_margin - priv-&gt;r_margin<br> - width)) &gt; (1)) ? (1) : (((x/(priv-&gt;p_width - priv-&gt;<br>l_margin - priv-&gt;r_margin - width)) &lt; (0)) ? (0) : (x/(<br>priv-&gt;p_width - priv-&gt;l_margin - priv-&gt;r_margin - width<br>))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1098"><td class="num" id="LN1098">1098</td><td class="line"> g_object_set (preview, <span class='string_literal'>"image-x-align"</span>, x_align, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1099"><td class="num" id="LN1099">1099</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1100"><td class="num" id="LN1100">1100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1101"><td class="num" id="LN1101">1101</td><td class="line"> <span class='keyword'>if</span> (y != -1) {</td></tr>
+<tr class="codeline" data-linenumber="1102"><td class="num" id="LN1102">1102</td><td class="line"> height = gdk_pixbuf_get_height (priv-&gt;image) * priv-&gt;i_scale / 72.;</td></tr>
+<tr class="codeline" data-linenumber="1103"><td class="num" id="LN1103">1103</td><td class="line"> y_align = <span class='macro'>CLAMP (y/(priv-&gt;p_height - priv-&gt;t_margin - priv-&gt;b_margin - height), 0, 1)<span class='macro_popup'>(((y/(priv-&gt;p_height - priv-&gt;t_margin - priv-&gt;b_margin<br> - height)) &gt; (1)) ? (1) : (((y/(priv-&gt;p_height - priv-&gt;<br>t_margin - priv-&gt;b_margin - height)) &lt; (0)) ? (0) : (y/<br>(priv-&gt;p_height - priv-&gt;t_margin - priv-&gt;b_margin - height<br>))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1104"><td class="num" id="LN1104">1104</td><td class="line"> g_object_set (preview, <span class='string_literal'>"image-y-align"</span>, y_align, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1105"><td class="num" id="LN1105">1105</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1106"><td class="num" id="LN1106">1106</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1107"><td class="num" id="LN1107">1107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1108"><td class="num" id="LN1108">1108</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="1109"><td class="num" id="LN1109">1109</td><td class="line"> <span class='comment'>* eom_print_preview_set_scale:</span></td></tr>
+<tr class="codeline" data-linenumber="1110"><td class="num" id="LN1110">1110</td><td class="line"> <span class='comment'>* @preview: a #EomPrintPreview</span></td></tr>
+<tr class="codeline" data-linenumber="1111"><td class="num" id="LN1111">1111</td><td class="line"> <span class='comment'>* @scale: a scale value, between 0 and 1.</span></td></tr>
+<tr class="codeline" data-linenumber="1112"><td class="num" id="LN1112">1112</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1113"><td class="num" id="LN1113">1113</td><td class="line"> <span class='comment'>* Sets the scale for the image.</span></td></tr>
+<tr class="codeline" data-linenumber="1114"><td class="num" id="LN1114">1114</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="1115"><td class="num" id="LN1115">1115</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1116"><td class="num" id="LN1116">1116</td><td class="line">eom_print_preview_set_scale (EomPrintPreview *preview,</td></tr>
+<tr class="codeline" data-linenumber="1117"><td class="num" id="LN1117">1117</td><td class="line"> gfloat scale)</td></tr>
+<tr class="codeline" data-linenumber="1118"><td class="num" id="LN1118">1118</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1119"><td class="num" id="LN1119">1119</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_PRINT_PREVIEW (preview))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((preview)); GType __t = ((eom_print_preview_get_type ()))<br>; gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning ("EOM", ((const char<br>*) (__func__)), "EOM_IS_PRINT_PREVIEW (preview)"); return; } }<br> while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1120"><td class="num" id="LN1120">1120</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1121"><td class="num" id="LN1121">1121</td><td class="line"> g_object_set (preview,</td></tr>
+<tr class="codeline" data-linenumber="1122"><td class="num" id="LN1122">1122</td><td class="line"> <span class='string_literal'>"image-scale"</span>, scale,</td></tr>
+<tr class="codeline" data-linenumber="1123"><td class="num" id="LN1123">1123</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1124"><td class="num" id="LN1124">1124</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-d71e34.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-d71e34.html
new file mode 100644
index 0000000..daa6b46
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-d71e34.html
@@ -0,0 +1,3069 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-scroll-view.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption -->
+
+<!-- BUGTYPE Cast from non-struct type to struct type -->
+
+<!-- BUGCATEGORY Logic error -->
+
+<!-- BUGFILE /rootdir/src/eom-scroll-view.c -->
+
+<!-- FILENAME eom-scroll-view.c -->
+
+<!-- FUNCTIONNAME sv_string_to_rgba_mapping -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT d71e34c99196d6ac19e15e2632cd2e52 -->
+
+<!-- BUGLINE 1774 -->
+
+<!-- BUGCOLUMN 2 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-scroll-view.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 1774, column 2</a><br />Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-scroll-view.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-scroll-view.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"1774": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"><span class='directive'>#include &lt;math.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"><span class='directive'>#include &lt;gdk-pixbuf/gdk-pixbuf.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"><span class='directive'>#include &lt;gdk/gdkkeysyms.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_RSVG<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"><span class='directive'>#include &lt;librsvg/rsvg.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"><span class='directive'>#include "eom-config-keys.h"</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"><span class='directive'>#include "eom-enum-types.h"</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"><span class='directive'>#include "eom-marshal.h"</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"><span class='directive'>#include "eom-scroll-view.h"</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"><span class='directive'>#include "eom-debug.h"</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"><span class='directive'>#include "zoom.h"</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"><span class='directive'>#include &lt;gdk/gdk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"><span class='comment'>/* Scroll step increment */</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#define <span class='macro'>SCROLL_STEP_SIZE<span class='macro_popup'>32</span></span> 32</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"><span class='comment'>/* Maximum zoom factor */</span></td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#define <span class='macro'>MAX_ZOOM_FACTOR<span class='macro_popup'>20</span></span> 20</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#define <span class='macro'>MIN_ZOOM_FACTOR<span class='macro_popup'>0.02</span></span> 0.02</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#define <span class='macro'>CHECK_MEDIUM<span class='macro_popup'>8</span></span> 8</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#define <span class='macro'>CHECK_BLACK<span class='macro_popup'>"#000000"</span></span> "#000000"</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#define <span class='macro'>CHECK_GRAY<span class='macro_popup'>"#808080"</span></span> "#808080"</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#define <span class='macro'>CHECK_LIGHT<span class='macro_popup'>"#cccccc"</span></span> "#cccccc"</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='comment'>/* Default increment for zooming. The current zoom factor is multiplied or</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"> <span class='comment'>* divided by this amount on every zooming step. For consistency, you should</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"> <span class='comment'>* use the same value elsewhere in the program.</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#define <span class='macro'>IMAGE_VIEW_ZOOM_MULTIPLIER<span class='macro_popup'>1.05</span></span> 1.05</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"><span class='comment'>/* States for automatically adjusting the zoom factor */</span></td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"> ZOOM_MODE_FIT, <span class='comment'>/* Image is fitted to scroll view even if the latter changes size */</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"> ZOOM_MODE_FREE <span class='comment'>/* The image remains at its current zoom factor even if the scrollview changes size */</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line">} ZoomMode;</td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"><span class='comment'>/* Signal IDs */</span></td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> SIGNAL_ZOOM_CHANGED,</td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> SIGNAL_LAST</td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='keyword'>static</span> guint view_signals [SIGNAL_LAST] = { 0 };</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> EOM_SCROLL_VIEW_CURSOR_NORMAL,</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"> EOM_SCROLL_VIEW_CURSOR_HIDDEN,</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> EOM_SCROLL_VIEW_CURSOR_DRAG</td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line">} EomScrollViewCursor;</td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"><span class='comment'>/* Drag 'n Drop */</span></td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"><span class='keyword'>static</span> GtkTargetEntry target_table[] = {</td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"> { <span class='string_literal'>"text/uri-list"</span>, 0, 0},</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"><span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> PROP_0,</td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> PROP_ANTIALIAS_IN,</td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> PROP_ANTIALIAS_OUT,</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> PROP_BACKGROUND_COLOR,</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> PROP_IMAGE,</td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> PROP_SCROLLWHEEL_ZOOM,</td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> PROP_TRANSP_COLOR,</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> PROP_TRANSPARENCY_STYLE,</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> PROP_USE_BG_COLOR,</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> PROP_ZOOM_MULTIPLIER</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"><span class='comment'>/* Private part of the EomScrollView structure */</span></td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"><span class='keyword'>struct</span> _EomScrollViewPrivate {</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> <span class='comment'>/* some widgets we rely on */</span></td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> GtkWidget *display;</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> GtkAdjustment *hadj;</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> GtkAdjustment *vadj;</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> GtkWidget *hbar;</td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> GtkWidget *vbar;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> GtkWidget *menu;</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> <span class='comment'>/* actual image */</span></td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> gulong image_changed_id;</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> gulong frame_changed_id;</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> GdkPixbuf *pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> cairo_surface_t *surface;</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> <span class='comment'>/* scale factor */</span></td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> gint scale;</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> <span class='comment'>/* zoom mode, either ZOOM_MODE_FIT or ZOOM_MODE_FREE */</span></td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> ZoomMode zoom_mode;</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> <span class='comment'>/* whether to allow zoom &gt; 1.0 on zoom fit */</span></td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> gboolean upscale;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> <span class='comment'>/* the actual zoom factor */</span></td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> <span class='keyword'>double</span> zoom;</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> <span class='comment'>/* the minimum possible (reasonable) zoom factor */</span></td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> <span class='keyword'>double</span> min_zoom;</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> <span class='comment'>/* Current scrolling offsets */</span></td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> <span class='keyword'>int</span> xofs, yofs;</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> <span class='comment'>/* handler ID for paint idle callback */</span></td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> guint idle_id;</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> <span class='comment'>/* Interpolation type when zoomed in*/</span></td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> cairo_filter_t interp_type_in;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> <span class='comment'>/* Interpolation type when zoomed out*/</span></td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> cairo_filter_t interp_type_out;</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> <span class='comment'>/* Scroll wheel zoom */</span></td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> gboolean scroll_wheel_zoom;</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> <span class='comment'>/* Scroll wheel zoom */</span></td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> gdouble zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> <span class='comment'>/* dragging stuff */</span></td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> <span class='keyword'>int</span> drag_anchor_x, drag_anchor_y;</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> <span class='keyword'>int</span> drag_ofs_x, drag_ofs_y;</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> guint dragging : 1;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> <span class='comment'>/* how to indicate transparency in images */</span></td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> EomTransparencyStyle transp_style;</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> GdkRGBA transp_color;</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> <span class='comment'>/* the type of the cursor we are currently showing */</span></td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> EomScrollViewCursor cursor;</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> gboolean use_bg_color;</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> GdkRGBA *background_color;</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> GdkRGBA *override_bg_color;</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> cairo_surface_t *background_surface;</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> <span class='comment'>/* Two-pass filtering */</span></td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> GSource *hq_redraw_timeout_source;</td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> gboolean force_unfiltered;</td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> scroll_by (EomScrollView *view, <span class='keyword'>int</span> xofs, <span class='keyword'>int</span> yofs);</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> set_zoom_fit (EomScrollView *view);</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"><span class='comment'>/* static void request_paint_area (EomScrollView *view, GdkRectangle *area); */</span></td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> set_minimum_zoom_factor (EomScrollView *view);</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> view_on_drag_begin_cb (GtkWidget *widget, GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> view_on_drag_data_get_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> GdkDragContext*drag_context,</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> GtkSelectionData *data, guint info,</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> guint time, gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"><span class='keyword'>static</span> gboolean _eom_gdk_rgba_equal0 (<span class='keyword'>const</span> GdkRGBA *a, <span class='keyword'>const</span> GdkRGBA *b);</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EomScrollView, eom_scroll_view, GTK_TYPE_GRID)<span class='macro_popup'>static void eom_scroll_view_init (EomScrollView *self); static<br> void eom_scroll_view_class_init (EomScrollViewClass *klass);<br> static GType eom_scroll_view_get_type_once (void); static gpointer<br> eom_scroll_view_parent_class = ((void*)0); static gint EomScrollView_private_offset<br>; static void eom_scroll_view_class_intern_init (gpointer klass<br>) { eom_scroll_view_parent_class = g_type_class_peek_parent (<br>klass); if (EomScrollView_private_offset != 0) g_type_class_adjust_private_offset<br> (klass, &amp;EomScrollView_private_offset); eom_scroll_view_class_init<br> ((EomScrollViewClass*) klass); } __attribute__ ((__unused__)<br>) static inline gpointer eom_scroll_view_get_instance_private<br> (EomScrollView *self) { return (((gpointer) ((guint8*) (self<br>) + (glong) (EomScrollView_private_offset)))); } GType eom_scroll_view_get_type<br> (void) { static gsize static_g_define_type_id = 0; if ((__extension__<br> ({ _Static_assert (sizeof *(&amp;static_g_define_type_id) ==<br> sizeof (gpointer), "Expression evaluates to false"); (void) (<br>0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0));<br> (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = eom_scroll_view_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType eom_scroll_view_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> ((gtk_grid_get_type ()), g_intern_static_string ("EomScrollView"<br>), sizeof (EomScrollViewClass), (GClassInitFunc)(void (*)(void<br>)) eom_scroll_view_class_intern_init, sizeof (EomScrollView),<br> (GInstanceInitFunc)(void (*)(void)) eom_scroll_view_init, (GTypeFlags<br>) 0); { {{ EomScrollView_private_offset = g_type_add_instance_private<br> (g_define_type_id, sizeof (EomScrollViewPrivate)); };} } return<br> g_define_type_id; }</span></span></td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"><span class='comment'>/*===================================</span></td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='comment'>widget size changing handler &amp;</span></td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='comment'>util functions</span></td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> <span class='comment'>---------------------------------*/</span></td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"><span class='keyword'>static</span> cairo_surface_t *</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line">create_surface_from_pixbuf (EomScrollView *view, GdkPixbuf *pixbuf)</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> cairo_surface_t *surface;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> surface = gdk_cairo_surface_create_from_pixbuf (pixbuf,</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> view-&gt;priv-&gt;scale,</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> gtk_widget_get_window (view-&gt;priv-&gt;display));</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> <span class='keyword'>return</span> surface;</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"><span class='comment'>/* Disconnects from the EomImage and removes references to it */</span></td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line">free_image_resources (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"><span class='directive'>#if <span class='macro'>GLIB_CHECK_VERSION(2,62,0)<span class='macro_popup'>(2 &gt; (2) || (2 == (2) &amp;&amp; 78 &gt; (62)) || (2 == (2<br>) &amp;&amp; 78 == (62) &amp;&amp; 1 &gt;= (0)))</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> <span class='macro'>g_clear_signal_handler (&amp;priv-&gt;image_changed_id, priv-&gt;image)<span class='macro_popup'>do { gpointer const _instance = (priv-&gt;image); gulong *const<br> _handler_id_ptr = (&amp;priv-&gt;image_changed_id); const gulong<br> _handler_id = *_handler_id_ptr; if (_handler_id &gt; 0) { *_handler_id_ptr<br> = 0; g_signal_handler_disconnect (_instance, _handler_id); }<br> } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> <span class='macro'>g_clear_signal_handler (&amp;priv-&gt;frame_changed_id, priv-&gt;image)<span class='macro_popup'>do { gpointer const _instance = (priv-&gt;image); gulong *const<br> _handler_id_ptr = (&amp;priv-&gt;frame_changed_id); const gulong<br> _handler_id = *_handler_id_ptr; if (_handler_id &gt; 0) { *_handler_id_ptr<br> = 0; g_signal_handler_disconnect (_instance, _handler_id); }<br> } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"><span class='directive'>#else</span></td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image_changed_id != 0) {</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> g_signal_handler_disconnect (priv-&gt;image, priv-&gt;image_changed_id);</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> priv-&gt;image_changed_id = 0;</td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;frame_changed_id != 0) {</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> g_signal_handler_disconnect (priv-&gt;image, priv-&gt;frame_changed_id);</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> priv-&gt;frame_changed_id = 0;</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> eom_image_data_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> priv-&gt;image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> g_object_unref (priv-&gt;pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> priv-&gt;pixbuf = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;surface !=<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> cairo_surface_destroy (priv-&gt;surface);</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> priv-&gt;surface = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"><span class='comment'>/* Computes the size in pixels of the scaled image */</span></td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line">compute_scaled_size (EomScrollView *view, <span class='keyword'>double</span> zoom, <span class='keyword'>int</span> *width, <span class='keyword'>int</span> *height)</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf) {</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> *width = floor (gdk_pixbuf_get_width (priv-&gt;pixbuf) / priv-&gt;scale * zoom + 0.5);</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> *height = floor (gdk_pixbuf_get_height (priv-&gt;pixbuf) / priv-&gt;scale * zoom + 0.5);</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> *width = *height = 0;</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"><span class='comment'>/* Computes the offsets for the new zoom value so that they keep the image</span></td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> <span class='comment'>* centered on the view.</span></td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line">compute_center_zoom_offsets (EomScrollView *view,</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> <span class='keyword'>double</span> old_zoom, <span class='keyword'>double</span> new_zoom,</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> <span class='keyword'>int</span> width, <span class='keyword'>int</span> height,</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> <span class='keyword'>double</span> zoom_x_anchor, <span class='keyword'>double</span> zoom_y_anchor,</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> <span class='keyword'>int</span> *xofs, <span class='keyword'>int</span> *yofs)</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> <span class='keyword'>int</span> old_scaled_width, old_scaled_height;</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='keyword'>int</span> new_scaled_width, new_scaled_height;</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> <span class='keyword'>double</span> view_cx, view_cy;</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> compute_scaled_size (view, old_zoom,</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> &amp;old_scaled_width, &amp;old_scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='keyword'>if</span> (old_scaled_width &lt; width)</td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> view_cx = (zoom_x_anchor * old_scaled_width) / old_zoom;</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> view_cx = (priv-&gt;xofs + zoom_x_anchor * width) / old_zoom;</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='keyword'>if</span> (old_scaled_height &lt; height)</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> view_cy = (zoom_y_anchor * old_scaled_height) / old_zoom;</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> view_cy = (priv-&gt;yofs + zoom_y_anchor * height) / old_zoom;</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> compute_scaled_size (view, new_zoom,</td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> &amp;new_scaled_width, &amp;new_scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> <span class='keyword'>if</span> (new_scaled_width &lt; width)</td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> *xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> *xofs = floor (view_cx * new_zoom - zoom_x_anchor * width + 0.5);</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> <span class='keyword'>if</span> (*xofs &lt; 0)</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> *xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> <span class='keyword'>if</span> (new_scaled_height &lt; height)</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> *yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> *yofs = floor (view_cy * new_zoom - zoom_y_anchor * height + 0.5);</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> <span class='keyword'>if</span> (*yofs &lt; 0)</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> *yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"><span class='comment'>/* Sets the scrollbar values based on the current scrolling offset */</span></td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line">update_scrollbar_values (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> <span class='keyword'>int</span> scaled_width, scaled_height;</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> gdouble page_size,page_increment,step_increment;</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> gdouble lower, upper;</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_visible (priv-&gt;hbar)</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> &amp;&amp; !gtk_widget_get_visible (priv-&gt;vbar))</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> compute_scaled_size (view, priv-&gt;zoom, &amp;scaled_width, &amp;scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> gtk_widget_get_allocation (priv-&gt;display, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_visible (priv-&gt;hbar)) {</td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> <span class='comment'>/* Set scroll increments */</span></td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> page_size = <span class='macro'>MIN (scaled_width, allocation.width)<span class='macro_popup'>(((scaled_width) &lt; (allocation.width)) ? (scaled_width) : (<br>allocation.width))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> page_increment = allocation.width / 2;</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> step_increment = <span class='macro'>SCROLL_STEP_SIZE<span class='macro_popup'>32</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> <span class='comment'>/* Set scroll bounds and new offsets */</span></td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"> lower = 0;</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> upper = scaled_width;</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> priv-&gt;xofs = <span class='macro'>CLAMP (priv-&gt;xofs, 0, upper - page_size)<span class='macro_popup'>(((priv-&gt;xofs) &gt; (upper - page_size)) ? (upper - page_size<br>) : (((priv-&gt;xofs) &lt; (0)) ? (0) : (priv-&gt;xofs)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> g_signal_handlers_block_matched (</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> priv-&gt;hadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> gtk_adjustment_configure (priv-&gt;hadj, priv-&gt;xofs, lower,</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> upper, step_increment,</td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> page_increment, page_size);</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> g_signal_handlers_unblock_matched (</td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> priv-&gt;hadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_visible (priv-&gt;vbar)) {</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> page_size = <span class='macro'>MIN (scaled_height, allocation.height)<span class='macro_popup'>(((scaled_height) &lt; (allocation.height)) ? (scaled_height)<br> : (allocation.height))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> page_increment = allocation.height / 2;</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> step_increment = <span class='macro'>SCROLL_STEP_SIZE<span class='macro_popup'>32</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> lower = 0;</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> upper = scaled_height;</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> priv-&gt;yofs = <span class='macro'>CLAMP (priv-&gt;yofs, 0, upper - page_size)<span class='macro_popup'>(((priv-&gt;yofs) &gt; (upper - page_size)) ? (upper - page_size<br>) : (((priv-&gt;yofs) &lt; (0)) ? (0) : (priv-&gt;yofs)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> g_signal_handlers_block_matched (</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> priv-&gt;vadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> gtk_adjustment_configure (priv-&gt;vadj, priv-&gt;yofs, lower,</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> upper, step_increment,</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> page_increment, page_size);</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> g_signal_handlers_unblock_matched (</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> priv-&gt;vadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line">eom_scroll_view_set_cursor (EomScrollView *view, EomScrollViewCursor new_cursor)</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> GdkCursor *cursor = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> GdkDisplay *display;</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> GtkWidget *widget;</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> <span class='keyword'>if</span> (view-&gt;priv-&gt;cursor == new_cursor) {</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> widget = gtk_widget_get_toplevel (<span class='macro'>GTK_WIDGET (view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> display = gtk_widget_get_display (widget);</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> view-&gt;priv-&gt;cursor = new_cursor;</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='keyword'>switch</span> (new_cursor) {</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> <span class='keyword'>case</span> EOM_SCROLL_VIEW_CURSOR_NORMAL:</td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> gdk_window_set_cursor (gtk_widget_get_window (widget), <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>case</span> EOM_SCROLL_VIEW_CURSOR_HIDDEN:</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> cursor = gdk_cursor_new_for_display (display, GDK_BLANK_CURSOR);</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> <span class='keyword'>case</span> EOM_SCROLL_VIEW_CURSOR_DRAG:</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> cursor = gdk_cursor_new_for_display (display, GDK_FLEUR);</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> <span class='keyword'>if</span> (cursor) {</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> gdk_window_set_cursor (gtk_widget_get_window (widget), cursor);</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"> g_object_unref (cursor);</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> gdk_display_flush (display);</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"><span class='comment'>/* Changes visibility of the scrollbars based on the zoom factor and the</span></td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> <span class='comment'>* specified allocation, or the current allocation if NULL is specified.</span></td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line">check_scrollbar_visibility (EomScrollView *view, GtkAllocation *alloc)</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> <span class='keyword'>int</span> bar_height;</td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> <span class='keyword'>int</span> bar_width;</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> <span class='keyword'>int</span> img_width;</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> <span class='keyword'>int</span> img_height;</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> GtkRequisition req;</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> <span class='keyword'>int</span> width, height;</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> gboolean hbar_visible, vbar_visible;</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> <span class='keyword'>if</span> (alloc) {</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> width = alloc-&gt;width;</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> height = alloc-&gt;height;</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> gtk_widget_get_allocation (<span class='macro'>GTK_WIDGET (view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_widget_get_type ()))))))</span></span>, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> width = allocation.width;</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> height = allocation.height;</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> compute_scaled_size (view, priv-&gt;zoom, &amp;img_width, &amp;img_height);</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> <span class='comment'>/* this should work fairly well in this special case for scrollbars */</span></td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> gtk_widget_get_preferred_size (priv-&gt;hbar, &amp;req, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> bar_height = req.height;</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> gtk_widget_get_preferred_size (priv-&gt;vbar, &amp;req, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> bar_width = req.width;</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-scroll-view.c", 424, ((const char*) (__func__<br>))</span></span>, <span class='string_literal'>"Widget Size allocate: %i, %i Bar: %i, %i\n"</span>,</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> width, height, bar_width, bar_height);</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> hbar_visible = vbar_visible = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;zoom_mode == ZOOM_MODE_FIT)</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> hbar_visible = vbar_visible = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (img_width &lt;= width &amp;&amp; img_height &lt;= height)</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> hbar_visible = vbar_visible = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (img_width &gt; width &amp;&amp; img_height &gt; height)</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> hbar_visible = vbar_visible = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (img_width &gt; width) {</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> hbar_visible = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> <span class='keyword'>if</span> (img_height &lt;= (height - bar_height))</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> vbar_visible = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> vbar_visible = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (img_height &gt; height) {</td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> vbar_visible = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> <span class='keyword'>if</span> (img_width &lt;= (width - bar_width))</td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> hbar_visible = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> hbar_visible = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> <span class='keyword'>if</span> (hbar_visible != gtk_widget_get_visible (priv-&gt;hbar))</td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (priv-&gt;hbar)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;hbar)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"visible"</span>, hbar_visible, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> <span class='keyword'>if</span> (vbar_visible != gtk_widget_get_visible (priv-&gt;vbar))</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (priv-&gt;vbar)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;vbar)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"visible"</span>, vbar_visible, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span> 1e-6</span></td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL(a,b)<span class='macro_popup'>(fabs (a - b) &lt; 1e-6)</span></span> (fabs (a - b) &lt; <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"><span class='comment'>/* Returns whether the image is zoomed in */</span></td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line">is_zoomed_in (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"> <span class='keyword'>return</span> priv-&gt;zoom - 1.0 &gt; <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"><span class='comment'>/* Returns whether the image is zoomed out */</span></td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line">is_zoomed_out (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span> + priv-&gt;zoom - 1.0 &lt; 0.0;</td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"><span class='comment'>/* Returns wether the image is movable, that means if it is larger then</span></td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> <span class='comment'>* the actual visible area.</span></td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line">is_image_movable (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line"> <span class='keyword'>return</span> (gtk_widget_get_visible (priv-&gt;hbar) || gtk_widget_get_visible (priv-&gt;vbar));</td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line"><span class='comment'>/*===================================</span></td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line"> <span class='comment'>drawing core</span></td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line"> <span class='comment'>---------------------------------*/</span></td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line">get_transparency_params (EomScrollView *view, <span class='keyword'>int</span> *size, GdkRGBA *color1, GdkRGBA *color2)</td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> <span class='comment'>/* Compute transparency parameters */</span></td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line"> <span class='keyword'>switch</span> (priv-&gt;transp_style) {</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSP_BACKGROUND: {</td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"> <span class='comment'>/* Simply return fully transparent color */</span></td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line"> color1-&gt;red = color1-&gt;green = color1-&gt;blue = color1-&gt;alpha = 0.0;</td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> color2-&gt;red = color2-&gt;green = color2-&gt;blue = color2-&gt;alpha = 0.0;</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSP_CHECKED:</td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> <span class='macro'>g_warn_if_fail (gdk_rgba_parse (color1, CHECK_GRAY))<span class='macro_popup'>do { if (gdk_rgba_parse (color1, "#808080")) ; else g_warn_message<br> ("EOM", "eom-scroll-view.c", 513, ((const char*) (__func__))<br>, "gdk_rgba_parse (color1, CHECK_GRAY)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> <span class='macro'>g_warn_if_fail (gdk_rgba_parse (color2, CHECK_LIGHT))<span class='macro_popup'>do { if (gdk_rgba_parse (color2, "#cccccc")) ; else g_warn_message<br> ("EOM", "eom-scroll-view.c", 514, ((const char*) (__func__))<br>, "gdk_rgba_parse (color2, CHECK_LIGHT)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSP_COLOR:</td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"> *color1 = *color2 = priv-&gt;transp_color;</td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> <span class='macro'>g_assert_not_reached ()<span class='macro_popup'>do { g_assertion_message_expr ("EOM", "eom-scroll-view.c", 522<br>, ((const char*) (__func__)), ((void*)0)); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> };</td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> *size = <span class='macro'>CHECK_MEDIUM<span class='macro_popup'>8</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"><span class='keyword'>static</span> cairo_surface_t *</td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line">create_background_surface (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="531"><td class="num" id="LN531">531</td><td class="line"> <span class='keyword'>int</span> check_size;</td></tr>
+<tr class="codeline" data-linenumber="532"><td class="num" id="LN532">532</td><td class="line"> GdkRGBA check_1;</td></tr>
+<tr class="codeline" data-linenumber="533"><td class="num" id="LN533">533</td><td class="line"> GdkRGBA check_2;</td></tr>
+<tr class="codeline" data-linenumber="534"><td class="num" id="LN534">534</td><td class="line"> cairo_surface_t *surface;</td></tr>
+<tr class="codeline" data-linenumber="535"><td class="num" id="LN535">535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="536"><td class="num" id="LN536">536</td><td class="line"> get_transparency_params (view, &amp;check_size, &amp;check_1, &amp;check_2);</td></tr>
+<tr class="codeline" data-linenumber="537"><td class="num" id="LN537">537</td><td class="line"> surface = gdk_window_create_similar_surface (gtk_widget_get_window (view-&gt;priv-&gt;display),</td></tr>
+<tr class="codeline" data-linenumber="538"><td class="num" id="LN538">538</td><td class="line"> CAIRO_CONTENT_COLOR_ALPHA,</td></tr>
+<tr class="codeline" data-linenumber="539"><td class="num" id="LN539">539</td><td class="line"> check_size * 2, check_size * 2);</td></tr>
+<tr class="codeline" data-linenumber="540"><td class="num" id="LN540">540</td><td class="line"> cairo_t* cr = cairo_create (surface);</td></tr>
+<tr class="codeline" data-linenumber="541"><td class="num" id="LN541">541</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="542"><td class="num" id="LN542">542</td><td class="line"> <span class='comment'>/* Use source operator to make fully transparent work */</span></td></tr>
+<tr class="codeline" data-linenumber="543"><td class="num" id="LN543">543</td><td class="line"> cairo_set_operator (cr, CAIRO_OPERATOR_SOURCE);</td></tr>
+<tr class="codeline" data-linenumber="544"><td class="num" id="LN544">544</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="545"><td class="num" id="LN545">545</td><td class="line"> gdk_cairo_set_source_rgba(cr, &amp;check_1);</td></tr>
+<tr class="codeline" data-linenumber="546"><td class="num" id="LN546">546</td><td class="line"> cairo_rectangle (cr, 0, 0, check_size, check_size);</td></tr>
+<tr class="codeline" data-linenumber="547"><td class="num" id="LN547">547</td><td class="line"> cairo_rectangle (cr, check_size, check_size, check_size, check_size);</td></tr>
+<tr class="codeline" data-linenumber="548"><td class="num" id="LN548">548</td><td class="line"> cairo_fill (cr);</td></tr>
+<tr class="codeline" data-linenumber="549"><td class="num" id="LN549">549</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="550"><td class="num" id="LN550">550</td><td class="line"> gdk_cairo_set_source_rgba(cr, &amp;check_2);</td></tr>
+<tr class="codeline" data-linenumber="551"><td class="num" id="LN551">551</td><td class="line"> cairo_rectangle (cr, 0, check_size, check_size, check_size);</td></tr>
+<tr class="codeline" data-linenumber="552"><td class="num" id="LN552">552</td><td class="line"> cairo_rectangle (cr, check_size, 0, check_size, check_size);</td></tr>
+<tr class="codeline" data-linenumber="553"><td class="num" id="LN553">553</td><td class="line"> cairo_fill (cr);</td></tr>
+<tr class="codeline" data-linenumber="554"><td class="num" id="LN554">554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="555"><td class="num" id="LN555">555</td><td class="line"> cairo_destroy (cr);</td></tr>
+<tr class="codeline" data-linenumber="556"><td class="num" id="LN556">556</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="557"><td class="num" id="LN557">557</td><td class="line"> <span class='keyword'>return</span> surface;</td></tr>
+<tr class="codeline" data-linenumber="558"><td class="num" id="LN558">558</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="559"><td class="num" id="LN559">559</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="560"><td class="num" id="LN560">560</td><td class="line"><span class='comment'>/* =======================================</span></td></tr>
+<tr class="codeline" data-linenumber="561"><td class="num" id="LN561">561</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="562"><td class="num" id="LN562">562</td><td class="line"> <span class='comment'>scrolling stuff</span></td></tr>
+<tr class="codeline" data-linenumber="563"><td class="num" id="LN563">563</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="564"><td class="num" id="LN564">564</td><td class="line"> <span class='comment'>--------------------------------------*/</span></td></tr>
+<tr class="codeline" data-linenumber="565"><td class="num" id="LN565">565</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="566"><td class="num" id="LN566">566</td><td class="line"><span class='comment'>/* Scrolls the view to the specified offsets. */</span></td></tr>
+<tr class="codeline" data-linenumber="567"><td class="num" id="LN567">567</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="568"><td class="num" id="LN568">568</td><td class="line">scroll_to (EomScrollView *view, <span class='keyword'>int</span> x, <span class='keyword'>int</span> y, gboolean change_adjustments)</td></tr>
+<tr class="codeline" data-linenumber="569"><td class="num" id="LN569">569</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="570"><td class="num" id="LN570">570</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="571"><td class="num" id="LN571">571</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="572"><td class="num" id="LN572">572</td><td class="line"> <span class='keyword'>int</span> xofs, yofs;</td></tr>
+<tr class="codeline" data-linenumber="573"><td class="num" id="LN573">573</td><td class="line"> GdkWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="574"><td class="num" id="LN574">574</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="575"><td class="num" id="LN575">575</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="576"><td class="num" id="LN576">576</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="577"><td class="num" id="LN577">577</td><td class="line"> <span class='comment'>/* Check bounds &amp; Compute offsets */</span></td></tr>
+<tr class="codeline" data-linenumber="578"><td class="num" id="LN578">578</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_visible (priv-&gt;hbar)) {</td></tr>
+<tr class="codeline" data-linenumber="579"><td class="num" id="LN579">579</td><td class="line"> x = <span class='macro'>CLAMP (x, 0, gtk_adjustment_get_upper (priv-&gt;hadj)<span class='macro_popup'>(((x) &gt; (gtk_adjustment_get_upper (priv-&gt;hadj) - gtk_adjustment_get_page_size<br> (priv-&gt;hadj))) ? (gtk_adjustment_get_upper (priv-&gt;hadj<br>) - gtk_adjustment_get_page_size (priv-&gt;hadj)) : (((x) &lt;<br> (0)) ? (0) : (x)))</span></span></td></tr>
+<tr class="codeline" data-linenumber="580"><td class="num" id="LN580">580</td><td class="line"> <span class='macro'>- gtk_adjustment_get_page_size (priv-&gt;hadj))<span class='macro_popup'>(((x) &gt; (gtk_adjustment_get_upper (priv-&gt;hadj) - gtk_adjustment_get_page_size<br> (priv-&gt;hadj))) ? (gtk_adjustment_get_upper (priv-&gt;hadj<br>) - gtk_adjustment_get_page_size (priv-&gt;hadj)) : (((x) &lt;<br> (0)) ? (0) : (x)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="581"><td class="num" id="LN581">581</td><td class="line"> xofs = x - priv-&gt;xofs;</td></tr>
+<tr class="codeline" data-linenumber="582"><td class="num" id="LN582">582</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="583"><td class="num" id="LN583">583</td><td class="line"> xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="584"><td class="num" id="LN584">584</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="585"><td class="num" id="LN585">585</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_visible (priv-&gt;vbar)) {</td></tr>
+<tr class="codeline" data-linenumber="586"><td class="num" id="LN586">586</td><td class="line"> y = <span class='macro'>CLAMP (y, 0, gtk_adjustment_get_upper (priv-&gt;vadj)<span class='macro_popup'>(((y) &gt; (gtk_adjustment_get_upper (priv-&gt;vadj) - gtk_adjustment_get_page_size<br> (priv-&gt;vadj))) ? (gtk_adjustment_get_upper (priv-&gt;vadj<br>) - gtk_adjustment_get_page_size (priv-&gt;vadj)) : (((y) &lt;<br> (0)) ? (0) : (y)))</span></span></td></tr>
+<tr class="codeline" data-linenumber="587"><td class="num" id="LN587">587</td><td class="line"> <span class='macro'>- gtk_adjustment_get_page_size (priv-&gt;vadj))<span class='macro_popup'>(((y) &gt; (gtk_adjustment_get_upper (priv-&gt;vadj) - gtk_adjustment_get_page_size<br> (priv-&gt;vadj))) ? (gtk_adjustment_get_upper (priv-&gt;vadj<br>) - gtk_adjustment_get_page_size (priv-&gt;vadj)) : (((y) &lt;<br> (0)) ? (0) : (y)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="588"><td class="num" id="LN588">588</td><td class="line"> yofs = y - priv-&gt;yofs;</td></tr>
+<tr class="codeline" data-linenumber="589"><td class="num" id="LN589">589</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="590"><td class="num" id="LN590">590</td><td class="line"> yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="591"><td class="num" id="LN591">591</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="592"><td class="num" id="LN592">592</td><td class="line"> <span class='keyword'>if</span> (xofs == 0 &amp;&amp; yofs == 0)</td></tr>
+<tr class="codeline" data-linenumber="593"><td class="num" id="LN593">593</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="594"><td class="num" id="LN594">594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="595"><td class="num" id="LN595">595</td><td class="line"> priv-&gt;xofs = x;</td></tr>
+<tr class="codeline" data-linenumber="596"><td class="num" id="LN596">596</td><td class="line"> priv-&gt;yofs = y;</td></tr>
+<tr class="codeline" data-linenumber="597"><td class="num" id="LN597">597</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="598"><td class="num" id="LN598">598</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_is_drawable (priv-&gt;display))</td></tr>
+<tr class="codeline" data-linenumber="599"><td class="num" id="LN599">599</td><td class="line"> <span class='keyword'>goto</span> out;</td></tr>
+<tr class="codeline" data-linenumber="600"><td class="num" id="LN600">600</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="601"><td class="num" id="LN601">601</td><td class="line"> gtk_widget_get_allocation (priv-&gt;display, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="602"><td class="num" id="LN602">602</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="603"><td class="num" id="LN603">603</td><td class="line"> <span class='keyword'>if</span> (abs (xofs) &gt;= allocation.width || abs (yofs) &gt;= allocation.height) {</td></tr>
+<tr class="codeline" data-linenumber="604"><td class="num" id="LN604">604</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="605"><td class="num" id="LN605">605</td><td class="line"> <span class='keyword'>goto</span> out;</td></tr>
+<tr class="codeline" data-linenumber="606"><td class="num" id="LN606">606</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="607"><td class="num" id="LN607">607</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="608"><td class="num" id="LN608">608</td><td class="line"> window = gtk_widget_get_window (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="609"><td class="num" id="LN609">609</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="610"><td class="num" id="LN610">610</td><td class="line"> gdk_window_scroll (window, -xofs, -yofs);</td></tr>
+<tr class="codeline" data-linenumber="611"><td class="num" id="LN611">611</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="612"><td class="num" id="LN612">612</td><td class="line"> out:</td></tr>
+<tr class="codeline" data-linenumber="613"><td class="num" id="LN613">613</td><td class="line"> <span class='keyword'>if</span> (!change_adjustments)</td></tr>
+<tr class="codeline" data-linenumber="614"><td class="num" id="LN614">614</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="615"><td class="num" id="LN615">615</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="616"><td class="num" id="LN616">616</td><td class="line"> g_signal_handlers_block_matched (</td></tr>
+<tr class="codeline" data-linenumber="617"><td class="num" id="LN617">617</td><td class="line"> priv-&gt;hadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="618"><td class="num" id="LN618">618</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="619"><td class="num" id="LN619">619</td><td class="line"> g_signal_handlers_block_matched (</td></tr>
+<tr class="codeline" data-linenumber="620"><td class="num" id="LN620">620</td><td class="line"> priv-&gt;vadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="621"><td class="num" id="LN621">621</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="622"><td class="num" id="LN622">622</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="623"><td class="num" id="LN623">623</td><td class="line"> gtk_adjustment_set_value (priv-&gt;hadj, x);</td></tr>
+<tr class="codeline" data-linenumber="624"><td class="num" id="LN624">624</td><td class="line"> gtk_adjustment_set_value (priv-&gt;vadj, y);</td></tr>
+<tr class="codeline" data-linenumber="625"><td class="num" id="LN625">625</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="626"><td class="num" id="LN626">626</td><td class="line"> g_signal_handlers_unblock_matched (</td></tr>
+<tr class="codeline" data-linenumber="627"><td class="num" id="LN627">627</td><td class="line"> priv-&gt;hadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="628"><td class="num" id="LN628">628</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="629"><td class="num" id="LN629">629</td><td class="line"> g_signal_handlers_unblock_matched (</td></tr>
+<tr class="codeline" data-linenumber="630"><td class="num" id="LN630">630</td><td class="line"> priv-&gt;vadj, G_SIGNAL_MATCH_DATA,</td></tr>
+<tr class="codeline" data-linenumber="631"><td class="num" id="LN631">631</td><td class="line"> 0, 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, view);</td></tr>
+<tr class="codeline" data-linenumber="632"><td class="num" id="LN632">632</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="633"><td class="num" id="LN633">633</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="634"><td class="num" id="LN634">634</td><td class="line"><span class='comment'>/* Scrolls the image view by the specified offsets. Notifies the adjustments</span></td></tr>
+<tr class="codeline" data-linenumber="635"><td class="num" id="LN635">635</td><td class="line"> <span class='comment'>* about their new values.</span></td></tr>
+<tr class="codeline" data-linenumber="636"><td class="num" id="LN636">636</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="637"><td class="num" id="LN637">637</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="638"><td class="num" id="LN638">638</td><td class="line">scroll_by (EomScrollView *view, <span class='keyword'>int</span> xofs, <span class='keyword'>int</span> yofs)</td></tr>
+<tr class="codeline" data-linenumber="639"><td class="num" id="LN639">639</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="640"><td class="num" id="LN640">640</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="641"><td class="num" id="LN641">641</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="642"><td class="num" id="LN642">642</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="643"><td class="num" id="LN643">643</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="644"><td class="num" id="LN644">644</td><td class="line"> scroll_to (view, priv-&gt;xofs + xofs, priv-&gt;yofs + yofs, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="645"><td class="num" id="LN645">645</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="646"><td class="num" id="LN646">646</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="647"><td class="num" id="LN647">647</td><td class="line"><span class='comment'>/* Callback used when an adjustment is changed */</span></td></tr>
+<tr class="codeline" data-linenumber="648"><td class="num" id="LN648">648</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="649"><td class="num" id="LN649">649</td><td class="line">adjustment_changed_cb (GtkAdjustment *adj, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="650"><td class="num" id="LN650">650</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="651"><td class="num" id="LN651">651</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="652"><td class="num" id="LN652">652</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="653"><td class="num" id="LN653">653</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="654"><td class="num" id="LN654">654</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="655"><td class="num" id="LN655">655</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="656"><td class="num" id="LN656">656</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="657"><td class="num" id="LN657">657</td><td class="line"> scroll_to (view, gtk_adjustment_get_value (priv-&gt;hadj),</td></tr>
+<tr class="codeline" data-linenumber="658"><td class="num" id="LN658">658</td><td class="line"> gtk_adjustment_get_value (priv-&gt;vadj), <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="659"><td class="num" id="LN659">659</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="660"><td class="num" id="LN660">660</td><td class="line"> gtk_widget_queue_resize (<span class='macro'>GTK_WIDGET (view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="661"><td class="num" id="LN661">661</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="662"><td class="num" id="LN662">662</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="663"><td class="num" id="LN663">663</td><td class="line"><span class='comment'>/* Drags the image to the specified position */</span></td></tr>
+<tr class="codeline" data-linenumber="664"><td class="num" id="LN664">664</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="665"><td class="num" id="LN665">665</td><td class="line">drag_to (EomScrollView *view, <span class='keyword'>int</span> x, <span class='keyword'>int</span> y)</td></tr>
+<tr class="codeline" data-linenumber="666"><td class="num" id="LN666">666</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="667"><td class="num" id="LN667">667</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="668"><td class="num" id="LN668">668</td><td class="line"> <span class='keyword'>int</span> dx, dy;</td></tr>
+<tr class="codeline" data-linenumber="669"><td class="num" id="LN669">669</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="670"><td class="num" id="LN670">670</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="671"><td class="num" id="LN671">671</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="672"><td class="num" id="LN672">672</td><td class="line"> dx = priv-&gt;drag_anchor_x - x;</td></tr>
+<tr class="codeline" data-linenumber="673"><td class="num" id="LN673">673</td><td class="line"> dy = priv-&gt;drag_anchor_y - y;</td></tr>
+<tr class="codeline" data-linenumber="674"><td class="num" id="LN674">674</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="675"><td class="num" id="LN675">675</td><td class="line"> x = priv-&gt;drag_ofs_x + dx;</td></tr>
+<tr class="codeline" data-linenumber="676"><td class="num" id="LN676">676</td><td class="line"> y = priv-&gt;drag_ofs_y + dy;</td></tr>
+<tr class="codeline" data-linenumber="677"><td class="num" id="LN677">677</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="678"><td class="num" id="LN678">678</td><td class="line"> scroll_to (view, x, y, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="679"><td class="num" id="LN679">679</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="680"><td class="num" id="LN680">680</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="681"><td class="num" id="LN681">681</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="682"><td class="num" id="LN682">682</td><td class="line">set_minimum_zoom_factor (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="683"><td class="num" id="LN683">683</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="684"><td class="num" id="LN684">684</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="685"><td class="num" id="LN685">685</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="686"><td class="num" id="LN686">686</td><td class="line"> view-&gt;priv-&gt;min_zoom = <span class='macro'>MAX (1.0 / gdk_pixbuf_get_width (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale,<span class='macro_popup'>(((1.0 / gdk_pixbuf_get_width (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) &gt; ((((1.0 / gdk_pixbuf_get_height (view<br>-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) &gt; (0.02))<br> ? (1.0 / gdk_pixbuf_get_height (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) : (0.02)))) ? (1.0 / gdk_pixbuf_get_width<br> (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) : ((((<br>1.0 / gdk_pixbuf_get_height (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) &gt; (0.02)) ? (1.0 / gdk_pixbuf_get_height<br> (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) : (0.02<br>))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="687"><td class="num" id="LN687">687</td><td class="line"> <span class='macro'>MAX(1.0 / gdk_pixbuf_get_height (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale,<span class='macro_popup'>(((1.0 / gdk_pixbuf_get_width (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) &gt; ((((1.0 / gdk_pixbuf_get_height (view<br>-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) &gt; (0.02))<br> ? (1.0 / gdk_pixbuf_get_height (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) : (0.02)))) ? (1.0 / gdk_pixbuf_get_width<br> (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) : ((((<br>1.0 / gdk_pixbuf_get_height (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) &gt; (0.02)) ? (1.0 / gdk_pixbuf_get_height<br> (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) : (0.02<br>))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="688"><td class="num" id="LN688">688</td><td class="line"> <span class='macro'>MIN_ZOOM_FACTOR) )<span class='macro_popup'>(((1.0 / gdk_pixbuf_get_width (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) &gt; ((((1.0 / gdk_pixbuf_get_height (view<br>-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) &gt; (0.02))<br> ? (1.0 / gdk_pixbuf_get_height (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) : (0.02)))) ? (1.0 / gdk_pixbuf_get_width<br> (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) : ((((<br>1.0 / gdk_pixbuf_get_height (view-&gt;priv-&gt;pixbuf) / view<br>-&gt;priv-&gt;scale) &gt; (0.02)) ? (1.0 / gdk_pixbuf_get_height<br> (view-&gt;priv-&gt;pixbuf) / view-&gt;priv-&gt;scale) : (0.02<br>))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="689"><td class="num" id="LN689">689</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="690"><td class="num" id="LN690">690</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="691"><td class="num" id="LN691">691</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="692"><td class="num" id="LN692">692</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="693"><td class="num" id="LN693">693</td><td class="line"> <span class='comment'>* set_zoom:</span></td></tr>
+<tr class="codeline" data-linenumber="694"><td class="num" id="LN694">694</td><td class="line"> <span class='comment'>* @view: A scroll view.</span></td></tr>
+<tr class="codeline" data-linenumber="695"><td class="num" id="LN695">695</td><td class="line"> <span class='comment'>* @zoom: Zoom factor.</span></td></tr>
+<tr class="codeline" data-linenumber="696"><td class="num" id="LN696">696</td><td class="line"> <span class='comment'>* @have_anchor: Whether the anchor point specified by (@anchorx, @anchory)</span></td></tr>
+<tr class="codeline" data-linenumber="697"><td class="num" id="LN697">697</td><td class="line"> <span class='comment'>* should be used.</span></td></tr>
+<tr class="codeline" data-linenumber="698"><td class="num" id="LN698">698</td><td class="line"> <span class='comment'>* @anchorx: Horizontal anchor point in pixels.</span></td></tr>
+<tr class="codeline" data-linenumber="699"><td class="num" id="LN699">699</td><td class="line"> <span class='comment'>* @anchory: Vertical anchor point in pixels.</span></td></tr>
+<tr class="codeline" data-linenumber="700"><td class="num" id="LN700">700</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="701"><td class="num" id="LN701">701</td><td class="line"> <span class='comment'>* Sets the zoom factor for an image view. The anchor point can be used to</span></td></tr>
+<tr class="codeline" data-linenumber="702"><td class="num" id="LN702">702</td><td class="line"> <span class='comment'>* specify the point that stays fixed when the image is zoomed. If @have_anchor</span></td></tr>
+<tr class="codeline" data-linenumber="703"><td class="num" id="LN703">703</td><td class="line"> <span class='comment'>* is %TRUE, then (@anchorx, @anchory) specify the point relative to the image</span></td></tr>
+<tr class="codeline" data-linenumber="704"><td class="num" id="LN704">704</td><td class="line"> <span class='comment'>* view widget's allocation that will stay fixed when zooming. If @have_anchor</span></td></tr>
+<tr class="codeline" data-linenumber="705"><td class="num" id="LN705">705</td><td class="line"> <span class='comment'>* is %FALSE, then the center point of the image view will be used.</span></td></tr>
+<tr class="codeline" data-linenumber="706"><td class="num" id="LN706">706</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="707"><td class="num" id="LN707">707</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="708"><td class="num" id="LN708">708</td><td class="line">set_zoom (EomScrollView *view, <span class='keyword'>double</span> zoom,</td></tr>
+<tr class="codeline" data-linenumber="709"><td class="num" id="LN709">709</td><td class="line"> gboolean have_anchor, <span class='keyword'>int</span> anchorx, <span class='keyword'>int</span> anchory)</td></tr>
+<tr class="codeline" data-linenumber="710"><td class="num" id="LN710">710</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="711"><td class="num" id="LN711">711</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="712"><td class="num" id="LN712">712</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="713"><td class="num" id="LN713">713</td><td class="line"> <span class='keyword'>int</span> xofs, yofs;</td></tr>
+<tr class="codeline" data-linenumber="714"><td class="num" id="LN714">714</td><td class="line"> <span class='keyword'>double</span> x_rel, y_rel;</td></tr>
+<tr class="codeline" data-linenumber="715"><td class="num" id="LN715">715</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="716"><td class="num" id="LN716">716</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="717"><td class="num" id="LN717">717</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="718"><td class="num" id="LN718">718</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="719"><td class="num" id="LN719">719</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="720"><td class="num" id="LN720">720</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="721"><td class="num" id="LN721">721</td><td class="line"> <span class='keyword'>if</span> (zoom &gt; <span class='macro'>MAX_ZOOM_FACTOR<span class='macro_popup'>20</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="722"><td class="num" id="LN722">722</td><td class="line"> zoom = <span class='macro'>MAX_ZOOM_FACTOR<span class='macro_popup'>20</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="723"><td class="num" id="LN723">723</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (zoom &lt; <span class='macro'>MIN_ZOOM_FACTOR<span class='macro_popup'>0.02</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="724"><td class="num" id="LN724">724</td><td class="line"> zoom = <span class='macro'>MIN_ZOOM_FACTOR<span class='macro_popup'>0.02</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="725"><td class="num" id="LN725">725</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="726"><td class="num" id="LN726">726</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>DOUBLE_EQUAL (priv-&gt;zoom, zoom)<span class='macro_popup'>(fabs (priv-&gt;zoom - zoom) &lt; 1e-6)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="727"><td class="num" id="LN727">727</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="728"><td class="num" id="LN728">728</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>DOUBLE_EQUAL (priv-&gt;zoom, priv-&gt;min_zoom)<span class='macro_popup'>(fabs (priv-&gt;zoom - priv-&gt;min_zoom) &lt; 1e-6)</span></span> &amp;&amp; zoom &lt; priv-&gt;zoom)</td></tr>
+<tr class="codeline" data-linenumber="729"><td class="num" id="LN729">729</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="730"><td class="num" id="LN730">730</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="731"><td class="num" id="LN731">731</td><td class="line"> priv-&gt;zoom_mode = ZOOM_MODE_FREE;</td></tr>
+<tr class="codeline" data-linenumber="732"><td class="num" id="LN732">732</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="733"><td class="num" id="LN733">733</td><td class="line"> gtk_widget_get_allocation (priv-&gt;display, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="734"><td class="num" id="LN734">734</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="735"><td class="num" id="LN735">735</td><td class="line"> <span class='comment'>/* compute new xofs/yofs values */</span></td></tr>
+<tr class="codeline" data-linenumber="736"><td class="num" id="LN736">736</td><td class="line"> <span class='keyword'>if</span> (have_anchor) {</td></tr>
+<tr class="codeline" data-linenumber="737"><td class="num" id="LN737">737</td><td class="line"> x_rel = (<span class='keyword'>double</span>) anchorx / allocation.width;</td></tr>
+<tr class="codeline" data-linenumber="738"><td class="num" id="LN738">738</td><td class="line"> y_rel = (<span class='keyword'>double</span>) anchory / allocation.height;</td></tr>
+<tr class="codeline" data-linenumber="739"><td class="num" id="LN739">739</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="740"><td class="num" id="LN740">740</td><td class="line"> x_rel = 0.5;</td></tr>
+<tr class="codeline" data-linenumber="741"><td class="num" id="LN741">741</td><td class="line"> y_rel = 0.5;</td></tr>
+<tr class="codeline" data-linenumber="742"><td class="num" id="LN742">742</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="743"><td class="num" id="LN743">743</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="744"><td class="num" id="LN744">744</td><td class="line"> compute_center_zoom_offsets (view, priv-&gt;zoom, zoom,</td></tr>
+<tr class="codeline" data-linenumber="745"><td class="num" id="LN745">745</td><td class="line"> allocation.width, allocation.height,</td></tr>
+<tr class="codeline" data-linenumber="746"><td class="num" id="LN746">746</td><td class="line"> x_rel, y_rel,</td></tr>
+<tr class="codeline" data-linenumber="747"><td class="num" id="LN747">747</td><td class="line"> &amp;xofs, &amp;yofs);</td></tr>
+<tr class="codeline" data-linenumber="748"><td class="num" id="LN748">748</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="749"><td class="num" id="LN749">749</td><td class="line"> <span class='comment'>/* set new values */</span></td></tr>
+<tr class="codeline" data-linenumber="750"><td class="num" id="LN750">750</td><td class="line"> priv-&gt;xofs = xofs; <span class='comment'>/* (img_width * x_rel * zoom) - anchorx; */</span></td></tr>
+<tr class="codeline" data-linenumber="751"><td class="num" id="LN751">751</td><td class="line"> priv-&gt;yofs = yofs; <span class='comment'>/* (img_height * y_rel * zoom) - anchory; */</span></td></tr>
+<tr class="codeline" data-linenumber="752"><td class="num" id="LN752">752</td><td class="line"><span class='directive'>#if 0</span></td></tr>
+<tr class="codeline" data-linenumber="753"><td class="num" id="LN753">753</td><td class="line"> g_print (<span class='string_literal'>"xofs: %i yofs: %i\n"</span>, priv-&gt;xofs, priv-&gt;yofs);</td></tr>
+<tr class="codeline" data-linenumber="754"><td class="num" id="LN754">754</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="755"><td class="num" id="LN755">755</td><td class="line"> <span class='keyword'>if</span> (zoom &lt;= priv-&gt;min_zoom)</td></tr>
+<tr class="codeline" data-linenumber="756"><td class="num" id="LN756">756</td><td class="line"> priv-&gt;zoom = priv-&gt;min_zoom;</td></tr>
+<tr class="codeline" data-linenumber="757"><td class="num" id="LN757">757</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="758"><td class="num" id="LN758">758</td><td class="line"> priv-&gt;zoom = zoom;</td></tr>
+<tr class="codeline" data-linenumber="759"><td class="num" id="LN759">759</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="760"><td class="num" id="LN760">760</td><td class="line"> <span class='comment'>/* we make use of the new values here */</span></td></tr>
+<tr class="codeline" data-linenumber="761"><td class="num" id="LN761">761</td><td class="line"> check_scrollbar_visibility (view, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="762"><td class="num" id="LN762">762</td><td class="line"> update_scrollbar_values (view);</td></tr>
+<tr class="codeline" data-linenumber="763"><td class="num" id="LN763">763</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="764"><td class="num" id="LN764">764</td><td class="line"> <span class='comment'>/* repaint the whole image */</span></td></tr>
+<tr class="codeline" data-linenumber="765"><td class="num" id="LN765">765</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="766"><td class="num" id="LN766">766</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="767"><td class="num" id="LN767">767</td><td class="line"> g_signal_emit (view, view_signals[SIGNAL_ZOOM_CHANGED], 0, priv-&gt;zoom);</td></tr>
+<tr class="codeline" data-linenumber="768"><td class="num" id="LN768">768</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="769"><td class="num" id="LN769">769</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="770"><td class="num" id="LN770">770</td><td class="line"><span class='comment'>/* Zooms the image to fit the available allocation */</span></td></tr>
+<tr class="codeline" data-linenumber="771"><td class="num" id="LN771">771</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="772"><td class="num" id="LN772">772</td><td class="line">set_zoom_fit (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="773"><td class="num" id="LN773">773</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="774"><td class="num" id="LN774">774</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="775"><td class="num" id="LN775">775</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="776"><td class="num" id="LN776">776</td><td class="line"> <span class='keyword'>double</span> new_zoom;</td></tr>
+<tr class="codeline" data-linenumber="777"><td class="num" id="LN777">777</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="778"><td class="num" id="LN778">778</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="779"><td class="num" id="LN779">779</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="780"><td class="num" id="LN780">780</td><td class="line"> priv-&gt;zoom_mode = ZOOM_MODE_FIT;</td></tr>
+<tr class="codeline" data-linenumber="781"><td class="num" id="LN781">781</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="782"><td class="num" id="LN782">782</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_mapped (<span class='macro'>GTK_WIDGET (view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_widget_get_type ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="783"><td class="num" id="LN783">783</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="784"><td class="num" id="LN784">784</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="785"><td class="num" id="LN785">785</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="786"><td class="num" id="LN786">786</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="787"><td class="num" id="LN787">787</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="788"><td class="num" id="LN788">788</td><td class="line"> gtk_widget_get_allocation (priv-&gt;display, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="789"><td class="num" id="LN789">789</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="790"><td class="num" id="LN790">790</td><td class="line"> new_zoom = zoom_fit_scale (allocation.width, allocation.height,</td></tr>
+<tr class="codeline" data-linenumber="791"><td class="num" id="LN791">791</td><td class="line"> gdk_pixbuf_get_width (priv-&gt;pixbuf) / priv-&gt;scale,</td></tr>
+<tr class="codeline" data-linenumber="792"><td class="num" id="LN792">792</td><td class="line"> gdk_pixbuf_get_height (priv-&gt;pixbuf) / priv-&gt;scale,</td></tr>
+<tr class="codeline" data-linenumber="793"><td class="num" id="LN793">793</td><td class="line"> priv-&gt;upscale);</td></tr>
+<tr class="codeline" data-linenumber="794"><td class="num" id="LN794">794</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="795"><td class="num" id="LN795">795</td><td class="line"> <span class='keyword'>if</span> (new_zoom &gt; <span class='macro'>MAX_ZOOM_FACTOR<span class='macro_popup'>20</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="796"><td class="num" id="LN796">796</td><td class="line"> new_zoom = <span class='macro'>MAX_ZOOM_FACTOR<span class='macro_popup'>20</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="797"><td class="num" id="LN797">797</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (new_zoom &lt; <span class='macro'>MIN_ZOOM_FACTOR<span class='macro_popup'>0.02</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="798"><td class="num" id="LN798">798</td><td class="line"> new_zoom = <span class='macro'>MIN_ZOOM_FACTOR<span class='macro_popup'>0.02</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="799"><td class="num" id="LN799">799</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="800"><td class="num" id="LN800">800</td><td class="line"> priv-&gt;zoom = new_zoom;</td></tr>
+<tr class="codeline" data-linenumber="801"><td class="num" id="LN801">801</td><td class="line"> priv-&gt;xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="802"><td class="num" id="LN802">802</td><td class="line"> priv-&gt;yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="803"><td class="num" id="LN803">803</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="804"><td class="num" id="LN804">804</td><td class="line"> g_signal_emit (view, view_signals[SIGNAL_ZOOM_CHANGED], 0, priv-&gt;zoom);</td></tr>
+<tr class="codeline" data-linenumber="805"><td class="num" id="LN805">805</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="806"><td class="num" id="LN806">806</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="807"><td class="num" id="LN807">807</td><td class="line"><span class='comment'>/*===================================</span></td></tr>
+<tr class="codeline" data-linenumber="808"><td class="num" id="LN808">808</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="809"><td class="num" id="LN809">809</td><td class="line"> <span class='comment'>internal signal callbacks</span></td></tr>
+<tr class="codeline" data-linenumber="810"><td class="num" id="LN810">810</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="811"><td class="num" id="LN811">811</td><td class="line"> <span class='comment'>---------------------------------*/</span></td></tr>
+<tr class="codeline" data-linenumber="812"><td class="num" id="LN812">812</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="813"><td class="num" id="LN813">813</td><td class="line"><span class='comment'>/* Key press event handler for the image view */</span></td></tr>
+<tr class="codeline" data-linenumber="814"><td class="num" id="LN814">814</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="815"><td class="num" id="LN815">815</td><td class="line">display_key_press_event (GtkWidget *widget, GdkEventKey *event, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="816"><td class="num" id="LN816">816</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="817"><td class="num" id="LN817">817</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="818"><td class="num" id="LN818">818</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="819"><td class="num" id="LN819">819</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="820"><td class="num" id="LN820">820</td><td class="line"> gboolean do_zoom;</td></tr>
+<tr class="codeline" data-linenumber="821"><td class="num" id="LN821">821</td><td class="line"> <span class='keyword'>double</span> zoom;</td></tr>
+<tr class="codeline" data-linenumber="822"><td class="num" id="LN822">822</td><td class="line"> gboolean do_scroll;</td></tr>
+<tr class="codeline" data-linenumber="823"><td class="num" id="LN823">823</td><td class="line"> <span class='keyword'>int</span> xofs, yofs;</td></tr>
+<tr class="codeline" data-linenumber="824"><td class="num" id="LN824">824</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="825"><td class="num" id="LN825">825</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="826"><td class="num" id="LN826">826</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="827"><td class="num" id="LN827">827</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="828"><td class="num" id="LN828">828</td><td class="line"> do_zoom = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="829"><td class="num" id="LN829">829</td><td class="line"> do_scroll = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="830"><td class="num" id="LN830">830</td><td class="line"> xofs = yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="831"><td class="num" id="LN831">831</td><td class="line"> zoom = 1.0;</td></tr>
+<tr class="codeline" data-linenumber="832"><td class="num" id="LN832">832</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="833"><td class="num" id="LN833">833</td><td class="line"> gtk_widget_get_allocation (priv-&gt;display, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="834"><td class="num" id="LN834">834</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="835"><td class="num" id="LN835">835</td><td class="line"> <span class='comment'>/* EomScrollView doesn't handle/have any Alt+Key combos */</span></td></tr>
+<tr class="codeline" data-linenumber="836"><td class="num" id="LN836">836</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_MOD1_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="837"><td class="num" id="LN837">837</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="838"><td class="num" id="LN838">838</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="839"><td class="num" id="LN839">839</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="840"><td class="num" id="LN840">840</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;keyval) {</td></tr>
+<tr class="codeline" data-linenumber="841"><td class="num" id="LN841">841</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Up<span class='macro_popup'>0xff52</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="842"><td class="num" id="LN842">842</td><td class="line"> do_scroll = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="843"><td class="num" id="LN843">843</td><td class="line"> xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="844"><td class="num" id="LN844">844</td><td class="line"> yofs = -<span class='macro'>SCROLL_STEP_SIZE<span class='macro_popup'>32</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="845"><td class="num" id="LN845">845</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="846"><td class="num" id="LN846">846</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="847"><td class="num" id="LN847">847</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Page_Up<span class='macro_popup'>0xff55</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="848"><td class="num" id="LN848">848</td><td class="line"> do_scroll = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="849"><td class="num" id="LN849">849</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_CONTROL_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="850"><td class="num" id="LN850">850</td><td class="line"> xofs = -(allocation.width * 3) / 4;</td></tr>
+<tr class="codeline" data-linenumber="851"><td class="num" id="LN851">851</td><td class="line"> yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="852"><td class="num" id="LN852">852</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="853"><td class="num" id="LN853">853</td><td class="line"> xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="854"><td class="num" id="LN854">854</td><td class="line"> yofs = -(allocation.height * 3) / 4;</td></tr>
+<tr class="codeline" data-linenumber="855"><td class="num" id="LN855">855</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="856"><td class="num" id="LN856">856</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="857"><td class="num" id="LN857">857</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="858"><td class="num" id="LN858">858</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Down<span class='macro_popup'>0xff54</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="859"><td class="num" id="LN859">859</td><td class="line"> do_scroll = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="860"><td class="num" id="LN860">860</td><td class="line"> xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="861"><td class="num" id="LN861">861</td><td class="line"> yofs = <span class='macro'>SCROLL_STEP_SIZE<span class='macro_popup'>32</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="862"><td class="num" id="LN862">862</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="863"><td class="num" id="LN863">863</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="864"><td class="num" id="LN864">864</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Page_Down<span class='macro_popup'>0xff56</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="865"><td class="num" id="LN865">865</td><td class="line"> do_scroll = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="866"><td class="num" id="LN866">866</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_CONTROL_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="867"><td class="num" id="LN867">867</td><td class="line"> xofs = (allocation.width * 3) / 4;</td></tr>
+<tr class="codeline" data-linenumber="868"><td class="num" id="LN868">868</td><td class="line"> yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="869"><td class="num" id="LN869">869</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="870"><td class="num" id="LN870">870</td><td class="line"> xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="871"><td class="num" id="LN871">871</td><td class="line"> yofs = (allocation.height * 3) / 4;</td></tr>
+<tr class="codeline" data-linenumber="872"><td class="num" id="LN872">872</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="873"><td class="num" id="LN873">873</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="874"><td class="num" id="LN874">874</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="875"><td class="num" id="LN875">875</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Left<span class='macro_popup'>0xff51</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="876"><td class="num" id="LN876">876</td><td class="line"> do_scroll = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="877"><td class="num" id="LN877">877</td><td class="line"> xofs = -<span class='macro'>SCROLL_STEP_SIZE<span class='macro_popup'>32</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="878"><td class="num" id="LN878">878</td><td class="line"> yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="879"><td class="num" id="LN879">879</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="880"><td class="num" id="LN880">880</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="881"><td class="num" id="LN881">881</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Right<span class='macro_popup'>0xff53</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="882"><td class="num" id="LN882">882</td><td class="line"> do_scroll = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="883"><td class="num" id="LN883">883</td><td class="line"> xofs = <span class='macro'>SCROLL_STEP_SIZE<span class='macro_popup'>32</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="884"><td class="num" id="LN884">884</td><td class="line"> yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="885"><td class="num" id="LN885">885</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="886"><td class="num" id="LN886">886</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="887"><td class="num" id="LN887">887</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_plus<span class='macro_popup'>0x02b</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="888"><td class="num" id="LN888">888</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_equal<span class='macro_popup'>0x03d</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="889"><td class="num" id="LN889">889</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_KP_Add<span class='macro_popup'>0xffab</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="890"><td class="num" id="LN890">890</td><td class="line"> do_zoom = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="891"><td class="num" id="LN891">891</td><td class="line"> zoom = priv-&gt;zoom * priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="892"><td class="num" id="LN892">892</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="893"><td class="num" id="LN893">893</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="894"><td class="num" id="LN894">894</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_minus<span class='macro_popup'>0x02d</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="895"><td class="num" id="LN895">895</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_KP_Subtract<span class='macro_popup'>0xffad</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="896"><td class="num" id="LN896">896</td><td class="line"> do_zoom = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="897"><td class="num" id="LN897">897</td><td class="line"> zoom = priv-&gt;zoom / priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="898"><td class="num" id="LN898">898</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="899"><td class="num" id="LN899">899</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="900"><td class="num" id="LN900">900</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_1<span class='macro_popup'>0x031</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="901"><td class="num" id="LN901">901</td><td class="line"> do_zoom = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="902"><td class="num" id="LN902">902</td><td class="line"> zoom = 1.0;</td></tr>
+<tr class="codeline" data-linenumber="903"><td class="num" id="LN903">903</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="904"><td class="num" id="LN904">904</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="905"><td class="num" id="LN905">905</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="906"><td class="num" id="LN906">906</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="907"><td class="num" id="LN907">907</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="908"><td class="num" id="LN908">908</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="909"><td class="num" id="LN909">909</td><td class="line"> <span class='keyword'>if</span> (do_zoom) {</td></tr>
+<tr class="codeline" data-linenumber="910"><td class="num" id="LN910">910</td><td class="line"> GdkSeat *seat;</td></tr>
+<tr class="codeline" data-linenumber="911"><td class="num" id="LN911">911</td><td class="line"> GdkDevice *device;</td></tr>
+<tr class="codeline" data-linenumber="912"><td class="num" id="LN912">912</td><td class="line"> gint x, y;</td></tr>
+<tr class="codeline" data-linenumber="913"><td class="num" id="LN913">913</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="914"><td class="num" id="LN914">914</td><td class="line"> seat = gdk_display_get_default_seat (gtk_widget_get_display (widget));</td></tr>
+<tr class="codeline" data-linenumber="915"><td class="num" id="LN915">915</td><td class="line"> device = gdk_seat_get_pointer (seat);</td></tr>
+<tr class="codeline" data-linenumber="916"><td class="num" id="LN916">916</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="917"><td class="num" id="LN917">917</td><td class="line"> gdk_window_get_device_position (gtk_widget_get_window (widget), device,</td></tr>
+<tr class="codeline" data-linenumber="918"><td class="num" id="LN918">918</td><td class="line"> &amp;x, &amp;y, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="919"><td class="num" id="LN919">919</td><td class="line"> set_zoom (view, zoom, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, x, y);</td></tr>
+<tr class="codeline" data-linenumber="920"><td class="num" id="LN920">920</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="921"><td class="num" id="LN921">921</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="922"><td class="num" id="LN922">922</td><td class="line"> <span class='keyword'>if</span> (do_scroll)</td></tr>
+<tr class="codeline" data-linenumber="923"><td class="num" id="LN923">923</td><td class="line"> scroll_by (view, xofs, yofs);</td></tr>
+<tr class="codeline" data-linenumber="924"><td class="num" id="LN924">924</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="925"><td class="num" id="LN925">925</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="926"><td class="num" id="LN926">926</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="927"><td class="num" id="LN927">927</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="928"><td class="num" id="LN928">928</td><td class="line"><span class='comment'>/* Button press event handler for the image view */</span></td></tr>
+<tr class="codeline" data-linenumber="929"><td class="num" id="LN929">929</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="930"><td class="num" id="LN930">930</td><td class="line">eom_scroll_view_button_press_event (GtkWidget *widget, GdkEventButton *event, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="931"><td class="num" id="LN931">931</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="932"><td class="num" id="LN932">932</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="933"><td class="num" id="LN933">933</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="934"><td class="num" id="LN934">934</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="935"><td class="num" id="LN935">935</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="936"><td class="num" id="LN936">936</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="937"><td class="num" id="LN937">937</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="938"><td class="num" id="LN938">938</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_has_focus (priv-&gt;display))</td></tr>
+<tr class="codeline" data-linenumber="939"><td class="num" id="LN939">939</td><td class="line"> gtk_widget_grab_focus (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="940"><td class="num" id="LN940">940</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="941"><td class="num" id="LN941">941</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;dragging)</td></tr>
+<tr class="codeline" data-linenumber="942"><td class="num" id="LN942">942</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="943"><td class="num" id="LN943">943</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="944"><td class="num" id="LN944">944</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;button) {</td></tr>
+<tr class="codeline" data-linenumber="945"><td class="num" id="LN945">945</td><td class="line"> <span class='keyword'>case</span> 1:</td></tr>
+<tr class="codeline" data-linenumber="946"><td class="num" id="LN946">946</td><td class="line"> <span class='keyword'>case</span> 2:</td></tr>
+<tr class="codeline" data-linenumber="947"><td class="num" id="LN947">947</td><td class="line"> <span class='keyword'>if</span> (event-&gt;button == 1 &amp;&amp; !priv-&gt;scroll_wheel_zoom &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="948"><td class="num" id="LN948">948</td><td class="line"> !(event-&gt;state &amp; GDK_CONTROL_MASK))</td></tr>
+<tr class="codeline" data-linenumber="949"><td class="num" id="LN949">949</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="950"><td class="num" id="LN950">950</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="951"><td class="num" id="LN951">951</td><td class="line"> <span class='keyword'>if</span> (is_image_movable (view)) {</td></tr>
+<tr class="codeline" data-linenumber="952"><td class="num" id="LN952">952</td><td class="line"> eom_scroll_view_set_cursor (view, EOM_SCROLL_VIEW_CURSOR_DRAG);</td></tr>
+<tr class="codeline" data-linenumber="953"><td class="num" id="LN953">953</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="954"><td class="num" id="LN954">954</td><td class="line"> priv-&gt;dragging = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="955"><td class="num" id="LN955">955</td><td class="line"> priv-&gt;drag_anchor_x = event-&gt;x;</td></tr>
+<tr class="codeline" data-linenumber="956"><td class="num" id="LN956">956</td><td class="line"> priv-&gt;drag_anchor_y = event-&gt;y;</td></tr>
+<tr class="codeline" data-linenumber="957"><td class="num" id="LN957">957</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="958"><td class="num" id="LN958">958</td><td class="line"> priv-&gt;drag_ofs_x = priv-&gt;xofs;</td></tr>
+<tr class="codeline" data-linenumber="959"><td class="num" id="LN959">959</td><td class="line"> priv-&gt;drag_ofs_y = priv-&gt;yofs;</td></tr>
+<tr class="codeline" data-linenumber="960"><td class="num" id="LN960">960</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="961"><td class="num" id="LN961">961</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="962"><td class="num" id="LN962">962</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="963"><td class="num" id="LN963">963</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="964"><td class="num" id="LN964">964</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="965"><td class="num" id="LN965">965</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="966"><td class="num" id="LN966">966</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="967"><td class="num" id="LN967">967</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="968"><td class="num" id="LN968">968</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="969"><td class="num" id="LN969">969</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="970"><td class="num" id="LN970">970</td><td class="line"><span class='comment'>/* Button release event handler for the image view */</span></td></tr>
+<tr class="codeline" data-linenumber="971"><td class="num" id="LN971">971</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="972"><td class="num" id="LN972">972</td><td class="line">eom_scroll_view_button_release_event (GtkWidget *widget, GdkEventButton *event, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="973"><td class="num" id="LN973">973</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="974"><td class="num" id="LN974">974</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="975"><td class="num" id="LN975">975</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="976"><td class="num" id="LN976">976</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="977"><td class="num" id="LN977">977</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="978"><td class="num" id="LN978">978</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="979"><td class="num" id="LN979">979</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="980"><td class="num" id="LN980">980</td><td class="line"> <span class='keyword'>if</span> (!priv-&gt;dragging)</td></tr>
+<tr class="codeline" data-linenumber="981"><td class="num" id="LN981">981</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="982"><td class="num" id="LN982">982</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="983"><td class="num" id="LN983">983</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;button) {</td></tr>
+<tr class="codeline" data-linenumber="984"><td class="num" id="LN984">984</td><td class="line"> <span class='keyword'>case</span> 1:</td></tr>
+<tr class="codeline" data-linenumber="985"><td class="num" id="LN985">985</td><td class="line"> <span class='keyword'>case</span> 2:</td></tr>
+<tr class="codeline" data-linenumber="986"><td class="num" id="LN986">986</td><td class="line"> drag_to (view, event-&gt;x, event-&gt;y);</td></tr>
+<tr class="codeline" data-linenumber="987"><td class="num" id="LN987">987</td><td class="line"> priv-&gt;dragging = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="988"><td class="num" id="LN988">988</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="989"><td class="num" id="LN989">989</td><td class="line"> eom_scroll_view_set_cursor (view, EOM_SCROLL_VIEW_CURSOR_NORMAL);</td></tr>
+<tr class="codeline" data-linenumber="990"><td class="num" id="LN990">990</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="991"><td class="num" id="LN991">991</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="992"><td class="num" id="LN992">992</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="993"><td class="num" id="LN993">993</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="994"><td class="num" id="LN994">994</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="995"><td class="num" id="LN995">995</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="996"><td class="num" id="LN996">996</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="997"><td class="num" id="LN997">997</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="998"><td class="num" id="LN998">998</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="999"><td class="num" id="LN999">999</td><td class="line"><span class='comment'>/* Scroll event handler for the image view. We zoom with an event without</span></td></tr>
+<tr class="codeline" data-linenumber="1000"><td class="num" id="LN1000">1000</td><td class="line"> <span class='comment'>* modifiers rather than scroll; we use the Shift modifier to scroll.</span></td></tr>
+<tr class="codeline" data-linenumber="1001"><td class="num" id="LN1001">1001</td><td class="line"> <span class='comment'>* Rationale: images are not primarily vertical, and in EOM you scan scroll by</span></td></tr>
+<tr class="codeline" data-linenumber="1002"><td class="num" id="LN1002">1002</td><td class="line"> <span class='comment'>* dragging the image with button 1 anyways.</span></td></tr>
+<tr class="codeline" data-linenumber="1003"><td class="num" id="LN1003">1003</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1004"><td class="num" id="LN1004">1004</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1005"><td class="num" id="LN1005">1005</td><td class="line">eom_scroll_view_scroll_event (GtkWidget *widget, GdkEventScroll *event, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1006"><td class="num" id="LN1006">1006</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1007"><td class="num" id="LN1007">1007</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1008"><td class="num" id="LN1008">1008</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1009"><td class="num" id="LN1009">1009</td><td class="line"> <span class='keyword'>double</span> zoom_factor;</td></tr>
+<tr class="codeline" data-linenumber="1010"><td class="num" id="LN1010">1010</td><td class="line"> <span class='keyword'>int</span> xofs, yofs;</td></tr>
+<tr class="codeline" data-linenumber="1011"><td class="num" id="LN1011">1011</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1012"><td class="num" id="LN1012">1012</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1013"><td class="num" id="LN1013">1013</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1014"><td class="num" id="LN1014">1014</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1015"><td class="num" id="LN1015">1015</td><td class="line"> <span class='comment'>/* Compute zoom factor and scrolling offsets; we'll only use either of them */</span></td></tr>
+<tr class="codeline" data-linenumber="1016"><td class="num" id="LN1016">1016</td><td class="line"> <span class='comment'>/* same as in gtkscrolledwindow.c */</span></td></tr>
+<tr class="codeline" data-linenumber="1017"><td class="num" id="LN1017">1017</td><td class="line"> xofs = gtk_adjustment_get_page_increment (priv-&gt;hadj) / 2;</td></tr>
+<tr class="codeline" data-linenumber="1018"><td class="num" id="LN1018">1018</td><td class="line"> yofs = gtk_adjustment_get_page_increment (priv-&gt;vadj) / 2;</td></tr>
+<tr class="codeline" data-linenumber="1019"><td class="num" id="LN1019">1019</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1020"><td class="num" id="LN1020">1020</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;direction) {</td></tr>
+<tr class="codeline" data-linenumber="1021"><td class="num" id="LN1021">1021</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_UP:</td></tr>
+<tr class="codeline" data-linenumber="1022"><td class="num" id="LN1022">1022</td><td class="line"> zoom_factor = priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="1023"><td class="num" id="LN1023">1023</td><td class="line"> xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="1024"><td class="num" id="LN1024">1024</td><td class="line"> yofs = -yofs;</td></tr>
+<tr class="codeline" data-linenumber="1025"><td class="num" id="LN1025">1025</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1026"><td class="num" id="LN1026">1026</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1027"><td class="num" id="LN1027">1027</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_LEFT:</td></tr>
+<tr class="codeline" data-linenumber="1028"><td class="num" id="LN1028">1028</td><td class="line"> zoom_factor = 1.0 / priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="1029"><td class="num" id="LN1029">1029</td><td class="line"> xofs = -xofs;</td></tr>
+<tr class="codeline" data-linenumber="1030"><td class="num" id="LN1030">1030</td><td class="line"> yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="1031"><td class="num" id="LN1031">1031</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1032"><td class="num" id="LN1032">1032</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1033"><td class="num" id="LN1033">1033</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_DOWN:</td></tr>
+<tr class="codeline" data-linenumber="1034"><td class="num" id="LN1034">1034</td><td class="line"> zoom_factor = 1.0 / priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="1035"><td class="num" id="LN1035">1035</td><td class="line"> xofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="1036"><td class="num" id="LN1036">1036</td><td class="line"> <span class='comment'>/* yofs = yofs; */</span></td></tr>
+<tr class="codeline" data-linenumber="1037"><td class="num" id="LN1037">1037</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1038"><td class="num" id="LN1038">1038</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1039"><td class="num" id="LN1039">1039</td><td class="line"> <span class='keyword'>case</span> GDK_SCROLL_RIGHT:</td></tr>
+<tr class="codeline" data-linenumber="1040"><td class="num" id="LN1040">1040</td><td class="line"> zoom_factor = priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="1041"><td class="num" id="LN1041">1041</td><td class="line"> <span class='comment'>/* xofs = xofs; */</span></td></tr>
+<tr class="codeline" data-linenumber="1042"><td class="num" id="LN1042">1042</td><td class="line"> yofs = 0;</td></tr>
+<tr class="codeline" data-linenumber="1043"><td class="num" id="LN1043">1043</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1044"><td class="num" id="LN1044">1044</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1045"><td class="num" id="LN1045">1045</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="1046"><td class="num" id="LN1046">1046</td><td class="line"> <span class='macro'>g_assert_not_reached ()<span class='macro_popup'>do { g_assertion_message_expr ("EOM", "eom-scroll-view.c", 1046<br>, ((const char*) (__func__)), ((void*)0)); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1047"><td class="num" id="LN1047">1047</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1048"><td class="num" id="LN1048">1048</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1049"><td class="num" id="LN1049">1049</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1050"><td class="num" id="LN1050">1050</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;scroll_wheel_zoom) {</td></tr>
+<tr class="codeline" data-linenumber="1051"><td class="num" id="LN1051">1051</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_SHIFT_MASK)</td></tr>
+<tr class="codeline" data-linenumber="1052"><td class="num" id="LN1052">1052</td><td class="line"> scroll_by (view, yofs, xofs);</td></tr>
+<tr class="codeline" data-linenumber="1053"><td class="num" id="LN1053">1053</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_CONTROL_MASK)</td></tr>
+<tr class="codeline" data-linenumber="1054"><td class="num" id="LN1054">1054</td><td class="line"> scroll_by (view, xofs, yofs);</td></tr>
+<tr class="codeline" data-linenumber="1055"><td class="num" id="LN1055">1055</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1056"><td class="num" id="LN1056">1056</td><td class="line"> set_zoom (view, priv-&gt;zoom * zoom_factor,</td></tr>
+<tr class="codeline" data-linenumber="1057"><td class="num" id="LN1057">1057</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, event-&gt;x, event-&gt;y);</td></tr>
+<tr class="codeline" data-linenumber="1058"><td class="num" id="LN1058">1058</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1059"><td class="num" id="LN1059">1059</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_SHIFT_MASK)</td></tr>
+<tr class="codeline" data-linenumber="1060"><td class="num" id="LN1060">1060</td><td class="line"> scroll_by (view, yofs, xofs);</td></tr>
+<tr class="codeline" data-linenumber="1061"><td class="num" id="LN1061">1061</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_CONTROL_MASK)</td></tr>
+<tr class="codeline" data-linenumber="1062"><td class="num" id="LN1062">1062</td><td class="line"> set_zoom (view, priv-&gt;zoom * zoom_factor,</td></tr>
+<tr class="codeline" data-linenumber="1063"><td class="num" id="LN1063">1063</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, event-&gt;x, event-&gt;y);</td></tr>
+<tr class="codeline" data-linenumber="1064"><td class="num" id="LN1064">1064</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1065"><td class="num" id="LN1065">1065</td><td class="line"> scroll_by (view, xofs, yofs);</td></tr>
+<tr class="codeline" data-linenumber="1066"><td class="num" id="LN1066">1066</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1067"><td class="num" id="LN1067">1067</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1068"><td class="num" id="LN1068">1068</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1069"><td class="num" id="LN1069">1069</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1070"><td class="num" id="LN1070">1070</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1071"><td class="num" id="LN1071">1071</td><td class="line"><span class='comment'>/* Motion event handler for the image view */</span></td></tr>
+<tr class="codeline" data-linenumber="1072"><td class="num" id="LN1072">1072</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1073"><td class="num" id="LN1073">1073</td><td class="line">eom_scroll_view_motion_event (GtkWidget *widget, GdkEventMotion *event, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1074"><td class="num" id="LN1074">1074</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1075"><td class="num" id="LN1075">1075</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1076"><td class="num" id="LN1076">1076</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1077"><td class="num" id="LN1077">1077</td><td class="line"> gint x, y;</td></tr>
+<tr class="codeline" data-linenumber="1078"><td class="num" id="LN1078">1078</td><td class="line"> GdkModifierType mods;</td></tr>
+<tr class="codeline" data-linenumber="1079"><td class="num" id="LN1079">1079</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1080"><td class="num" id="LN1080">1080</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1081"><td class="num" id="LN1081">1081</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1082"><td class="num" id="LN1082">1082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1083"><td class="num" id="LN1083">1083</td><td class="line"> <span class='keyword'>if</span> (!priv-&gt;dragging)</td></tr>
+<tr class="codeline" data-linenumber="1084"><td class="num" id="LN1084">1084</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1085"><td class="num" id="LN1085">1085</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1086"><td class="num" id="LN1086">1086</td><td class="line"> <span class='keyword'>if</span> (event-&gt;is_hint)</td></tr>
+<tr class="codeline" data-linenumber="1087"><td class="num" id="LN1087">1087</td><td class="line"> gdk_window_get_device_position (gtk_widget_get_window (priv-&gt;display), event-&gt;device, &amp;x, &amp;y, &amp;mods);</td></tr>
+<tr class="codeline" data-linenumber="1088"><td class="num" id="LN1088">1088</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1089"><td class="num" id="LN1089">1089</td><td class="line"> x = event-&gt;x;</td></tr>
+<tr class="codeline" data-linenumber="1090"><td class="num" id="LN1090">1090</td><td class="line"> y = event-&gt;y;</td></tr>
+<tr class="codeline" data-linenumber="1091"><td class="num" id="LN1091">1091</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1092"><td class="num" id="LN1092">1092</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1093"><td class="num" id="LN1093">1093</td><td class="line"> drag_to (view, x, y);</td></tr>
+<tr class="codeline" data-linenumber="1094"><td class="num" id="LN1094">1094</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1095"><td class="num" id="LN1095">1095</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1096"><td class="num" id="LN1096">1096</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1097"><td class="num" id="LN1097">1097</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1098"><td class="num" id="LN1098">1098</td><td class="line">display_map_event (GtkWidget *widget, GdkEvent *event, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1099"><td class="num" id="LN1099">1099</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1100"><td class="num" id="LN1100">1100</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1101"><td class="num" id="LN1101">1101</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1102"><td class="num" id="LN1102">1102</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1103"><td class="num" id="LN1103">1103</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1104"><td class="num" id="LN1104">1104</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1105"><td class="num" id="LN1105">1105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1106"><td class="num" id="LN1106">1106</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-scroll-view.c", 1106, ((const char*) (<br>__func__))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1107"><td class="num" id="LN1107">1107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1108"><td class="num" id="LN1108">1108</td><td class="line"> set_zoom_fit (view);</td></tr>
+<tr class="codeline" data-linenumber="1109"><td class="num" id="LN1109">1109</td><td class="line"> check_scrollbar_visibility (view, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1110"><td class="num" id="LN1110">1110</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1111"><td class="num" id="LN1111">1111</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1112"><td class="num" id="LN1112">1112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1113"><td class="num" id="LN1113">1113</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1114"><td class="num" id="LN1114">1114</td><td class="line">eom_scroll_view_size_allocate (GtkWidget *widget, GtkAllocation *alloc)</td></tr>
+<tr class="codeline" data-linenumber="1115"><td class="num" id="LN1115">1115</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1116"><td class="num" id="LN1116">1116</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1117"><td class="num" id="LN1117">1117</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1118"><td class="num" id="LN1118">1118</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (widget)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1119"><td class="num" id="LN1119">1119</td><td class="line"> check_scrollbar_visibility (view, alloc);</td></tr>
+<tr class="codeline" data-linenumber="1120"><td class="num" id="LN1120">1120</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1121"><td class="num" id="LN1121">1121</td><td class="line"> <span class='macro'>GTK_WIDGET_CLASS (eom_scroll_view_parent_class)<span class='macro_popup'>((((GtkWidgetClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_scroll_view_parent_class)), ((gtk_widget_get_type ()<br>))))))</span></span>-&gt;size_allocate (widget</td></tr>
+<tr class="codeline" data-linenumber="1122"><td class="num" id="LN1122">1122</td><td class="line"> ,alloc);</td></tr>
+<tr class="codeline" data-linenumber="1123"><td class="num" id="LN1123">1123</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1124"><td class="num" id="LN1124">1124</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1125"><td class="num" id="LN1125">1125</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1126"><td class="num" id="LN1126">1126</td><td class="line">display_size_change (GtkWidget *widget, GdkEventConfigure *event, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1127"><td class="num" id="LN1127">1127</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1128"><td class="num" id="LN1128">1128</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1129"><td class="num" id="LN1129">1129</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1130"><td class="num" id="LN1130">1130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1131"><td class="num" id="LN1131">1131</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1132"><td class="num" id="LN1132">1132</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1133"><td class="num" id="LN1133">1133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1134"><td class="num" id="LN1134">1134</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;zoom_mode == ZOOM_MODE_FIT) {</td></tr>
+<tr class="codeline" data-linenumber="1135"><td class="num" id="LN1135">1135</td><td class="line"> GtkAllocation alloc;</td></tr>
+<tr class="codeline" data-linenumber="1136"><td class="num" id="LN1136">1136</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1137"><td class="num" id="LN1137">1137</td><td class="line"> alloc.width = event-&gt;width;</td></tr>
+<tr class="codeline" data-linenumber="1138"><td class="num" id="LN1138">1138</td><td class="line"> alloc.height = event-&gt;height;</td></tr>
+<tr class="codeline" data-linenumber="1139"><td class="num" id="LN1139">1139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1140"><td class="num" id="LN1140">1140</td><td class="line"> set_zoom_fit (view);</td></tr>
+<tr class="codeline" data-linenumber="1141"><td class="num" id="LN1141">1141</td><td class="line"> check_scrollbar_visibility (view, &amp;alloc);</td></tr>
+<tr class="codeline" data-linenumber="1142"><td class="num" id="LN1142">1142</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1143"><td class="num" id="LN1143">1143</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1144"><td class="num" id="LN1144">1144</td><td class="line"> <span class='keyword'>int</span> scaled_width, scaled_height;</td></tr>
+<tr class="codeline" data-linenumber="1145"><td class="num" id="LN1145">1145</td><td class="line"> <span class='keyword'>int</span> x_offset = 0;</td></tr>
+<tr class="codeline" data-linenumber="1146"><td class="num" id="LN1146">1146</td><td class="line"> <span class='keyword'>int</span> y_offset = 0;</td></tr>
+<tr class="codeline" data-linenumber="1147"><td class="num" id="LN1147">1147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1148"><td class="num" id="LN1148">1148</td><td class="line"> compute_scaled_size (view, priv-&gt;zoom, &amp;scaled_width, &amp;scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="1149"><td class="num" id="LN1149">1149</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1150"><td class="num" id="LN1150">1150</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;xofs + event-&gt;width &gt; scaled_width)</td></tr>
+<tr class="codeline" data-linenumber="1151"><td class="num" id="LN1151">1151</td><td class="line"> x_offset = scaled_width - event-&gt;width - priv-&gt;xofs;</td></tr>
+<tr class="codeline" data-linenumber="1152"><td class="num" id="LN1152">1152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1153"><td class="num" id="LN1153">1153</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;yofs + event-&gt;height &gt; scaled_height)</td></tr>
+<tr class="codeline" data-linenumber="1154"><td class="num" id="LN1154">1154</td><td class="line"> y_offset = scaled_height - event-&gt;height - priv-&gt;yofs;</td></tr>
+<tr class="codeline" data-linenumber="1155"><td class="num" id="LN1155">1155</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1156"><td class="num" id="LN1156">1156</td><td class="line"> scroll_by (view, x_offset, y_offset);</td></tr>
+<tr class="codeline" data-linenumber="1157"><td class="num" id="LN1157">1157</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1158"><td class="num" id="LN1158">1158</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1159"><td class="num" id="LN1159">1159</td><td class="line"> update_scrollbar_values (view);</td></tr>
+<tr class="codeline" data-linenumber="1160"><td class="num" id="LN1160">1160</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1161"><td class="num" id="LN1161">1161</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1162"><td class="num" id="LN1162">1162</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1163"><td class="num" id="LN1163">1163</td><td class="line">eom_scroll_view_focus_in_event (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="1164"><td class="num" id="LN1164">1164</td><td class="line"> GdkEventFocus *event,</td></tr>
+<tr class="codeline" data-linenumber="1165"><td class="num" id="LN1165">1165</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1166"><td class="num" id="LN1166">1166</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1167"><td class="num" id="LN1167">1167</td><td class="line"> g_signal_stop_emission_by_name (widget, <span class='string_literal'>"focus_in_event"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1168"><td class="num" id="LN1168">1168</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1169"><td class="num" id="LN1169">1169</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1170"><td class="num" id="LN1170">1170</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1171"><td class="num" id="LN1171">1171</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1172"><td class="num" id="LN1172">1172</td><td class="line">eom_scroll_view_focus_out_event (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="1173"><td class="num" id="LN1173">1173</td><td class="line"> GdkEventFocus *event,</td></tr>
+<tr class="codeline" data-linenumber="1174"><td class="num" id="LN1174">1174</td><td class="line"> gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1175"><td class="num" id="LN1175">1175</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1176"><td class="num" id="LN1176">1176</td><td class="line"> g_signal_stop_emission_by_name (widget, <span class='string_literal'>"focus_out_event"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1177"><td class="num" id="LN1177">1177</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1178"><td class="num" id="LN1178">1178</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1179"><td class="num" id="LN1179">1179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1180"><td class="num" id="LN1180">1180</td><td class="line"><span class='keyword'>static</span> gboolean _hq_redraw_cb (gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1181"><td class="num" id="LN1181">1181</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1182"><td class="num" id="LN1182">1182</td><td class="line"> EomScrollViewPrivate *priv = <span class='macro'>EOM_SCROLL_VIEW (user_data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_scroll_view_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1183"><td class="num" id="LN1183">1183</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1184"><td class="num" id="LN1184">1184</td><td class="line"> priv-&gt;force_unfiltered = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1185"><td class="num" id="LN1185">1185</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1186"><td class="num" id="LN1186">1186</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1187"><td class="num" id="LN1187">1187</td><td class="line"> priv-&gt;hq_redraw_timeout_source = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1188"><td class="num" id="LN1188">1188</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>G_SOURCE_REMOVE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1189"><td class="num" id="LN1189">1189</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1190"><td class="num" id="LN1190">1190</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1191"><td class="num" id="LN1191">1191</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1192"><td class="num" id="LN1192">1192</td><td class="line">_clear_hq_redraw_timeout (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1193"><td class="num" id="LN1193">1193</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1194"><td class="num" id="LN1194">1194</td><td class="line"> EomScrollViewPrivate *priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1195"><td class="num" id="LN1195">1195</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1196"><td class="num" id="LN1196">1196</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;hq_redraw_timeout_source != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1197"><td class="num" id="LN1197">1197</td><td class="line"> g_source_unref (priv-&gt;hq_redraw_timeout_source);</td></tr>
+<tr class="codeline" data-linenumber="1198"><td class="num" id="LN1198">1198</td><td class="line"> g_source_destroy (priv-&gt;hq_redraw_timeout_source);</td></tr>
+<tr class="codeline" data-linenumber="1199"><td class="num" id="LN1199">1199</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1200"><td class="num" id="LN1200">1200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1201"><td class="num" id="LN1201">1201</td><td class="line"> priv-&gt;hq_redraw_timeout_source = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1202"><td class="num" id="LN1202">1202</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1203"><td class="num" id="LN1203">1203</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1204"><td class="num" id="LN1204">1204</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1205"><td class="num" id="LN1205">1205</td><td class="line">_set_hq_redraw_timeout (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1206"><td class="num" id="LN1206">1206</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1207"><td class="num" id="LN1207">1207</td><td class="line"> GSource *source;</td></tr>
+<tr class="codeline" data-linenumber="1208"><td class="num" id="LN1208">1208</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1209"><td class="num" id="LN1209">1209</td><td class="line"> _clear_hq_redraw_timeout (view);</td></tr>
+<tr class="codeline" data-linenumber="1210"><td class="num" id="LN1210">1210</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1211"><td class="num" id="LN1211">1211</td><td class="line"> source = g_timeout_source_new (200);</td></tr>
+<tr class="codeline" data-linenumber="1212"><td class="num" id="LN1212">1212</td><td class="line"> g_source_set_callback (source, &amp;_hq_redraw_cb, view, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1213"><td class="num" id="LN1213">1213</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1214"><td class="num" id="LN1214">1214</td><td class="line"> g_source_attach (source, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1215"><td class="num" id="LN1215">1215</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1216"><td class="num" id="LN1216">1216</td><td class="line"> view-&gt;priv-&gt;hq_redraw_timeout_source = source;</td></tr>
+<tr class="codeline" data-linenumber="1217"><td class="num" id="LN1217">1217</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1218"><td class="num" id="LN1218">1218</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1219"><td class="num" id="LN1219">1219</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1220"><td class="num" id="LN1220">1220</td><td class="line">display_draw (GtkWidget *widget, cairo_t *cr, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1221"><td class="num" id="LN1221">1221</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1222"><td class="num" id="LN1222">1222</td><td class="line"> <span class='keyword'>const</span> GdkRGBA *background_color = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1223"><td class="num" id="LN1223">1223</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1224"><td class="num" id="LN1224">1224</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1225"><td class="num" id="LN1225">1225</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="1226"><td class="num" id="LN1226">1226</td><td class="line"> <span class='keyword'>int</span> scaled_width, scaled_height;</td></tr>
+<tr class="codeline" data-linenumber="1227"><td class="num" id="LN1227">1227</td><td class="line"> <span class='keyword'>int</span> xofs, yofs;</td></tr>
+<tr class="codeline" data-linenumber="1228"><td class="num" id="LN1228">1228</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1229"><td class="num" id="LN1229">1229</td><td class="line"> <span class='macro'>g_return_val_if_fail (GTK_IS_DRAWING_AREA (widget), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((widget)); GType __t = ((gtk_drawing_area_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "GTK_IS_DRAWING_AREA (widget)"); return ((0)); } } while (<br>0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1230"><td class="num" id="LN1230">1230</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_SCROLL_VIEW (data), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((data)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (data)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1231"><td class="num" id="LN1231">1231</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1232"><td class="num" id="LN1232">1232</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1233"><td class="num" id="LN1233">1233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1234"><td class="num" id="LN1234">1234</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1235"><td class="num" id="LN1235">1235</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1236"><td class="num" id="LN1236">1236</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1237"><td class="num" id="LN1237">1237</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1238"><td class="num" id="LN1238">1238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1239"><td class="num" id="LN1239">1239</td><td class="line"> compute_scaled_size (view, priv-&gt;zoom, &amp;scaled_width, &amp;scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="1240"><td class="num" id="LN1240">1240</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1241"><td class="num" id="LN1241">1241</td><td class="line"> gtk_widget_get_allocation (priv-&gt;display, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="1242"><td class="num" id="LN1242">1242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1243"><td class="num" id="LN1243">1243</td><td class="line"> <span class='comment'>/* Compute image offsets with respect to the window */</span></td></tr>
+<tr class="codeline" data-linenumber="1244"><td class="num" id="LN1244">1244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1245"><td class="num" id="LN1245">1245</td><td class="line"> <span class='keyword'>if</span> (scaled_width &lt;= allocation.width)</td></tr>
+<tr class="codeline" data-linenumber="1246"><td class="num" id="LN1246">1246</td><td class="line"> xofs = (allocation.width - scaled_width) / 2;</td></tr>
+<tr class="codeline" data-linenumber="1247"><td class="num" id="LN1247">1247</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1248"><td class="num" id="LN1248">1248</td><td class="line"> xofs = -priv-&gt;xofs;</td></tr>
+<tr class="codeline" data-linenumber="1249"><td class="num" id="LN1249">1249</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1250"><td class="num" id="LN1250">1250</td><td class="line"> <span class='keyword'>if</span> (scaled_height &lt;= allocation.height)</td></tr>
+<tr class="codeline" data-linenumber="1251"><td class="num" id="LN1251">1251</td><td class="line"> yofs = (allocation.height - scaled_height) / 2;</td></tr>
+<tr class="codeline" data-linenumber="1252"><td class="num" id="LN1252">1252</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1253"><td class="num" id="LN1253">1253</td><td class="line"> yofs = -priv-&gt;yofs;</td></tr>
+<tr class="codeline" data-linenumber="1254"><td class="num" id="LN1254">1254</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1255"><td class="num" id="LN1255">1255</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-scroll-view.c", 1255, ((const char*) (<br>__func__))</span></span>, <span class='string_literal'>"zoom %.2f, xofs: %i, yofs: %i scaled w: %i h: %i\n"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1256"><td class="num" id="LN1256">1256</td><td class="line"> priv-&gt;zoom, xofs, yofs, scaled_width, scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="1257"><td class="num" id="LN1257">1257</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1258"><td class="num" id="LN1258">1258</td><td class="line"> <span class='comment'>/* Paint the background */</span></td></tr>
+<tr class="codeline" data-linenumber="1259"><td class="num" id="LN1259">1259</td><td class="line"> cairo_rectangle (cr, 0, 0, allocation.width, allocation.height);</td></tr>
+<tr class="codeline" data-linenumber="1260"><td class="num" id="LN1260">1260</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;transp_style != EOM_TRANSP_BACKGROUND)</td></tr>
+<tr class="codeline" data-linenumber="1261"><td class="num" id="LN1261">1261</td><td class="line"> cairo_rectangle (cr, <span class='macro'>MAX (0, xofs)<span class='macro_popup'>(((0) &gt; (xofs)) ? (0) : (xofs))</span></span>, <span class='macro'>MAX (0, yofs)<span class='macro_popup'>(((0) &gt; (yofs)) ? (0) : (yofs))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1262"><td class="num" id="LN1262">1262</td><td class="line"> scaled_width, scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="1263"><td class="num" id="LN1263">1263</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;override_bg_color != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1264"><td class="num" id="LN1264">1264</td><td class="line"> background_color = priv-&gt;override_bg_color;</td></tr>
+<tr class="codeline" data-linenumber="1265"><td class="num" id="LN1265">1265</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (priv-&gt;use_bg_color)</td></tr>
+<tr class="codeline" data-linenumber="1266"><td class="num" id="LN1266">1266</td><td class="line"> background_color = priv-&gt;background_color;</td></tr>
+<tr class="codeline" data-linenumber="1267"><td class="num" id="LN1267">1267</td><td class="line"> <span class='keyword'>if</span> (background_color != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1268"><td class="num" id="LN1268">1268</td><td class="line"> cairo_set_source_rgba (cr,</td></tr>
+<tr class="codeline" data-linenumber="1269"><td class="num" id="LN1269">1269</td><td class="line"> background_color-&gt;red,</td></tr>
+<tr class="codeline" data-linenumber="1270"><td class="num" id="LN1270">1270</td><td class="line"> background_color-&gt;green,</td></tr>
+<tr class="codeline" data-linenumber="1271"><td class="num" id="LN1271">1271</td><td class="line"> background_color-&gt;blue,</td></tr>
+<tr class="codeline" data-linenumber="1272"><td class="num" id="LN1272">1272</td><td class="line"> background_color-&gt;alpha);</td></tr>
+<tr class="codeline" data-linenumber="1273"><td class="num" id="LN1273">1273</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1274"><td class="num" id="LN1274">1274</td><td class="line"> cairo_set_source (cr, gdk_window_get_background_pattern (gtk_widget_get_window (priv-&gt;display)));</td></tr>
+<tr class="codeline" data-linenumber="1275"><td class="num" id="LN1275">1275</td><td class="line"> cairo_set_fill_rule (cr, CAIRO_FILL_RULE_EVEN_ODD);</td></tr>
+<tr class="codeline" data-linenumber="1276"><td class="num" id="LN1276">1276</td><td class="line"> cairo_fill (cr);</td></tr>
+<tr class="codeline" data-linenumber="1277"><td class="num" id="LN1277">1277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1278"><td class="num" id="LN1278">1278</td><td class="line"> <span class='keyword'>if</span> (gdk_pixbuf_get_has_alpha (priv-&gt;pixbuf)) {</td></tr>
+<tr class="codeline" data-linenumber="1279"><td class="num" id="LN1279">1279</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;background_surface == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1280"><td class="num" id="LN1280">1280</td><td class="line"> priv-&gt;background_surface = create_background_surface (view);</td></tr>
+<tr class="codeline" data-linenumber="1281"><td class="num" id="LN1281">1281</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1282"><td class="num" id="LN1282">1282</td><td class="line"> cairo_set_source_surface (cr, priv-&gt;background_surface, xofs, yofs);</td></tr>
+<tr class="codeline" data-linenumber="1283"><td class="num" id="LN1283">1283</td><td class="line"> cairo_pattern_set_extend (cairo_get_source (cr), CAIRO_EXTEND_REPEAT);</td></tr>
+<tr class="codeline" data-linenumber="1284"><td class="num" id="LN1284">1284</td><td class="line"> cairo_rectangle (cr, xofs, yofs, scaled_width, scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="1285"><td class="num" id="LN1285">1285</td><td class="line"> cairo_fill (cr);</td></tr>
+<tr class="codeline" data-linenumber="1286"><td class="num" id="LN1286">1286</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1287"><td class="num" id="LN1287">1287</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1288"><td class="num" id="LN1288">1288</td><td class="line"> <span class='comment'>/* Make sure the image is only drawn as large as needed.</span></td></tr>
+<tr class="codeline" data-linenumber="1289"><td class="num" id="LN1289">1289</td><td class="line"> <span class='comment'>* This is especially necessary for SVGs where there might</span></td></tr>
+<tr class="codeline" data-linenumber="1290"><td class="num" id="LN1290">1290</td><td class="line"> <span class='comment'>* be more image data available outside the image boundaries.</span></td></tr>
+<tr class="codeline" data-linenumber="1291"><td class="num" id="LN1291">1291</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="1292"><td class="num" id="LN1292">1292</td><td class="line"> cairo_rectangle (cr, xofs, yofs, scaled_width, scaled_height);</td></tr>
+<tr class="codeline" data-linenumber="1293"><td class="num" id="LN1293">1293</td><td class="line"> cairo_clip (cr);</td></tr>
+<tr class="codeline" data-linenumber="1294"><td class="num" id="LN1294">1294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1295"><td class="num" id="LN1295">1295</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_RSVG<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="1296"><td class="num" id="LN1296">1296</td><td class="line"> <span class='keyword'>if</span> (eom_image_is_svg (view-&gt;priv-&gt;image)) {</td></tr>
+<tr class="codeline" data-linenumber="1297"><td class="num" id="LN1297">1297</td><td class="line"> cairo_matrix_t matrix, translate, scale, original;</td></tr>
+<tr class="codeline" data-linenumber="1298"><td class="num" id="LN1298">1298</td><td class="line"> EomTransform *transform = eom_image_get_transform (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="1299"><td class="num" id="LN1299">1299</td><td class="line"> cairo_matrix_init_identity (&amp;matrix);</td></tr>
+<tr class="codeline" data-linenumber="1300"><td class="num" id="LN1300">1300</td><td class="line"> <span class='keyword'>if</span> (transform) {</td></tr>
+<tr class="codeline" data-linenumber="1301"><td class="num" id="LN1301">1301</td><td class="line"> cairo_matrix_t affine;</td></tr>
+<tr class="codeline" data-linenumber="1302"><td class="num" id="LN1302">1302</td><td class="line"> <span class='keyword'>int</span> image_offset_x = 0;</td></tr>
+<tr class="codeline" data-linenumber="1303"><td class="num" id="LN1303">1303</td><td class="line"> <span class='keyword'>int</span> image_offset_y = 0;</td></tr>
+<tr class="codeline" data-linenumber="1304"><td class="num" id="LN1304">1304</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1305"><td class="num" id="LN1305">1305</td><td class="line"> eom_transform_get_affine (transform, &amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="1306"><td class="num" id="LN1306">1306</td><td class="line"> cairo_matrix_multiply (&amp;matrix, &amp;affine, &amp;matrix);</td></tr>
+<tr class="codeline" data-linenumber="1307"><td class="num" id="LN1307">1307</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1308"><td class="num" id="LN1308">1308</td><td class="line"> <span class='keyword'>switch</span> (eom_transform_get_transform_type (transform)) {</td></tr>
+<tr class="codeline" data-linenumber="1309"><td class="num" id="LN1309">1309</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_90:</td></tr>
+<tr class="codeline" data-linenumber="1310"><td class="num" id="LN1310">1310</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_HORIZONTAL:</td></tr>
+<tr class="codeline" data-linenumber="1311"><td class="num" id="LN1311">1311</td><td class="line"> image_offset_x = gdk_pixbuf_get_width (priv-&gt;pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1312"><td class="num" id="LN1312">1312</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1313"><td class="num" id="LN1313">1313</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_270:</td></tr>
+<tr class="codeline" data-linenumber="1314"><td class="num" id="LN1314">1314</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_VERTICAL:</td></tr>
+<tr class="codeline" data-linenumber="1315"><td class="num" id="LN1315">1315</td><td class="line"> image_offset_y = gdk_pixbuf_get_height (priv-&gt;pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1316"><td class="num" id="LN1316">1316</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1317"><td class="num" id="LN1317">1317</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_180:</td></tr>
+<tr class="codeline" data-linenumber="1318"><td class="num" id="LN1318">1318</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSPOSE:</td></tr>
+<tr class="codeline" data-linenumber="1319"><td class="num" id="LN1319">1319</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSVERSE:</td></tr>
+<tr class="codeline" data-linenumber="1320"><td class="num" id="LN1320">1320</td><td class="line"> image_offset_x = gdk_pixbuf_get_width (priv-&gt;pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1321"><td class="num" id="LN1321">1321</td><td class="line"> image_offset_y = gdk_pixbuf_get_height (priv-&gt;pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1322"><td class="num" id="LN1322">1322</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1323"><td class="num" id="LN1323">1323</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_NONE:</td></tr>
+<tr class="codeline" data-linenumber="1324"><td class="num" id="LN1324">1324</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="1325"><td class="num" id="LN1325">1325</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1326"><td class="num" id="LN1326">1326</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1327"><td class="num" id="LN1327">1327</td><td class="line"> cairo_matrix_init_translate (&amp;translate, (<span class='keyword'>double</span>) image_offset_x, (<span class='keyword'>double</span>) image_offset_y);</td></tr>
+<tr class="codeline" data-linenumber="1328"><td class="num" id="LN1328">1328</td><td class="line"> cairo_matrix_multiply (&amp;matrix, &amp;matrix, &amp;translate);</td></tr>
+<tr class="codeline" data-linenumber="1329"><td class="num" id="LN1329">1329</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1330"><td class="num" id="LN1330">1330</td><td class="line"> <span class='comment'>/* Zoom factor for SVGs is already scaled, so scale back to application pixels. */</span></td></tr>
+<tr class="codeline" data-linenumber="1331"><td class="num" id="LN1331">1331</td><td class="line"> cairo_matrix_init_scale (&amp;scale, priv-&gt;zoom / priv-&gt;scale, priv-&gt;zoom / priv-&gt;scale);</td></tr>
+<tr class="codeline" data-linenumber="1332"><td class="num" id="LN1332">1332</td><td class="line"> cairo_matrix_multiply (&amp;matrix, &amp;matrix, &amp;scale);</td></tr>
+<tr class="codeline" data-linenumber="1333"><td class="num" id="LN1333">1333</td><td class="line"> cairo_matrix_init_translate (&amp;translate, xofs, yofs);</td></tr>
+<tr class="codeline" data-linenumber="1334"><td class="num" id="LN1334">1334</td><td class="line"> cairo_matrix_multiply (&amp;matrix, &amp;matrix, &amp;translate);</td></tr>
+<tr class="codeline" data-linenumber="1335"><td class="num" id="LN1335">1335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1336"><td class="num" id="LN1336">1336</td><td class="line"> cairo_get_matrix (cr, &amp;original);</td></tr>
+<tr class="codeline" data-linenumber="1337"><td class="num" id="LN1337">1337</td><td class="line"> cairo_matrix_multiply (&amp;matrix, &amp;matrix, &amp;original);</td></tr>
+<tr class="codeline" data-linenumber="1338"><td class="num" id="LN1338">1338</td><td class="line"> cairo_set_matrix (cr, &amp;matrix);</td></tr>
+<tr class="codeline" data-linenumber="1339"><td class="num" id="LN1339">1339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1340"><td class="num" id="LN1340">1340</td><td class="line"> rsvg_handle_render_cairo (eom_image_get_svg (priv-&gt;image), cr);</td></tr>
+<tr class="codeline" data-linenumber="1341"><td class="num" id="LN1341">1341</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1342"><td class="num" id="LN1342">1342</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1343"><td class="num" id="LN1343">1343</td><td class="line"><span class='directive'>#endif /* HAVE_RSVG */</span></td></tr>
+<tr class="codeline" data-linenumber="1344"><td class="num" id="LN1344">1344</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1345"><td class="num" id="LN1345">1345</td><td class="line"> cairo_filter_t interp_type;</td></tr>
+<tr class="codeline" data-linenumber="1346"><td class="num" id="LN1346">1346</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1347"><td class="num" id="LN1347">1347</td><td class="line"> <span class='keyword'>if</span>(!<span class='macro'>DOUBLE_EQUAL(priv-&gt;zoom, 1.0)<span class='macro_popup'>(fabs (priv-&gt;zoom - 1.0) &lt; 1e-6)</span></span> &amp;&amp; priv-&gt;force_unfiltered)</td></tr>
+<tr class="codeline" data-linenumber="1348"><td class="num" id="LN1348">1348</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1349"><td class="num" id="LN1349">1349</td><td class="line"> interp_type = CAIRO_FILTER_NEAREST;</td></tr>
+<tr class="codeline" data-linenumber="1350"><td class="num" id="LN1350">1350</td><td class="line"> _set_hq_redraw_timeout(view);</td></tr>
+<tr class="codeline" data-linenumber="1351"><td class="num" id="LN1351">1351</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1352"><td class="num" id="LN1352">1352</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1353"><td class="num" id="LN1353">1353</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1354"><td class="num" id="LN1354">1354</td><td class="line"> <span class='keyword'>if</span> (is_zoomed_in (view))</td></tr>
+<tr class="codeline" data-linenumber="1355"><td class="num" id="LN1355">1355</td><td class="line"> interp_type = priv-&gt;interp_type_in;</td></tr>
+<tr class="codeline" data-linenumber="1356"><td class="num" id="LN1356">1356</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="1357"><td class="num" id="LN1357">1357</td><td class="line"> interp_type = priv-&gt;interp_type_out;</td></tr>
+<tr class="codeline" data-linenumber="1358"><td class="num" id="LN1358">1358</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1359"><td class="num" id="LN1359">1359</td><td class="line"> _clear_hq_redraw_timeout (view);</td></tr>
+<tr class="codeline" data-linenumber="1360"><td class="num" id="LN1360">1360</td><td class="line"> priv-&gt;force_unfiltered = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1361"><td class="num" id="LN1361">1361</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1362"><td class="num" id="LN1362">1362</td><td class="line"> cairo_scale (cr, priv-&gt;zoom, priv-&gt;zoom);</td></tr>
+<tr class="codeline" data-linenumber="1363"><td class="num" id="LN1363">1363</td><td class="line"> cairo_set_source_surface (cr, priv-&gt;surface, xofs/priv-&gt;zoom, yofs/priv-&gt;zoom);</td></tr>
+<tr class="codeline" data-linenumber="1364"><td class="num" id="LN1364">1364</td><td class="line"> cairo_pattern_set_extend (cairo_get_source (cr), CAIRO_EXTEND_PAD);</td></tr>
+<tr class="codeline" data-linenumber="1365"><td class="num" id="LN1365">1365</td><td class="line"> <span class='keyword'>if</span> (is_zoomed_in (view) || is_zoomed_out (view))</td></tr>
+<tr class="codeline" data-linenumber="1366"><td class="num" id="LN1366">1366</td><td class="line"> cairo_pattern_set_filter (cairo_get_source (cr), interp_type);</td></tr>
+<tr class="codeline" data-linenumber="1367"><td class="num" id="LN1367">1367</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1368"><td class="num" id="LN1368">1368</td><td class="line"> cairo_paint (cr);</td></tr>
+<tr class="codeline" data-linenumber="1369"><td class="num" id="LN1369">1369</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1370"><td class="num" id="LN1370">1370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1371"><td class="num" id="LN1371">1371</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1372"><td class="num" id="LN1372">1372</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1373"><td class="num" id="LN1373">1373</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1374"><td class="num" id="LN1374">1374</td><td class="line"><span class='comment'>/*==================================</span></td></tr>
+<tr class="codeline" data-linenumber="1375"><td class="num" id="LN1375">1375</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1376"><td class="num" id="LN1376">1376</td><td class="line"> <span class='comment'>image loading callbacks</span></td></tr>
+<tr class="codeline" data-linenumber="1377"><td class="num" id="LN1377">1377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1378"><td class="num" id="LN1378">1378</td><td class="line"> <span class='comment'>-----------------------------------*/</span></td></tr>
+<tr class="codeline" data-linenumber="1379"><td class="num" id="LN1379">1379</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1380"><td class="num" id="LN1380">1380</td><td class="line"><span class='comment'>/* Use when the pixbuf in the view is changed, to keep a</span></td></tr>
+<tr class="codeline" data-linenumber="1381"><td class="num" id="LN1381">1381</td><td class="line"> <span class='comment'>reference to it and create its cairo surface. */</span></td></tr>
+<tr class="codeline" data-linenumber="1382"><td class="num" id="LN1382">1382</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1383"><td class="num" id="LN1383">1383</td><td class="line">update_pixbuf (EomScrollView *view, GdkPixbuf *pixbuf)</td></tr>
+<tr class="codeline" data-linenumber="1384"><td class="num" id="LN1384">1384</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1385"><td class="num" id="LN1385">1385</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1386"><td class="num" id="LN1386">1386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1387"><td class="num" id="LN1387">1387</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1388"><td class="num" id="LN1388">1388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1389"><td class="num" id="LN1389">1389</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1390"><td class="num" id="LN1390">1390</td><td class="line"> g_object_unref (priv-&gt;pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1391"><td class="num" id="LN1391">1391</td><td class="line"> priv-&gt;pixbuf = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1392"><td class="num" id="LN1392">1392</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1393"><td class="num" id="LN1393">1393</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1394"><td class="num" id="LN1394">1394</td><td class="line"> priv-&gt;pixbuf = pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="1395"><td class="num" id="LN1395">1395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1396"><td class="num" id="LN1396">1396</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;surface) {</td></tr>
+<tr class="codeline" data-linenumber="1397"><td class="num" id="LN1397">1397</td><td class="line"> cairo_surface_destroy (priv-&gt;surface);</td></tr>
+<tr class="codeline" data-linenumber="1398"><td class="num" id="LN1398">1398</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1399"><td class="num" id="LN1399">1399</td><td class="line"> priv-&gt;surface = create_surface_from_pixbuf (view, priv-&gt;pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="1400"><td class="num" id="LN1400">1400</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1401"><td class="num" id="LN1401">1401</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1402"><td class="num" id="LN1402">1402</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1403"><td class="num" id="LN1403">1403</td><td class="line">image_changed_cb (EomImage *img, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1404"><td class="num" id="LN1404">1404</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1405"><td class="num" id="LN1405">1405</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1406"><td class="num" id="LN1406">1406</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1407"><td class="num" id="LN1407">1407</td><td class="line"> priv = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1408"><td class="num" id="LN1408">1408</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1409"><td class="num" id="LN1409">1409</td><td class="line"> update_pixbuf (<span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>, eom_image_get_pixbuf (img));</td></tr>
+<tr class="codeline" data-linenumber="1410"><td class="num" id="LN1410">1410</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1411"><td class="num" id="LN1411">1411</td><td class="line"> set_zoom_fit (<span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1412"><td class="num" id="LN1412">1412</td><td class="line"> check_scrollbar_visibility (<span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1413"><td class="num" id="LN1413">1413</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1414"><td class="num" id="LN1414">1414</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1415"><td class="num" id="LN1415">1415</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1416"><td class="num" id="LN1416">1416</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1417"><td class="num" id="LN1417">1417</td><td class="line"><span class='comment'>/*===================================</span></td></tr>
+<tr class="codeline" data-linenumber="1418"><td class="num" id="LN1418">1418</td><td class="line"> <span class='comment'>public API</span></td></tr>
+<tr class="codeline" data-linenumber="1419"><td class="num" id="LN1419">1419</td><td class="line"> <span class='comment'>---------------------------------*/</span></td></tr>
+<tr class="codeline" data-linenumber="1420"><td class="num" id="LN1420">1420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1421"><td class="num" id="LN1421">1421</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1422"><td class="num" id="LN1422">1422</td><td class="line">eom_scroll_view_hide_cursor (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1423"><td class="num" id="LN1423">1423</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1424"><td class="num" id="LN1424">1424</td><td class="line"> eom_scroll_view_set_cursor (view, EOM_SCROLL_VIEW_CURSOR_HIDDEN);</td></tr>
+<tr class="codeline" data-linenumber="1425"><td class="num" id="LN1425">1425</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1426"><td class="num" id="LN1426">1426</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1427"><td class="num" id="LN1427">1427</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1428"><td class="num" id="LN1428">1428</td><td class="line">eom_scroll_view_show_cursor (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1429"><td class="num" id="LN1429">1429</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1430"><td class="num" id="LN1430">1430</td><td class="line"> eom_scroll_view_set_cursor (view, EOM_SCROLL_VIEW_CURSOR_NORMAL);</td></tr>
+<tr class="codeline" data-linenumber="1431"><td class="num" id="LN1431">1431</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1432"><td class="num" id="LN1432">1432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1433"><td class="num" id="LN1433">1433</td><td class="line"><span class='comment'>/* general properties */</span></td></tr>
+<tr class="codeline" data-linenumber="1434"><td class="num" id="LN1434">1434</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1435"><td class="num" id="LN1435">1435</td><td class="line">eom_scroll_view_set_zoom_upscale (EomScrollView *view, gboolean upscale)</td></tr>
+<tr class="codeline" data-linenumber="1436"><td class="num" id="LN1436">1436</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1437"><td class="num" id="LN1437">1437</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1438"><td class="num" id="LN1438">1438</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1439"><td class="num" id="LN1439">1439</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1440"><td class="num" id="LN1440">1440</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1441"><td class="num" id="LN1441">1441</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1442"><td class="num" id="LN1442">1442</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1443"><td class="num" id="LN1443">1443</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;upscale != upscale) {</td></tr>
+<tr class="codeline" data-linenumber="1444"><td class="num" id="LN1444">1444</td><td class="line"> priv-&gt;upscale = upscale;</td></tr>
+<tr class="codeline" data-linenumber="1445"><td class="num" id="LN1445">1445</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1446"><td class="num" id="LN1446">1446</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;zoom_mode == ZOOM_MODE_FIT) {</td></tr>
+<tr class="codeline" data-linenumber="1447"><td class="num" id="LN1447">1447</td><td class="line"> set_zoom_fit (view);</td></tr>
+<tr class="codeline" data-linenumber="1448"><td class="num" id="LN1448">1448</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1449"><td class="num" id="LN1449">1449</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1450"><td class="num" id="LN1450">1450</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1451"><td class="num" id="LN1451">1451</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1452"><td class="num" id="LN1452">1452</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1453"><td class="num" id="LN1453">1453</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1454"><td class="num" id="LN1454">1454</td><td class="line">eom_scroll_view_set_antialiasing_in (EomScrollView *view, gboolean state)</td></tr>
+<tr class="codeline" data-linenumber="1455"><td class="num" id="LN1455">1455</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1456"><td class="num" id="LN1456">1456</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1457"><td class="num" id="LN1457">1457</td><td class="line"> cairo_filter_t new_interp_type;</td></tr>
+<tr class="codeline" data-linenumber="1458"><td class="num" id="LN1458">1458</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1459"><td class="num" id="LN1459">1459</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1460"><td class="num" id="LN1460">1460</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1461"><td class="num" id="LN1461">1461</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1462"><td class="num" id="LN1462">1462</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1463"><td class="num" id="LN1463">1463</td><td class="line"> new_interp_type = state ? CAIRO_FILTER_GOOD : CAIRO_FILTER_NEAREST;</td></tr>
+<tr class="codeline" data-linenumber="1464"><td class="num" id="LN1464">1464</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1465"><td class="num" id="LN1465">1465</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;interp_type_in != new_interp_type) {</td></tr>
+<tr class="codeline" data-linenumber="1466"><td class="num" id="LN1466">1466</td><td class="line"> priv-&gt;interp_type_in = new_interp_type;</td></tr>
+<tr class="codeline" data-linenumber="1467"><td class="num" id="LN1467">1467</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1468"><td class="num" id="LN1468">1468</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"antialiasing-in"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1469"><td class="num" id="LN1469">1469</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1470"><td class="num" id="LN1470">1470</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1471"><td class="num" id="LN1471">1471</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1472"><td class="num" id="LN1472">1472</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1473"><td class="num" id="LN1473">1473</td><td class="line">eom_scroll_view_set_antialiasing_out (EomScrollView *view, gboolean state)</td></tr>
+<tr class="codeline" data-linenumber="1474"><td class="num" id="LN1474">1474</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1475"><td class="num" id="LN1475">1475</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1476"><td class="num" id="LN1476">1476</td><td class="line"> cairo_filter_t new_interp_type;</td></tr>
+<tr class="codeline" data-linenumber="1477"><td class="num" id="LN1477">1477</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1478"><td class="num" id="LN1478">1478</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1479"><td class="num" id="LN1479">1479</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1480"><td class="num" id="LN1480">1480</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1481"><td class="num" id="LN1481">1481</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1482"><td class="num" id="LN1482">1482</td><td class="line"> new_interp_type = state ? CAIRO_FILTER_GOOD : CAIRO_FILTER_NEAREST;</td></tr>
+<tr class="codeline" data-linenumber="1483"><td class="num" id="LN1483">1483</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1484"><td class="num" id="LN1484">1484</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;interp_type_out != new_interp_type) {</td></tr>
+<tr class="codeline" data-linenumber="1485"><td class="num" id="LN1485">1485</td><td class="line"> priv-&gt;interp_type_out = new_interp_type;</td></tr>
+<tr class="codeline" data-linenumber="1486"><td class="num" id="LN1486">1486</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1487"><td class="num" id="LN1487">1487</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"antialiasing-out"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1488"><td class="num" id="LN1488">1488</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1489"><td class="num" id="LN1489">1489</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1490"><td class="num" id="LN1490">1490</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1491"><td class="num" id="LN1491">1491</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1492"><td class="num" id="LN1492">1492</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1493"><td class="num" id="LN1493">1493</td><td class="line">_transp_background_changed (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1494"><td class="num" id="LN1494">1494</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1495"><td class="num" id="LN1495">1495</td><td class="line"> EomScrollViewPrivate *priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1496"><td class="num" id="LN1496">1496</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1497"><td class="num" id="LN1497">1497</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; gdk_pixbuf_get_has_alpha (priv-&gt;pixbuf)) {</td></tr>
+<tr class="codeline" data-linenumber="1498"><td class="num" id="LN1498">1498</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;background_surface) {</td></tr>
+<tr class="codeline" data-linenumber="1499"><td class="num" id="LN1499">1499</td><td class="line"> cairo_surface_destroy (priv-&gt;background_surface);</td></tr>
+<tr class="codeline" data-linenumber="1500"><td class="num" id="LN1500">1500</td><td class="line"> <span class='comment'>/* Will be recreated if needed during redraw */</span></td></tr>
+<tr class="codeline" data-linenumber="1501"><td class="num" id="LN1501">1501</td><td class="line"> priv-&gt;background_surface = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1502"><td class="num" id="LN1502">1502</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1503"><td class="num" id="LN1503">1503</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1504"><td class="num" id="LN1504">1504</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1505"><td class="num" id="LN1505">1505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1506"><td class="num" id="LN1506">1506</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1507"><td class="num" id="LN1507">1507</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1508"><td class="num" id="LN1508">1508</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1509"><td class="num" id="LN1509">1509</td><td class="line">eom_scroll_view_set_transparency_color (EomScrollView *view, GdkRGBA *color)</td></tr>
+<tr class="codeline" data-linenumber="1510"><td class="num" id="LN1510">1510</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1511"><td class="num" id="LN1511">1511</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1512"><td class="num" id="LN1512">1512</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1513"><td class="num" id="LN1513">1513</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1514"><td class="num" id="LN1514">1514</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1515"><td class="num" id="LN1515">1515</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1516"><td class="num" id="LN1516">1516</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1517"><td class="num" id="LN1517">1517</td><td class="line"> <span class='keyword'>if</span> (!_eom_gdk_rgba_equal0 (&amp;priv-&gt;transp_color, color)) {</td></tr>
+<tr class="codeline" data-linenumber="1518"><td class="num" id="LN1518">1518</td><td class="line"> priv-&gt;transp_color = *color;</td></tr>
+<tr class="codeline" data-linenumber="1519"><td class="num" id="LN1519">1519</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;transp_style == EOM_TRANSP_COLOR)</td></tr>
+<tr class="codeline" data-linenumber="1520"><td class="num" id="LN1520">1520</td><td class="line"> _transp_background_changed (view);</td></tr>
+<tr class="codeline" data-linenumber="1521"><td class="num" id="LN1521">1521</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1522"><td class="num" id="LN1522">1522</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"transparency-color"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1523"><td class="num" id="LN1523">1523</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1524"><td class="num" id="LN1524">1524</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1525"><td class="num" id="LN1525">1525</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1526"><td class="num" id="LN1526">1526</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1527"><td class="num" id="LN1527">1527</td><td class="line">eom_scroll_view_set_transparency (EomScrollView *view,</td></tr>
+<tr class="codeline" data-linenumber="1528"><td class="num" id="LN1528">1528</td><td class="line"> EomTransparencyStyle style)</td></tr>
+<tr class="codeline" data-linenumber="1529"><td class="num" id="LN1529">1529</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1530"><td class="num" id="LN1530">1530</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1531"><td class="num" id="LN1531">1531</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1532"><td class="num" id="LN1532">1532</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1533"><td class="num" id="LN1533">1533</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1534"><td class="num" id="LN1534">1534</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1535"><td class="num" id="LN1535">1535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1536"><td class="num" id="LN1536">1536</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;transp_style != style) {</td></tr>
+<tr class="codeline" data-linenumber="1537"><td class="num" id="LN1537">1537</td><td class="line"> priv-&gt;transp_style = style;</td></tr>
+<tr class="codeline" data-linenumber="1538"><td class="num" id="LN1538">1538</td><td class="line"> _transp_background_changed (view);</td></tr>
+<tr class="codeline" data-linenumber="1539"><td class="num" id="LN1539">1539</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"transparency-style"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1540"><td class="num" id="LN1540">1540</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1541"><td class="num" id="LN1541">1541</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1542"><td class="num" id="LN1542">1542</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1543"><td class="num" id="LN1543">1543</td><td class="line"><span class='comment'>/* zoom api */</span></td></tr>
+<tr class="codeline" data-linenumber="1544"><td class="num" id="LN1544">1544</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1545"><td class="num" id="LN1545">1545</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>double</span> preferred_zoom_levels[] = {</td></tr>
+<tr class="codeline" data-linenumber="1546"><td class="num" id="LN1546">1546</td><td class="line"> 1.0 / 100, 1.0 / 50, 1.0 / 20,</td></tr>
+<tr class="codeline" data-linenumber="1547"><td class="num" id="LN1547">1547</td><td class="line"> 1.0 / 10.0, 1.0 / 5.0, 1.0 / 3.0, 1.0 / 2.0, 1.0 / 1.5,</td></tr>
+<tr class="codeline" data-linenumber="1548"><td class="num" id="LN1548">1548</td><td class="line"> 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0,</td></tr>
+<tr class="codeline" data-linenumber="1549"><td class="num" id="LN1549">1549</td><td class="line"> 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0</td></tr>
+<tr class="codeline" data-linenumber="1550"><td class="num" id="LN1550">1550</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="1551"><td class="num" id="LN1551">1551</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> gint n_zoom_levels = (<span class='keyword'>sizeof</span> (preferred_zoom_levels) / <span class='keyword'>sizeof</span> (<span class='keyword'>double</span>));</td></tr>
+<tr class="codeline" data-linenumber="1552"><td class="num" id="LN1552">1552</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1553"><td class="num" id="LN1553">1553</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1554"><td class="num" id="LN1554">1554</td><td class="line">eom_scroll_view_zoom_in (EomScrollView *view, gboolean smooth)</td></tr>
+<tr class="codeline" data-linenumber="1555"><td class="num" id="LN1555">1555</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1556"><td class="num" id="LN1556">1556</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1557"><td class="num" id="LN1557">1557</td><td class="line"> <span class='keyword'>double</span> zoom;</td></tr>
+<tr class="codeline" data-linenumber="1558"><td class="num" id="LN1558">1558</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1559"><td class="num" id="LN1559">1559</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1560"><td class="num" id="LN1560">1560</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1561"><td class="num" id="LN1561">1561</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1562"><td class="num" id="LN1562">1562</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1563"><td class="num" id="LN1563">1563</td><td class="line"> <span class='keyword'>if</span> (smooth) {</td></tr>
+<tr class="codeline" data-linenumber="1564"><td class="num" id="LN1564">1564</td><td class="line"> zoom = priv-&gt;zoom * priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="1565"><td class="num" id="LN1565">1565</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1566"><td class="num" id="LN1566">1566</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1567"><td class="num" id="LN1567">1567</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="1568"><td class="num" id="LN1568">1568</td><td class="line"> <span class='keyword'>int</span> index = -1;</td></tr>
+<tr class="codeline" data-linenumber="1569"><td class="num" id="LN1569">1569</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1570"><td class="num" id="LN1570">1570</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; n_zoom_levels; i++) {</td></tr>
+<tr class="codeline" data-linenumber="1571"><td class="num" id="LN1571">1571</td><td class="line"> <span class='keyword'>if</span> (preferred_zoom_levels [i] - priv-&gt;zoom</td></tr>
+<tr class="codeline" data-linenumber="1572"><td class="num" id="LN1572">1572</td><td class="line"> &gt; <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1573"><td class="num" id="LN1573">1573</td><td class="line"> index = i;</td></tr>
+<tr class="codeline" data-linenumber="1574"><td class="num" id="LN1574">1574</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1575"><td class="num" id="LN1575">1575</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1576"><td class="num" id="LN1576">1576</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1577"><td class="num" id="LN1577">1577</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1578"><td class="num" id="LN1578">1578</td><td class="line"> <span class='keyword'>if</span> (index == -1) {</td></tr>
+<tr class="codeline" data-linenumber="1579"><td class="num" id="LN1579">1579</td><td class="line"> zoom = priv-&gt;zoom;</td></tr>
+<tr class="codeline" data-linenumber="1580"><td class="num" id="LN1580">1580</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1581"><td class="num" id="LN1581">1581</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1582"><td class="num" id="LN1582">1582</td><td class="line"> zoom = preferred_zoom_levels [i];</td></tr>
+<tr class="codeline" data-linenumber="1583"><td class="num" id="LN1583">1583</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1584"><td class="num" id="LN1584">1584</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1585"><td class="num" id="LN1585">1585</td><td class="line"> set_zoom (view, zoom, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0, 0);</td></tr>
+<tr class="codeline" data-linenumber="1586"><td class="num" id="LN1586">1586</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1587"><td class="num" id="LN1587">1587</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1588"><td class="num" id="LN1588">1588</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1589"><td class="num" id="LN1589">1589</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1590"><td class="num" id="LN1590">1590</td><td class="line">eom_scroll_view_zoom_out (EomScrollView *view, gboolean smooth)</td></tr>
+<tr class="codeline" data-linenumber="1591"><td class="num" id="LN1591">1591</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1592"><td class="num" id="LN1592">1592</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1593"><td class="num" id="LN1593">1593</td><td class="line"> <span class='keyword'>double</span> zoom;</td></tr>
+<tr class="codeline" data-linenumber="1594"><td class="num" id="LN1594">1594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1595"><td class="num" id="LN1595">1595</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1596"><td class="num" id="LN1596">1596</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1597"><td class="num" id="LN1597">1597</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1598"><td class="num" id="LN1598">1598</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1599"><td class="num" id="LN1599">1599</td><td class="line"> <span class='keyword'>if</span> (smooth) {</td></tr>
+<tr class="codeline" data-linenumber="1600"><td class="num" id="LN1600">1600</td><td class="line"> zoom = priv-&gt;zoom / priv-&gt;zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="1601"><td class="num" id="LN1601">1601</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1602"><td class="num" id="LN1602">1602</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1603"><td class="num" id="LN1603">1603</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="1604"><td class="num" id="LN1604">1604</td><td class="line"> <span class='keyword'>int</span> index = -1;</td></tr>
+<tr class="codeline" data-linenumber="1605"><td class="num" id="LN1605">1605</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1606"><td class="num" id="LN1606">1606</td><td class="line"> <span class='keyword'>for</span> (i = n_zoom_levels - 1; i &gt;= 0; i--) {</td></tr>
+<tr class="codeline" data-linenumber="1607"><td class="num" id="LN1607">1607</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;zoom - preferred_zoom_levels [i]</td></tr>
+<tr class="codeline" data-linenumber="1608"><td class="num" id="LN1608">1608</td><td class="line"> &gt; <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1609"><td class="num" id="LN1609">1609</td><td class="line"> index = i;</td></tr>
+<tr class="codeline" data-linenumber="1610"><td class="num" id="LN1610">1610</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="1611"><td class="num" id="LN1611">1611</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1612"><td class="num" id="LN1612">1612</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1613"><td class="num" id="LN1613">1613</td><td class="line"> <span class='keyword'>if</span> (index == -1) {</td></tr>
+<tr class="codeline" data-linenumber="1614"><td class="num" id="LN1614">1614</td><td class="line"> zoom = priv-&gt;zoom;</td></tr>
+<tr class="codeline" data-linenumber="1615"><td class="num" id="LN1615">1615</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1616"><td class="num" id="LN1616">1616</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1617"><td class="num" id="LN1617">1617</td><td class="line"> zoom = preferred_zoom_levels [i];</td></tr>
+<tr class="codeline" data-linenumber="1618"><td class="num" id="LN1618">1618</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1619"><td class="num" id="LN1619">1619</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1620"><td class="num" id="LN1620">1620</td><td class="line"> set_zoom (view, zoom, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0, 0);</td></tr>
+<tr class="codeline" data-linenumber="1621"><td class="num" id="LN1621">1621</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1622"><td class="num" id="LN1622">1622</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1623"><td class="num" id="LN1623">1623</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1624"><td class="num" id="LN1624">1624</td><td class="line">eom_scroll_view_zoom_fit (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1625"><td class="num" id="LN1625">1625</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1626"><td class="num" id="LN1626">1626</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1627"><td class="num" id="LN1627">1627</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1628"><td class="num" id="LN1628">1628</td><td class="line"> set_zoom_fit (view);</td></tr>
+<tr class="codeline" data-linenumber="1629"><td class="num" id="LN1629">1629</td><td class="line"> check_scrollbar_visibility (view, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1630"><td class="num" id="LN1630">1630</td><td class="line"> gtk_widget_queue_draw (view-&gt;priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1631"><td class="num" id="LN1631">1631</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1632"><td class="num" id="LN1632">1632</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1633"><td class="num" id="LN1633">1633</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1634"><td class="num" id="LN1634">1634</td><td class="line">eom_scroll_view_set_zoom (EomScrollView *view, <span class='keyword'>double</span> zoom)</td></tr>
+<tr class="codeline" data-linenumber="1635"><td class="num" id="LN1635">1635</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1636"><td class="num" id="LN1636">1636</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1637"><td class="num" id="LN1637">1637</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1638"><td class="num" id="LN1638">1638</td><td class="line"> set_zoom (view, zoom, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0, 0);</td></tr>
+<tr class="codeline" data-linenumber="1639"><td class="num" id="LN1639">1639</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1640"><td class="num" id="LN1640">1640</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1641"><td class="num" id="LN1641">1641</td><td class="line"><span class='keyword'>double</span></td></tr>
+<tr class="codeline" data-linenumber="1642"><td class="num" id="LN1642">1642</td><td class="line">eom_scroll_view_get_zoom (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1643"><td class="num" id="LN1643">1643</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1644"><td class="num" id="LN1644">1644</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_SCROLL_VIEW (view), 0.0)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return (0.0); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1645"><td class="num" id="LN1645">1645</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1646"><td class="num" id="LN1646">1646</td><td class="line"> <span class='keyword'>return</span> view-&gt;priv-&gt;zoom;</td></tr>
+<tr class="codeline" data-linenumber="1647"><td class="num" id="LN1647">1647</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1648"><td class="num" id="LN1648">1648</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1649"><td class="num" id="LN1649">1649</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="1650"><td class="num" id="LN1650">1650</td><td class="line">eom_scroll_view_get_zoom_is_min (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1651"><td class="num" id="LN1651">1651</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1652"><td class="num" id="LN1652">1652</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_SCROLL_VIEW (view), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1653"><td class="num" id="LN1653">1653</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1654"><td class="num" id="LN1654">1654</td><td class="line"> set_minimum_zoom_factor (view);</td></tr>
+<tr class="codeline" data-linenumber="1655"><td class="num" id="LN1655">1655</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1656"><td class="num" id="LN1656">1656</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>DOUBLE_EQUAL (view-&gt;priv-&gt;zoom, MIN_ZOOM_FACTOR)<span class='macro_popup'>(fabs (view-&gt;priv-&gt;zoom - 0.02) &lt; 1e-6)</span></span> ||</td></tr>
+<tr class="codeline" data-linenumber="1657"><td class="num" id="LN1657">1657</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (view-&gt;priv-&gt;zoom, view-&gt;priv-&gt;min_zoom)<span class='macro_popup'>(fabs (view-&gt;priv-&gt;zoom - view-&gt;priv-&gt;min_zoom) &lt;<br> 1e-6)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1658"><td class="num" id="LN1658">1658</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1659"><td class="num" id="LN1659">1659</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1660"><td class="num" id="LN1660">1660</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="1661"><td class="num" id="LN1661">1661</td><td class="line">eom_scroll_view_get_zoom_is_max (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1662"><td class="num" id="LN1662">1662</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1663"><td class="num" id="LN1663">1663</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_SCROLL_VIEW (view), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1664"><td class="num" id="LN1664">1664</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1665"><td class="num" id="LN1665">1665</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>DOUBLE_EQUAL (view-&gt;priv-&gt;zoom, MAX_ZOOM_FACTOR)<span class='macro_popup'>(fabs (view-&gt;priv-&gt;zoom - 20) &lt; 1e-6)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1666"><td class="num" id="LN1666">1666</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1667"><td class="num" id="LN1667">1667</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1668"><td class="num" id="LN1668">1668</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1669"><td class="num" id="LN1669">1669</td><td class="line">display_next_frame_cb (EomImage *image, gint delay, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1670"><td class="num" id="LN1670">1670</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1671"><td class="num" id="LN1671">1671</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1672"><td class="num" id="LN1672">1672</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1673"><td class="num" id="LN1673">1673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1674"><td class="num" id="LN1674">1674</td><td class="line"> <span class='keyword'>if</span> (!<span class='macro'>EOM_IS_SCROLL_VIEW (data)<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(data)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1675"><td class="num" id="LN1675">1675</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1676"><td class="num" id="LN1676">1676</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1677"><td class="num" id="LN1677">1677</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1678"><td class="num" id="LN1678">1678</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1679"><td class="num" id="LN1679">1679</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1680"><td class="num" id="LN1680">1680</td><td class="line"> update_pixbuf (view, eom_image_get_pixbuf (image));</td></tr>
+<tr class="codeline" data-linenumber="1681"><td class="num" id="LN1681">1681</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1682"><td class="num" id="LN1682">1682</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1683"><td class="num" id="LN1683">1683</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1684"><td class="num" id="LN1684">1684</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1685"><td class="num" id="LN1685">1685</td><td class="line">eom_scroll_view_set_image (EomScrollView *view, EomImage *image)</td></tr>
+<tr class="codeline" data-linenumber="1686"><td class="num" id="LN1686">1686</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1687"><td class="num" id="LN1687">1687</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1688"><td class="num" id="LN1688">1688</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1689"><td class="num" id="LN1689">1689</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1690"><td class="num" id="LN1690">1690</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1691"><td class="num" id="LN1691">1691</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1692"><td class="num" id="LN1692">1692</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1693"><td class="num" id="LN1693">1693</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image == image) {</td></tr>
+<tr class="codeline" data-linenumber="1694"><td class="num" id="LN1694">1694</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1695"><td class="num" id="LN1695">1695</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1696"><td class="num" id="LN1696">1696</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1697"><td class="num" id="LN1697">1697</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1698"><td class="num" id="LN1698">1698</td><td class="line"> free_image_resources (view);</td></tr>
+<tr class="codeline" data-linenumber="1699"><td class="num" id="LN1699">1699</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1700"><td class="num" id="LN1700">1700</td><td class="line"> <span class='macro'>g_assert (priv-&gt;image == NULL)<span class='macro_popup'>do { if (priv-&gt;image == ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-scroll-view.c", 1700, ((const char*) (__func__)<br>), "priv-&gt;image == NULL"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1701"><td class="num" id="LN1701">1701</td><td class="line"> <span class='macro'>g_assert (priv-&gt;pixbuf == NULL)<span class='macro_popup'>do { if (priv-&gt;pixbuf == ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-scroll-view.c", 1701, ((const char*) (__func__)<br>), "priv-&gt;pixbuf == NULL"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1702"><td class="num" id="LN1702">1702</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1703"><td class="num" id="LN1703">1703</td><td class="line"> <span class='keyword'>if</span> (image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1704"><td class="num" id="LN1704">1704</td><td class="line"> eom_image_data_ref (image);</td></tr>
+<tr class="codeline" data-linenumber="1705"><td class="num" id="LN1705">1705</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1706"><td class="num" id="LN1706">1706</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;pixbuf == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1707"><td class="num" id="LN1707">1707</td><td class="line"> update_pixbuf (view, eom_image_get_pixbuf (image));</td></tr>
+<tr class="codeline" data-linenumber="1708"><td class="num" id="LN1708">1708</td><td class="line"> set_zoom_fit (view);</td></tr>
+<tr class="codeline" data-linenumber="1709"><td class="num" id="LN1709">1709</td><td class="line"> check_scrollbar_visibility (view, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1710"><td class="num" id="LN1710">1710</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1711"><td class="num" id="LN1711">1711</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1712"><td class="num" id="LN1712">1712</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1713"><td class="num" id="LN1713">1713</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1714"><td class="num" id="LN1714">1714</td><td class="line"> priv-&gt;image_changed_id = <span class='macro'>g_signal_connect (image, <span class='string_literal'>"changed"</span>,<span class='macro_popup'>g_signal_connect_data ((image), ("changed"), (((GCallback) (image_changed_cb<br>))), (view), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1715"><td class="num" id="LN1715">1715</td><td class="line"> <span class='macro'>G_CALLBACK (image_changed_cb),<span class='macro_popup'>g_signal_connect_data ((image), ("changed"), (((GCallback) (image_changed_cb<br>))), (view), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1716"><td class="num" id="LN1716">1716</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((image), ("changed"), (((GCallback) (image_changed_cb<br>))), (view), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1717"><td class="num" id="LN1717">1717</td><td class="line"> <span class='keyword'>if</span> (eom_image_is_animation (image) == <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span> ) {</td></tr>
+<tr class="codeline" data-linenumber="1718"><td class="num" id="LN1718">1718</td><td class="line"> eom_image_start_animation (image);</td></tr>
+<tr class="codeline" data-linenumber="1719"><td class="num" id="LN1719">1719</td><td class="line"> priv-&gt;frame_changed_id = <span class='macro'>g_signal_connect (image, <span class='string_literal'>"next-frame"</span>,<span class='macro_popup'>g_signal_connect_data ((image), ("next-frame"), (((GCallback)<br> (display_next_frame_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1720"><td class="num" id="LN1720">1720</td><td class="line"> <span class='macro'>G_CALLBACK (display_next_frame_cb),<span class='macro_popup'>g_signal_connect_data ((image), ("next-frame"), (((GCallback)<br> (display_next_frame_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1721"><td class="num" id="LN1721">1721</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((image), ("next-frame"), (((GCallback)<br> (display_next_frame_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1722"><td class="num" id="LN1722">1722</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1723"><td class="num" id="LN1723">1723</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1724"><td class="num" id="LN1724">1724</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1725"><td class="num" id="LN1725">1725</td><td class="line"> priv-&gt;image = image;</td></tr>
+<tr class="codeline" data-linenumber="1726"><td class="num" id="LN1726">1726</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1727"><td class="num" id="LN1727">1727</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"image"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1728"><td class="num" id="LN1728">1728</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1729"><td class="num" id="LN1729">1729</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1730"><td class="num" id="LN1730">1730</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="1731"><td class="num" id="LN1731">1731</td><td class="line"> <span class='comment'>* eom_scroll_view_get_image:</span></td></tr>
+<tr class="codeline" data-linenumber="1732"><td class="num" id="LN1732">1732</td><td class="line"> <span class='comment'>* @view: An #EomScrollView.</span></td></tr>
+<tr class="codeline" data-linenumber="1733"><td class="num" id="LN1733">1733</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1734"><td class="num" id="LN1734">1734</td><td class="line"> <span class='comment'>* Gets the the currently displayed #EomImage.</span></td></tr>
+<tr class="codeline" data-linenumber="1735"><td class="num" id="LN1735">1735</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="1736"><td class="num" id="LN1736">1736</td><td class="line"> <span class='comment'>* Returns: (transfer full): An #EomImage.</span></td></tr>
+<tr class="codeline" data-linenumber="1737"><td class="num" id="LN1737">1737</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="1738"><td class="num" id="LN1738">1738</td><td class="line">EomImage*</td></tr>
+<tr class="codeline" data-linenumber="1739"><td class="num" id="LN1739">1739</td><td class="line">eom_scroll_view_get_image (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1740"><td class="num" id="LN1740">1740</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1741"><td class="num" id="LN1741">1741</td><td class="line"> EomImage *img;</td></tr>
+<tr class="codeline" data-linenumber="1742"><td class="num" id="LN1742">1742</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1743"><td class="num" id="LN1743">1743</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_SCROLL_VIEW (view), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1744"><td class="num" id="LN1744">1744</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1745"><td class="num" id="LN1745">1745</td><td class="line"> img = view-&gt;priv-&gt;image;</td></tr>
+<tr class="codeline" data-linenumber="1746"><td class="num" id="LN1746">1746</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1747"><td class="num" id="LN1747">1747</td><td class="line"> <span class='keyword'>if</span> (img != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1748"><td class="num" id="LN1748">1748</td><td class="line"> <span class='macro'>g_object_ref (img)<span class='macro_popup'>((__typeof__ (img)) (g_object_ref) (img))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1749"><td class="num" id="LN1749">1749</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1750"><td class="num" id="LN1750">1750</td><td class="line"> <span class='keyword'>return</span> img;</td></tr>
+<tr class="codeline" data-linenumber="1751"><td class="num" id="LN1751">1751</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1752"><td class="num" id="LN1752">1752</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1753"><td class="num" id="LN1753">1753</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="1754"><td class="num" id="LN1754">1754</td><td class="line">eom_scroll_view_scrollbars_visible (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1755"><td class="num" id="LN1755">1755</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1756"><td class="num" id="LN1756">1756</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_visible (view-&gt;priv-&gt;hbar) &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="1757"><td class="num" id="LN1757">1757</td><td class="line"> !gtk_widget_get_visible (view-&gt;priv-&gt;vbar))</td></tr>
+<tr class="codeline" data-linenumber="1758"><td class="num" id="LN1758">1758</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1759"><td class="num" id="LN1759">1759</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1760"><td class="num" id="LN1760">1760</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1761"><td class="num" id="LN1761">1761</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1762"><td class="num" id="LN1762">1762</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1763"><td class="num" id="LN1763">1763</td><td class="line"><span class='comment'>/*===================================</span></td></tr>
+<tr class="codeline" data-linenumber="1764"><td class="num" id="LN1764">1764</td><td class="line"> <span class='comment'>object creation/freeing</span></td></tr>
+<tr class="codeline" data-linenumber="1765"><td class="num" id="LN1765">1765</td><td class="line"> <span class='comment'>---------------------------------*/</span></td></tr>
+<tr class="codeline" data-linenumber="1766"><td class="num" id="LN1766">1766</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1767"><td class="num" id="LN1767">1767</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1768"><td class="num" id="LN1768">1768</td><td class="line">sv_string_to_rgba_mapping (GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="1769"><td class="num" id="LN1769">1769</td><td class="line"> GVariant *variant,</td></tr>
+<tr class="codeline" data-linenumber="1770"><td class="num" id="LN1770">1770</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1771"><td class="num" id="LN1771">1771</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1772"><td class="num" id="LN1772">1772</td><td class="line"> GdkRGBA color;</td></tr>
+<tr class="codeline" data-linenumber="1773"><td class="num" id="LN1773">1773</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1774"><td class="num" id="LN1774">1774</td><td class="line"> <span class="mrange"><span class="mrange"><span class='macro'>g_return_val_if_fail</span></span> (g_variant_is_of_type (variant, G_VARIANT_TYPE_STRING), FALSE)<span class='macro_popup'>do { if ((g_variant_is_of_type (variant, ((const GVariantType<br> *) "s")))) { } else { g_return_if_fail_warning ("EOM", ((const<br> char*) (__func__)), "g_variant_is_of_type (variant, G_VARIANT_TYPE_STRING)"<br>); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:9ex; max-width:31em">Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</div></td></tr>
+<tr class="codeline" data-linenumber="1775"><td class="num" id="LN1775">1775</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1776"><td class="num" id="LN1776">1776</td><td class="line"> <span class='keyword'>if</span> (gdk_rgba_parse (&amp;color, g_variant_get_string (variant, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))) {</td></tr>
+<tr class="codeline" data-linenumber="1777"><td class="num" id="LN1777">1777</td><td class="line"> g_value_set_boxed (value, &amp;color);</td></tr>
+<tr class="codeline" data-linenumber="1778"><td class="num" id="LN1778">1778</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1779"><td class="num" id="LN1779">1779</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1780"><td class="num" id="LN1780">1780</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1781"><td class="num" id="LN1781">1781</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1782"><td class="num" id="LN1782">1782</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1783"><td class="num" id="LN1783">1783</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1784"><td class="num" id="LN1784">1784</td><td class="line"><span class='keyword'>static</span> GVariant*</td></tr>
+<tr class="codeline" data-linenumber="1785"><td class="num" id="LN1785">1785</td><td class="line">sv_rgba_to_string_mapping (<span class='keyword'>const</span> GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="1786"><td class="num" id="LN1786">1786</td><td class="line"> <span class='keyword'>const</span> GVariantType *expected_type,</td></tr>
+<tr class="codeline" data-linenumber="1787"><td class="num" id="LN1787">1787</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1788"><td class="num" id="LN1788">1788</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1789"><td class="num" id="LN1789">1789</td><td class="line"> GVariant *variant = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1790"><td class="num" id="LN1790">1790</td><td class="line"> GdkRGBA *color;</td></tr>
+<tr class="codeline" data-linenumber="1791"><td class="num" id="LN1791">1791</td><td class="line"> gchar *hex_val;</td></tr>
+<tr class="codeline" data-linenumber="1792"><td class="num" id="LN1792">1792</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1793"><td class="num" id="LN1793">1793</td><td class="line"> <span class='macro'>g_return_val_if_fail (G_VALUE_TYPE (value) == GDK_TYPE_RGBA, NULL)<span class='macro_popup'>do { if (((((GValue*) (value))-&gt;g_type) == (gdk_rgba_get_type<br> ()))) { } else { g_return_if_fail_warning ("EOM", ((const char<br>*) (__func__)), "G_VALUE_TYPE (value) == GDK_TYPE_RGBA"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1794"><td class="num" id="LN1794">1794</td><td class="line"> <span class='macro'>g_return_val_if_fail (g_variant_type_equal (expected_type, G_VARIANT_TYPE_STRING), NULL)<span class='macro_popup'>do { if ((g_variant_type_equal (expected_type, ((const GVariantType<br> *) "s")))) { } else { g_return_if_fail_warning ("EOM", ((const<br> char*) (__func__)), "g_variant_type_equal (expected_type, G_VARIANT_TYPE_STRING)"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1795"><td class="num" id="LN1795">1795</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1796"><td class="num" id="LN1796">1796</td><td class="line"> color = g_value_get_boxed (value);</td></tr>
+<tr class="codeline" data-linenumber="1797"><td class="num" id="LN1797">1797</td><td class="line"> hex_val = gdk_rgba_to_string(color);</td></tr>
+<tr class="codeline" data-linenumber="1798"><td class="num" id="LN1798">1798</td><td class="line"> variant = g_variant_new_string (hex_val);</td></tr>
+<tr class="codeline" data-linenumber="1799"><td class="num" id="LN1799">1799</td><td class="line"> g_free (hex_val);</td></tr>
+<tr class="codeline" data-linenumber="1800"><td class="num" id="LN1800">1800</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1801"><td class="num" id="LN1801">1801</td><td class="line"> <span class='keyword'>return</span> variant;</td></tr>
+<tr class="codeline" data-linenumber="1802"><td class="num" id="LN1802">1802</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1803"><td class="num" id="LN1803">1803</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1804"><td class="num" id="LN1804">1804</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1805"><td class="num" id="LN1805">1805</td><td class="line">eom_scroll_view_init (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="1806"><td class="num" id="LN1806">1806</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1807"><td class="num" id="LN1807">1807</td><td class="line"> GSettings *settings;</td></tr>
+<tr class="codeline" data-linenumber="1808"><td class="num" id="LN1808">1808</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1809"><td class="num" id="LN1809">1809</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1810"><td class="num" id="LN1810">1810</td><td class="line"> priv = view-&gt;priv = eom_scroll_view_get_instance_private (view);</td></tr>
+<tr class="codeline" data-linenumber="1811"><td class="num" id="LN1811">1811</td><td class="line"> settings = g_settings_new (<span class='macro'>EOM_CONF_VIEW<span class='macro_popup'>"org.mate.eom"".view"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1812"><td class="num" id="LN1812">1812</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1813"><td class="num" id="LN1813">1813</td><td class="line"> priv-&gt;zoom = 1.0;</td></tr>
+<tr class="codeline" data-linenumber="1814"><td class="num" id="LN1814">1814</td><td class="line"> priv-&gt;min_zoom = <span class='macro'>MIN_ZOOM_FACTOR<span class='macro_popup'>0.02</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1815"><td class="num" id="LN1815">1815</td><td class="line"> priv-&gt;zoom_mode = ZOOM_MODE_FIT;</td></tr>
+<tr class="codeline" data-linenumber="1816"><td class="num" id="LN1816">1816</td><td class="line"> priv-&gt;upscale = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1817"><td class="num" id="LN1817">1817</td><td class="line"> priv-&gt;interp_type_in = CAIRO_FILTER_GOOD;</td></tr>
+<tr class="codeline" data-linenumber="1818"><td class="num" id="LN1818">1818</td><td class="line"> priv-&gt;interp_type_out = CAIRO_FILTER_GOOD;</td></tr>
+<tr class="codeline" data-linenumber="1819"><td class="num" id="LN1819">1819</td><td class="line"> priv-&gt;scroll_wheel_zoom = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1820"><td class="num" id="LN1820">1820</td><td class="line"> priv-&gt;zoom_multiplier = <span class='macro'>IMAGE_VIEW_ZOOM_MULTIPLIER<span class='macro_popup'>1.05</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1821"><td class="num" id="LN1821">1821</td><td class="line"> priv-&gt;image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1822"><td class="num" id="LN1822">1822</td><td class="line"> priv-&gt;pixbuf = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1823"><td class="num" id="LN1823">1823</td><td class="line"> priv-&gt;surface = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1824"><td class="num" id="LN1824">1824</td><td class="line"> priv-&gt;transp_style = EOM_TRANSP_BACKGROUND;</td></tr>
+<tr class="codeline" data-linenumber="1825"><td class="num" id="LN1825">1825</td><td class="line"> <span class='macro'>g_warn_if_fail (gdk_rgba_parse(&amp;priv-&gt;transp_color, CHECK_BLACK))<span class='macro_popup'>do { if (gdk_rgba_parse(&amp;priv-&gt;transp_color, "#000000"<br>)) ; else g_warn_message ("EOM", "eom-scroll-view.c", 1825, (<br>(const char*) (__func__)), "gdk_rgba_parse(&amp;priv-&gt;transp_color, CHECK_BLACK)"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1826"><td class="num" id="LN1826">1826</td><td class="line"> priv-&gt;cursor = EOM_SCROLL_VIEW_CURSOR_NORMAL;</td></tr>
+<tr class="codeline" data-linenumber="1827"><td class="num" id="LN1827">1827</td><td class="line"> priv-&gt;menu = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1828"><td class="num" id="LN1828">1828</td><td class="line"> priv-&gt;background_color = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1829"><td class="num" id="LN1829">1829</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1830"><td class="num" id="LN1830">1830</td><td class="line"> priv-&gt;hadj = <span class='macro'>GTK_ADJUSTMENT (gtk_adjustment_new (0, 100, 0, 10, 10, 100))<span class='macro_popup'>((((GtkAdjustment*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_adjustment_new (0, 100, 0, 10, 10, 100))), ((gtk_adjustment_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1831"><td class="num" id="LN1831">1831</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;hadj, <span class='string_literal'>"value_changed"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;hadj), ("value_changed"), ((<br>(GCallback) (adjustment_changed_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1832"><td class="num" id="LN1832">1832</td><td class="line"> <span class='macro'>G_CALLBACK (adjustment_changed_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;hadj), ("value_changed"), ((<br>(GCallback) (adjustment_changed_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1833"><td class="num" id="LN1833">1833</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;hadj), ("value_changed"), ((<br>(GCallback) (adjustment_changed_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1834"><td class="num" id="LN1834">1834</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1835"><td class="num" id="LN1835">1835</td><td class="line"> priv-&gt;hbar = gtk_scrollbar_new (GTK_ORIENTATION_HORIZONTAL, priv-&gt;hadj);</td></tr>
+<tr class="codeline" data-linenumber="1836"><td class="num" id="LN1836">1836</td><td class="line"> priv-&gt;vadj = <span class='macro'>GTK_ADJUSTMENT (gtk_adjustment_new (0, 100, 0, 10, 10, 100))<span class='macro_popup'>((((GtkAdjustment*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_adjustment_new (0, 100, 0, 10, 10, 100))), ((gtk_adjustment_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1837"><td class="num" id="LN1837">1837</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;vadj, <span class='string_literal'>"value_changed"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;vadj), ("value_changed"), ((<br>(GCallback) (adjustment_changed_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1838"><td class="num" id="LN1838">1838</td><td class="line"> <span class='macro'>G_CALLBACK (adjustment_changed_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;vadj), ("value_changed"), ((<br>(GCallback) (adjustment_changed_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1839"><td class="num" id="LN1839">1839</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;vadj), ("value_changed"), ((<br>(GCallback) (adjustment_changed_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1840"><td class="num" id="LN1840">1840</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1841"><td class="num" id="LN1841">1841</td><td class="line"> priv-&gt;vbar = gtk_scrollbar_new (GTK_ORIENTATION_VERTICAL, priv-&gt;vadj);</td></tr>
+<tr class="codeline" data-linenumber="1842"><td class="num" id="LN1842">1842</td><td class="line"> priv-&gt;display = g_object_new (<span class='macro'>GTK_TYPE_DRAWING_AREA<span class='macro_popup'>(gtk_drawing_area_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1843"><td class="num" id="LN1843">1843</td><td class="line"> <span class='string_literal'>"can-focus"</span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1844"><td class="num" id="LN1844">1844</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1845"><td class="num" id="LN1845">1845</td><td class="line"> priv-&gt;scale = gtk_widget_get_scale_factor (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="1846"><td class="num" id="LN1846">1846</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1847"><td class="num" id="LN1847">1847</td><td class="line"> gtk_widget_add_events (priv-&gt;display,</td></tr>
+<tr class="codeline" data-linenumber="1848"><td class="num" id="LN1848">1848</td><td class="line"> GDK_EXPOSURE_MASK</td></tr>
+<tr class="codeline" data-linenumber="1849"><td class="num" id="LN1849">1849</td><td class="line"> | GDK_BUTTON_PRESS_MASK</td></tr>
+<tr class="codeline" data-linenumber="1850"><td class="num" id="LN1850">1850</td><td class="line"> | GDK_BUTTON_RELEASE_MASK</td></tr>
+<tr class="codeline" data-linenumber="1851"><td class="num" id="LN1851">1851</td><td class="line"> | GDK_POINTER_MOTION_MASK</td></tr>
+<tr class="codeline" data-linenumber="1852"><td class="num" id="LN1852">1852</td><td class="line"> | GDK_POINTER_MOTION_HINT_MASK</td></tr>
+<tr class="codeline" data-linenumber="1853"><td class="num" id="LN1853">1853</td><td class="line"> | GDK_SCROLL_MASK</td></tr>
+<tr class="codeline" data-linenumber="1854"><td class="num" id="LN1854">1854</td><td class="line"> | GDK_KEY_PRESS_MASK);</td></tr>
+<tr class="codeline" data-linenumber="1855"><td class="num" id="LN1855">1855</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1856"><td class="num" id="LN1856">1856</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"configure_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("configure_event"<br>), (((GCallback) (display_size_change))), (view), ((void*)0),<br> (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1857"><td class="num" id="LN1857">1857</td><td class="line"> <span class='macro'>G_CALLBACK (display_size_change),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("configure_event"<br>), (((GCallback) (display_size_change))), (view), ((void*)0),<br> (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1858"><td class="num" id="LN1858">1858</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("configure_event"<br>), (((GCallback) (display_size_change))), (view), ((void*)0),<br> (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1859"><td class="num" id="LN1859">1859</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1860"><td class="num" id="LN1860">1860</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"draw"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("draw"), (((GCallback<br>) (display_draw))), (view), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1861"><td class="num" id="LN1861">1861</td><td class="line"> <span class='macro'>G_CALLBACK (display_draw),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("draw"), (((GCallback<br>) (display_draw))), (view), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1862"><td class="num" id="LN1862">1862</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("draw"), (((GCallback<br>) (display_draw))), (view), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1863"><td class="num" id="LN1863">1863</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1864"><td class="num" id="LN1864">1864</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"map_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("map_event"), (((<br>GCallback) (display_map_event))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1865"><td class="num" id="LN1865">1865</td><td class="line"> <span class='macro'>G_CALLBACK (display_map_event),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("map_event"), (((<br>GCallback) (display_map_event))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1866"><td class="num" id="LN1866">1866</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("map_event"), (((<br>GCallback) (display_map_event))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1867"><td class="num" id="LN1867">1867</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1868"><td class="num" id="LN1868">1868</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"button_press_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("button_press_event"<br>), (((GCallback) (eom_scroll_view_button_press_event))), (view<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1869"><td class="num" id="LN1869">1869</td><td class="line"> <span class='macro'>G_CALLBACK (eom_scroll_view_button_press_event),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("button_press_event"<br>), (((GCallback) (eom_scroll_view_button_press_event))), (view<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1870"><td class="num" id="LN1870">1870</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("button_press_event"<br>), (((GCallback) (eom_scroll_view_button_press_event))), (view<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1871"><td class="num" id="LN1871">1871</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1872"><td class="num" id="LN1872">1872</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"motion_notify_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("motion_notify_event"<br>), (((GCallback) (eom_scroll_view_motion_event))), (view), ((<br>void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1873"><td class="num" id="LN1873">1873</td><td class="line"> <span class='macro'>G_CALLBACK (eom_scroll_view_motion_event),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("motion_notify_event"<br>), (((GCallback) (eom_scroll_view_motion_event))), (view), ((<br>void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1874"><td class="num" id="LN1874">1874</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("motion_notify_event"<br>), (((GCallback) (eom_scroll_view_motion_event))), (view), ((<br>void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1875"><td class="num" id="LN1875">1875</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1876"><td class="num" id="LN1876">1876</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"button_release_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("button_release_event"<br>), (((GCallback) (eom_scroll_view_button_release_event))), (view<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1877"><td class="num" id="LN1877">1877</td><td class="line"> <span class='macro'>G_CALLBACK (eom_scroll_view_button_release_event),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("button_release_event"<br>), (((GCallback) (eom_scroll_view_button_release_event))), (view<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1878"><td class="num" id="LN1878">1878</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("button_release_event"<br>), (((GCallback) (eom_scroll_view_button_release_event))), (view<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1879"><td class="num" id="LN1879">1879</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1880"><td class="num" id="LN1880">1880</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"scroll_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("scroll_event"), (<br>((GCallback) (eom_scroll_view_scroll_event))), (view), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1881"><td class="num" id="LN1881">1881</td><td class="line"> <span class='macro'>G_CALLBACK (eom_scroll_view_scroll_event),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("scroll_event"), (<br>((GCallback) (eom_scroll_view_scroll_event))), (view), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1882"><td class="num" id="LN1882">1882</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("scroll_event"), (<br>((GCallback) (eom_scroll_view_scroll_event))), (view), ((void<br>*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1883"><td class="num" id="LN1883">1883</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1884"><td class="num" id="LN1884">1884</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"focus_in_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("focus_in_event")<br>, (((GCallback) (eom_scroll_view_focus_in_event))), (((void*)<br>0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1885"><td class="num" id="LN1885">1885</td><td class="line"> <span class='macro'>G_CALLBACK (eom_scroll_view_focus_in_event),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("focus_in_event")<br>, (((GCallback) (eom_scroll_view_focus_in_event))), (((void*)<br>0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1886"><td class="num" id="LN1886">1886</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("focus_in_event")<br>, (((GCallback) (eom_scroll_view_focus_in_event))), (((void*)<br>0)), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1887"><td class="num" id="LN1887">1887</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1888"><td class="num" id="LN1888">1888</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"focus_out_event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("focus_out_event"<br>), (((GCallback) (eom_scroll_view_focus_out_event))), (((void<br>*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1889"><td class="num" id="LN1889">1889</td><td class="line"> <span class='macro'>G_CALLBACK (eom_scroll_view_focus_out_event),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("focus_out_event"<br>), (((GCallback) (eom_scroll_view_focus_out_event))), (((void<br>*)0)), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1890"><td class="num" id="LN1890">1890</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("focus_out_event"<br>), (((GCallback) (eom_scroll_view_focus_out_event))), (((void<br>*)0)), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1891"><td class="num" id="LN1891">1891</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1892"><td class="num" id="LN1892">1892</td><td class="line"> <span class='macro'>g_signal_connect (view, <span class='string_literal'>"key_press_event"</span>,<span class='macro_popup'>g_signal_connect_data ((view), ("key_press_event"), (((GCallback<br>) (display_key_press_event))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1893"><td class="num" id="LN1893">1893</td><td class="line"> <span class='macro'>G_CALLBACK (display_key_press_event),<span class='macro_popup'>g_signal_connect_data ((view), ("key_press_event"), (((GCallback<br>) (display_key_press_event))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1894"><td class="num" id="LN1894">1894</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((view), ("key_press_event"), (((GCallback<br>) (display_key_press_event))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1895"><td class="num" id="LN1895">1895</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1896"><td class="num" id="LN1896">1896</td><td class="line"> gtk_drag_source_set (priv-&gt;display, GDK_BUTTON1_MASK,</td></tr>
+<tr class="codeline" data-linenumber="1897"><td class="num" id="LN1897">1897</td><td class="line"> target_table, <span class='macro'>G_N_ELEMENTS (target_table)<span class='macro_popup'>(sizeof (target_table) / sizeof ((target_table)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1898"><td class="num" id="LN1898">1898</td><td class="line"> GDK_ACTION_COPY | GDK_ACTION_MOVE |</td></tr>
+<tr class="codeline" data-linenumber="1899"><td class="num" id="LN1899">1899</td><td class="line"> GDK_ACTION_LINK | GDK_ACTION_ASK);</td></tr>
+<tr class="codeline" data-linenumber="1900"><td class="num" id="LN1900">1900</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1901"><td class="num" id="LN1901">1901</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"drag-data-get"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("drag-data-get"),<br> (((GCallback) (view_on_drag_data_get_cb))), (view), ((void*)<br>0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1902"><td class="num" id="LN1902">1902</td><td class="line"> <span class='macro'>G_CALLBACK (view_on_drag_data_get_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("drag-data-get"),<br> (((GCallback) (view_on_drag_data_get_cb))), (view), ((void*)<br>0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1903"><td class="num" id="LN1903">1903</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("drag-data-get"),<br> (((GCallback) (view_on_drag_data_get_cb))), (view), ((void*)<br>0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1904"><td class="num" id="LN1904">1904</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1905"><td class="num" id="LN1905">1905</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;display, <span class='string_literal'>"drag-begin"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("drag-begin"), ((<br>(GCallback) (view_on_drag_begin_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1906"><td class="num" id="LN1906">1906</td><td class="line"> <span class='macro'>G_CALLBACK (view_on_drag_begin_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("drag-begin"), ((<br>(GCallback) (view_on_drag_begin_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1907"><td class="num" id="LN1907">1907</td><td class="line"> <span class='macro'>view)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;display), ("drag-begin"), ((<br>(GCallback) (view_on_drag_begin_cb))), (view), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1908"><td class="num" id="LN1908">1908</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1909"><td class="num" id="LN1909">1909</td><td class="line"> gtk_grid_attach (<span class='macro'>GTK_GRID (view)<span class='macro_popup'>((((GtkGrid*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_grid_get_type ()))))))</span></span>, priv-&gt;display,</td></tr>
+<tr class="codeline" data-linenumber="1910"><td class="num" id="LN1910">1910</td><td class="line"> 0, 0, 1, 1);</td></tr>
+<tr class="codeline" data-linenumber="1911"><td class="num" id="LN1911">1911</td><td class="line"> gtk_widget_set_hexpand (priv-&gt;display, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1912"><td class="num" id="LN1912">1912</td><td class="line"> gtk_widget_set_vexpand (priv-&gt;display, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1913"><td class="num" id="LN1913">1913</td><td class="line"> gtk_grid_attach (<span class='macro'>GTK_GRID (view)<span class='macro_popup'>((((GtkGrid*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_grid_get_type ()))))))</span></span>, priv-&gt;hbar,</td></tr>
+<tr class="codeline" data-linenumber="1914"><td class="num" id="LN1914">1914</td><td class="line"> 0, 1, 1, 1);</td></tr>
+<tr class="codeline" data-linenumber="1915"><td class="num" id="LN1915">1915</td><td class="line"> gtk_widget_set_hexpand (priv-&gt;hbar, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1916"><td class="num" id="LN1916">1916</td><td class="line"> gtk_grid_attach (<span class='macro'>GTK_GRID (view)<span class='macro_popup'>((((GtkGrid*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_grid_get_type ()))))))</span></span>, priv-&gt;vbar,</td></tr>
+<tr class="codeline" data-linenumber="1917"><td class="num" id="LN1917">1917</td><td class="line"> 1, 0, 1, 1);</td></tr>
+<tr class="codeline" data-linenumber="1918"><td class="num" id="LN1918">1918</td><td class="line"> gtk_widget_set_vexpand (priv-&gt;vbar, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1919"><td class="num" id="LN1919">1919</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1920"><td class="num" id="LN1920">1920</td><td class="line"> g_settings_bind (settings, <span class='macro'>EOM_CONF_VIEW_USE_BG_COLOR<span class='macro_popup'>"use-background-color"</span></span>, view,</td></tr>
+<tr class="codeline" data-linenumber="1921"><td class="num" id="LN1921">1921</td><td class="line"> <span class='string_literal'>"use-background-color"</span>, G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="1922"><td class="num" id="LN1922">1922</td><td class="line"> g_settings_bind_with_mapping (settings, <span class='macro'>EOM_CONF_VIEW_BACKGROUND_COLOR<span class='macro_popup'>"background-color"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1923"><td class="num" id="LN1923">1923</td><td class="line"> view, <span class='string_literal'>"background-color"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1924"><td class="num" id="LN1924">1924</td><td class="line"> G_SETTINGS_BIND_DEFAULT,</td></tr>
+<tr class="codeline" data-linenumber="1925"><td class="num" id="LN1925">1925</td><td class="line"> sv_string_to_rgba_mapping,</td></tr>
+<tr class="codeline" data-linenumber="1926"><td class="num" id="LN1926">1926</td><td class="line"> sv_rgba_to_string_mapping, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1927"><td class="num" id="LN1927">1927</td><td class="line"> g_settings_bind (settings, <span class='macro'>EOM_CONF_VIEW_EXTRAPOLATE<span class='macro_popup'>"extrapolate"</span></span>, view,</td></tr>
+<tr class="codeline" data-linenumber="1928"><td class="num" id="LN1928">1928</td><td class="line"> <span class='string_literal'>"antialiasing-in"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="1929"><td class="num" id="LN1929">1929</td><td class="line"> g_settings_bind (settings, <span class='macro'>EOM_CONF_VIEW_INTERPOLATE<span class='macro_popup'>"interpolate"</span></span>, view,</td></tr>
+<tr class="codeline" data-linenumber="1930"><td class="num" id="LN1930">1930</td><td class="line"> <span class='string_literal'>"antialiasing-out"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="1931"><td class="num" id="LN1931">1931</td><td class="line"> g_settings_bind_with_mapping (settings, <span class='macro'>EOM_CONF_VIEW_TRANS_COLOR<span class='macro_popup'>"trans-color"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1932"><td class="num" id="LN1932">1932</td><td class="line"> view, <span class='string_literal'>"transparency-color"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1933"><td class="num" id="LN1933">1933</td><td class="line"> G_SETTINGS_BIND_GET,</td></tr>
+<tr class="codeline" data-linenumber="1934"><td class="num" id="LN1934">1934</td><td class="line"> sv_string_to_rgba_mapping,</td></tr>
+<tr class="codeline" data-linenumber="1935"><td class="num" id="LN1935">1935</td><td class="line"> sv_rgba_to_string_mapping, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1936"><td class="num" id="LN1936">1936</td><td class="line"> g_settings_bind (settings, <span class='macro'>EOM_CONF_VIEW_TRANSPARENCY<span class='macro_popup'>"transparency"</span></span>, view,</td></tr>
+<tr class="codeline" data-linenumber="1937"><td class="num" id="LN1937">1937</td><td class="line"> <span class='string_literal'>"transparency-style"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="1938"><td class="num" id="LN1938">1938</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1939"><td class="num" id="LN1939">1939</td><td class="line"> g_object_unref (settings);</td></tr>
+<tr class="codeline" data-linenumber="1940"><td class="num" id="LN1940">1940</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1941"><td class="num" id="LN1941">1941</td><td class="line"> priv-&gt;override_bg_color = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1942"><td class="num" id="LN1942">1942</td><td class="line"> priv-&gt;background_surface = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1943"><td class="num" id="LN1943">1943</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1944"><td class="num" id="LN1944">1944</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1945"><td class="num" id="LN1945">1945</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1946"><td class="num" id="LN1946">1946</td><td class="line">eom_scroll_view_dispose (GObject *object)</td></tr>
+<tr class="codeline" data-linenumber="1947"><td class="num" id="LN1947">1947</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1948"><td class="num" id="LN1948">1948</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1949"><td class="num" id="LN1949">1949</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1950"><td class="num" id="LN1950">1950</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1951"><td class="num" id="LN1951">1951</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (object))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((object)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (object)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1952"><td class="num" id="LN1952">1952</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1953"><td class="num" id="LN1953">1953</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (object)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1954"><td class="num" id="LN1954">1954</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1955"><td class="num" id="LN1955">1955</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1956"><td class="num" id="LN1956">1956</td><td class="line"> _clear_hq_redraw_timeout (view);</td></tr>
+<tr class="codeline" data-linenumber="1957"><td class="num" id="LN1957">1957</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1958"><td class="num" id="LN1958">1958</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;idle_id != 0) {</td></tr>
+<tr class="codeline" data-linenumber="1959"><td class="num" id="LN1959">1959</td><td class="line"> g_source_remove (priv-&gt;idle_id);</td></tr>
+<tr class="codeline" data-linenumber="1960"><td class="num" id="LN1960">1960</td><td class="line"> priv-&gt;idle_id = 0;</td></tr>
+<tr class="codeline" data-linenumber="1961"><td class="num" id="LN1961">1961</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1962"><td class="num" id="LN1962">1962</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1963"><td class="num" id="LN1963">1963</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;background_color != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1964"><td class="num" id="LN1964">1964</td><td class="line"> gdk_rgba_free (priv-&gt;background_color);</td></tr>
+<tr class="codeline" data-linenumber="1965"><td class="num" id="LN1965">1965</td><td class="line"> priv-&gt;background_color = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1966"><td class="num" id="LN1966">1966</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1967"><td class="num" id="LN1967">1967</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1968"><td class="num" id="LN1968">1968</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;override_bg_color != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1969"><td class="num" id="LN1969">1969</td><td class="line"> gdk_rgba_free (priv-&gt;override_bg_color);</td></tr>
+<tr class="codeline" data-linenumber="1970"><td class="num" id="LN1970">1970</td><td class="line"> priv-&gt;override_bg_color = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1971"><td class="num" id="LN1971">1971</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1972"><td class="num" id="LN1972">1972</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1973"><td class="num" id="LN1973">1973</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;background_surface != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1974"><td class="num" id="LN1974">1974</td><td class="line"> cairo_surface_destroy (priv-&gt;background_surface);</td></tr>
+<tr class="codeline" data-linenumber="1975"><td class="num" id="LN1975">1975</td><td class="line"> priv-&gt;background_surface = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1976"><td class="num" id="LN1976">1976</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1977"><td class="num" id="LN1977">1977</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1978"><td class="num" id="LN1978">1978</td><td class="line"> free_image_resources (view);</td></tr>
+<tr class="codeline" data-linenumber="1979"><td class="num" id="LN1979">1979</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1980"><td class="num" id="LN1980">1980</td><td class="line"> <span class='macro'>G_OBJECT_CLASS (eom_scroll_view_parent_class)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_scroll_view_parent_class)), (((GType) ((20) &lt;&lt;<br> (2))))))))</span></span>-&gt;dispose (object);</td></tr>
+<tr class="codeline" data-linenumber="1981"><td class="num" id="LN1981">1981</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1982"><td class="num" id="LN1982">1982</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1983"><td class="num" id="LN1983">1983</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1984"><td class="num" id="LN1984">1984</td><td class="line">eom_scroll_view_get_property (GObject *object, guint property_id,</td></tr>
+<tr class="codeline" data-linenumber="1985"><td class="num" id="LN1985">1985</td><td class="line"> GValue *value, GParamSpec *pspec)</td></tr>
+<tr class="codeline" data-linenumber="1986"><td class="num" id="LN1986">1986</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1987"><td class="num" id="LN1987">1987</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="1988"><td class="num" id="LN1988">1988</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1989"><td class="num" id="LN1989">1989</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1990"><td class="num" id="LN1990">1990</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (object))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((object)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (object)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1991"><td class="num" id="LN1991">1991</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1992"><td class="num" id="LN1992">1992</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (object)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1993"><td class="num" id="LN1993">1993</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1994"><td class="num" id="LN1994">1994</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1995"><td class="num" id="LN1995">1995</td><td class="line"> <span class='keyword'>switch</span> (property_id) {</td></tr>
+<tr class="codeline" data-linenumber="1996"><td class="num" id="LN1996">1996</td><td class="line"> <span class='keyword'>case</span> PROP_ANTIALIAS_IN:</td></tr>
+<tr class="codeline" data-linenumber="1997"><td class="num" id="LN1997">1997</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1998"><td class="num" id="LN1998">1998</td><td class="line"> gboolean filter = (priv-&gt;interp_type_in != CAIRO_FILTER_NEAREST);</td></tr>
+<tr class="codeline" data-linenumber="1999"><td class="num" id="LN1999">1999</td><td class="line"> g_value_set_boolean (value, filter);</td></tr>
+<tr class="codeline" data-linenumber="2000"><td class="num" id="LN2000">2000</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2001"><td class="num" id="LN2001">2001</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2002"><td class="num" id="LN2002">2002</td><td class="line"> <span class='keyword'>case</span> PROP_ANTIALIAS_OUT:</td></tr>
+<tr class="codeline" data-linenumber="2003"><td class="num" id="LN2003">2003</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2004"><td class="num" id="LN2004">2004</td><td class="line"> gboolean filter = (priv-&gt;interp_type_out != CAIRO_FILTER_NEAREST);</td></tr>
+<tr class="codeline" data-linenumber="2005"><td class="num" id="LN2005">2005</td><td class="line"> g_value_set_boolean (value, filter);</td></tr>
+<tr class="codeline" data-linenumber="2006"><td class="num" id="LN2006">2006</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2007"><td class="num" id="LN2007">2007</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2008"><td class="num" id="LN2008">2008</td><td class="line"> <span class='keyword'>case</span> PROP_USE_BG_COLOR:</td></tr>
+<tr class="codeline" data-linenumber="2009"><td class="num" id="LN2009">2009</td><td class="line"> g_value_set_boolean (value, priv-&gt;use_bg_color);</td></tr>
+<tr class="codeline" data-linenumber="2010"><td class="num" id="LN2010">2010</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2011"><td class="num" id="LN2011">2011</td><td class="line"> <span class='keyword'>case</span> PROP_BACKGROUND_COLOR:</td></tr>
+<tr class="codeline" data-linenumber="2012"><td class="num" id="LN2012">2012</td><td class="line"> <span class='comment'>//FIXME: This doesn't really handle the NULL color.</span></td></tr>
+<tr class="codeline" data-linenumber="2013"><td class="num" id="LN2013">2013</td><td class="line"> g_value_set_boxed (value, priv-&gt;background_color);</td></tr>
+<tr class="codeline" data-linenumber="2014"><td class="num" id="LN2014">2014</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2015"><td class="num" id="LN2015">2015</td><td class="line"> <span class='keyword'>case</span> PROP_SCROLLWHEEL_ZOOM:</td></tr>
+<tr class="codeline" data-linenumber="2016"><td class="num" id="LN2016">2016</td><td class="line"> g_value_set_boolean (value, priv-&gt;scroll_wheel_zoom);</td></tr>
+<tr class="codeline" data-linenumber="2017"><td class="num" id="LN2017">2017</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2018"><td class="num" id="LN2018">2018</td><td class="line"> <span class='keyword'>case</span> PROP_TRANSPARENCY_STYLE:</td></tr>
+<tr class="codeline" data-linenumber="2019"><td class="num" id="LN2019">2019</td><td class="line"> g_value_set_enum (value, priv-&gt;transp_style);</td></tr>
+<tr class="codeline" data-linenumber="2020"><td class="num" id="LN2020">2020</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2021"><td class="num" id="LN2021">2021</td><td class="line"> <span class='keyword'>case</span> PROP_ZOOM_MULTIPLIER:</td></tr>
+<tr class="codeline" data-linenumber="2022"><td class="num" id="LN2022">2022</td><td class="line"> g_value_set_double (value, priv-&gt;zoom_multiplier);</td></tr>
+<tr class="codeline" data-linenumber="2023"><td class="num" id="LN2023">2023</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2024"><td class="num" id="LN2024">2024</td><td class="line"> <span class='keyword'>case</span> PROP_IMAGE:</td></tr>
+<tr class="codeline" data-linenumber="2025"><td class="num" id="LN2025">2025</td><td class="line"> g_value_set_object (value, priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="2026"><td class="num" id="LN2026">2026</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2027"><td class="num" id="LN2027">2027</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2028"><td class="num" id="LN2028">2028</td><td class="line"> <span class='macro'>G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec)<span class='macro_popup'>do { GObject *_glib__object = (GObject*) ((object)); GParamSpec<br> *_glib__pspec = (GParamSpec*) ((pspec)); guint _glib__property_id<br> = ((property_id)); g_warning ("%s:%d: invalid %s id %u for \"%s\" of type '%s' in '%s'"<br>, "eom-scroll-view.c", 2028, ("property"), _glib__property_id<br>, _glib__pspec-&gt;name, g_type_name ((((((GTypeClass*) (((GTypeInstance<br>*) (_glib__pspec))-&gt;g_class))-&gt;g_type)))), (g_type_name<br> ((((((GTypeClass*) (((GTypeInstance*) (_glib__object))-&gt;g_class<br>))-&gt;g_type)))))); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2029"><td class="num" id="LN2029">2029</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2030"><td class="num" id="LN2030">2030</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2031"><td class="num" id="LN2031">2031</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2032"><td class="num" id="LN2032">2032</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2033"><td class="num" id="LN2033">2033</td><td class="line">eom_scroll_view_set_property (GObject *object, guint property_id,</td></tr>
+<tr class="codeline" data-linenumber="2034"><td class="num" id="LN2034">2034</td><td class="line"> <span class='keyword'>const</span> GValue *value, GParamSpec *pspec)</td></tr>
+<tr class="codeline" data-linenumber="2035"><td class="num" id="LN2035">2035</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2036"><td class="num" id="LN2036">2036</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="2037"><td class="num" id="LN2037">2037</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2038"><td class="num" id="LN2038">2038</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (object))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((object)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (object)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2039"><td class="num" id="LN2039">2039</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2040"><td class="num" id="LN2040">2040</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (object)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2041"><td class="num" id="LN2041">2041</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2042"><td class="num" id="LN2042">2042</td><td class="line"> <span class='keyword'>switch</span> (property_id) {</td></tr>
+<tr class="codeline" data-linenumber="2043"><td class="num" id="LN2043">2043</td><td class="line"> <span class='keyword'>case</span> PROP_ANTIALIAS_IN:</td></tr>
+<tr class="codeline" data-linenumber="2044"><td class="num" id="LN2044">2044</td><td class="line"> eom_scroll_view_set_antialiasing_in (view, g_value_get_boolean (value));</td></tr>
+<tr class="codeline" data-linenumber="2045"><td class="num" id="LN2045">2045</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2046"><td class="num" id="LN2046">2046</td><td class="line"> <span class='keyword'>case</span> PROP_ANTIALIAS_OUT:</td></tr>
+<tr class="codeline" data-linenumber="2047"><td class="num" id="LN2047">2047</td><td class="line"> eom_scroll_view_set_antialiasing_out (view, g_value_get_boolean (value));</td></tr>
+<tr class="codeline" data-linenumber="2048"><td class="num" id="LN2048">2048</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2049"><td class="num" id="LN2049">2049</td><td class="line"> <span class='keyword'>case</span> PROP_USE_BG_COLOR:</td></tr>
+<tr class="codeline" data-linenumber="2050"><td class="num" id="LN2050">2050</td><td class="line"> eom_scroll_view_set_use_bg_color (view, g_value_get_boolean (value));</td></tr>
+<tr class="codeline" data-linenumber="2051"><td class="num" id="LN2051">2051</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2052"><td class="num" id="LN2052">2052</td><td class="line"> <span class='keyword'>case</span> PROP_BACKGROUND_COLOR:</td></tr>
+<tr class="codeline" data-linenumber="2053"><td class="num" id="LN2053">2053</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2054"><td class="num" id="LN2054">2054</td><td class="line"> <span class='keyword'>const</span> GdkRGBA *color = g_value_get_boxed (value);</td></tr>
+<tr class="codeline" data-linenumber="2055"><td class="num" id="LN2055">2055</td><td class="line"> eom_scroll_view_set_background_color (view, color);</td></tr>
+<tr class="codeline" data-linenumber="2056"><td class="num" id="LN2056">2056</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2057"><td class="num" id="LN2057">2057</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2058"><td class="num" id="LN2058">2058</td><td class="line"> <span class='keyword'>case</span> PROP_SCROLLWHEEL_ZOOM:</td></tr>
+<tr class="codeline" data-linenumber="2059"><td class="num" id="LN2059">2059</td><td class="line"> eom_scroll_view_set_scroll_wheel_zoom (view, g_value_get_boolean (value));</td></tr>
+<tr class="codeline" data-linenumber="2060"><td class="num" id="LN2060">2060</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2061"><td class="num" id="LN2061">2061</td><td class="line"> <span class='keyword'>case</span> PROP_TRANSP_COLOR:</td></tr>
+<tr class="codeline" data-linenumber="2062"><td class="num" id="LN2062">2062</td><td class="line"> eom_scroll_view_set_transparency_color (view, g_value_get_boxed (value));</td></tr>
+<tr class="codeline" data-linenumber="2063"><td class="num" id="LN2063">2063</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2064"><td class="num" id="LN2064">2064</td><td class="line"> <span class='keyword'>case</span> PROP_TRANSPARENCY_STYLE:</td></tr>
+<tr class="codeline" data-linenumber="2065"><td class="num" id="LN2065">2065</td><td class="line"> eom_scroll_view_set_transparency (view, g_value_get_enum (value));</td></tr>
+<tr class="codeline" data-linenumber="2066"><td class="num" id="LN2066">2066</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2067"><td class="num" id="LN2067">2067</td><td class="line"> <span class='keyword'>case</span> PROP_ZOOM_MULTIPLIER:</td></tr>
+<tr class="codeline" data-linenumber="2068"><td class="num" id="LN2068">2068</td><td class="line"> eom_scroll_view_set_zoom_multiplier (view, g_value_get_double (value));</td></tr>
+<tr class="codeline" data-linenumber="2069"><td class="num" id="LN2069">2069</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2070"><td class="num" id="LN2070">2070</td><td class="line"> <span class='keyword'>case</span> PROP_IMAGE:</td></tr>
+<tr class="codeline" data-linenumber="2071"><td class="num" id="LN2071">2071</td><td class="line"> eom_scroll_view_set_image (view, g_value_get_object (value));</td></tr>
+<tr class="codeline" data-linenumber="2072"><td class="num" id="LN2072">2072</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2073"><td class="num" id="LN2073">2073</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2074"><td class="num" id="LN2074">2074</td><td class="line"> <span class='macro'>G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec)<span class='macro_popup'>do { GObject *_glib__object = (GObject*) ((object)); GParamSpec<br> *_glib__pspec = (GParamSpec*) ((pspec)); guint _glib__property_id<br> = ((property_id)); g_warning ("%s:%d: invalid %s id %u for \"%s\" of type '%s' in '%s'"<br>, "eom-scroll-view.c", 2074, ("property"), _glib__property_id<br>, _glib__pspec-&gt;name, g_type_name ((((((GTypeClass*) (((GTypeInstance<br>*) (_glib__pspec))-&gt;g_class))-&gt;g_type)))), (g_type_name<br> ((((((GTypeClass*) (((GTypeInstance*) (_glib__object))-&gt;g_class<br>))-&gt;g_type)))))); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2075"><td class="num" id="LN2075">2075</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2076"><td class="num" id="LN2076">2076</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2077"><td class="num" id="LN2077">2077</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2078"><td class="num" id="LN2078">2078</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2079"><td class="num" id="LN2079">2079</td><td class="line">eom_scroll_view_class_init (EomScrollViewClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="2080"><td class="num" id="LN2080">2080</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2081"><td class="num" id="LN2081">2081</td><td class="line"> GObjectClass *gobject_class;</td></tr>
+<tr class="codeline" data-linenumber="2082"><td class="num" id="LN2082">2082</td><td class="line"> GtkWidgetClass *widget_class;</td></tr>
+<tr class="codeline" data-linenumber="2083"><td class="num" id="LN2083">2083</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2084"><td class="num" id="LN2084">2084</td><td class="line"> gobject_class = (GObjectClass*) klass;</td></tr>
+<tr class="codeline" data-linenumber="2085"><td class="num" id="LN2085">2085</td><td class="line"> widget_class = (GtkWidgetClass*) klass;</td></tr>
+<tr class="codeline" data-linenumber="2086"><td class="num" id="LN2086">2086</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2087"><td class="num" id="LN2087">2087</td><td class="line"> gobject_class-&gt;dispose = eom_scroll_view_dispose;</td></tr>
+<tr class="codeline" data-linenumber="2088"><td class="num" id="LN2088">2088</td><td class="line"> gobject_class-&gt;set_property = eom_scroll_view_set_property;</td></tr>
+<tr class="codeline" data-linenumber="2089"><td class="num" id="LN2089">2089</td><td class="line"> gobject_class-&gt;get_property = eom_scroll_view_get_property;</td></tr>
+<tr class="codeline" data-linenumber="2090"><td class="num" id="LN2090">2090</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2091"><td class="num" id="LN2091">2091</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2092"><td class="num" id="LN2092">2092</td><td class="line"> gobject_class, PROP_ANTIALIAS_IN,</td></tr>
+<tr class="codeline" data-linenumber="2093"><td class="num" id="LN2093">2093</td><td class="line"> g_param_spec_boolean (<span class='string_literal'>"antialiasing-in"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2094"><td class="num" id="LN2094">2094</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2095"><td class="num" id="LN2095">2095</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2096"><td class="num" id="LN2096">2096</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2097"><td class="num" id="LN2097">2097</td><td class="line"> gobject_class, PROP_ANTIALIAS_OUT,</td></tr>
+<tr class="codeline" data-linenumber="2098"><td class="num" id="LN2098">2098</td><td class="line"> g_param_spec_boolean (<span class='string_literal'>"antialiasing-out"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2099"><td class="num" id="LN2099">2099</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2100"><td class="num" id="LN2100">2100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2101"><td class="num" id="LN2101">2101</td><td class="line"> <span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2102"><td class="num" id="LN2102">2102</td><td class="line"> <span class='comment'>* EomScrollView:background-color:</span></td></tr>
+<tr class="codeline" data-linenumber="2103"><td class="num" id="LN2103">2103</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2104"><td class="num" id="LN2104">2104</td><td class="line"> <span class='comment'>* This is the default background color used for painting the background</span></td></tr>
+<tr class="codeline" data-linenumber="2105"><td class="num" id="LN2105">2105</td><td class="line"> <span class='comment'>* of the image view. If set to %NULL the color is determined by the</span></td></tr>
+<tr class="codeline" data-linenumber="2106"><td class="num" id="LN2106">2106</td><td class="line"> <span class='comment'>* active GTK theme.</span></td></tr>
+<tr class="codeline" data-linenumber="2107"><td class="num" id="LN2107">2107</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="2108"><td class="num" id="LN2108">2108</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2109"><td class="num" id="LN2109">2109</td><td class="line"> gobject_class, PROP_BACKGROUND_COLOR,</td></tr>
+<tr class="codeline" data-linenumber="2110"><td class="num" id="LN2110">2110</td><td class="line"> g_param_spec_boxed (<span class='string_literal'>"background-color"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2111"><td class="num" id="LN2111">2111</td><td class="line"> <span class='macro'>GDK_TYPE_RGBA<span class='macro_popup'>(gdk_rgba_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2112"><td class="num" id="LN2112">2112</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2113"><td class="num" id="LN2113">2113</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2114"><td class="num" id="LN2114">2114</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2115"><td class="num" id="LN2115">2115</td><td class="line"> gobject_class, PROP_USE_BG_COLOR,</td></tr>
+<tr class="codeline" data-linenumber="2116"><td class="num" id="LN2116">2116</td><td class="line"> g_param_spec_boolean (<span class='string_literal'>"use-background-color"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2117"><td class="num" id="LN2117">2117</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2118"><td class="num" id="LN2118">2118</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2119"><td class="num" id="LN2119">2119</td><td class="line"> <span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2120"><td class="num" id="LN2120">2120</td><td class="line"> <span class='comment'>* EomScrollView:zoom-multiplier:</span></td></tr>
+<tr class="codeline" data-linenumber="2121"><td class="num" id="LN2121">2121</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2122"><td class="num" id="LN2122">2122</td><td class="line"> <span class='comment'>* The current zoom factor is multiplied with this value + 1.0 when</span></td></tr>
+<tr class="codeline" data-linenumber="2123"><td class="num" id="LN2123">2123</td><td class="line"> <span class='comment'>* scrolling with the scrollwheel to determine the next zoom factor.</span></td></tr>
+<tr class="codeline" data-linenumber="2124"><td class="num" id="LN2124">2124</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="2125"><td class="num" id="LN2125">2125</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2126"><td class="num" id="LN2126">2126</td><td class="line"> gobject_class, PROP_ZOOM_MULTIPLIER,</td></tr>
+<tr class="codeline" data-linenumber="2127"><td class="num" id="LN2127">2127</td><td class="line"> g_param_spec_double (<span class='string_literal'>"zoom-multiplier"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2128"><td class="num" id="LN2128">2128</td><td class="line"> -<span class='macro'>G_MAXDOUBLE<span class='macro_popup'>1.7976931348623157e+308</span></span>, <span class='macro'>G_MAXDOUBLE<span class='macro_popup'>1.7976931348623157e+308</span></span> -1.0, 0.05,</td></tr>
+<tr class="codeline" data-linenumber="2129"><td class="num" id="LN2129">2129</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2130"><td class="num" id="LN2130">2130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2131"><td class="num" id="LN2131">2131</td><td class="line"> <span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2132"><td class="num" id="LN2132">2132</td><td class="line"> <span class='comment'>* EomScrollView:scrollwheel-zoom:</span></td></tr>
+<tr class="codeline" data-linenumber="2133"><td class="num" id="LN2133">2133</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2134"><td class="num" id="LN2134">2134</td><td class="line"> <span class='comment'>* If %TRUE the scrollwheel will zoom the view, otherwise it will be</span></td></tr>
+<tr class="codeline" data-linenumber="2135"><td class="num" id="LN2135">2135</td><td class="line"> <span class='comment'>* used for scrolling a zoomed image.</span></td></tr>
+<tr class="codeline" data-linenumber="2136"><td class="num" id="LN2136">2136</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="2137"><td class="num" id="LN2137">2137</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2138"><td class="num" id="LN2138">2138</td><td class="line"> gobject_class, PROP_SCROLLWHEEL_ZOOM,</td></tr>
+<tr class="codeline" data-linenumber="2139"><td class="num" id="LN2139">2139</td><td class="line"> g_param_spec_boolean (<span class='string_literal'>"scrollwheel-zoom"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2140"><td class="num" id="LN2140">2140</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2141"><td class="num" id="LN2141">2141</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2142"><td class="num" id="LN2142">2142</td><td class="line"> <span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2143"><td class="num" id="LN2143">2143</td><td class="line"> <span class='comment'>* EomScrollView:image:</span></td></tr>
+<tr class="codeline" data-linenumber="2144"><td class="num" id="LN2144">2144</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2145"><td class="num" id="LN2145">2145</td><td class="line"> <span class='comment'>* This is the currently display #EomImage.</span></td></tr>
+<tr class="codeline" data-linenumber="2146"><td class="num" id="LN2146">2146</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="2147"><td class="num" id="LN2147">2147</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2148"><td class="num" id="LN2148">2148</td><td class="line"> gobject_class, PROP_IMAGE,</td></tr>
+<tr class="codeline" data-linenumber="2149"><td class="num" id="LN2149">2149</td><td class="line"> g_param_spec_object (<span class='string_literal'>"image"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_TYPE_IMAGE<span class='macro_popup'>(eom_image_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2150"><td class="num" id="LN2150">2150</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2151"><td class="num" id="LN2151">2151</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2152"><td class="num" id="LN2152">2152</td><td class="line"> <span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2153"><td class="num" id="LN2153">2153</td><td class="line"> <span class='comment'>* EomScrollView:transparency-color:</span></td></tr>
+<tr class="codeline" data-linenumber="2154"><td class="num" id="LN2154">2154</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2155"><td class="num" id="LN2155">2155</td><td class="line"> <span class='comment'>* This is the color used to fill the transparent parts of an image</span></td></tr>
+<tr class="codeline" data-linenumber="2156"><td class="num" id="LN2156">2156</td><td class="line"> <span class='comment'>* if :transparency-style is set to use a custom color.</span></td></tr>
+<tr class="codeline" data-linenumber="2157"><td class="num" id="LN2157">2157</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="2158"><td class="num" id="LN2158">2158</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2159"><td class="num" id="LN2159">2159</td><td class="line"> gobject_class, PROP_TRANSP_COLOR,</td></tr>
+<tr class="codeline" data-linenumber="2160"><td class="num" id="LN2160">2160</td><td class="line"> g_param_spec_boxed (<span class='string_literal'>"transparency-color"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2161"><td class="num" id="LN2161">2161</td><td class="line"> <span class='macro'>GDK_TYPE_RGBA<span class='macro_popup'>(gdk_rgba_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2162"><td class="num" id="LN2162">2162</td><td class="line"> G_PARAM_WRITABLE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2163"><td class="num" id="LN2163">2163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2164"><td class="num" id="LN2164">2164</td><td class="line"> <span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="2165"><td class="num" id="LN2165">2165</td><td class="line"> <span class='comment'>* EomScrollView:transparency-style:</span></td></tr>
+<tr class="codeline" data-linenumber="2166"><td class="num" id="LN2166">2166</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="2167"><td class="num" id="LN2167">2167</td><td class="line"> <span class='comment'>* Determines how to fill the shown image's transparent areas.</span></td></tr>
+<tr class="codeline" data-linenumber="2168"><td class="num" id="LN2168">2168</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="2169"><td class="num" id="LN2169">2169</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="2170"><td class="num" id="LN2170">2170</td><td class="line"> gobject_class, PROP_TRANSPARENCY_STYLE,</td></tr>
+<tr class="codeline" data-linenumber="2171"><td class="num" id="LN2171">2171</td><td class="line"> g_param_spec_enum (<span class='string_literal'>"transparency-style"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2172"><td class="num" id="LN2172">2172</td><td class="line"> <span class='macro'>EOM_TYPE_TRANSPARENCY_STYLE<span class='macro_popup'>(eom_transparency_style_get_type())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2173"><td class="num" id="LN2173">2173</td><td class="line"> EOM_TRANSP_CHECKED,</td></tr>
+<tr class="codeline" data-linenumber="2174"><td class="num" id="LN2174">2174</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="2175"><td class="num" id="LN2175">2175</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2176"><td class="num" id="LN2176">2176</td><td class="line"> view_signals [SIGNAL_ZOOM_CHANGED] =</td></tr>
+<tr class="codeline" data-linenumber="2177"><td class="num" id="LN2177">2177</td><td class="line"> g_signal_new (<span class='string_literal'>"zoom_changed"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2178"><td class="num" id="LN2178">2178</td><td class="line"> <span class='macro'>EOM_TYPE_SCROLL_VIEW<span class='macro_popup'>(eom_scroll_view_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2179"><td class="num" id="LN2179">2179</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="2180"><td class="num" id="LN2180">2180</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (EomScrollViewClass, zoom_changed)<span class='macro_popup'>((glong) __builtin_offsetof(EomScrollViewClass, zoom_changed)<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2181"><td class="num" id="LN2181">2181</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2182"><td class="num" id="LN2182">2182</td><td class="line"> <span class='macro'>eom_marshal_VOID__DOUBLE<span class='macro_popup'>g_cclosure_marshal_VOID__DOUBLE</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2183"><td class="num" id="LN2183">2183</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 1,</td></tr>
+<tr class="codeline" data-linenumber="2184"><td class="num" id="LN2184">2184</td><td class="line"> <span class='macro'>G_TYPE_DOUBLE<span class='macro_popup'>((GType) ((15) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2185"><td class="num" id="LN2185">2185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2186"><td class="num" id="LN2186">2186</td><td class="line"> widget_class-&gt;size_allocate = eom_scroll_view_size_allocate;</td></tr>
+<tr class="codeline" data-linenumber="2187"><td class="num" id="LN2187">2187</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2188"><td class="num" id="LN2188">2188</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2189"><td class="num" id="LN2189">2189</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2190"><td class="num" id="LN2190">2190</td><td class="line">view_on_drag_begin_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="2191"><td class="num" id="LN2191">2191</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="2192"><td class="num" id="LN2192">2192</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2193"><td class="num" id="LN2193">2193</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2194"><td class="num" id="LN2194">2194</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="2195"><td class="num" id="LN2195">2195</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="2196"><td class="num" id="LN2196">2196</td><td class="line"> GdkPixbuf *thumbnail;</td></tr>
+<tr class="codeline" data-linenumber="2197"><td class="num" id="LN2197">2197</td><td class="line"> gint width, height;</td></tr>
+<tr class="codeline" data-linenumber="2198"><td class="num" id="LN2198">2198</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2199"><td class="num" id="LN2199">2199</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (user_data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2200"><td class="num" id="LN2200">2200</td><td class="line"> image = view-&gt;priv-&gt;image;</td></tr>
+<tr class="codeline" data-linenumber="2201"><td class="num" id="LN2201">2201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2202"><td class="num" id="LN2202">2202</td><td class="line"> thumbnail = eom_image_get_thumbnail (image);</td></tr>
+<tr class="codeline" data-linenumber="2203"><td class="num" id="LN2203">2203</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2204"><td class="num" id="LN2204">2204</td><td class="line"> <span class='keyword'>if</span> (thumbnail) {</td></tr>
+<tr class="codeline" data-linenumber="2205"><td class="num" id="LN2205">2205</td><td class="line"> width = gdk_pixbuf_get_width (thumbnail) / view-&gt;priv-&gt;scale;</td></tr>
+<tr class="codeline" data-linenumber="2206"><td class="num" id="LN2206">2206</td><td class="line"> height = gdk_pixbuf_get_height (thumbnail) / view-&gt;priv-&gt;scale;</td></tr>
+<tr class="codeline" data-linenumber="2207"><td class="num" id="LN2207">2207</td><td class="line"> gtk_drag_set_icon_pixbuf (context, thumbnail, width/2, height/2);</td></tr>
+<tr class="codeline" data-linenumber="2208"><td class="num" id="LN2208">2208</td><td class="line"> g_object_unref (thumbnail);</td></tr>
+<tr class="codeline" data-linenumber="2209"><td class="num" id="LN2209">2209</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2210"><td class="num" id="LN2210">2210</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2211"><td class="num" id="LN2211">2211</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2212"><td class="num" id="LN2212">2212</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2213"><td class="num" id="LN2213">2213</td><td class="line">view_on_drag_data_get_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="2214"><td class="num" id="LN2214">2214</td><td class="line"> GdkDragContext *drag_context,</td></tr>
+<tr class="codeline" data-linenumber="2215"><td class="num" id="LN2215">2215</td><td class="line"> GtkSelectionData *data,</td></tr>
+<tr class="codeline" data-linenumber="2216"><td class="num" id="LN2216">2216</td><td class="line"> guint info,</td></tr>
+<tr class="codeline" data-linenumber="2217"><td class="num" id="LN2217">2217</td><td class="line"> guint time,</td></tr>
+<tr class="codeline" data-linenumber="2218"><td class="num" id="LN2218">2218</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2219"><td class="num" id="LN2219">2219</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2220"><td class="num" id="LN2220">2220</td><td class="line"> EomScrollView *view;</td></tr>
+<tr class="codeline" data-linenumber="2221"><td class="num" id="LN2221">2221</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="2222"><td class="num" id="LN2222">2222</td><td class="line"> gchar *uris[2];</td></tr>
+<tr class="codeline" data-linenumber="2223"><td class="num" id="LN2223">2223</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="2224"><td class="num" id="LN2224">2224</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2225"><td class="num" id="LN2225">2225</td><td class="line"> view = <span class='macro'>EOM_SCROLL_VIEW (user_data)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2226"><td class="num" id="LN2226">2226</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2227"><td class="num" id="LN2227">2227</td><td class="line"> image = view-&gt;priv-&gt;image;</td></tr>
+<tr class="codeline" data-linenumber="2228"><td class="num" id="LN2228">2228</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2229"><td class="num" id="LN2229">2229</td><td class="line"> file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="2230"><td class="num" id="LN2230">2230</td><td class="line"> uris[0] = g_file_get_uri (file);</td></tr>
+<tr class="codeline" data-linenumber="2231"><td class="num" id="LN2231">2231</td><td class="line"> uris[1] = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2232"><td class="num" id="LN2232">2232</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2233"><td class="num" id="LN2233">2233</td><td class="line"> gtk_selection_data_set_uris (data, uris);</td></tr>
+<tr class="codeline" data-linenumber="2234"><td class="num" id="LN2234">2234</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2235"><td class="num" id="LN2235">2235</td><td class="line"> g_free (uris[0]);</td></tr>
+<tr class="codeline" data-linenumber="2236"><td class="num" id="LN2236">2236</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="2237"><td class="num" id="LN2237">2237</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2238"><td class="num" id="LN2238">2238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2239"><td class="num" id="LN2239">2239</td><td class="line">GtkWidget*</td></tr>
+<tr class="codeline" data-linenumber="2240"><td class="num" id="LN2240">2240</td><td class="line">eom_scroll_view_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="2241"><td class="num" id="LN2241">2241</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2242"><td class="num" id="LN2242">2242</td><td class="line"> GtkWidget *widget;</td></tr>
+<tr class="codeline" data-linenumber="2243"><td class="num" id="LN2243">2243</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2244"><td class="num" id="LN2244">2244</td><td class="line"> widget = g_object_new (<span class='macro'>EOM_TYPE_SCROLL_VIEW<span class='macro_popup'>(eom_scroll_view_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2245"><td class="num" id="LN2245">2245</td><td class="line"> <span class='string_literal'>"can-focus"</span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2246"><td class="num" id="LN2246">2246</td><td class="line"> <span class='string_literal'>"row-homogeneous"</span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2247"><td class="num" id="LN2247">2247</td><td class="line"> <span class='string_literal'>"column-homogeneous"</span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2248"><td class="num" id="LN2248">2248</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2249"><td class="num" id="LN2249">2249</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2250"><td class="num" id="LN2250">2250</td><td class="line"> <span class='keyword'>return</span> widget;</td></tr>
+<tr class="codeline" data-linenumber="2251"><td class="num" id="LN2251">2251</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2252"><td class="num" id="LN2252">2252</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2253"><td class="num" id="LN2253">2253</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2254"><td class="num" id="LN2254">2254</td><td class="line">view_on_button_press_event_cb (GtkWidget *widget, GdkEventButton *event,</td></tr>
+<tr class="codeline" data-linenumber="2255"><td class="num" id="LN2255">2255</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2256"><td class="num" id="LN2256">2256</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2257"><td class="num" id="LN2257">2257</td><td class="line"> EomScrollView *view = <span class='macro'>EOM_SCROLL_VIEW (widget)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_scroll_view_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2258"><td class="num" id="LN2258">2258</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2259"><td class="num" id="LN2259">2259</td><td class="line"> <span class='comment'>/* Ignore double-clicks and triple-clicks */</span></td></tr>
+<tr class="codeline" data-linenumber="2260"><td class="num" id="LN2260">2260</td><td class="line"> <span class='keyword'>if</span> (event-&gt;button == 3 &amp;&amp; event-&gt;type == GDK_BUTTON_PRESS)</td></tr>
+<tr class="codeline" data-linenumber="2261"><td class="num" id="LN2261">2261</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2262"><td class="num" id="LN2262">2262</td><td class="line"> gtk_menu_popup_at_pointer (<span class='macro'>GTK_MENU (view-&gt;priv-&gt;menu)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view-&gt;priv-&gt;menu)), ((gtk_menu_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2263"><td class="num" id="LN2263">2263</td><td class="line"> (<span class='keyword'>const</span> GdkEvent*) event);</td></tr>
+<tr class="codeline" data-linenumber="2264"><td class="num" id="LN2264">2264</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2265"><td class="num" id="LN2265">2265</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2266"><td class="num" id="LN2266">2266</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2267"><td class="num" id="LN2267">2267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2268"><td class="num" id="LN2268">2268</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2269"><td class="num" id="LN2269">2269</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2270"><td class="num" id="LN2270">2270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2271"><td class="num" id="LN2271">2271</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2272"><td class="num" id="LN2272">2272</td><td class="line">eom_scroll_view_set_popup (EomScrollView *view,</td></tr>
+<tr class="codeline" data-linenumber="2273"><td class="num" id="LN2273">2273</td><td class="line"> GtkMenu *menu)</td></tr>
+<tr class="codeline" data-linenumber="2274"><td class="num" id="LN2274">2274</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2275"><td class="num" id="LN2275">2275</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2276"><td class="num" id="LN2276">2276</td><td class="line"> <span class='macro'>g_return_if_fail (view-&gt;priv-&gt;menu == NULL)<span class='macro_popup'>do { if ((view-&gt;priv-&gt;menu == ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "view-&gt;priv-&gt;menu == NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2277"><td class="num" id="LN2277">2277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2278"><td class="num" id="LN2278">2278</td><td class="line"> view-&gt;priv-&gt;menu = <span class='macro'>g_object_ref (GTK_WIDGET (menu))<span class='macro_popup'>((__typeof__ (((((GtkWidget*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu)), ((gtk_widget_get_type ()))))))))<br> (g_object_ref) (((((GtkWidget*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((menu)), ((gtk_widget_get_type ()))))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2279"><td class="num" id="LN2279">2279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2280"><td class="num" id="LN2280">2280</td><td class="line"> gtk_menu_attach_to_widget (<span class='macro'>GTK_MENU (view-&gt;priv-&gt;menu)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view-&gt;priv-&gt;menu)), ((gtk_menu_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2281"><td class="num" id="LN2281">2281</td><td class="line"> <span class='macro'>GTK_WIDGET (view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((gtk_widget_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2282"><td class="num" id="LN2282">2282</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2283"><td class="num" id="LN2283">2283</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2284"><td class="num" id="LN2284">2284</td><td class="line"> <span class='macro'>g_signal_connect (view, <span class='string_literal'>"button_press_event"</span>,<span class='macro_popup'>g_signal_connect_data ((view), ("button_press_event"), (((GCallback<br>) (view_on_button_press_event_cb))), (((void*)0)), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2285"><td class="num" id="LN2285">2285</td><td class="line"> <span class='macro'>G_CALLBACK (view_on_button_press_event_cb),<span class='macro_popup'>g_signal_connect_data ((view), ("button_press_event"), (((GCallback<br>) (view_on_button_press_event_cb))), (((void*)0)), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2286"><td class="num" id="LN2286">2286</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((view), ("button_press_event"), (((GCallback<br>) (view_on_button_press_event_cb))), (((void*)0)), ((void*)0)<br>, (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2287"><td class="num" id="LN2287">2287</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2288"><td class="num" id="LN2288">2288</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2289"><td class="num" id="LN2289">2289</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2290"><td class="num" id="LN2290">2290</td><td class="line">_eom_gdk_rgba_equal0 (<span class='keyword'>const</span> GdkRGBA *a, <span class='keyword'>const</span> GdkRGBA *b)</td></tr>
+<tr class="codeline" data-linenumber="2291"><td class="num" id="LN2291">2291</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2292"><td class="num" id="LN2292">2292</td><td class="line"> <span class='keyword'>if</span> (a == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> || b == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2293"><td class="num" id="LN2293">2293</td><td class="line"> <span class='keyword'>return</span> (a == b);</td></tr>
+<tr class="codeline" data-linenumber="2294"><td class="num" id="LN2294">2294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2295"><td class="num" id="LN2295">2295</td><td class="line"> <span class='keyword'>return</span> gdk_rgba_equal (a, b);</td></tr>
+<tr class="codeline" data-linenumber="2296"><td class="num" id="LN2296">2296</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2297"><td class="num" id="LN2297">2297</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2298"><td class="num" id="LN2298">2298</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2299"><td class="num" id="LN2299">2299</td><td class="line">_eom_replace_gdk_rgba (GdkRGBA **dest, <span class='keyword'>const</span> GdkRGBA *src)</td></tr>
+<tr class="codeline" data-linenumber="2300"><td class="num" id="LN2300">2300</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2301"><td class="num" id="LN2301">2301</td><td class="line"> GdkRGBA *old = *dest;</td></tr>
+<tr class="codeline" data-linenumber="2302"><td class="num" id="LN2302">2302</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2303"><td class="num" id="LN2303">2303</td><td class="line"> <span class='keyword'>if</span> (_eom_gdk_rgba_equal0 (old, src))</td></tr>
+<tr class="codeline" data-linenumber="2304"><td class="num" id="LN2304">2304</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2305"><td class="num" id="LN2305">2305</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2306"><td class="num" id="LN2306">2306</td><td class="line"> <span class='keyword'>if</span> (old != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2307"><td class="num" id="LN2307">2307</td><td class="line"> gdk_rgba_free (old);</td></tr>
+<tr class="codeline" data-linenumber="2308"><td class="num" id="LN2308">2308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2309"><td class="num" id="LN2309">2309</td><td class="line"> *dest = (src) ? gdk_rgba_copy (src) : <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2310"><td class="num" id="LN2310">2310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2311"><td class="num" id="LN2311">2311</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2312"><td class="num" id="LN2312">2312</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2313"><td class="num" id="LN2313">2313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2314"><td class="num" id="LN2314">2314</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2315"><td class="num" id="LN2315">2315</td><td class="line">_eom_scroll_view_update_bg_color (EomScrollView *view)</td></tr>
+<tr class="codeline" data-linenumber="2316"><td class="num" id="LN2316">2316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2317"><td class="num" id="LN2317">2317</td><td class="line"> EomScrollViewPrivate *priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2318"><td class="num" id="LN2318">2318</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2319"><td class="num" id="LN2319">2319</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;transp_style == EOM_TRANSP_BACKGROUND</td></tr>
+<tr class="codeline" data-linenumber="2320"><td class="num" id="LN2320">2320</td><td class="line"> &amp;&amp; priv-&gt;background_surface != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2321"><td class="num" id="LN2321">2321</td><td class="line"> <span class='comment'>/* Delete the SVG background to have it recreated with</span></td></tr>
+<tr class="codeline" data-linenumber="2322"><td class="num" id="LN2322">2322</td><td class="line"> <span class='comment'>* the correct color during the next SVG redraw */</span></td></tr>
+<tr class="codeline" data-linenumber="2323"><td class="num" id="LN2323">2323</td><td class="line"> cairo_surface_destroy (priv-&gt;background_surface);</td></tr>
+<tr class="codeline" data-linenumber="2324"><td class="num" id="LN2324">2324</td><td class="line"> priv-&gt;background_surface = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2325"><td class="num" id="LN2325">2325</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2326"><td class="num" id="LN2326">2326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2327"><td class="num" id="LN2327">2327</td><td class="line"> gtk_widget_queue_draw (priv-&gt;display);</td></tr>
+<tr class="codeline" data-linenumber="2328"><td class="num" id="LN2328">2328</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2329"><td class="num" id="LN2329">2329</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2330"><td class="num" id="LN2330">2330</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2331"><td class="num" id="LN2331">2331</td><td class="line">eom_scroll_view_set_background_color (EomScrollView *view,</td></tr>
+<tr class="codeline" data-linenumber="2332"><td class="num" id="LN2332">2332</td><td class="line"> <span class='keyword'>const</span> GdkRGBA *color)</td></tr>
+<tr class="codeline" data-linenumber="2333"><td class="num" id="LN2333">2333</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2334"><td class="num" id="LN2334">2334</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2335"><td class="num" id="LN2335">2335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2336"><td class="num" id="LN2336">2336</td><td class="line"> <span class='keyword'>if</span> (_eom_replace_gdk_rgba (&amp;view-&gt;priv-&gt;background_color, color))</td></tr>
+<tr class="codeline" data-linenumber="2337"><td class="num" id="LN2337">2337</td><td class="line"> _eom_scroll_view_update_bg_color (view);</td></tr>
+<tr class="codeline" data-linenumber="2338"><td class="num" id="LN2338">2338</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2339"><td class="num" id="LN2339">2339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2340"><td class="num" id="LN2340">2340</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2341"><td class="num" id="LN2341">2341</td><td class="line">eom_scroll_view_override_bg_color (EomScrollView *view,</td></tr>
+<tr class="codeline" data-linenumber="2342"><td class="num" id="LN2342">2342</td><td class="line"> <span class='keyword'>const</span> GdkRGBA *color)</td></tr>
+<tr class="codeline" data-linenumber="2343"><td class="num" id="LN2343">2343</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2344"><td class="num" id="LN2344">2344</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2345"><td class="num" id="LN2345">2345</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2346"><td class="num" id="LN2346">2346</td><td class="line"> <span class='keyword'>if</span> (_eom_replace_gdk_rgba (&amp;view-&gt;priv-&gt;override_bg_color, color))</td></tr>
+<tr class="codeline" data-linenumber="2347"><td class="num" id="LN2347">2347</td><td class="line"> _eom_scroll_view_update_bg_color (view);</td></tr>
+<tr class="codeline" data-linenumber="2348"><td class="num" id="LN2348">2348</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2349"><td class="num" id="LN2349">2349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2350"><td class="num" id="LN2350">2350</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2351"><td class="num" id="LN2351">2351</td><td class="line">eom_scroll_view_set_use_bg_color (EomScrollView *view, gboolean use)</td></tr>
+<tr class="codeline" data-linenumber="2352"><td class="num" id="LN2352">2352</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2353"><td class="num" id="LN2353">2353</td><td class="line"> EomScrollViewPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2354"><td class="num" id="LN2354">2354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2355"><td class="num" id="LN2355">2355</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2356"><td class="num" id="LN2356">2356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2357"><td class="num" id="LN2357">2357</td><td class="line"> priv = view-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2358"><td class="num" id="LN2358">2358</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2359"><td class="num" id="LN2359">2359</td><td class="line"> <span class='keyword'>if</span> (use != priv-&gt;use_bg_color) {</td></tr>
+<tr class="codeline" data-linenumber="2360"><td class="num" id="LN2360">2360</td><td class="line"> priv-&gt;use_bg_color = use;</td></tr>
+<tr class="codeline" data-linenumber="2361"><td class="num" id="LN2361">2361</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2362"><td class="num" id="LN2362">2362</td><td class="line"> _eom_scroll_view_update_bg_color (view);</td></tr>
+<tr class="codeline" data-linenumber="2363"><td class="num" id="LN2363">2363</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2364"><td class="num" id="LN2364">2364</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"use-background-color"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2365"><td class="num" id="LN2365">2365</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2366"><td class="num" id="LN2366">2366</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2367"><td class="num" id="LN2367">2367</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2368"><td class="num" id="LN2368">2368</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2369"><td class="num" id="LN2369">2369</td><td class="line">eom_scroll_view_set_scroll_wheel_zoom (EomScrollView *view,</td></tr>
+<tr class="codeline" data-linenumber="2370"><td class="num" id="LN2370">2370</td><td class="line"> gboolean scroll_wheel_zoom)</td></tr>
+<tr class="codeline" data-linenumber="2371"><td class="num" id="LN2371">2371</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2372"><td class="num" id="LN2372">2372</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2373"><td class="num" id="LN2373">2373</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2374"><td class="num" id="LN2374">2374</td><td class="line"> <span class='keyword'>if</span> (view-&gt;priv-&gt;scroll_wheel_zoom != scroll_wheel_zoom) {</td></tr>
+<tr class="codeline" data-linenumber="2375"><td class="num" id="LN2375">2375</td><td class="line"> view-&gt;priv-&gt;scroll_wheel_zoom = scroll_wheel_zoom;</td></tr>
+<tr class="codeline" data-linenumber="2376"><td class="num" id="LN2376">2376</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"scrollwheel-zoom"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2377"><td class="num" id="LN2377">2377</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2378"><td class="num" id="LN2378">2378</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2379"><td class="num" id="LN2379">2379</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2380"><td class="num" id="LN2380">2380</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2381"><td class="num" id="LN2381">2381</td><td class="line">eom_scroll_view_set_zoom_multiplier (EomScrollView *view,</td></tr>
+<tr class="codeline" data-linenumber="2382"><td class="num" id="LN2382">2382</td><td class="line"> gdouble zoom_multiplier)</td></tr>
+<tr class="codeline" data-linenumber="2383"><td class="num" id="LN2383">2383</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2384"><td class="num" id="LN2384">2384</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_SCROLL_VIEW (view))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((view)); GType __t = ((eom_scroll_view_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_SCROLL_VIEW (view)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2385"><td class="num" id="LN2385">2385</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2386"><td class="num" id="LN2386">2386</td><td class="line"> view-&gt;priv-&gt;zoom_multiplier = 1.0 + zoom_multiplier;</td></tr>
+<tr class="codeline" data-linenumber="2387"><td class="num" id="LN2387">2387</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2388"><td class="num" id="LN2388">2388</td><td class="line"> g_object_notify (<span class='macro'>G_OBJECT (view)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"zoom-multiplier"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2389"><td class="num" id="LN2389">2389</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-d7f8ad.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-d7f8ad.html
new file mode 100644
index 0000000..2d5afe5
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-d7f8ad.html
@@ -0,0 +1,1018 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-preferences-dialog.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption -->
+
+<!-- BUGTYPE Cast from non-struct type to struct type -->
+
+<!-- BUGCATEGORY Logic error -->
+
+<!-- BUGFILE /rootdir/src/eom-preferences-dialog.c -->
+
+<!-- FILENAME eom-preferences-dialog.c -->
+
+<!-- FUNCTIONNAME pd_rgba_to_string_mapping -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT d7f8ad423a831aa317d78b7ed010cc11 -->
+
+<!-- BUGLINE 99 -->
+
+<!-- BUGCOLUMN 2 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-preferences-dialog.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 99, column 2</a><br />Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-preferences-dialog.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-preferences-dialog.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"99": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of Mate - EOM Preferences Dialog</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2006 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Author: Lucas Rocha &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* Based on code by:</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* - Jens Finke &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include "config.h"</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include "eom-preferences-dialog.h"</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include "eom-scroll-view.h"</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#include "eom-util.h"</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include "eom-config-keys.h"</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='directive'>#include &lt;glib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#include &lt;glib-object.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#include &lt;gio/gio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#include &lt;libpeas-gtk/peas-gtk-plugin-manager.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#define <span class='macro'>GSETTINGS_OBJECT_VALUE<span class='macro_popup'>"GSETTINGS_VALUE"</span></span> "GSETTINGS_VALUE"</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='keyword'>struct</span> _EomPreferencesDialogPrivate {</td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> GSettings *view_settings;</td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"> GSettings *ui_settings;</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"> GSettings *fullscreen_settings;</td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> GtkWidget *notebook;</td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> GtkWidget *interpolate_check;</td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"> GtkWidget *extrapolate_check;</td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> GtkWidget *autorotate_check;</td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"> GtkWidget *bg_color_check;</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"> GtkWidget *bg_color_button;</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"> GtkWidget *color_radio;</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> GtkWidget *checkpattern_radio;</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"> GtkWidget *background_radio;</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> GtkWidget *transp_color_button;</td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> GtkWidget *upscale_check;</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> GtkWidget *random_check;</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> GtkWidget *loop_check;</td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"> GtkWidget *seconds_spin;</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> GtkWidget *plugin_manager;</td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"><span class='keyword'>static</span> GObject *instance = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EomPreferencesDialog, eom_preferences_dialog, GTK_TYPE_DIALOG)<span class='macro_popup'>static void eom_preferences_dialog_init (EomPreferencesDialog<br> *self); static void eom_preferences_dialog_class_init (EomPreferencesDialogClass<br> *klass); static GType eom_preferences_dialog_get_type_once (<br>void); static gpointer eom_preferences_dialog_parent_class = (<br>(void*)0); static gint EomPreferencesDialog_private_offset; static<br> void eom_preferences_dialog_class_intern_init (gpointer klass<br>) { eom_preferences_dialog_parent_class = g_type_class_peek_parent<br> (klass); if (EomPreferencesDialog_private_offset != 0) g_type_class_adjust_private_offset<br> (klass, &amp;EomPreferencesDialog_private_offset); eom_preferences_dialog_class_init<br> ((EomPreferencesDialogClass*) klass); } __attribute__ ((__unused__<br>)) static inline gpointer eom_preferences_dialog_get_instance_private<br> (EomPreferencesDialog *self) { return (((gpointer) ((guint8*<br>) (self) + (glong) (EomPreferencesDialog_private_offset)))); }<br> GType eom_preferences_dialog_get_type (void) { static gsize static_g_define_type_id<br> = 0; if ((__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); (void<br>) (0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0<br>)); (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = eom_preferences_dialog_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType eom_preferences_dialog_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> ((gtk_dialog_get_type ()), g_intern_static_string ("EomPreferencesDialog"<br>), sizeof (EomPreferencesDialogClass), (GClassInitFunc)(void (<br>*)(void)) eom_preferences_dialog_class_intern_init, sizeof (EomPreferencesDialog<br>), (GInstanceInitFunc)(void (*)(void)) eom_preferences_dialog_init<br>, (GTypeFlags) 0); { {{ EomPreferencesDialog_private_offset =<br> g_type_add_instance_private (g_define_type_id, sizeof (EomPreferencesDialogPrivate<br>)); };} } return g_define_type_id; }</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line">pd_string_to_rgba_mapping (GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> GVariant *variant,</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> GdkRGBA color;</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> <span class='macro'>g_return_val_if_fail (g_variant_is_of_type (variant, G_VARIANT_TYPE_STRING), FALSE)<span class='macro_popup'>do { if ((g_variant_is_of_type (variant, ((const GVariantType<br> *) "s")))) { } else { g_return_if_fail_warning ("EOM", ((const<br> char*) (__func__)), "g_variant_is_of_type (variant, G_VARIANT_TYPE_STRING)"<br>); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> <span class='keyword'>if</span> (gdk_rgba_parse (&amp;color, g_variant_get_string (variant, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>))) {</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> g_value_set_boxed (value, &amp;color);</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"><span class='keyword'>static</span> GVariant*</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line">pd_rgba_to_string_mapping (<span class='keyword'>const</span> GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> <span class='keyword'>const</span> GVariantType *expected_type,</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> GVariant *variant = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> GdkRGBA *color;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> gchar *hex_val;</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> <span class='macro'>g_return_val_if_fail (G_VALUE_TYPE (value) == GDK_TYPE_RGBA, NULL)<span class='macro_popup'>do { if (((((GValue*) (value))-&gt;g_type) == (gdk_rgba_get_type<br> ()))) { } else { g_return_if_fail_warning ("EOM", ((const char<br>*) (__func__)), "G_VALUE_TYPE (value) == GDK_TYPE_RGBA"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> <span class="mrange"><span class="mrange"><span class='macro'>g_return_val_if_fail</span></span> (g_variant_type_equal (expected_type, G_VARIANT_TYPE_STRING), NULL)<span class='macro_popup'>do { if ((g_variant_type_equal (expected_type, ((const GVariantType<br> *) "s")))) { } else { g_return_if_fail_warning ("EOM", ((const<br> char*) (__func__)), "g_variant_type_equal (expected_type, G_VARIANT_TYPE_STRING)"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:9ex; max-width:31em">Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</div></td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> color = g_value_get_boxed (value);</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> hex_val = gdk_rgba_to_string(color);</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> variant = g_variant_new_string (hex_val);</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> g_free (hex_val);</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> <span class='keyword'>return</span> variant;</td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line">pd_transp_radio_toggle_cb (GtkWidget *widget, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> gpointer value = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> <span class='keyword'>if</span> (!gtk_toggle_button_get_active (<span class='macro'>GTK_TOGGLE_BUTTON (widget)<span class='macro_popup'>((((GtkToggleButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((gtk_toggle_button_get_type ()))))))</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> value = g_object_get_data (<span class='macro'>G_OBJECT (widget)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='macro'>GSETTINGS_OBJECT_VALUE<span class='macro_popup'>"GSETTINGS_VALUE"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> g_settings_set_enum (<span class='macro'>G_SETTINGS (data)<span class='macro_popup'>((((GSettings*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((g_settings_get_type ()))))))</span></span>, <span class='macro'>EOM_CONF_VIEW_TRANSPARENCY<span class='macro_popup'>"transparency"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> <span class='macro'>GPOINTER_TO_INT (value)<span class='macro_popup'>((gint) (glong) (value))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line">random_change_cb (GSettings *settings, gchar *key, GtkWidget *widget)</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> gtk_widget_set_sensitive (widget, !g_settings_get_boolean (settings, key));</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line">eom_preferences_response_cb (GtkDialog *dlg, gint res_id, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> <span class='keyword'>switch</span> (res_id) {</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_HELP:</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> eom_util_show_help (<span class='string_literal'>"eom-prefs"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (dlg)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> instance = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line">eom_preferences_dialog_class_init (EomPreferencesDialogClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> GtkWidgetClass *widget_class = (GtkWidgetClass*) klass;</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> <span class='comment'>/* This should make sure the libpeas-gtk dependency isn't</span></td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> <span class='comment'>* dropped by aggressive linkers (#739618) */</span></td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> g_type_ensure (<span class='macro'>PEAS_GTK_TYPE_PLUGIN_MANAGER<span class='macro_popup'>(peas_gtk_plugin_manager_get_type())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> gtk_widget_class_set_template_from_resource (widget_class,</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> <span class='string_literal'>"/org/mate/eom/ui/eom-preferences-dialog.ui"</span>);</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "notebook"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, notebook)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "notebook"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, notebook)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> <span class='macro'>notebook)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "notebook"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, notebook)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "interpolate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, interpolate_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "interpolate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, interpolate_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> <span class='macro'>interpolate_check)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "interpolate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, interpolate_check)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "extrapolate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, extrapolate_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "extrapolate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, extrapolate_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> <span class='macro'>extrapolate_check)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "extrapolate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, extrapolate_check)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "autorotate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, autorotate_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "autorotate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, autorotate_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> <span class='macro'>autorotate_check)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "autorotate_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, autorotate_check)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "bg_color_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, bg_color_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "bg_color_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, bg_color_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='macro'>bg_color_check)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "bg_color_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, bg_color_check)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "bg_color_button"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, bg_color_button)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "bg_color_button"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, bg_color_button)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> <span class='macro'>bg_color_button)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "bg_color_button"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, bg_color_button)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "color_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, color_radio)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "color_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, color_radio)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> <span class='macro'>color_radio)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "color_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, color_radio)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "checkpattern_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, checkpattern_radio)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "checkpattern_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, checkpattern_radio)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='macro'>checkpattern_radio)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "checkpattern_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, checkpattern_radio)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "background_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, background_radio)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "background_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, background_radio)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> <span class='macro'>background_radio)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "background_radio"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, background_radio)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "transp_color_button"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, transp_color_button)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "transp_color_button"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, transp_color_button)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> <span class='macro'>transp_color_button)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "transp_color_button"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, transp_color_button)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "upscale_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, upscale_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "upscale_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, upscale_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> <span class='macro'>upscale_check)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "upscale_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, upscale_check)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "random_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, random_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "random_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, random_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> <span class='macro'>random_check)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "random_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, random_check)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "loop_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, loop_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "loop_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, loop_check)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> <span class='macro'>loop_check)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "loop_check"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, loop_check)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "seconds_spin"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, seconds_spin)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "seconds_spin"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, seconds_spin)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> <span class='macro'>seconds_spin)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "seconds_spin"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, seconds_spin)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> <span class='macro'>gtk_widget_class_bind_template_child_private (widget_class,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "plugin_manager"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, plugin_manager)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> <span class='macro'>EomPreferencesDialog,<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "plugin_manager"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, plugin_manager)))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> <span class='macro'>plugin_manager)<span class='macro_popup'>gtk_widget_class_bind_template_child_full (widget_class, "plugin_manager"<br>, (0), (EomPreferencesDialog_private_offset + (((glong) __builtin_offsetof<br>(EomPreferencesDialogPrivate, plugin_manager)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line">eom_preferences_dialog_init (EomPreferencesDialog *pref_dlg)</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> EomPreferencesDialogPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> pref_dlg-&gt;priv = eom_preferences_dialog_get_instance_private (pref_dlg);</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"> priv = pref_dlg-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> gtk_widget_init_template (<span class='macro'>GTK_WIDGET (pref_dlg)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((pref_dlg)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> priv-&gt;view_settings = g_settings_new (<span class='macro'>EOM_CONF_VIEW<span class='macro_popup'>"org.mate.eom"".view"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> priv-&gt;fullscreen_settings = g_settings_new (<span class='macro'>EOM_CONF_FULLSCREEN<span class='macro_popup'>"org.mate.eom"".full-screen"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> <span class='macro'>g_signal_connect (pref_dlg, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((pref_dlg), ("response"), (((GCallback<br>) (eom_preferences_response_cb))), (pref_dlg), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> <span class='macro'>G_CALLBACK (eom_preferences_response_cb),<span class='macro_popup'>g_signal_connect_data ((pref_dlg), ("response"), (((GCallback<br>) (eom_preferences_response_cb))), (pref_dlg), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> <span class='macro'>pref_dlg)<span class='macro_popup'>g_signal_connect_data ((pref_dlg), ("response"), (((GCallback<br>) (eom_preferences_response_cb))), (pref_dlg), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> g_settings_bind (priv-&gt;view_settings,</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> <span class='macro'>EOM_CONF_VIEW_INTERPOLATE<span class='macro_popup'>"interpolate"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> priv-&gt;interpolate_check, <span class='string_literal'>"active"</span>,</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> g_settings_bind (priv-&gt;view_settings,</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> <span class='macro'>EOM_CONF_VIEW_EXTRAPOLATE<span class='macro_popup'>"extrapolate"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> priv-&gt;extrapolate_check, <span class='string_literal'>"active"</span>,</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> g_settings_bind (priv-&gt;view_settings,</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> <span class='macro'>EOM_CONF_VIEW_AUTOROTATE<span class='macro_popup'>"autorotate"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"> priv-&gt;autorotate_check, <span class='string_literal'>"active"</span>,</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> g_settings_bind (priv-&gt;view_settings,</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> <span class='macro'>EOM_CONF_VIEW_USE_BG_COLOR<span class='macro_popup'>"use-background-color"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> priv-&gt;bg_color_check, <span class='string_literal'>"active"</span>,</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> g_settings_bind_with_mapping (priv-&gt;view_settings,</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> <span class='macro'>EOM_CONF_VIEW_BACKGROUND_COLOR<span class='macro_popup'>"background-color"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> priv-&gt;bg_color_button, <span class='string_literal'>"rgba"</span>,</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> G_SETTINGS_BIND_DEFAULT,</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> pd_string_to_rgba_mapping,</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> pd_rgba_to_string_mapping,</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> g_object_set_data (<span class='macro'>G_OBJECT (priv-&gt;color_radio)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;color_radio)), (((GType) ((20) &lt;&lt; (2)))))<br>)))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> <span class='macro'>GSETTINGS_OBJECT_VALUE<span class='macro_popup'>"GSETTINGS_VALUE"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> <span class='macro'>GINT_TO_POINTER (EOM_TRANSP_COLOR)<span class='macro_popup'>((gpointer) (glong) (EOM_TRANSP_COLOR))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;color_radio, <span class='string_literal'>"toggled"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;color_radio), ("toggled"), (<br>((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='macro'>G_CALLBACK (pd_transp_radio_toggle_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;color_radio), ("toggled"), (<br>((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> <span class='macro'>priv-&gt;view_settings)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;color_radio), ("toggled"), (<br>((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> g_object_set_data (<span class='macro'>G_OBJECT (priv-&gt;checkpattern_radio)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;checkpattern_radio)), (((GType) ((20) &lt;&lt; (<br>2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> <span class='macro'>GSETTINGS_OBJECT_VALUE<span class='macro_popup'>"GSETTINGS_VALUE"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> <span class='macro'>GINT_TO_POINTER (EOM_TRANSP_CHECKED)<span class='macro_popup'>((gpointer) (glong) (EOM_TRANSP_CHECKED))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;checkpattern_radio, <span class='string_literal'>"toggled"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;checkpattern_radio), ("toggled"<br>), (((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='macro'>G_CALLBACK (pd_transp_radio_toggle_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;checkpattern_radio), ("toggled"<br>), (((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='macro'>priv-&gt;view_settings)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;checkpattern_radio), ("toggled"<br>), (((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> g_object_set_data (<span class='macro'>G_OBJECT (priv-&gt;background_radio)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;background_radio)), (((GType) ((20) &lt;&lt; (2<br>))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> <span class='macro'>GSETTINGS_OBJECT_VALUE<span class='macro_popup'>"GSETTINGS_VALUE"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='macro'>GINT_TO_POINTER (EOM_TRANSP_BACKGROUND)<span class='macro_popup'>((gpointer) (glong) (EOM_TRANSP_BACKGROUND))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;background_radio, <span class='string_literal'>"toggled"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;background_radio), ("toggled"<br>), (((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> <span class='macro'>G_CALLBACK (pd_transp_radio_toggle_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;background_radio), ("toggled"<br>), (((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> <span class='macro'>priv-&gt;view_settings)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;background_radio), ("toggled"<br>), (((GCallback) (pd_transp_radio_toggle_cb))), (priv-&gt;view_settings<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='keyword'>switch</span> (g_settings_get_enum (priv-&gt;view_settings,</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> <span class='macro'>EOM_CONF_VIEW_TRANSPARENCY<span class='macro_popup'>"transparency"</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSP_COLOR:</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> gtk_toggle_button_set_active (<span class='macro'>GTK_TOGGLE_BUTTON (priv-&gt;color_radio)<span class='macro_popup'>((((GtkToggleButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;color_radio)), ((gtk_toggle_button_get_type ())<br>)))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSP_CHECKED:</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> gtk_toggle_button_set_active (<span class='macro'>GTK_TOGGLE_BUTTON (priv-&gt;checkpattern_radio)<span class='macro_popup'>((((GtkToggleButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;checkpattern_radio)), ((gtk_toggle_button_get_type<br> ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> <span class='comment'>// Log a warning and use EOM_TRANSP_BACKGROUND as fallback</span></td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> <span class='macro'>g_warn_if_reached ()<span class='macro_popup'>do { g_warn_message ("EOM", "eom-preferences-dialog.c", 279, (<br>(const char*) (__func__)), ((void*)0)); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSP_BACKGROUND:</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> gtk_toggle_button_set_active (<span class='macro'>GTK_TOGGLE_BUTTON (priv-&gt;background_radio)<span class='macro_popup'>((((GtkToggleButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;background_radio)), ((gtk_toggle_button_get_type<br> ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> g_settings_bind_with_mapping (priv-&gt;view_settings,</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> <span class='macro'>EOM_CONF_VIEW_TRANS_COLOR<span class='macro_popup'>"trans-color"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> priv-&gt;transp_color_button, <span class='string_literal'>"rgba"</span>,</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> G_SETTINGS_BIND_DEFAULT,</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> pd_string_to_rgba_mapping,</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> pd_rgba_to_string_mapping,</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> g_settings_bind (priv-&gt;fullscreen_settings, <span class='macro'>EOM_CONF_FULLSCREEN_UPSCALE<span class='macro_popup'>"upscale"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> priv-&gt;upscale_check, <span class='string_literal'>"active"</span>,</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> g_settings_bind (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_LOOP<span class='macro_popup'>"loop"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> priv-&gt;loop_check, <span class='string_literal'>"active"</span>,</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> g_settings_bind (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_RANDOM<span class='macro_popup'>"random"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> priv-&gt;random_check, <span class='string_literal'>"active"</span>,</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;fullscreen_settings, <span class='string_literal'>"changed::"</span> EOM_CONF_FULLSCREEN_RANDOM,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;fullscreen_settings), ("changed::"<br> "random"), (((GCallback) (random_change_cb))), (priv-&gt;loop_check<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> <span class='macro'>G_CALLBACK (random_change_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;fullscreen_settings), ("changed::"<br> "random"), (((GCallback) (random_change_cb))), (priv-&gt;loop_check<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> <span class='macro'>priv-&gt;loop_check)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;fullscreen_settings), ("changed::"<br> "random"), (((GCallback) (random_change_cb))), (priv-&gt;loop_check<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> random_change_cb (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_RANDOM<span class='macro_popup'>"random"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> priv-&gt;loop_check);</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> g_settings_bind (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_SECONDS<span class='macro_popup'>"seconds"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> priv-&gt;seconds_spin, <span class='string_literal'>"value"</span>,</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> G_SETTINGS_BIND_DEFAULT);</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> gtk_widget_show_all (priv-&gt;plugin_manager);</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> <span class='comment'>/* Add tab scrolling support for GTK3 */</span></td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> gtk_widget_add_events (priv-&gt;notebook, GDK_SCROLL_MASK);</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;notebook, <span class='string_literal'>"scroll-event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;notebook), ("scroll-event"),<br> (((GCallback) (eom_notebook_scroll_event_cb))), (((void*)0))<br>, ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> <span class='macro'>G_CALLBACK (eom_notebook_scroll_event_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;notebook), ("scroll-event"),<br> (((GCallback) (eom_notebook_scroll_event_cb))), (((void*)0))<br>, ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;notebook), ("scroll-event"),<br> (((GCallback) (eom_notebook_scroll_event_cb))), (((void*)0))<br>, ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line">GtkWidget *eom_preferences_dialog_get_instance (GtkWindow *parent)</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> <span class='keyword'>if</span> (instance == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> instance = g_object_new (<span class='macro'>EOM_TYPE_PREFERENCES_DIALOG<span class='macro_popup'>(eom_preferences_dialog_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> <span class='keyword'>if</span> (parent)</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> gtk_window_set_transient_for (<span class='macro'>GTK_WINDOW (instance)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((instance)), ((gtk_window_get_type ()))))))</span></span>, parent);</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>GTK_WIDGET(instance)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((instance)), ((gtk_widget_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-e1a871.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-e1a871.html
new file mode 100644
index 0000000..e7e807e
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-e1a871.html
@@ -0,0 +1,6520 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-window.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption -->
+
+<!-- BUGTYPE Cast from non-struct type to struct type -->
+
+<!-- BUGCATEGORY Logic error -->
+
+<!-- BUGFILE /rootdir/src/eom-window.c -->
+
+<!-- FILENAME eom-window.c -->
+
+<!-- FUNCTIONNAME eom_window_cmd_edit_toolbar -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT e1a871bf253b6966f1feea2af308294e -->
+
+<!-- BUGLINE 2515 -->
+
+<!-- BUGCOLUMN 11 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-window.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 2515, column 11</a><br />Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-window.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-window.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"2515": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of Mate - Main Window</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2000-2008 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Author: Lucas Rocha &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* Based on code by:</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* - Federico Mena-Quintero &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* - Jens Finke &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* Based on evince code (shell/ev-window.c) by:</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* - Martin Kretzschmar &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include "config.h"</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include &lt;math.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='directive'>#include "eom-window.h"</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#include "eom-scroll-view.h"</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#include "eom-debug.h"</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"><span class='directive'>#include "eom-file-chooser.h"</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#include "eom-thumb-view.h"</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#include "eom-list-store.h"</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"><span class='directive'>#include "eom-sidebar.h"</span></td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#include "eom-statusbar.h"</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='directive'>#include "eom-preferences-dialog.h"</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='directive'>#include "eom-properties-dialog.h"</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"><span class='directive'>#include "eom-print.h"</span></td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"><span class='directive'>#include "eom-error-message-area.h"</span></td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"><span class='directive'>#include "eom-application.h"</span></td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='directive'>#include "eom-application-internal.h"</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"><span class='directive'>#include "eom-thumb-nav.h"</span></td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"><span class='directive'>#include "eom-config-keys.h"</span></td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='directive'>#include "eom-job-queue.h"</span></td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"><span class='directive'>#include "eom-jobs.h"</span></td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='directive'>#include "eom-util.h"</span></td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"><span class='directive'>#include "eom-save-as-dialog-helper.h"</span></td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"><span class='directive'>#include "eom-close-confirmation-dialog.h"</span></td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"><span class='directive'>#include "eom-clipboard-handler.h"</span></td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"><span class='directive'>#include "eom-window-activatable.h"</span></td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"><span class='directive'>#include "eom-metadata-sidebar.h"</span></td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"><span class='directive'>#include "eom-enum-types.h"</span></td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"><span class='directive'>#include "egg-toolbar-editor.h"</span></td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"><span class='directive'>#include "egg-editable-toolbar.h"</span></td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"><span class='directive'>#include "egg-toolbars-model.h"</span></td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"><span class='directive'>#include &lt;glib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"><span class='directive'>#include &lt;glib-object.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"><span class='directive'>#include &lt;gio/gio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"><span class='directive'>#include &lt;gdk/gdkkeysyms.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"><span class='directive'>#include &lt;gio/gdesktopappinfo.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"><span class='directive'>#include &lt;libpeas/peas-extension-set.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"><span class='directive'>#include &lt;libpeas/peas-activatable.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"><span class='directive'>#if <span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"><span class='directive'>#include &lt;X11/Xlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"><span class='directive'>#include &lt;X11/Xatom.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"><span class='directive'>#ifdef GDK_WINDOWING_X11</span></td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"><span class='directive'>#include &lt;gdk/gdkx.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"><span class='directive'>#include &lt;lcms2.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"><span class='directive'>#define MATE_DESKTOP_USE_UNSTABLE_API</span></td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"><span class='directive'>#include &lt;libmate-desktop/mate-desktop-utils.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_WINDOW_MIN_WIDTH<span class='macro_popup'>440</span></span> 440</span></td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_WINDOW_MIN_HEIGHT<span class='macro_popup'>350</span></span> 350</span></td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_WINDOW_DEFAULT_WIDTH<span class='macro_popup'>540</span></span> 540</span></td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_WINDOW_DEFAULT_HEIGHT<span class='macro_popup'>450</span></span> 450</span></td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_WINDOW_FULLSCREEN_TIMEOUT<span class='macro_popup'>5 * 1000</span></span> 5 * 1000</span></td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_WINDOW_FULLSCREEN_POPUP_THRESHOLD<span class='macro_popup'>5</span></span> 5</span></td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_RECENT_FILES_GROUP<span class='macro_popup'>"Graphics"</span></span> "Graphics"</span></td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_RECENT_FILES_APP_NAME<span class='macro_popup'>"Eye of MATE Image Viewer"</span></span> "Eye of MATE Image Viewer"</span></td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_RECENT_FILES_LIMIT<span class='macro_popup'>5</span></span> 5</span></td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_WALLPAPER_FILENAME<span class='macro_popup'>"eom-wallpaper"</span></span> "eom-wallpaper"</span></td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"><span class='directive'>#define <span class='macro'>is_rtl<span class='macro_popup'>(gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL)</span></span> (gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL)</span></td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> EOM_WINDOW_STATUS_UNKNOWN,</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> EOM_WINDOW_STATUS_INIT,</td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> EOM_WINDOW_STATUS_NORMAL</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line">} EomWindowStatus;</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"><span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> PROP_0,</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> PROP_COLLECTION_POS,</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> PROP_COLLECTION_RESIZABLE,</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> PROP_STARTUP_FLAGS</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"><span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> SIGNAL_PREPARED,</td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> SIGNAL_LAST</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"><span class='keyword'>static</span> guint signals[SIGNAL_LAST] = { 0 };</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"><span class='keyword'>struct</span> _EomWindowPrivate {</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> GSettings *view_settings;</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> GSettings *ui_settings;</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> GSettings *fullscreen_settings;</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> GSettings *lockdown_settings;</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> EomListStore *store;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> EomWindowMode mode;</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> EomWindowStatus status;</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> GtkUIManager *ui_mgr;</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> GtkWidget *box;</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> GtkWidget *layout;</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> GtkWidget *cbox;</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> GtkWidget *view;</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> GtkWidget *sidebar;</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> GtkWidget *thumbview;</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> GtkWidget *statusbar;</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> GtkWidget *nav;</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> GtkWidget *message_area;</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> GtkWidget *toolbar;</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> GtkWidget *properties_dlg;</td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> GtkActionGroup *actions_window;</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> GtkActionGroup *actions_image;</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> GtkActionGroup *actions_collection;</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> GtkActionGroup *actions_recent;</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> GtkWidget *fullscreen_popup;</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> GSource *fullscreen_timeout_source;</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> gboolean slideshow_random;</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> gboolean slideshow_loop;</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> gint slideshow_switch_timeout;</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> GSource *slideshow_switch_source;</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> guint fullscreen_idle_inhibit_cookie;</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> guint recent_menu_id;</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> EomJob *load_job;</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> EomJob *transform_job;</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> EomJob *save_job;</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> GFile *last_save_as_folder;</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> EomJob *copy_job;</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> guint image_info_message_cid;</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> guint tip_message_cid;</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> guint copy_file_cid;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> EomStartupFlags flags;</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> GSList *file_list;</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> EomWindowCollectionPos collection_position;</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> gboolean collection_resizable;</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> GtkActionGroup *actions_open_with;</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> guint open_with_menu_id;</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> gboolean save_disabled;</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> gboolean needs_reload_confirmation;</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> GtkPageSetup *page_setup;</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> PeasExtensionSet *extensions;</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> cmsHPROFILE *display_profile;</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EomWindow, eom_window, GTK_TYPE_APPLICATION_WINDOW)<span class='macro_popup'>static void eom_window_init (EomWindow *self); static void eom_window_class_init<br> (EomWindowClass *klass); static GType eom_window_get_type_once<br> (void); static gpointer eom_window_parent_class = ((void*)0)<br>; static gint EomWindow_private_offset; static void eom_window_class_intern_init<br> (gpointer klass) { eom_window_parent_class = g_type_class_peek_parent<br> (klass); if (EomWindow_private_offset != 0) g_type_class_adjust_private_offset<br> (klass, &amp;EomWindow_private_offset); eom_window_class_init<br> ((EomWindowClass*) klass); } __attribute__ ((__unused__)) static<br> inline gpointer eom_window_get_instance_private (EomWindow *<br>self) { return (((gpointer) ((guint8*) (self) + (glong) (EomWindow_private_offset<br>)))); } GType eom_window_get_type (void) { static gsize static_g_define_type_id<br> = 0; if ((__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); (void<br>) (0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0<br>)); (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = eom_window_get_type_once (<br>); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType eom_window_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> ((gtk_application_window_get_type ()), g_intern_static_string<br> ("EomWindow"), sizeof (EomWindowClass), (GClassInitFunc)(void<br> (*)(void)) eom_window_class_intern_init, sizeof (EomWindow),<br> (GInstanceInitFunc)(void (*)(void)) eom_window_init, (GTypeFlags<br>) 0); { {{ EomWindow_private_offset = g_type_add_instance_private<br> (g_define_type_id, sizeof (EomWindowPrivate)); };} } return g_define_type_id<br>; }</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_cmd_fullscreen (GtkAction *action, gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_run_fullscreen (EomWindow *window, gboolean slideshow);</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_cmd_slideshow (GtkAction *action, gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_cmd_pause_slideshow (GtkAction *action, gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_stop_fullscreen (EomWindow *window, gboolean slideshow);</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_job_load_cb (EomJobLoad *job, gpointer data);</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_job_save_progress_cb (EomJobSave *job, <span class='keyword'>float</span> progress, gpointer data);</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_job_progress_cb (EomJobLoad *job, <span class='keyword'>float</span> progress, gpointer data);</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_job_transform_cb (EomJobTransform *job, gpointer data);</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fullscreen_set_timeout (EomWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fullscreen_clear_timeout (EomWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> update_action_groups_state (EomWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> open_with_launch_application_cb (GtkAction *action, gpointer callback_data);</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_update_openwith_menu (EomWindow *window, EomImage *image);</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_list_store_image_added (GtkTreeModel *tree_model,</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> GtkTreeIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_list_store_image_removed (GtkTreeModel *tree_model,</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_set_wallpaper (EomWindow *window, <span class='keyword'>const</span> gchar *filename, <span class='keyword'>const</span> gchar *visible_filename);</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"><span class='keyword'>static</span> gboolean eom_window_save_images (EomWindow *window, GList *images);</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> disconnect_proxy_cb (GtkUIManager *manager,</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> GtkAction *action,</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> GtkWidget *proxy,</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> EomWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_finish_saving (EomWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"><span class='keyword'>static</span> GAppInfo *get_appinfo_for_editor (EomWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"><span class='keyword'>static</span> GQuark</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line">eom_window_error_quark (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> <span class='keyword'>static</span> GQuark q = 0;</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> <span class='keyword'>if</span> (q == 0)</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> q = g_quark_from_static_string (<span class='string_literal'>"eom-window-error-quark"</span>);</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> <span class='keyword'>return</span> q;</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line">eom_window_set_collection_mode (EomWindow *window, EomWindowCollectionPos position, gboolean resizable)</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> GtkWidget *hpaned;</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> EomThumbNavMode mode = EOM_THUMB_NAV_MODE_ONE_ROW;</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> eom_debug (<span class='macro'>DEBUG_PREFERENCES<span class='macro_popup'>EOM_DEBUG_PREFERENCES, "eom-window.c", 247, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;collection_position == position &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> priv-&gt;collection_resizable == resizable)</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> priv-&gt;collection_position = position;</td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> priv-&gt;collection_resizable = resizable;</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> hpaned = gtk_widget_get_parent (priv-&gt;sidebar);</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='macro'>g_object_ref (hpaned)<span class='macro_popup'>((__typeof__ (hpaned)) (g_object_ref) (hpaned))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> <span class='macro'>g_object_ref (priv-&gt;nav)<span class='macro_popup'>((__typeof__ (priv-&gt;nav)) (g_object_ref) (priv-&gt;nav))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> gtk_container_remove (<span class='macro'>GTK_CONTAINER (priv-&gt;layout)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_container_get_type ()))))))</span></span>, hpaned);</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> gtk_container_remove (<span class='macro'>GTK_CONTAINER (priv-&gt;layout)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_container_get_type ()))))))</span></span>, priv-&gt;nav);</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> gtk_widget_destroy (priv-&gt;layout);</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> <span class='keyword'>switch</span> (position) {</td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_COLLECTION_POS_BOTTOM:</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_COLLECTION_POS_TOP:</td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> <span class='keyword'>if</span> (resizable) {</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> mode = EOM_THUMB_NAV_MODE_MULTIPLE_ROWS;</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> priv-&gt;layout = gtk_paned_new (GTK_ORIENTATION_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> <span class='keyword'>if</span> (position == EOM_WINDOW_COLLECTION_POS_BOTTOM) {</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> gtk_paned_pack1 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> gtk_paned_pack2 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> gtk_paned_pack1 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> gtk_paned_pack2 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> mode = EOM_THUMB_NAV_MODE_ONE_ROW;</td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> priv-&gt;layout = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> <span class='keyword'>if</span> (position == EOM_WINDOW_COLLECTION_POS_BOTTOM) {</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_COLLECTION_POS_LEFT:</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_COLLECTION_POS_RIGHT:</td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> <span class='keyword'>if</span> (resizable) {</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> mode = EOM_THUMB_NAV_MODE_MULTIPLE_COLUMNS;</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> priv-&gt;layout = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> <span class='keyword'>if</span> (position == EOM_WINDOW_COLLECTION_POS_LEFT) {</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> gtk_paned_pack1 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> gtk_paned_pack2 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> gtk_paned_pack1 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"> gtk_paned_pack2 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> mode = EOM_THUMB_NAV_MODE_ONE_COLUMN;</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> priv-&gt;layout = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> <span class='keyword'>if</span> (position == EOM_WINDOW_COLLECTION_POS_LEFT) {</td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> gtk_box_pack_end (<span class='macro'>GTK_BOX (priv-&gt;cbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;cbox)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;layout, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> eom_thumb_nav_set_mode (<span class='macro'>EOM_THUMB_NAV (priv-&gt;nav)<span class='macro_popup'>((((EomThumbNav*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;nav)), ((eom_thumb_nav_get_type ()))))))</span></span>, mode);</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;mode != EOM_WINDOW_MODE_UNKNOWN) {</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> update_action_groups_state (window);</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line">eom_window_can_save_changed_cb (GSettings *settings, gchar *key, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> gboolean save_disabled = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> GtkAction *action_save, *action_save_as;</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> eom_debug (<span class='macro'>DEBUG_PREFERENCES<span class='macro_popup'>EOM_DEBUG_PREFERENCES, "eom-window.c", 348, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> save_disabled = g_settings_get_boolean (settings, key);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> priv-&gt;save_disabled = save_disabled;</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> action_save =</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_image, <span class='string_literal'>"ImageSave"</span>);</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> action_save_as =</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_image, <span class='string_literal'>"ImageSaveAs"</span>);</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;save_disabled) {</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> gtk_action_set_sensitive (action_save, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> gtk_action_set_sensitive (action_save_as, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> EomImage *image = eom_window_get_image (window);</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>EOM_IS_IMAGE (image)<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(image)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> gtk_action_set_sensitive (action_save,</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> eom_image_is_modified (image));</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> gtk_action_set_sensitive (action_save_as, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"><span class='keyword'>static</span> cmsHPROFILE *</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line">eom_window_get_display_profile (GdkScreen *screen)</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> Display *dpy;</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> Atom icc_atom, type;</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> <span class='keyword'>int</span> format;</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> gulong nitems;</td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> gulong bytes_after;</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> gulong length;</td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> guchar *str;</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> <span class='keyword'>int</span> result;</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> cmsHPROFILE *profile = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> <span class='keyword'>char</span> *atom_name;</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> <span class='keyword'>if</span> (!<span class='macro'>GDK_IS_X11_SCREEN (screen)<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(screen)); GType __t = ((gdk_x11_screen_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> dpy = <span class='macro'>GDK_DISPLAY_XDISPLAY (gdk_screen_get_display (screen))<span class='macro_popup'>(gdk_x11_display_get_xdisplay (gdk_screen_get_display (screen<br>)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> <span class='keyword'>if</span> (gdk_x11_screen_get_screen_number (screen) &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> atom_name = g_strdup_printf (<span class='string_literal'>"_ICC_PROFILE_%d"</span>, gdk_x11_screen_get_screen_number (screen));</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> atom_name = <span class='macro'>g_strdup (<span class='string_literal'>"_ICC_PROFILE"</span>)<span class='macro_popup'>g_strdup_inline ("_ICC_PROFILE")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> icc_atom = gdk_x11_get_xatom_by_name_for_display (gdk_screen_get_display (screen), atom_name);</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> g_free (atom_name);</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> result = XGetWindowProperty (dpy,</td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> <span class='macro'>GDK_WINDOW_XID (gdk_screen_get_root_window (screen))<span class='macro_popup'>(gdk_x11_window_get_xid (gdk_screen_get_root_window (screen))<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> icc_atom,</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> <span class='macro'>G_MAXLONG<span class='macro_popup'>9223372036854775807L</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> <span class='macro'>False<span class='macro_popup'>0</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> <span class='macro'>XA_CARDINAL<span class='macro_popup'>((Atom) 6)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> &amp;type,</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> &amp;format,</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> &amp;nitems,</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> &amp;bytes_after,</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> (guchar **)&amp;str);</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> <span class='comment'>/* TODO: handle bytes_after != 0 */</span></td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> <span class='keyword'>if</span> ((result == <span class='macro'>Success<span class='macro_popup'>0</span></span>) &amp;&amp; (type == <span class='macro'>XA_CARDINAL<span class='macro_popup'>((Atom) 6)</span></span>) &amp;&amp; (nitems &gt; 0)) {</td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> <span class='keyword'>switch</span> (format)</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> <span class='keyword'>case</span> 8:</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> length = nitems;</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> <span class='keyword'>case</span> 16:</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> length = <span class='keyword'>sizeof</span>(<span class='keyword'>short</span>) * nitems;</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> <span class='keyword'>case</span> 32:</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> length = <span class='keyword'>sizeof</span>(<span class='keyword'>long</span>) * nitems;</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_LCMS<span class='macro_popup'>EOM_DEBUG_LCMS, "eom-window.c", 439, ((const char*) (__func__<br>))</span></span>, <span class='string_literal'>"Unable to read profile, not correcting"</span>);</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> XFree (str);</td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> profile = cmsOpenProfileFromMem (str, length);</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_UNLIKELY (profile == NULL)<span class='macro_popup'>(profile == ((void*)0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_LCMS<span class='macro_popup'>EOM_DEBUG_LCMS, "eom-window.c", 448, ((const char*) (__func__<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> <span class='string_literal'>"Invalid display profile set, "</span></td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> <span class='string_literal'>"not using it"</span>);</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> XFree (str);</td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"> <span class='keyword'>if</span> (profile == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"> profile = cmsCreate_sRGBProfile ();</td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_LCMS<span class='macro_popup'>EOM_DEBUG_LCMS, "eom-window.c", 458, ((const char*) (__func__<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"> <span class='string_literal'>"No valid display profile set, assuming sRGB"</span>);</td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line"> <span class='keyword'>return</span> profile;</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line">update_image_pos (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"> gint pos = -1, n_images = 0;</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> n_images = eom_list_store_length (<span class='macro'>EOM_LIST_STORE (priv-&gt;store)<span class='macro_popup'>((((EomListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), (eom_list_store_get_type())))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> <span class='keyword'>if</span> (n_images &gt; 0) {</td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line"> pos = eom_list_store_get_pos_by_image (<span class='macro'>EOM_LIST_STORE (priv-&gt;store)<span class='macro_popup'>((((EomListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), (eom_list_store_get_type())))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line"> priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> <span class='comment'>/* Images: (image pos) / (n_total_images) */</span></td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> eom_statusbar_set_image_number (<span class='macro'>EOM_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((EomStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((eom_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"> pos + 1,</td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line"> n_images);</td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line">update_status_bar (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"> <span class='keyword'>char</span> *str = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 495, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> eom_image_has_data (priv-&gt;image, EOM_IMAGE_DATA_DIMENSION)) {</td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> <span class='keyword'>int</span> zoom, width, height;</td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> goffset bytes = 0;</td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line"> zoom = floor (100 * eom_scroll_view_get_zoom (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>) + 0.5);</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"> eom_image_get_size (priv-&gt;image, &amp;width, &amp;height);</td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> bytes = eom_image_get_bytes (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line"> <span class='keyword'>if</span> ((width &gt; 0) &amp;&amp; (height &gt; 0)) {</td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> <span class='keyword'>char</span> *size_string;</td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> size_string = g_format_size (bytes);</td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> <span class='comment'>/* Translators: This is the string displayed in the statusbar</span></td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line"> <span class='comment'>* The tokens are from left to right:</span></td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> <span class='comment'>* - image width</span></td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"> <span class='comment'>* - image height</span></td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line"> <span class='comment'>* - image size in bytes</span></td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line"> <span class='comment'>* - zoom in percent */</span></td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line"> str = g_strdup_printf (ngettext(<span class='string_literal'>"%i × %i pixel %s %i%%"</span>,</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> <span class='string_literal'>"%i × %i pixels %s %i%%"</span>, height),</td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> width,</td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> height,</td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> size_string,</td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line"> zoom);</td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"> g_free (size_string);</td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="531"><td class="num" id="LN531">531</td><td class="line"> update_image_pos (window);</td></tr>
+<tr class="codeline" data-linenumber="532"><td class="num" id="LN532">532</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="533"><td class="num" id="LN533">533</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="534"><td class="num" id="LN534">534</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="535"><td class="num" id="LN535">535</td><td class="line"> priv-&gt;image_info_message_cid);</td></tr>
+<tr class="codeline" data-linenumber="536"><td class="num" id="LN536">536</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="537"><td class="num" id="LN537">537</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="538"><td class="num" id="LN538">538</td><td class="line"> priv-&gt;image_info_message_cid, str ? str : <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="539"><td class="num" id="LN539">539</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="540"><td class="num" id="LN540">540</td><td class="line"> g_free (str);</td></tr>
+<tr class="codeline" data-linenumber="541"><td class="num" id="LN541">541</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="542"><td class="num" id="LN542">542</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="543"><td class="num" id="LN543">543</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="544"><td class="num" id="LN544">544</td><td class="line">eom_window_set_message_area (EomWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="545"><td class="num" id="LN545">545</td><td class="line"> GtkWidget *message_area)</td></tr>
+<tr class="codeline" data-linenumber="546"><td class="num" id="LN546">546</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="547"><td class="num" id="LN547">547</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;message_area == message_area)</td></tr>
+<tr class="codeline" data-linenumber="548"><td class="num" id="LN548">548</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="549"><td class="num" id="LN549">549</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="550"><td class="num" id="LN550">550</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;message_area != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="551"><td class="num" id="LN551">551</td><td class="line"> gtk_widget_destroy (window-&gt;priv-&gt;message_area);</td></tr>
+<tr class="codeline" data-linenumber="552"><td class="num" id="LN552">552</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="553"><td class="num" id="LN553">553</td><td class="line"> window-&gt;priv-&gt;message_area = message_area;</td></tr>
+<tr class="codeline" data-linenumber="554"><td class="num" id="LN554">554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="555"><td class="num" id="LN555">555</td><td class="line"> <span class='keyword'>if</span> (message_area == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="556"><td class="num" id="LN556">556</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="557"><td class="num" id="LN557">557</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (window-&gt;priv-&gt;cbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;cbox)), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="558"><td class="num" id="LN558">558</td><td class="line"> window-&gt;priv-&gt;message_area,</td></tr>
+<tr class="codeline" data-linenumber="559"><td class="num" id="LN559">559</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="560"><td class="num" id="LN560">560</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="561"><td class="num" id="LN561">561</td><td class="line"> 0);</td></tr>
+<tr class="codeline" data-linenumber="562"><td class="num" id="LN562">562</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="563"><td class="num" id="LN563">563</td><td class="line"> g_object_add_weak_pointer (<span class='macro'>G_OBJECT (window-&gt;priv-&gt;message_area)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;message_area)), (((GType) ((20) &lt;&lt;<br> (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="564"><td class="num" id="LN564">564</td><td class="line"> (<span class='keyword'>void</span> *) &amp;window-&gt;priv-&gt;message_area);</td></tr>
+<tr class="codeline" data-linenumber="565"><td class="num" id="LN565">565</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="566"><td class="num" id="LN566">566</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="567"><td class="num" id="LN567">567</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="568"><td class="num" id="LN568">568</td><td class="line">update_action_groups_state (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="569"><td class="num" id="LN569">569</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="570"><td class="num" id="LN570">570</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="571"><td class="num" id="LN571">571</td><td class="line"> GtkAction *action_collection;</td></tr>
+<tr class="codeline" data-linenumber="572"><td class="num" id="LN572">572</td><td class="line"> GtkAction *action_sidebar;</td></tr>
+<tr class="codeline" data-linenumber="573"><td class="num" id="LN573">573</td><td class="line"> GtkAction *action_fscreen;</td></tr>
+<tr class="codeline" data-linenumber="574"><td class="num" id="LN574">574</td><td class="line"> GtkAction *action_sshow;</td></tr>
+<tr class="codeline" data-linenumber="575"><td class="num" id="LN575">575</td><td class="line"> GtkAction *action_print;</td></tr>
+<tr class="codeline" data-linenumber="576"><td class="num" id="LN576">576</td><td class="line"> gboolean print_disabled = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="577"><td class="num" id="LN577">577</td><td class="line"> gint n_images = 0;</td></tr>
+<tr class="codeline" data-linenumber="578"><td class="num" id="LN578">578</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="579"><td class="num" id="LN579">579</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="580"><td class="num" id="LN580">580</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="581"><td class="num" id="LN581">581</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 581, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="582"><td class="num" id="LN582">582</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="583"><td class="num" id="LN583">583</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="584"><td class="num" id="LN584">584</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="585"><td class="num" id="LN585">585</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="586"><td class="num" id="LN586">586</td><td class="line"> action_collection =</td></tr>
+<tr class="codeline" data-linenumber="587"><td class="num" id="LN587">587</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="588"><td class="num" id="LN588">588</td><td class="line"> <span class='string_literal'>"ViewImageCollection"</span>);</td></tr>
+<tr class="codeline" data-linenumber="589"><td class="num" id="LN589">589</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="590"><td class="num" id="LN590">590</td><td class="line"> action_sidebar =</td></tr>
+<tr class="codeline" data-linenumber="591"><td class="num" id="LN591">591</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="592"><td class="num" id="LN592">592</td><td class="line"> <span class='string_literal'>"ViewSidebar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="593"><td class="num" id="LN593">593</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="594"><td class="num" id="LN594">594</td><td class="line"> action_fscreen =</td></tr>
+<tr class="codeline" data-linenumber="595"><td class="num" id="LN595">595</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="596"><td class="num" id="LN596">596</td><td class="line"> <span class='string_literal'>"ViewFullscreen"</span>);</td></tr>
+<tr class="codeline" data-linenumber="597"><td class="num" id="LN597">597</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="598"><td class="num" id="LN598">598</td><td class="line"> action_sshow =</td></tr>
+<tr class="codeline" data-linenumber="599"><td class="num" id="LN599">599</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="600"><td class="num" id="LN600">600</td><td class="line"> <span class='string_literal'>"ViewSlideshow"</span>);</td></tr>
+<tr class="codeline" data-linenumber="601"><td class="num" id="LN601">601</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="602"><td class="num" id="LN602">602</td><td class="line"> action_print =</td></tr>
+<tr class="codeline" data-linenumber="603"><td class="num" id="LN603">603</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="604"><td class="num" id="LN604">604</td><td class="line"> <span class='string_literal'>"ImagePrint"</span>);</td></tr>
+<tr class="codeline" data-linenumber="605"><td class="num" id="LN605">605</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="606"><td class="num" id="LN606">606</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="607"><td class="num" id="LN607">607</td><td class="line"> <span class='macro'>g_assert (action_collection != NULL)<span class='macro_popup'>do { if (action_collection != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 607, ((const char*) (__func__)), "action_collection != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="608"><td class="num" id="LN608">608</td><td class="line"> <span class='macro'>g_assert (action_sidebar != NULL)<span class='macro_popup'>do { if (action_sidebar != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 608, ((const char*) (__func__)), "action_sidebar != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="609"><td class="num" id="LN609">609</td><td class="line"> <span class='macro'>g_assert (action_fscreen != NULL)<span class='macro_popup'>do { if (action_fscreen != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 609, ((const char*) (__func__)), "action_fscreen != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="610"><td class="num" id="LN610">610</td><td class="line"> <span class='macro'>g_assert (action_sshow != NULL)<span class='macro_popup'>do { if (action_sshow != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 610, ((const char*) (__func__)), "action_sshow != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="611"><td class="num" id="LN611">611</td><td class="line"> <span class='macro'>g_assert (action_print != NULL)<span class='macro_popup'>do { if (action_print != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 611, ((const char*) (__func__)), "action_print != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="612"><td class="num" id="LN612">612</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="613"><td class="num" id="LN613">613</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;store != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="614"><td class="num" id="LN614">614</td><td class="line"> n_images = eom_list_store_length (<span class='macro'>EOM_LIST_STORE (priv-&gt;store)<span class='macro_popup'>((((EomListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), (eom_list_store_get_type())))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="615"><td class="num" id="LN615">615</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="616"><td class="num" id="LN616">616</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="617"><td class="num" id="LN617">617</td><td class="line"> <span class='keyword'>if</span> (n_images == 0) {</td></tr>
+<tr class="codeline" data-linenumber="618"><td class="num" id="LN618">618</td><td class="line"> gtk_widget_hide (priv-&gt;layout);</td></tr>
+<tr class="codeline" data-linenumber="619"><td class="num" id="LN619">619</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="620"><td class="num" id="LN620">620</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="621"><td class="num" id="LN621">621</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="622"><td class="num" id="LN622">622</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_image, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="623"><td class="num" id="LN623">623</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_collection, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="624"><td class="num" id="LN624">624</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="625"><td class="num" id="LN625">625</td><td class="line"> gtk_action_set_sensitive (action_fscreen, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="626"><td class="num" id="LN626">626</td><td class="line"> gtk_action_set_sensitive (action_sshow, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="627"><td class="num" id="LN627">627</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="628"><td class="num" id="LN628">628</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="629"><td class="num" id="LN629">629</td><td class="line"> <span class='comment'>/* If there are no images on model, initialization</span></td></tr>
+<tr class="codeline" data-linenumber="630"><td class="num" id="LN630">630</td><td class="line"> <span class='comment'>stops here. */</span></td></tr>
+<tr class="codeline" data-linenumber="631"><td class="num" id="LN631">631</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;status == EOM_WINDOW_STATUS_INIT) {</td></tr>
+<tr class="codeline" data-linenumber="632"><td class="num" id="LN632">632</td><td class="line"> priv-&gt;status = EOM_WINDOW_STATUS_NORMAL;</td></tr>
+<tr class="codeline" data-linenumber="633"><td class="num" id="LN633">633</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="634"><td class="num" id="LN634">634</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="635"><td class="num" id="LN635">635</td><td class="line"> gboolean show_image_collection;</td></tr>
+<tr class="codeline" data-linenumber="636"><td class="num" id="LN636">636</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="637"><td class="num" id="LN637">637</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;flags &amp; EOM_STARTUP_DISABLE_COLLECTION) {</td></tr>
+<tr class="codeline" data-linenumber="638"><td class="num" id="LN638">638</td><td class="line"> g_settings_set_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_IMAGE_COLLECTION<span class='macro_popup'>"image-collection"</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="639"><td class="num" id="LN639">639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="640"><td class="num" id="LN640">640</td><td class="line"> show_image_collection = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="641"><td class="num" id="LN641">641</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="642"><td class="num" id="LN642">642</td><td class="line"> show_image_collection =</td></tr>
+<tr class="codeline" data-linenumber="643"><td class="num" id="LN643">643</td><td class="line"> g_settings_get_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_IMAGE_COLLECTION<span class='macro_popup'>"image-collection"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="644"><td class="num" id="LN644">644</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="645"><td class="num" id="LN645">645</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="646"><td class="num" id="LN646">646</td><td class="line"> show_image_collection = show_image_collection &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="647"><td class="num" id="LN647">647</td><td class="line"> n_images &gt; 1 &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="648"><td class="num" id="LN648">648</td><td class="line"> priv-&gt;mode != EOM_WINDOW_MODE_SLIDESHOW;</td></tr>
+<tr class="codeline" data-linenumber="649"><td class="num" id="LN649">649</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="650"><td class="num" id="LN650">650</td><td class="line"> gtk_widget_show (priv-&gt;layout);</td></tr>
+<tr class="codeline" data-linenumber="651"><td class="num" id="LN651">651</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="652"><td class="num" id="LN652">652</td><td class="line"> <span class='keyword'>if</span> (show_image_collection)</td></tr>
+<tr class="codeline" data-linenumber="653"><td class="num" id="LN653">653</td><td class="line"> gtk_widget_show (priv-&gt;nav);</td></tr>
+<tr class="codeline" data-linenumber="654"><td class="num" id="LN654">654</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="655"><td class="num" id="LN655">655</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="656"><td class="num" id="LN656">656</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action_collection)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action_collection)), ((gtk_toggle_action_get_type ()))))<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="657"><td class="num" id="LN657">657</td><td class="line"> show_image_collection);</td></tr>
+<tr class="codeline" data-linenumber="658"><td class="num" id="LN658">658</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="659"><td class="num" id="LN659">659</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="660"><td class="num" id="LN660">660</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_image, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="661"><td class="num" id="LN661">661</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="662"><td class="num" id="LN662">662</td><td class="line"> gtk_action_set_sensitive (action_fscreen, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="663"><td class="num" id="LN663">663</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="664"><td class="num" id="LN664">664</td><td class="line"> <span class='keyword'>if</span> (n_images == 1) {</td></tr>
+<tr class="codeline" data-linenumber="665"><td class="num" id="LN665">665</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_collection, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="666"><td class="num" id="LN666">666</td><td class="line"> gtk_action_set_sensitive (action_collection, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="667"><td class="num" id="LN667">667</td><td class="line"> gtk_action_set_sensitive (action_sshow, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="668"><td class="num" id="LN668">668</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="669"><td class="num" id="LN669">669</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_collection, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="670"><td class="num" id="LN670">670</td><td class="line"> gtk_action_set_sensitive (action_sshow, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="671"><td class="num" id="LN671">671</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="672"><td class="num" id="LN672">672</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="673"><td class="num" id="LN673">673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="674"><td class="num" id="LN674">674</td><td class="line"> <span class='keyword'>if</span> (show_image_collection)</td></tr>
+<tr class="codeline" data-linenumber="675"><td class="num" id="LN675">675</td><td class="line"> gtk_widget_grab_focus (priv-&gt;thumbview);</td></tr>
+<tr class="codeline" data-linenumber="676"><td class="num" id="LN676">676</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="677"><td class="num" id="LN677">677</td><td class="line"> gtk_widget_grab_focus (priv-&gt;view);</td></tr>
+<tr class="codeline" data-linenumber="678"><td class="num" id="LN678">678</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="679"><td class="num" id="LN679">679</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="680"><td class="num" id="LN680">680</td><td class="line"> print_disabled = g_settings_get_boolean (priv-&gt;lockdown_settings,</td></tr>
+<tr class="codeline" data-linenumber="681"><td class="num" id="LN681">681</td><td class="line"> <span class='macro'>EOM_CONF_LOCKDOWN_CAN_PRINT<span class='macro_popup'>"disable-printing"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="682"><td class="num" id="LN682">682</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="683"><td class="num" id="LN683">683</td><td class="line"> <span class='keyword'>if</span> (print_disabled) {</td></tr>
+<tr class="codeline" data-linenumber="684"><td class="num" id="LN684">684</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="685"><td class="num" id="LN685">685</td><td class="line"> gtk_action_set_sensitive (action_print, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="686"><td class="num" id="LN686">686</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="687"><td class="num" id="LN687">687</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="688"><td class="num" id="LN688">688</td><td class="line"> <span class='keyword'>if</span> (eom_sidebar_is_empty (<span class='macro'>EOM_SIDEBAR (priv-&gt;sidebar)<span class='macro_popup'>((((EomSidebar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;sidebar)), ((eom_sidebar_get_type()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="689"><td class="num" id="LN689">689</td><td class="line"> gtk_action_set_sensitive (action_sidebar, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="690"><td class="num" id="LN690">690</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="691"><td class="num" id="LN691">691</td><td class="line"> gtk_widget_hide (priv-&gt;sidebar);</td></tr>
+<tr class="codeline" data-linenumber="692"><td class="num" id="LN692">692</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="693"><td class="num" id="LN693">693</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="694"><td class="num" id="LN694">694</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="695"><td class="num" id="LN695">695</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="696"><td class="num" id="LN696">696</td><td class="line">update_selection_ui_visibility (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="697"><td class="num" id="LN697">697</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="698"><td class="num" id="LN698">698</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="699"><td class="num" id="LN699">699</td><td class="line"> GtkAction *wallpaper_action;</td></tr>
+<tr class="codeline" data-linenumber="700"><td class="num" id="LN700">700</td><td class="line"> gint n_selected;</td></tr>
+<tr class="codeline" data-linenumber="701"><td class="num" id="LN701">701</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="702"><td class="num" id="LN702">702</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="703"><td class="num" id="LN703">703</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="704"><td class="num" id="LN704">704</td><td class="line"> n_selected = eom_thumb_view_get_n_selected (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="705"><td class="num" id="LN705">705</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="706"><td class="num" id="LN706">706</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="707"><td class="num" id="LN707">707</td><td class="line"> wallpaper_action =</td></tr>
+<tr class="codeline" data-linenumber="708"><td class="num" id="LN708">708</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="709"><td class="num" id="LN709">709</td><td class="line"> <span class='string_literal'>"ImageSetAsWallpaper"</span>);</td></tr>
+<tr class="codeline" data-linenumber="710"><td class="num" id="LN710">710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="711"><td class="num" id="LN711">711</td><td class="line"> <span class='keyword'>if</span> (n_selected == 1) {</td></tr>
+<tr class="codeline" data-linenumber="712"><td class="num" id="LN712">712</td><td class="line"> gtk_action_set_sensitive (wallpaper_action, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="713"><td class="num" id="LN713">713</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="714"><td class="num" id="LN714">714</td><td class="line"> gtk_action_set_sensitive (wallpaper_action, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="715"><td class="num" id="LN715">715</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="716"><td class="num" id="LN716">716</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="717"><td class="num" id="LN717">717</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="718"><td class="num" id="LN718">718</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="719"><td class="num" id="LN719">719</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="720"><td class="num" id="LN720">720</td><td class="line">add_file_to_recent_files (GFile *file)</td></tr>
+<tr class="codeline" data-linenumber="721"><td class="num" id="LN721">721</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="722"><td class="num" id="LN722">722</td><td class="line"> gchar *text_uri;</td></tr>
+<tr class="codeline" data-linenumber="723"><td class="num" id="LN723">723</td><td class="line"> GFileInfo *file_info;</td></tr>
+<tr class="codeline" data-linenumber="724"><td class="num" id="LN724">724</td><td class="line"> GtkRecentData *recent_data;</td></tr>
+<tr class="codeline" data-linenumber="725"><td class="num" id="LN725">725</td><td class="line"> <span class='keyword'>static</span> gchar *groups[2] = { <span class='macro'>EOM_RECENT_FILES_GROUP<span class='macro_popup'>"Graphics"</span></span> , <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> };</td></tr>
+<tr class="codeline" data-linenumber="726"><td class="num" id="LN726">726</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="727"><td class="num" id="LN727">727</td><td class="line"> <span class='keyword'>if</span> (file == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="728"><td class="num" id="LN728">728</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="729"><td class="num" id="LN729">729</td><td class="line"> <span class='comment'>/* The password gets stripped here because ~/.recently-used.xbel is</span></td></tr>
+<tr class="codeline" data-linenumber="730"><td class="num" id="LN730">730</td><td class="line"> <span class='comment'>* readable by everyone (chmod 644). It also makes the workaround</span></td></tr>
+<tr class="codeline" data-linenumber="731"><td class="num" id="LN731">731</td><td class="line"> <span class='comment'>* for the bug with gtk_recent_info_get_uri_display() easier</span></td></tr>
+<tr class="codeline" data-linenumber="732"><td class="num" id="LN732">732</td><td class="line"> <span class='comment'>* (see the comment in eom_window_update_recent_files_menu()). */</span></td></tr>
+<tr class="codeline" data-linenumber="733"><td class="num" id="LN733">733</td><td class="line"> text_uri = g_file_get_uri (file);</td></tr>
+<tr class="codeline" data-linenumber="734"><td class="num" id="LN734">734</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="735"><td class="num" id="LN735">735</td><td class="line"> <span class='keyword'>if</span> (text_uri == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="736"><td class="num" id="LN736">736</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="737"><td class="num" id="LN737">737</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="738"><td class="num" id="LN738">738</td><td class="line"> file_info = g_file_query_info (file,</td></tr>
+<tr class="codeline" data-linenumber="739"><td class="num" id="LN739">739</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE<span class='macro_popup'>"standard::content-type"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="740"><td class="num" id="LN740">740</td><td class="line"> 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="741"><td class="num" id="LN741">741</td><td class="line"> <span class='keyword'>if</span> (file_info == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="742"><td class="num" id="LN742">742</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="743"><td class="num" id="LN743">743</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="744"><td class="num" id="LN744">744</td><td class="line"> recent_data = <span class='macro'>g_slice_new (GtkRecentData)<span class='macro_popup'>((GtkRecentData*) g_slice_alloc (sizeof (GtkRecentData)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="745"><td class="num" id="LN745">745</td><td class="line"> recent_data-&gt;display_name = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="746"><td class="num" id="LN746">746</td><td class="line"> recent_data-&gt;description = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="747"><td class="num" id="LN747">747</td><td class="line"> recent_data-&gt;mime_type = (gchar *) g_file_info_get_content_type (file_info);</td></tr>
+<tr class="codeline" data-linenumber="748"><td class="num" id="LN748">748</td><td class="line"> recent_data-&gt;app_name = <span class='macro'>EOM_RECENT_FILES_APP_NAME<span class='macro_popup'>"Eye of MATE Image Viewer"</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="749"><td class="num" id="LN749">749</td><td class="line"> recent_data-&gt;app_exec = g_strjoin(<span class='string_literal'>" "</span>, g_get_prgname (), <span class='string_literal'>"%u"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="750"><td class="num" id="LN750">750</td><td class="line"> recent_data-&gt;groups = groups;</td></tr>
+<tr class="codeline" data-linenumber="751"><td class="num" id="LN751">751</td><td class="line"> recent_data-&gt;is_private = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="752"><td class="num" id="LN752">752</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="753"><td class="num" id="LN753">753</td><td class="line"> gtk_recent_manager_add_full (gtk_recent_manager_get_default (),</td></tr>
+<tr class="codeline" data-linenumber="754"><td class="num" id="LN754">754</td><td class="line"> text_uri,</td></tr>
+<tr class="codeline" data-linenumber="755"><td class="num" id="LN755">755</td><td class="line"> recent_data);</td></tr>
+<tr class="codeline" data-linenumber="756"><td class="num" id="LN756">756</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="757"><td class="num" id="LN757">757</td><td class="line"> g_free (recent_data-&gt;app_exec);</td></tr>
+<tr class="codeline" data-linenumber="758"><td class="num" id="LN758">758</td><td class="line"> g_free (text_uri);</td></tr>
+<tr class="codeline" data-linenumber="759"><td class="num" id="LN759">759</td><td class="line"> g_object_unref (file_info);</td></tr>
+<tr class="codeline" data-linenumber="760"><td class="num" id="LN760">760</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="761"><td class="num" id="LN761">761</td><td class="line"> <span class='macro'>g_slice_free (GtkRecentData, recent_data)<span class='macro_popup'>do { if (1) g_slice_free1 (sizeof (GtkRecentData), (recent_data<br>)); else (void) ((GtkRecentData*) 0 == (recent_data)); } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="762"><td class="num" id="LN762">762</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="763"><td class="num" id="LN763">763</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="764"><td class="num" id="LN764">764</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="765"><td class="num" id="LN765">765</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="766"><td class="num" id="LN766">766</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="767"><td class="num" id="LN767">767</td><td class="line">image_thumb_changed_cb (EomImage *image, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="768"><td class="num" id="LN768">768</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="769"><td class="num" id="LN769">769</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="770"><td class="num" id="LN770">770</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="771"><td class="num" id="LN771">771</td><td class="line"> GdkPixbuf *thumb;</td></tr>
+<tr class="codeline" data-linenumber="772"><td class="num" id="LN772">772</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="773"><td class="num" id="LN773">773</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="774"><td class="num" id="LN774">774</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="775"><td class="num" id="LN775">775</td><td class="line"> window = <span class='macro'>EOM_WINDOW (data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="776"><td class="num" id="LN776">776</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="777"><td class="num" id="LN777">777</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="778"><td class="num" id="LN778">778</td><td class="line"> thumb = eom_image_get_thumbnail (image);</td></tr>
+<tr class="codeline" data-linenumber="779"><td class="num" id="LN779">779</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="780"><td class="num" id="LN780">780</td><td class="line"> <span class='keyword'>if</span> (thumb != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="781"><td class="num" id="LN781">781</td><td class="line"> gtk_window_set_icon (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, thumb);</td></tr>
+<tr class="codeline" data-linenumber="782"><td class="num" id="LN782">782</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="783"><td class="num" id="LN783">783</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;properties_dlg != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="784"><td class="num" id="LN784">784</td><td class="line"> eom_properties_dialog_update (<span class='macro'>EOM_PROPERTIES_DIALOG (priv-&gt;properties_dlg)<span class='macro_popup'>((((EomPropertiesDialog*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((priv-&gt;properties_dlg)), ((eom_properties_dialog_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="785"><td class="num" id="LN785">785</td><td class="line"> image);</td></tr>
+<tr class="codeline" data-linenumber="786"><td class="num" id="LN786">786</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="787"><td class="num" id="LN787">787</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="788"><td class="num" id="LN788">788</td><td class="line"> g_object_unref (thumb);</td></tr>
+<tr class="codeline" data-linenumber="789"><td class="num" id="LN789">789</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (!gtk_widget_get_visible (window-&gt;priv-&gt;nav)) {</td></tr>
+<tr class="codeline" data-linenumber="790"><td class="num" id="LN790">790</td><td class="line"> gint img_pos = eom_list_store_get_pos_by_image (window-&gt;priv-&gt;store, image);</td></tr>
+<tr class="codeline" data-linenumber="791"><td class="num" id="LN791">791</td><td class="line"> GtkTreePath *path = gtk_tree_path_new_from_indices (img_pos,-1);</td></tr>
+<tr class="codeline" data-linenumber="792"><td class="num" id="LN792">792</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="793"><td class="num" id="LN793">793</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="794"><td class="num" id="LN794">794</td><td class="line"> gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;store)), ((gtk_tree_model_get_type (<br>)))))))</span></span>, &amp;iter, path);</td></tr>
+<tr class="codeline" data-linenumber="795"><td class="num" id="LN795">795</td><td class="line"> eom_list_store_thumbnail_set (window-&gt;priv-&gt;store, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="796"><td class="num" id="LN796">796</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="797"><td class="num" id="LN797">797</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="798"><td class="num" id="LN798">798</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="799"><td class="num" id="LN799">799</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="800"><td class="num" id="LN800">800</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="801"><td class="num" id="LN801">801</td><td class="line">file_changed_info_bar_response (GtkInfoBar *info_bar,</td></tr>
+<tr class="codeline" data-linenumber="802"><td class="num" id="LN802">802</td><td class="line"> gint response,</td></tr>
+<tr class="codeline" data-linenumber="803"><td class="num" id="LN803">803</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="804"><td class="num" id="LN804">804</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="805"><td class="num" id="LN805">805</td><td class="line"> <span class='keyword'>if</span> (response == GTK_RESPONSE_YES) {</td></tr>
+<tr class="codeline" data-linenumber="806"><td class="num" id="LN806">806</td><td class="line"> eom_window_reload_image (window);</td></tr>
+<tr class="codeline" data-linenumber="807"><td class="num" id="LN807">807</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="808"><td class="num" id="LN808">808</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="809"><td class="num" id="LN809">809</td><td class="line"> window-&gt;priv-&gt;needs_reload_confirmation = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="810"><td class="num" id="LN810">810</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="811"><td class="num" id="LN811">811</td><td class="line"> eom_window_set_message_area (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="812"><td class="num" id="LN812">812</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="813"><td class="num" id="LN813">813</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="814"><td class="num" id="LN814">814</td><td class="line">image_file_changed_cb (EomImage *img, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="815"><td class="num" id="LN815">815</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="816"><td class="num" id="LN816">816</td><td class="line"> GtkWidget *info_bar;</td></tr>
+<tr class="codeline" data-linenumber="817"><td class="num" id="LN817">817</td><td class="line"> gchar *text, *markup;</td></tr>
+<tr class="codeline" data-linenumber="818"><td class="num" id="LN818">818</td><td class="line"> GtkWidget *image;</td></tr>
+<tr class="codeline" data-linenumber="819"><td class="num" id="LN819">819</td><td class="line"> GtkWidget *label;</td></tr>
+<tr class="codeline" data-linenumber="820"><td class="num" id="LN820">820</td><td class="line"> GtkWidget *hbox;</td></tr>
+<tr class="codeline" data-linenumber="821"><td class="num" id="LN821">821</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="822"><td class="num" id="LN822">822</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;needs_reload_confirmation == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="823"><td class="num" id="LN823">823</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="824"><td class="num" id="LN824">824</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="825"><td class="num" id="LN825">825</td><td class="line"> <span class='keyword'>if</span> (!eom_image_is_modified (img)) {</td></tr>
+<tr class="codeline" data-linenumber="826"><td class="num" id="LN826">826</td><td class="line"> <span class='comment'>/* Auto-reload when image is unmodified */</span></td></tr>
+<tr class="codeline" data-linenumber="827"><td class="num" id="LN827">827</td><td class="line"> eom_window_reload_image (window);</td></tr>
+<tr class="codeline" data-linenumber="828"><td class="num" id="LN828">828</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="829"><td class="num" id="LN829">829</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="830"><td class="num" id="LN830">830</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="831"><td class="num" id="LN831">831</td><td class="line"> window-&gt;priv-&gt;needs_reload_confirmation = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="832"><td class="num" id="LN832">832</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="833"><td class="num" id="LN833">833</td><td class="line"> info_bar = gtk_info_bar_new_with_buttons (<span class='macro'>_(<span class='string_literal'>"_Reload"</span>)<span class='macro_popup'>gettext ("_Reload")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="834"><td class="num" id="LN834">834</td><td class="line"> GTK_RESPONSE_YES,</td></tr>
+<tr class="codeline" data-linenumber="835"><td class="num" id="LN835">835</td><td class="line"> <span class='macro'>C_(<span class='string_literal'>"MessageArea"</span>, <span class='string_literal'>"Hi_de"</span>)<span class='macro_popup'>g_dpgettext (((void*)0), "MessageArea" "\004" "Hi_de", strlen<br> ("MessageArea") + 1)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="836"><td class="num" id="LN836">836</td><td class="line"> GTK_RESPONSE_NO, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="837"><td class="num" id="LN837">837</td><td class="line"> gtk_info_bar_set_message_type (<span class='macro'>GTK_INFO_BAR (info_bar)<span class='macro_popup'>((((GtkInfoBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((info_bar)), ((gtk_info_bar_get_type()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="838"><td class="num" id="LN838">838</td><td class="line"> GTK_MESSAGE_QUESTION);</td></tr>
+<tr class="codeline" data-linenumber="839"><td class="num" id="LN839">839</td><td class="line"> image = gtk_image_new_from_icon_name (<span class='string_literal'>"dialog-question"</span>,</td></tr>
+<tr class="codeline" data-linenumber="840"><td class="num" id="LN840">840</td><td class="line"> GTK_ICON_SIZE_DIALOG);</td></tr>
+<tr class="codeline" data-linenumber="841"><td class="num" id="LN841">841</td><td class="line"> label = gtk_label_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="842"><td class="num" id="LN842">842</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="843"><td class="num" id="LN843">843</td><td class="line"> <span class='comment'>/* The newline character is currently necessary due to a problem</span></td></tr>
+<tr class="codeline" data-linenumber="844"><td class="num" id="LN844">844</td><td class="line"> <span class='comment'>* with the automatic line break. */</span></td></tr>
+<tr class="codeline" data-linenumber="845"><td class="num" id="LN845">845</td><td class="line"> text = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"The image \"%s\" has been modified by an external application."<span class='macro_popup'>gettext ("The image \"%s\" has been modified by an external application."<br> "\nWould you like to reload it?")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="846"><td class="num" id="LN846">846</td><td class="line"> <span class='string_literal'><span class='macro'>"\nWould you like to reload it?"</span>)<span class='macro_popup'>gettext ("The image \"%s\" has been modified by an external application."<br> "\nWould you like to reload it?")</span></span>, eom_image_get_caption (img));</td></tr>
+<tr class="codeline" data-linenumber="847"><td class="num" id="LN847">847</td><td class="line"> markup = g_markup_printf_escaped (<span class='string_literal'>"&lt;b&gt;%s&lt;/b&gt;"</span>, text);</td></tr>
+<tr class="codeline" data-linenumber="848"><td class="num" id="LN848">848</td><td class="line"> gtk_label_set_markup (<span class='macro'>GTK_LABEL (label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((label)), ((gtk_label_get_type ()))))))</span></span>, markup);</td></tr>
+<tr class="codeline" data-linenumber="849"><td class="num" id="LN849">849</td><td class="line"> g_free (text);</td></tr>
+<tr class="codeline" data-linenumber="850"><td class="num" id="LN850">850</td><td class="line"> g_free (markup);</td></tr>
+<tr class="codeline" data-linenumber="851"><td class="num" id="LN851">851</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="852"><td class="num" id="LN852">852</td><td class="line"> hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);</td></tr>
+<tr class="codeline" data-linenumber="853"><td class="num" id="LN853">853</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, image, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="854"><td class="num" id="LN854">854</td><td class="line"> gtk_widget_set_halign (image, GTK_ALIGN_START);</td></tr>
+<tr class="codeline" data-linenumber="855"><td class="num" id="LN855">855</td><td class="line"> gtk_widget_set_valign (image, GTK_ALIGN_END);</td></tr>
+<tr class="codeline" data-linenumber="856"><td class="num" id="LN856">856</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, label, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="857"><td class="num" id="LN857">857</td><td class="line"> gtk_label_set_xalign (<span class='macro'>GTK_LABEL (label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((label)), ((gtk_label_get_type ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="858"><td class="num" id="LN858">858</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (gtk_info_bar_get_content_area (GTK_INFO_BAR (info_bar)))<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_info_bar_get_content_area (((((GtkInfoBar*) (void *)<br> g_type_check_instance_cast ((GTypeInstance*) ((info_bar)), (<br>(gtk_info_bar_get_type()))))))))), ((gtk_box_get_type ())))))<br>)</span></span>, hbox, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="859"><td class="num" id="LN859">859</td><td class="line"> gtk_widget_show_all (hbox);</td></tr>
+<tr class="codeline" data-linenumber="860"><td class="num" id="LN860">860</td><td class="line"> gtk_widget_show (info_bar);</td></tr>
+<tr class="codeline" data-linenumber="861"><td class="num" id="LN861">861</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="862"><td class="num" id="LN862">862</td><td class="line"> eom_window_set_message_area (window, info_bar);</td></tr>
+<tr class="codeline" data-linenumber="863"><td class="num" id="LN863">863</td><td class="line"> <span class='macro'>g_signal_connect (info_bar, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((info_bar), ("response"), (((GCallback<br>) (file_changed_info_bar_response))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="864"><td class="num" id="LN864">864</td><td class="line"> <span class='macro'>G_CALLBACK (file_changed_info_bar_response),<span class='macro_popup'>g_signal_connect_data ((info_bar), ("response"), (((GCallback<br>) (file_changed_info_bar_response))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="865"><td class="num" id="LN865">865</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((info_bar), ("response"), (((GCallback<br>) (file_changed_info_bar_response))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="866"><td class="num" id="LN866">866</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="867"><td class="num" id="LN867">867</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="868"><td class="num" id="LN868">868</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="869"><td class="num" id="LN869">869</td><td class="line">eom_window_display_image (EomWindow *window, EomImage *image)</td></tr>
+<tr class="codeline" data-linenumber="870"><td class="num" id="LN870">870</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="871"><td class="num" id="LN871">871</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="872"><td class="num" id="LN872">872</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="873"><td class="num" id="LN873">873</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="874"><td class="num" id="LN874">874</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="875"><td class="num" id="LN875">875</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (image))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((image)); GType __t = ((eom_image_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (image)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="876"><td class="num" id="LN876">876</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="877"><td class="num" id="LN877">877</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 877, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="878"><td class="num" id="LN878">878</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="879"><td class="num" id="LN879">879</td><td class="line"> <span class='macro'>g_assert (eom_image_has_data (image, EOM_IMAGE_DATA_IMAGE))<span class='macro_popup'>do { if (eom_image_has_data (image, EOM_IMAGE_DATA_IMAGE)) ; else<br> g_assertion_message_expr ("EOM", "eom-window.c", 879, ((const<br> char*) (__func__)), "eom_image_has_data (image, EOM_IMAGE_DATA_IMAGE)"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="880"><td class="num" id="LN880">880</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="881"><td class="num" id="LN881">881</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="882"><td class="num" id="LN882">882</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="883"><td class="num" id="LN883">883</td><td class="line"> <span class='keyword'>if</span> (image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="884"><td class="num" id="LN884">884</td><td class="line"> <span class='macro'>g_signal_connect (image, <span class='string_literal'>"thumbnail_changed"</span>,<span class='macro_popup'>g_signal_connect_data ((image), ("thumbnail_changed"), (((GCallback<br>) (image_thumb_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="885"><td class="num" id="LN885">885</td><td class="line"> <span class='macro'>G_CALLBACK (image_thumb_changed_cb),<span class='macro_popup'>g_signal_connect_data ((image), ("thumbnail_changed"), (((GCallback<br>) (image_thumb_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="886"><td class="num" id="LN886">886</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((image), ("thumbnail_changed"), (((GCallback<br>) (image_thumb_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="887"><td class="num" id="LN887">887</td><td class="line"> <span class='macro'>g_signal_connect (image, <span class='string_literal'>"file-changed"</span>,<span class='macro_popup'>g_signal_connect_data ((image), ("file-changed"), (((GCallback<br>) (image_file_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="888"><td class="num" id="LN888">888</td><td class="line"> <span class='macro'>G_CALLBACK (image_file_changed_cb),<span class='macro_popup'>g_signal_connect_data ((image), ("file-changed"), (((GCallback<br>) (image_file_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="889"><td class="num" id="LN889">889</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((image), ("file-changed"), (((GCallback<br>) (image_file_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="890"><td class="num" id="LN890">890</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="891"><td class="num" id="LN891">891</td><td class="line"> image_thumb_changed_cb (image, window);</td></tr>
+<tr class="codeline" data-linenumber="892"><td class="num" id="LN892">892</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="893"><td class="num" id="LN893">893</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="894"><td class="num" id="LN894">894</td><td class="line"> priv-&gt;needs_reload_confirmation = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="895"><td class="num" id="LN895">895</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="896"><td class="num" id="LN896">896</td><td class="line"> eom_scroll_view_set_image (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>, image);</td></tr>
+<tr class="codeline" data-linenumber="897"><td class="num" id="LN897">897</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="898"><td class="num" id="LN898">898</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, eom_image_get_caption (image));</td></tr>
+<tr class="codeline" data-linenumber="899"><td class="num" id="LN899">899</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="900"><td class="num" id="LN900">900</td><td class="line"> update_status_bar (window);</td></tr>
+<tr class="codeline" data-linenumber="901"><td class="num" id="LN901">901</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="902"><td class="num" id="LN902">902</td><td class="line"> file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="903"><td class="num" id="LN903">903</td><td class="line"> g_idle_add_full (<span class='macro'>G_PRIORITY_LOW<span class='macro_popup'>300</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="904"><td class="num" id="LN904">904</td><td class="line"> (GSourceFunc) add_file_to_recent_files,</td></tr>
+<tr class="codeline" data-linenumber="905"><td class="num" id="LN905">905</td><td class="line"> file,</td></tr>
+<tr class="codeline" data-linenumber="906"><td class="num" id="LN906">906</td><td class="line"> (GDestroyNotify) g_object_unref);</td></tr>
+<tr class="codeline" data-linenumber="907"><td class="num" id="LN907">907</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="908"><td class="num" id="LN908">908</td><td class="line"> eom_window_update_openwith_menu (window, image);</td></tr>
+<tr class="codeline" data-linenumber="909"><td class="num" id="LN909">909</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="910"><td class="num" id="LN910">910</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="911"><td class="num" id="LN911">911</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="912"><td class="num" id="LN912">912</td><td class="line">open_with_launch_application_cb (GtkAction *action, gpointer data) {</td></tr>
+<tr class="codeline" data-linenumber="913"><td class="num" id="LN913">913</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="914"><td class="num" id="LN914">914</td><td class="line"> GAppInfo *app;</td></tr>
+<tr class="codeline" data-linenumber="915"><td class="num" id="LN915">915</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="916"><td class="num" id="LN916">916</td><td class="line"> GList *files = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="917"><td class="num" id="LN917">917</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="918"><td class="num" id="LN918">918</td><td class="line"> image = <span class='macro'>EOM_IMAGE (data)<span class='macro_popup'>((((EomImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_image_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="919"><td class="num" id="LN919">919</td><td class="line"> file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="920"><td class="num" id="LN920">920</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="921"><td class="num" id="LN921">921</td><td class="line"> app = g_object_get_data (<span class='macro'>G_OBJECT (action)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"app"</span>);</td></tr>
+<tr class="codeline" data-linenumber="922"><td class="num" id="LN922">922</td><td class="line"> files = g_list_append (files, file);</td></tr>
+<tr class="codeline" data-linenumber="923"><td class="num" id="LN923">923</td><td class="line"> g_app_info_launch (app,</td></tr>
+<tr class="codeline" data-linenumber="924"><td class="num" id="LN924">924</td><td class="line"> files,</td></tr>
+<tr class="codeline" data-linenumber="925"><td class="num" id="LN925">925</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="926"><td class="num" id="LN926">926</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="927"><td class="num" id="LN927">927</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="928"><td class="num" id="LN928">928</td><td class="line"> g_list_free (files);</td></tr>
+<tr class="codeline" data-linenumber="929"><td class="num" id="LN929">929</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="930"><td class="num" id="LN930">930</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="931"><td class="num" id="LN931">931</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="932"><td class="num" id="LN932">932</td><td class="line">eom_window_update_openwith_menu (EomWindow *window, EomImage *image)</td></tr>
+<tr class="codeline" data-linenumber="933"><td class="num" id="LN933">933</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="934"><td class="num" id="LN934">934</td><td class="line"> gboolean edit_button_active;</td></tr>
+<tr class="codeline" data-linenumber="935"><td class="num" id="LN935">935</td><td class="line"> GAppInfo *editor_app;</td></tr>
+<tr class="codeline" data-linenumber="936"><td class="num" id="LN936">936</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="937"><td class="num" id="LN937">937</td><td class="line"> GFileInfo *file_info;</td></tr>
+<tr class="codeline" data-linenumber="938"><td class="num" id="LN938">938</td><td class="line"> GList *iter;</td></tr>
+<tr class="codeline" data-linenumber="939"><td class="num" id="LN939">939</td><td class="line"> gchar *label, *tip;</td></tr>
+<tr class="codeline" data-linenumber="940"><td class="num" id="LN940">940</td><td class="line"> <span class='keyword'>const</span> gchar *mime_type;</td></tr>
+<tr class="codeline" data-linenumber="941"><td class="num" id="LN941">941</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="942"><td class="num" id="LN942">942</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="943"><td class="num" id="LN943">943</td><td class="line"> GList *apps;</td></tr>
+<tr class="codeline" data-linenumber="944"><td class="num" id="LN944">944</td><td class="line"> guint action_id = 0;</td></tr>
+<tr class="codeline" data-linenumber="945"><td class="num" id="LN945">945</td><td class="line"> GIcon *app_icon;</td></tr>
+<tr class="codeline" data-linenumber="946"><td class="num" id="LN946">946</td><td class="line"> <span class='keyword'>char</span> *path;</td></tr>
+<tr class="codeline" data-linenumber="947"><td class="num" id="LN947">947</td><td class="line"> GtkWidget *menuitem;</td></tr>
+<tr class="codeline" data-linenumber="948"><td class="num" id="LN948">948</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="949"><td class="num" id="LN949">949</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="950"><td class="num" id="LN950">950</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="951"><td class="num" id="LN951">951</td><td class="line"> edit_button_active = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="952"><td class="num" id="LN952">952</td><td class="line"> editor_app = get_appinfo_for_editor (window);</td></tr>
+<tr class="codeline" data-linenumber="953"><td class="num" id="LN953">953</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="954"><td class="num" id="LN954">954</td><td class="line"> file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="955"><td class="num" id="LN955">955</td><td class="line"> file_info = g_file_query_info (file,</td></tr>
+<tr class="codeline" data-linenumber="956"><td class="num" id="LN956">956</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE<span class='macro_popup'>"standard::content-type"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="957"><td class="num" id="LN957">957</td><td class="line"> 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="958"><td class="num" id="LN958">958</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="959"><td class="num" id="LN959">959</td><td class="line"> <span class='keyword'>if</span> (file_info == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="960"><td class="num" id="LN960">960</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="961"><td class="num" id="LN961">961</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="962"><td class="num" id="LN962">962</td><td class="line"> mime_type = g_file_info_get_content_type (file_info);</td></tr>
+<tr class="codeline" data-linenumber="963"><td class="num" id="LN963">963</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="964"><td class="num" id="LN964">964</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="965"><td class="num" id="LN965">965</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;open_with_menu_id != 0) {</td></tr>
+<tr class="codeline" data-linenumber="966"><td class="num" id="LN966">966</td><td class="line"> gtk_ui_manager_remove_ui (priv-&gt;ui_mgr, priv-&gt;open_with_menu_id);</td></tr>
+<tr class="codeline" data-linenumber="967"><td class="num" id="LN967">967</td><td class="line"> priv-&gt;open_with_menu_id = 0;</td></tr>
+<tr class="codeline" data-linenumber="968"><td class="num" id="LN968">968</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="969"><td class="num" id="LN969">969</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="970"><td class="num" id="LN970">970</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;actions_open_with != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="971"><td class="num" id="LN971">971</td><td class="line"> gtk_ui_manager_remove_action_group (priv-&gt;ui_mgr, priv-&gt;actions_open_with);</td></tr>
+<tr class="codeline" data-linenumber="972"><td class="num" id="LN972">972</td><td class="line"> g_object_unref (priv-&gt;actions_open_with);</td></tr>
+<tr class="codeline" data-linenumber="973"><td class="num" id="LN973">973</td><td class="line"> priv-&gt;actions_open_with = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="974"><td class="num" id="LN974">974</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="975"><td class="num" id="LN975">975</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="976"><td class="num" id="LN976">976</td><td class="line"> <span class='keyword'>if</span> (mime_type == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="977"><td class="num" id="LN977">977</td><td class="line"> g_object_unref (file_info);</td></tr>
+<tr class="codeline" data-linenumber="978"><td class="num" id="LN978">978</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="979"><td class="num" id="LN979">979</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="980"><td class="num" id="LN980">980</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="981"><td class="num" id="LN981">981</td><td class="line"> apps = g_app_info_get_all_for_type (mime_type);</td></tr>
+<tr class="codeline" data-linenumber="982"><td class="num" id="LN982">982</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="983"><td class="num" id="LN983">983</td><td class="line"> g_object_unref (file_info);</td></tr>
+<tr class="codeline" data-linenumber="984"><td class="num" id="LN984">984</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="985"><td class="num" id="LN985">985</td><td class="line"> <span class='keyword'>if</span> (!apps)</td></tr>
+<tr class="codeline" data-linenumber="986"><td class="num" id="LN986">986</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="987"><td class="num" id="LN987">987</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="988"><td class="num" id="LN988">988</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="989"><td class="num" id="LN989">989</td><td class="line"> priv-&gt;actions_open_with = gtk_action_group_new (<span class='string_literal'>"OpenWithActions"</span>);</td></tr>
+<tr class="codeline" data-linenumber="990"><td class="num" id="LN990">990</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="991"><td class="num" id="LN991">991</td><td class="line"> gtk_ui_manager_insert_action_group (priv-&gt;ui_mgr, priv-&gt;actions_open_with, -1);</td></tr>
+<tr class="codeline" data-linenumber="992"><td class="num" id="LN992">992</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="993"><td class="num" id="LN993">993</td><td class="line"> priv-&gt;open_with_menu_id = gtk_ui_manager_new_merge_id (priv-&gt;ui_mgr);</td></tr>
+<tr class="codeline" data-linenumber="994"><td class="num" id="LN994">994</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="995"><td class="num" id="LN995">995</td><td class="line"> <span class='keyword'>for</span> (iter = apps; iter; iter = iter-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="996"><td class="num" id="LN996">996</td><td class="line"> GAppInfo *app = iter-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="997"><td class="num" id="LN997">997</td><td class="line"> gchar name[64];</td></tr>
+<tr class="codeline" data-linenumber="998"><td class="num" id="LN998">998</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="999"><td class="num" id="LN999">999</td><td class="line"> <span class='keyword'>if</span> (editor_app != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; g_app_info_equal (editor_app, app)) {</td></tr>
+<tr class="codeline" data-linenumber="1000"><td class="num" id="LN1000">1000</td><td class="line"> edit_button_active = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1001"><td class="num" id="LN1001">1001</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1002"><td class="num" id="LN1002">1002</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1003"><td class="num" id="LN1003">1003</td><td class="line"> <span class='comment'>/* Do not include eom itself */</span></td></tr>
+<tr class="codeline" data-linenumber="1004"><td class="num" id="LN1004">1004</td><td class="line"> <span class='keyword'>if</span> (g_ascii_strcasecmp (g_app_info_get_executable (app),</td></tr>
+<tr class="codeline" data-linenumber="1005"><td class="num" id="LN1005">1005</td><td class="line"> g_get_prgname ()) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="1006"><td class="num" id="LN1006">1006</td><td class="line"> g_object_unref (app);</td></tr>
+<tr class="codeline" data-linenumber="1007"><td class="num" id="LN1007">1007</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="1008"><td class="num" id="LN1008">1008</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1009"><td class="num" id="LN1009">1009</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1010"><td class="num" id="LN1010">1010</td><td class="line"> g_snprintf (name, <span class='keyword'>sizeof</span> (name), <span class='string_literal'>"OpenWith%u"</span>, action_id++);</td></tr>
+<tr class="codeline" data-linenumber="1011"><td class="num" id="LN1011">1011</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1012"><td class="num" id="LN1012">1012</td><td class="line"> label = <span class='macro'>g_strdup (g_app_info_get_name (app))<span class='macro_popup'>g_strdup_inline (g_app_info_get_name (app))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1013"><td class="num" id="LN1013">1013</td><td class="line"> tip = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Use \"%s\" to open the selected image"</span>)<span class='macro_popup'>gettext ("Use \"%s\" to open the selected image")</span></span>, g_app_info_get_name (app));</td></tr>
+<tr class="codeline" data-linenumber="1014"><td class="num" id="LN1014">1014</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1015"><td class="num" id="LN1015">1015</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1016"><td class="num" id="LN1016">1016</td><td class="line"> action = gtk_action_new (name, label, tip, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1017"><td class="num" id="LN1017">1017</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1018"><td class="num" id="LN1018">1018</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1019"><td class="num" id="LN1019">1019</td><td class="line"> app_icon = g_app_info_get_icon (app);</td></tr>
+<tr class="codeline" data-linenumber="1020"><td class="num" id="LN1020">1020</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_LIKELY (app_icon != NULL)<span class='macro_popup'>(app_icon != ((void*)0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1021"><td class="num" id="LN1021">1021</td><td class="line"> <span class='macro'>g_object_ref (app_icon)<span class='macro_popup'>((__typeof__ (app_icon)) (g_object_ref) (app_icon))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1022"><td class="num" id="LN1022">1022</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1023"><td class="num" id="LN1023">1023</td><td class="line"> gtk_action_set_gicon (action, app_icon);</td></tr>
+<tr class="codeline" data-linenumber="1024"><td class="num" id="LN1024">1024</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1025"><td class="num" id="LN1025">1025</td><td class="line"> g_object_unref (app_icon);</td></tr>
+<tr class="codeline" data-linenumber="1026"><td class="num" id="LN1026">1026</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1027"><td class="num" id="LN1027">1027</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1028"><td class="num" id="LN1028">1028</td><td class="line"> g_free (label);</td></tr>
+<tr class="codeline" data-linenumber="1029"><td class="num" id="LN1029">1029</td><td class="line"> g_free (tip);</td></tr>
+<tr class="codeline" data-linenumber="1030"><td class="num" id="LN1030">1030</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1031"><td class="num" id="LN1031">1031</td><td class="line"> g_object_set_data_full (<span class='macro'>G_OBJECT (action)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"app"</span>, app,</td></tr>
+<tr class="codeline" data-linenumber="1032"><td class="num" id="LN1032">1032</td><td class="line"> (GDestroyNotify) g_object_unref);</td></tr>
+<tr class="codeline" data-linenumber="1033"><td class="num" id="LN1033">1033</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1034"><td class="num" id="LN1034">1034</td><td class="line"> <span class='macro'>g_signal_connect (action, <span class='string_literal'>"activate"</span>,<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>open_with_launch_application_cb))), (image), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1035"><td class="num" id="LN1035">1035</td><td class="line"> <span class='macro'>G_CALLBACK (open_with_launch_application_cb),<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>open_with_launch_application_cb))), (image), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1036"><td class="num" id="LN1036">1036</td><td class="line"> <span class='macro'>image)<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>open_with_launch_application_cb))), (image), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1037"><td class="num" id="LN1037">1037</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1038"><td class="num" id="LN1038">1038</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1039"><td class="num" id="LN1039">1039</td><td class="line"> gtk_action_group_add_action (priv-&gt;actions_open_with, action);</td></tr>
+<tr class="codeline" data-linenumber="1040"><td class="num" id="LN1040">1040</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1041"><td class="num" id="LN1041">1041</td><td class="line"> g_object_unref (action);</td></tr>
+<tr class="codeline" data-linenumber="1042"><td class="num" id="LN1042">1042</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1043"><td class="num" id="LN1043">1043</td><td class="line"> gtk_ui_manager_add_ui (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="1044"><td class="num" id="LN1044">1044</td><td class="line"> priv-&gt;open_with_menu_id,</td></tr>
+<tr class="codeline" data-linenumber="1045"><td class="num" id="LN1045">1045</td><td class="line"> <span class='string_literal'>"/MainMenu/Image/ImageOpenWith/Applications Placeholder"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1046"><td class="num" id="LN1046">1046</td><td class="line"> name,</td></tr>
+<tr class="codeline" data-linenumber="1047"><td class="num" id="LN1047">1047</td><td class="line"> name,</td></tr>
+<tr class="codeline" data-linenumber="1048"><td class="num" id="LN1048">1048</td><td class="line"> GTK_UI_MANAGER_MENUITEM,</td></tr>
+<tr class="codeline" data-linenumber="1049"><td class="num" id="LN1049">1049</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1050"><td class="num" id="LN1050">1050</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1051"><td class="num" id="LN1051">1051</td><td class="line"> gtk_ui_manager_add_ui (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="1052"><td class="num" id="LN1052">1052</td><td class="line"> priv-&gt;open_with_menu_id,</td></tr>
+<tr class="codeline" data-linenumber="1053"><td class="num" id="LN1053">1053</td><td class="line"> <span class='string_literal'>"/ThumbnailPopup/ImageOpenWith/Applications Placeholder"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1054"><td class="num" id="LN1054">1054</td><td class="line"> name,</td></tr>
+<tr class="codeline" data-linenumber="1055"><td class="num" id="LN1055">1055</td><td class="line"> name,</td></tr>
+<tr class="codeline" data-linenumber="1056"><td class="num" id="LN1056">1056</td><td class="line"> GTK_UI_MANAGER_MENUITEM,</td></tr>
+<tr class="codeline" data-linenumber="1057"><td class="num" id="LN1057">1057</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1058"><td class="num" id="LN1058">1058</td><td class="line"> gtk_ui_manager_add_ui (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="1059"><td class="num" id="LN1059">1059</td><td class="line"> priv-&gt;open_with_menu_id,</td></tr>
+<tr class="codeline" data-linenumber="1060"><td class="num" id="LN1060">1060</td><td class="line"> <span class='string_literal'>"/ViewPopup/ImageOpenWith/Applications Placeholder"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1061"><td class="num" id="LN1061">1061</td><td class="line"> name,</td></tr>
+<tr class="codeline" data-linenumber="1062"><td class="num" id="LN1062">1062</td><td class="line"> name,</td></tr>
+<tr class="codeline" data-linenumber="1063"><td class="num" id="LN1063">1063</td><td class="line"> GTK_UI_MANAGER_MENUITEM,</td></tr>
+<tr class="codeline" data-linenumber="1064"><td class="num" id="LN1064">1064</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1065"><td class="num" id="LN1065">1065</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1066"><td class="num" id="LN1066">1066</td><td class="line"> path = g_strdup_printf (<span class='string_literal'>"/MainMenu/Image/ImageOpenWith/Applications Placeholder/%s"</span>, name);</td></tr>
+<tr class="codeline" data-linenumber="1067"><td class="num" id="LN1067">1067</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1068"><td class="num" id="LN1068">1068</td><td class="line"> menuitem = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, path);</td></tr>
+<tr class="codeline" data-linenumber="1069"><td class="num" id="LN1069">1069</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1070"><td class="num" id="LN1070">1070</td><td class="line"> <span class='comment'>/* Only force displaying the icon if it is an application icon */</span></td></tr>
+<tr class="codeline" data-linenumber="1071"><td class="num" id="LN1071">1071</td><td class="line"> gtk_image_menu_item_set_always_show_image (<span class='macro'>GTK_IMAGE_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkImageMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_image_menu_item_get_type (<br>)))))))</span></span>, app_icon != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1072"><td class="num" id="LN1072">1072</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1073"><td class="num" id="LN1073">1073</td><td class="line"> g_free (path);</td></tr>
+<tr class="codeline" data-linenumber="1074"><td class="num" id="LN1074">1074</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1075"><td class="num" id="LN1075">1075</td><td class="line"> path = g_strdup_printf (<span class='string_literal'>"/ThumbnailPopup/ImageOpenWith/Applications Placeholder/%s"</span>, name);</td></tr>
+<tr class="codeline" data-linenumber="1076"><td class="num" id="LN1076">1076</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1077"><td class="num" id="LN1077">1077</td><td class="line"> menuitem = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, path);</td></tr>
+<tr class="codeline" data-linenumber="1078"><td class="num" id="LN1078">1078</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1079"><td class="num" id="LN1079">1079</td><td class="line"> <span class='comment'>/* Only force displaying the icon if it is an application icon */</span></td></tr>
+<tr class="codeline" data-linenumber="1080"><td class="num" id="LN1080">1080</td><td class="line"> gtk_image_menu_item_set_always_show_image (<span class='macro'>GTK_IMAGE_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkImageMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_image_menu_item_get_type (<br>)))))))</span></span>, app_icon != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1081"><td class="num" id="LN1081">1081</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1082"><td class="num" id="LN1082">1082</td><td class="line"> g_free (path);</td></tr>
+<tr class="codeline" data-linenumber="1083"><td class="num" id="LN1083">1083</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1084"><td class="num" id="LN1084">1084</td><td class="line"> path = g_strdup_printf (<span class='string_literal'>"/ViewPopup/ImageOpenWith/Applications Placeholder/%s"</span>, name);</td></tr>
+<tr class="codeline" data-linenumber="1085"><td class="num" id="LN1085">1085</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1086"><td class="num" id="LN1086">1086</td><td class="line"> menuitem = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, path);</td></tr>
+<tr class="codeline" data-linenumber="1087"><td class="num" id="LN1087">1087</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1088"><td class="num" id="LN1088">1088</td><td class="line"> <span class='comment'>/* Only force displaying the icon if it is an application icon */</span></td></tr>
+<tr class="codeline" data-linenumber="1089"><td class="num" id="LN1089">1089</td><td class="line"> gtk_image_menu_item_set_always_show_image (<span class='macro'>GTK_IMAGE_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkImageMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_image_menu_item_get_type (<br>)))))))</span></span>, app_icon != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1090"><td class="num" id="LN1090">1090</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1091"><td class="num" id="LN1091">1091</td><td class="line"> g_free (path);</td></tr>
+<tr class="codeline" data-linenumber="1092"><td class="num" id="LN1092">1092</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1093"><td class="num" id="LN1093">1093</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1094"><td class="num" id="LN1094">1094</td><td class="line"> g_list_free (apps);</td></tr>
+<tr class="codeline" data-linenumber="1095"><td class="num" id="LN1095">1095</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1096"><td class="num" id="LN1096">1096</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1097"><td class="num" id="LN1097">1097</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="1098"><td class="num" id="LN1098">1098</td><td class="line"> <span class='string_literal'>"OpenEditor"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1099"><td class="num" id="LN1099">1099</td><td class="line"> <span class='keyword'>if</span> (action != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1100"><td class="num" id="LN1100">1100</td><td class="line"> gtk_action_set_sensitive (action, edit_button_active);</td></tr>
+<tr class="codeline" data-linenumber="1101"><td class="num" id="LN1101">1101</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1102"><td class="num" id="LN1102">1102</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1103"><td class="num" id="LN1103">1103</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1104"><td class="num" id="LN1104">1104</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1105"><td class="num" id="LN1105">1105</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1106"><td class="num" id="LN1106">1106</td><td class="line">eom_window_clear_load_job (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1107"><td class="num" id="LN1107">1107</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1108"><td class="num" id="LN1108">1108</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1109"><td class="num" id="LN1109">1109</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1110"><td class="num" id="LN1110">1110</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;load_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1111"><td class="num" id="LN1111">1111</td><td class="line"> <span class='keyword'>if</span> (!priv-&gt;load_job-&gt;finished)</td></tr>
+<tr class="codeline" data-linenumber="1112"><td class="num" id="LN1112">1112</td><td class="line"> eom_job_queue_remove_job (priv-&gt;load_job);</td></tr>
+<tr class="codeline" data-linenumber="1113"><td class="num" id="LN1113">1113</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1114"><td class="num" id="LN1114">1114</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;load_job,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;load_job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_progress_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1115"><td class="num" id="LN1115">1115</td><td class="line"> <span class='macro'>eom_job_progress_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;load_job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_progress_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1116"><td class="num" id="LN1116">1116</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;load_job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_progress_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1117"><td class="num" id="LN1117">1117</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1118"><td class="num" id="LN1118">1118</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;load_job,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;load_job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_load_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1119"><td class="num" id="LN1119">1119</td><td class="line"> <span class='macro'>eom_job_load_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;load_job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_load_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1120"><td class="num" id="LN1120">1120</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;load_job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_load_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1121"><td class="num" id="LN1121">1121</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1122"><td class="num" id="LN1122">1122</td><td class="line"> eom_image_cancel_load (<span class='macro'>EOM_JOB_LOAD (priv-&gt;load_job)<span class='macro_popup'>((((EomJobLoad*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;load_job)), ((eom_job_load_get_type()))))))</span></span>-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="1123"><td class="num" id="LN1123">1123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1124"><td class="num" id="LN1124">1124</td><td class="line"> g_object_unref (priv-&gt;load_job);</td></tr>
+<tr class="codeline" data-linenumber="1125"><td class="num" id="LN1125">1125</td><td class="line"> priv-&gt;load_job = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1126"><td class="num" id="LN1126">1126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1127"><td class="num" id="LN1127">1127</td><td class="line"> <span class='comment'>/* Hide statusbar */</span></td></tr>
+<tr class="codeline" data-linenumber="1128"><td class="num" id="LN1128">1128</td><td class="line"> eom_statusbar_set_progress (<span class='macro'>EOM_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((EomStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((eom_statusbar_get_type ()))))))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="1129"><td class="num" id="LN1129">1129</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1130"><td class="num" id="LN1130">1130</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1131"><td class="num" id="LN1131">1131</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1132"><td class="num" id="LN1132">1132</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1133"><td class="num" id="LN1133">1133</td><td class="line">eom_job_progress_cb (EomJobLoad *job, <span class='keyword'>float</span> progress, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1134"><td class="num" id="LN1134">1134</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1135"><td class="num" id="LN1135">1135</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="1136"><td class="num" id="LN1136">1136</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1137"><td class="num" id="LN1137">1137</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1138"><td class="num" id="LN1138">1138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1139"><td class="num" id="LN1139">1139</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1140"><td class="num" id="LN1140">1140</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1141"><td class="num" id="LN1141">1141</td><td class="line"> eom_statusbar_set_progress (<span class='macro'>EOM_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((EomStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((eom_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1142"><td class="num" id="LN1142">1142</td><td class="line"> progress);</td></tr>
+<tr class="codeline" data-linenumber="1143"><td class="num" id="LN1143">1143</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1144"><td class="num" id="LN1144">1144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1145"><td class="num" id="LN1145">1145</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1146"><td class="num" id="LN1146">1146</td><td class="line">eom_job_save_progress_cb (EomJobSave *job, <span class='keyword'>float</span> progress, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1147"><td class="num" id="LN1147">1147</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1148"><td class="num" id="LN1148">1148</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1149"><td class="num" id="LN1149">1149</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="1150"><td class="num" id="LN1150">1150</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1151"><td class="num" id="LN1151">1151</td><td class="line"> <span class='keyword'>static</span> EomImage *image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1152"><td class="num" id="LN1152">1152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1153"><td class="num" id="LN1153">1153</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1154"><td class="num" id="LN1154">1154</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1155"><td class="num" id="LN1155">1155</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1156"><td class="num" id="LN1156">1156</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1157"><td class="num" id="LN1157">1157</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1158"><td class="num" id="LN1158">1158</td><td class="line"> eom_statusbar_set_progress (<span class='macro'>EOM_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((EomStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((eom_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1159"><td class="num" id="LN1159">1159</td><td class="line"> progress);</td></tr>
+<tr class="codeline" data-linenumber="1160"><td class="num" id="LN1160">1160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1161"><td class="num" id="LN1161">1161</td><td class="line"> <span class='keyword'>if</span> (image != job-&gt;current_image) {</td></tr>
+<tr class="codeline" data-linenumber="1162"><td class="num" id="LN1162">1162</td><td class="line"> gchar *str_image, *status_message;</td></tr>
+<tr class="codeline" data-linenumber="1163"><td class="num" id="LN1163">1163</td><td class="line"> guint n_images;</td></tr>
+<tr class="codeline" data-linenumber="1164"><td class="num" id="LN1164">1164</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1165"><td class="num" id="LN1165">1165</td><td class="line"> image = job-&gt;current_image;</td></tr>
+<tr class="codeline" data-linenumber="1166"><td class="num" id="LN1166">1166</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1167"><td class="num" id="LN1167">1167</td><td class="line"> n_images = g_list_length (job-&gt;images);</td></tr>
+<tr class="codeline" data-linenumber="1168"><td class="num" id="LN1168">1168</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1169"><td class="num" id="LN1169">1169</td><td class="line"> str_image = eom_image_get_uri_for_display (image);</td></tr>
+<tr class="codeline" data-linenumber="1170"><td class="num" id="LN1170">1170</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1171"><td class="num" id="LN1171">1171</td><td class="line"> <span class='comment'>/* Translators: This string is displayed in the statusbar</span></td></tr>
+<tr class="codeline" data-linenumber="1172"><td class="num" id="LN1172">1172</td><td class="line"> <span class='comment'>* while saving images. The tokens are from left to right:</span></td></tr>
+<tr class="codeline" data-linenumber="1173"><td class="num" id="LN1173">1173</td><td class="line"> <span class='comment'>* - the original filename</span></td></tr>
+<tr class="codeline" data-linenumber="1174"><td class="num" id="LN1174">1174</td><td class="line"> <span class='comment'>* - the current image's position in the queue</span></td></tr>
+<tr class="codeline" data-linenumber="1175"><td class="num" id="LN1175">1175</td><td class="line"> <span class='comment'>* - the total number of images queued for saving */</span></td></tr>
+<tr class="codeline" data-linenumber="1176"><td class="num" id="LN1176">1176</td><td class="line"> status_message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Saving image \"%s\" (%u/%u)"</span>)<span class='macro_popup'>gettext ("Saving image \"%s\" (%u/%u)")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1177"><td class="num" id="LN1177">1177</td><td class="line"> str_image,</td></tr>
+<tr class="codeline" data-linenumber="1178"><td class="num" id="LN1178">1178</td><td class="line"> job-&gt;current_pos + 1,</td></tr>
+<tr class="codeline" data-linenumber="1179"><td class="num" id="LN1179">1179</td><td class="line"> n_images);</td></tr>
+<tr class="codeline" data-linenumber="1180"><td class="num" id="LN1180">1180</td><td class="line"> g_free (str_image);</td></tr>
+<tr class="codeline" data-linenumber="1181"><td class="num" id="LN1181">1181</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1182"><td class="num" id="LN1182">1182</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1183"><td class="num" id="LN1183">1183</td><td class="line"> priv-&gt;image_info_message_cid);</td></tr>
+<tr class="codeline" data-linenumber="1184"><td class="num" id="LN1184">1184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1185"><td class="num" id="LN1185">1185</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1186"><td class="num" id="LN1186">1186</td><td class="line"> priv-&gt;image_info_message_cid,</td></tr>
+<tr class="codeline" data-linenumber="1187"><td class="num" id="LN1187">1187</td><td class="line"> status_message);</td></tr>
+<tr class="codeline" data-linenumber="1188"><td class="num" id="LN1188">1188</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1189"><td class="num" id="LN1189">1189</td><td class="line"> g_free (status_message);</td></tr>
+<tr class="codeline" data-linenumber="1190"><td class="num" id="LN1190">1190</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1191"><td class="num" id="LN1191">1191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1192"><td class="num" id="LN1192">1192</td><td class="line"> <span class='keyword'>if</span> (progress == 1.0)</td></tr>
+<tr class="codeline" data-linenumber="1193"><td class="num" id="LN1193">1193</td><td class="line"> image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1194"><td class="num" id="LN1194">1194</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1195"><td class="num" id="LN1195">1195</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1196"><td class="num" id="LN1196">1196</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1197"><td class="num" id="LN1197">1197</td><td class="line">eom_window_obtain_desired_size (EomImage *image,</td></tr>
+<tr class="codeline" data-linenumber="1198"><td class="num" id="LN1198">1198</td><td class="line"> gint width,</td></tr>
+<tr class="codeline" data-linenumber="1199"><td class="num" id="LN1199">1199</td><td class="line"> gint height,</td></tr>
+<tr class="codeline" data-linenumber="1200"><td class="num" id="LN1200">1200</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1201"><td class="num" id="LN1201">1201</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1202"><td class="num" id="LN1202">1202</td><td class="line"> GdkScreen *screen;</td></tr>
+<tr class="codeline" data-linenumber="1203"><td class="num" id="LN1203">1203</td><td class="line"> GdkDisplay *display;</td></tr>
+<tr class="codeline" data-linenumber="1204"><td class="num" id="LN1204">1204</td><td class="line"> GdkRectangle monitor;</td></tr>
+<tr class="codeline" data-linenumber="1205"><td class="num" id="LN1205">1205</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="1206"><td class="num" id="LN1206">1206</td><td class="line"> gint final_width, final_height;</td></tr>
+<tr class="codeline" data-linenumber="1207"><td class="num" id="LN1207">1207</td><td class="line"> gint screen_width, screen_height;</td></tr>
+<tr class="codeline" data-linenumber="1208"><td class="num" id="LN1208">1208</td><td class="line"> gint window_width, window_height;</td></tr>
+<tr class="codeline" data-linenumber="1209"><td class="num" id="LN1209">1209</td><td class="line"> gint img_width, img_height;</td></tr>
+<tr class="codeline" data-linenumber="1210"><td class="num" id="LN1210">1210</td><td class="line"> gint view_width, view_height;</td></tr>
+<tr class="codeline" data-linenumber="1211"><td class="num" id="LN1211">1211</td><td class="line"> gint deco_width, deco_height;</td></tr>
+<tr class="codeline" data-linenumber="1212"><td class="num" id="LN1212">1212</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1213"><td class="num" id="LN1213">1213</td><td class="line"> update_action_groups_state (window);</td></tr>
+<tr class="codeline" data-linenumber="1214"><td class="num" id="LN1214">1214</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1215"><td class="num" id="LN1215">1215</td><td class="line"> img_width = width;</td></tr>
+<tr class="codeline" data-linenumber="1216"><td class="num" id="LN1216">1216</td><td class="line"> img_height = height;</td></tr>
+<tr class="codeline" data-linenumber="1217"><td class="num" id="LN1217">1217</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1218"><td class="num" id="LN1218">1218</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_realized (window-&gt;priv-&gt;view)) {</td></tr>
+<tr class="codeline" data-linenumber="1219"><td class="num" id="LN1219">1219</td><td class="line"> gtk_widget_realize (window-&gt;priv-&gt;view);</td></tr>
+<tr class="codeline" data-linenumber="1220"><td class="num" id="LN1220">1220</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1221"><td class="num" id="LN1221">1221</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1222"><td class="num" id="LN1222">1222</td><td class="line"> gtk_widget_get_allocation (window-&gt;priv-&gt;view, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="1223"><td class="num" id="LN1223">1223</td><td class="line"> view_width = allocation.width;</td></tr>
+<tr class="codeline" data-linenumber="1224"><td class="num" id="LN1224">1224</td><td class="line"> view_height = allocation.height;</td></tr>
+<tr class="codeline" data-linenumber="1225"><td class="num" id="LN1225">1225</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1226"><td class="num" id="LN1226">1226</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_realized (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="1227"><td class="num" id="LN1227">1227</td><td class="line"> gtk_widget_realize (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1228"><td class="num" id="LN1228">1228</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1229"><td class="num" id="LN1229">1229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1230"><td class="num" id="LN1230">1230</td><td class="line"> gtk_widget_get_allocation (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="1231"><td class="num" id="LN1231">1231</td><td class="line"> window_width = allocation.width;</td></tr>
+<tr class="codeline" data-linenumber="1232"><td class="num" id="LN1232">1232</td><td class="line"> window_height = allocation.height;</td></tr>
+<tr class="codeline" data-linenumber="1233"><td class="num" id="LN1233">1233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1234"><td class="num" id="LN1234">1234</td><td class="line"> screen = gtk_window_get_screen (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1235"><td class="num" id="LN1235">1235</td><td class="line"> display = gdk_screen_get_display (screen);</td></tr>
+<tr class="codeline" data-linenumber="1236"><td class="num" id="LN1236">1236</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1237"><td class="num" id="LN1237">1237</td><td class="line"> gdk_monitor_get_geometry (gdk_display_get_monitor_at_window (display,</td></tr>
+<tr class="codeline" data-linenumber="1238"><td class="num" id="LN1238">1238</td><td class="line"> gtk_widget_get_window (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>)),</td></tr>
+<tr class="codeline" data-linenumber="1239"><td class="num" id="LN1239">1239</td><td class="line"> &amp;monitor);</td></tr>
+<tr class="codeline" data-linenumber="1240"><td class="num" id="LN1240">1240</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1241"><td class="num" id="LN1241">1241</td><td class="line"> screen_width = monitor.width;</td></tr>
+<tr class="codeline" data-linenumber="1242"><td class="num" id="LN1242">1242</td><td class="line"> screen_height = monitor.height;</td></tr>
+<tr class="codeline" data-linenumber="1243"><td class="num" id="LN1243">1243</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1244"><td class="num" id="LN1244">1244</td><td class="line"> deco_width = window_width - view_width;</td></tr>
+<tr class="codeline" data-linenumber="1245"><td class="num" id="LN1245">1245</td><td class="line"> deco_height = window_height - view_height;</td></tr>
+<tr class="codeline" data-linenumber="1246"><td class="num" id="LN1246">1246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1247"><td class="num" id="LN1247">1247</td><td class="line"> <span class='keyword'>if</span> (img_width &gt; 0 &amp;&amp; img_height &gt; 0) {</td></tr>
+<tr class="codeline" data-linenumber="1248"><td class="num" id="LN1248">1248</td><td class="line"> <span class='keyword'>if</span> ((img_width + deco_width &gt; screen_width) ||</td></tr>
+<tr class="codeline" data-linenumber="1249"><td class="num" id="LN1249">1249</td><td class="line"> (img_height + deco_height &gt; screen_height))</td></tr>
+<tr class="codeline" data-linenumber="1250"><td class="num" id="LN1250">1250</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1251"><td class="num" id="LN1251">1251</td><td class="line"> <span class='keyword'>double</span> factor;</td></tr>
+<tr class="codeline" data-linenumber="1252"><td class="num" id="LN1252">1252</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1253"><td class="num" id="LN1253">1253</td><td class="line"> <span class='keyword'>if</span> (img_width &gt; img_height) {</td></tr>
+<tr class="codeline" data-linenumber="1254"><td class="num" id="LN1254">1254</td><td class="line"> factor = (screen_width * 0.75 - deco_width) / (<span class='keyword'>double</span>) img_width;</td></tr>
+<tr class="codeline" data-linenumber="1255"><td class="num" id="LN1255">1255</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1256"><td class="num" id="LN1256">1256</td><td class="line"> factor = (screen_height * 0.75 - deco_height) / (<span class='keyword'>double</span>) img_height;</td></tr>
+<tr class="codeline" data-linenumber="1257"><td class="num" id="LN1257">1257</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1258"><td class="num" id="LN1258">1258</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1259"><td class="num" id="LN1259">1259</td><td class="line"> img_width = img_width * factor;</td></tr>
+<tr class="codeline" data-linenumber="1260"><td class="num" id="LN1260">1260</td><td class="line"> img_height = img_height * factor;</td></tr>
+<tr class="codeline" data-linenumber="1261"><td class="num" id="LN1261">1261</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1262"><td class="num" id="LN1262">1262</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1263"><td class="num" id="LN1263">1263</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1264"><td class="num" id="LN1264">1264</td><td class="line"> final_width = <span class='macro'>MAX (EOM_WINDOW_MIN_WIDTH, img_width + deco_width)<span class='macro_popup'>(((440) &gt; (img_width + deco_width)) ? (440) : (img_width +<br> deco_width))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1265"><td class="num" id="LN1265">1265</td><td class="line"> final_height = <span class='macro'>MAX (EOM_WINDOW_MIN_HEIGHT, img_height + deco_height)<span class='macro_popup'>(((350) &gt; (img_height + deco_height)) ? (350) : (img_height<br> + deco_height))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1266"><td class="num" id="LN1266">1266</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1267"><td class="num" id="LN1267">1267</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1267, ((const char*) (__func__<br>))</span></span>, <span class='string_literal'>"Setting window size: %d x %d"</span>, final_width, final_height);</td></tr>
+<tr class="codeline" data-linenumber="1268"><td class="num" id="LN1268">1268</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1269"><td class="num" id="LN1269">1269</td><td class="line"> gtk_window_set_default_size (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, final_width, final_height);</td></tr>
+<tr class="codeline" data-linenumber="1270"><td class="num" id="LN1270">1270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1271"><td class="num" id="LN1271">1271</td><td class="line"> g_signal_emit (window, signals[SIGNAL_PREPARED], 0);</td></tr>
+<tr class="codeline" data-linenumber="1272"><td class="num" id="LN1272">1272</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1273"><td class="num" id="LN1273">1273</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1274"><td class="num" id="LN1274">1274</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1275"><td class="num" id="LN1275">1275</td><td class="line">eom_window_error_message_area_response (GtkInfoBar *message_area,</td></tr>
+<tr class="codeline" data-linenumber="1276"><td class="num" id="LN1276">1276</td><td class="line"> gint response_id,</td></tr>
+<tr class="codeline" data-linenumber="1277"><td class="num" id="LN1277">1277</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1278"><td class="num" id="LN1278">1278</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1279"><td class="num" id="LN1279">1279</td><td class="line"> <span class='keyword'>if</span> (response_id != GTK_RESPONSE_OK) {</td></tr>
+<tr class="codeline" data-linenumber="1280"><td class="num" id="LN1280">1280</td><td class="line"> eom_window_set_message_area (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1281"><td class="num" id="LN1281">1281</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1282"><td class="num" id="LN1282">1282</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1283"><td class="num" id="LN1283">1283</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1284"><td class="num" id="LN1284">1284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1285"><td class="num" id="LN1285">1285</td><td class="line"> <span class='comment'>/* Trigger loading for current image again */</span></td></tr>
+<tr class="codeline" data-linenumber="1286"><td class="num" id="LN1286">1286</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (window-&gt;priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;thumbview)), ((eom_thumb_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1287"><td class="num" id="LN1287">1287</td><td class="line"> EOM_THUMB_VIEW_SELECT_CURRENT);</td></tr>
+<tr class="codeline" data-linenumber="1288"><td class="num" id="LN1288">1288</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1289"><td class="num" id="LN1289">1289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1290"><td class="num" id="LN1290">1290</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1291"><td class="num" id="LN1291">1291</td><td class="line">eom_job_load_cb (EomJobLoad *job, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1292"><td class="num" id="LN1292">1292</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1293"><td class="num" id="LN1293">1293</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="1294"><td class="num" id="LN1294">1294</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1295"><td class="num" id="LN1295">1295</td><td class="line"> GtkAction *action_undo, *action_save;</td></tr>
+<tr class="codeline" data-linenumber="1296"><td class="num" id="LN1296">1296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1297"><td class="num" id="LN1297">1297</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1298"><td class="num" id="LN1298">1298</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1299"><td class="num" id="LN1299">1299</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1299, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1300"><td class="num" id="LN1300">1300</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1301"><td class="num" id="LN1301">1301</td><td class="line"> window = <span class='macro'>EOM_WINDOW (data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1302"><td class="num" id="LN1302">1302</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1303"><td class="num" id="LN1303">1303</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1304"><td class="num" id="LN1304">1304</td><td class="line"> eom_statusbar_set_progress (<span class='macro'>EOM_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((EomStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((eom_statusbar_get_type ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="1305"><td class="num" id="LN1305">1305</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1306"><td class="num" id="LN1306">1306</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1307"><td class="num" id="LN1307">1307</td><td class="line"> priv-&gt;image_info_message_cid);</td></tr>
+<tr class="codeline" data-linenumber="1308"><td class="num" id="LN1308">1308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1309"><td class="num" id="LN1309">1309</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1310"><td class="num" id="LN1310">1310</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;image,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_thumb_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1311"><td class="num" id="LN1311">1311</td><td class="line"> <span class='macro'>image_thumb_changed_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_thumb_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1312"><td class="num" id="LN1312">1312</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_thumb_changed_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1313"><td class="num" id="LN1313">1313</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;image,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_file_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1314"><td class="num" id="LN1314">1314</td><td class="line"> <span class='macro'>image_file_changed_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_file_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1315"><td class="num" id="LN1315">1315</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_file_changed_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1316"><td class="num" id="LN1316">1316</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1317"><td class="num" id="LN1317">1317</td><td class="line"> g_object_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="1318"><td class="num" id="LN1318">1318</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1319"><td class="num" id="LN1319">1319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1320"><td class="num" id="LN1320">1320</td><td class="line"> priv-&gt;image = <span class='macro'>g_object_ref (job-&gt;image)<span class='macro_popup'>((__typeof__ (job-&gt;image)) (g_object_ref) (job-&gt;image))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1321"><td class="num" id="LN1321">1321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1322"><td class="num" id="LN1322">1322</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>EOM_JOB (job)<span class='macro_popup'>((((EomJob*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((job)), ((eom_job_get_type()))))))</span></span>-&gt;error == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1323"><td class="num" id="LN1323">1323</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="1324"><td class="num" id="LN1324">1324</td><td class="line"> eom_image_apply_display_profile (job-&gt;image,</td></tr>
+<tr class="codeline" data-linenumber="1325"><td class="num" id="LN1325">1325</td><td class="line"> priv-&gt;display_profile);</td></tr>
+<tr class="codeline" data-linenumber="1326"><td class="num" id="LN1326">1326</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="1327"><td class="num" id="LN1327">1327</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1328"><td class="num" id="LN1328">1328</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1329"><td class="num" id="LN1329">1329</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_image, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1330"><td class="num" id="LN1330">1330</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1331"><td class="num" id="LN1331">1331</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1332"><td class="num" id="LN1332">1332</td><td class="line"> eom_window_display_image (window, job-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="1333"><td class="num" id="LN1333">1333</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1334"><td class="num" id="LN1334">1334</td><td class="line"> GtkWidget *message_area;</td></tr>
+<tr class="codeline" data-linenumber="1335"><td class="num" id="LN1335">1335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1336"><td class="num" id="LN1336">1336</td><td class="line"> message_area = eom_image_load_error_message_area_new (</td></tr>
+<tr class="codeline" data-linenumber="1337"><td class="num" id="LN1337">1337</td><td class="line"> eom_image_get_caption (job-&gt;image),</td></tr>
+<tr class="codeline" data-linenumber="1338"><td class="num" id="LN1338">1338</td><td class="line"> <span class='macro'>EOM_JOB (job)<span class='macro_popup'>((((EomJob*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((job)), ((eom_job_get_type()))))))</span></span>-&gt;error);</td></tr>
+<tr class="codeline" data-linenumber="1339"><td class="num" id="LN1339">1339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1340"><td class="num" id="LN1340">1340</td><td class="line"> <span class='macro'>g_signal_connect (message_area, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((message_area), ("response"), (((GCallback<br>) (eom_window_error_message_area_response))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1341"><td class="num" id="LN1341">1341</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_error_message_area_response),<span class='macro_popup'>g_signal_connect_data ((message_area), ("response"), (((GCallback<br>) (eom_window_error_message_area_response))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1342"><td class="num" id="LN1342">1342</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((message_area), ("response"), (((GCallback<br>) (eom_window_error_message_area_response))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1343"><td class="num" id="LN1343">1343</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1344"><td class="num" id="LN1344">1344</td><td class="line"> gtk_window_set_icon (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1345"><td class="num" id="LN1345">1345</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1346"><td class="num" id="LN1346">1346</td><td class="line"> eom_image_get_caption (job-&gt;image));</td></tr>
+<tr class="codeline" data-linenumber="1347"><td class="num" id="LN1347">1347</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1348"><td class="num" id="LN1348">1348</td><td class="line"> eom_window_set_message_area (window, message_area);</td></tr>
+<tr class="codeline" data-linenumber="1349"><td class="num" id="LN1349">1349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1350"><td class="num" id="LN1350">1350</td><td class="line"> gtk_info_bar_set_default_response (<span class='macro'>GTK_INFO_BAR (message_area)<span class='macro_popup'>((((GtkInfoBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((message_area)), ((gtk_info_bar_get_type()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1351"><td class="num" id="LN1351">1351</td><td class="line"> GTK_RESPONSE_CANCEL);</td></tr>
+<tr class="codeline" data-linenumber="1352"><td class="num" id="LN1352">1352</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1353"><td class="num" id="LN1353">1353</td><td class="line"> gtk_widget_show (message_area);</td></tr>
+<tr class="codeline" data-linenumber="1354"><td class="num" id="LN1354">1354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1355"><td class="num" id="LN1355">1355</td><td class="line"> update_status_bar (window);</td></tr>
+<tr class="codeline" data-linenumber="1356"><td class="num" id="LN1356">1356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1357"><td class="num" id="LN1357">1357</td><td class="line"> eom_scroll_view_set_image (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1358"><td class="num" id="LN1358">1358</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1359"><td class="num" id="LN1359">1359</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;status == EOM_WINDOW_STATUS_INIT) {</td></tr>
+<tr class="codeline" data-linenumber="1360"><td class="num" id="LN1360">1360</td><td class="line"> update_action_groups_state (window);</td></tr>
+<tr class="codeline" data-linenumber="1361"><td class="num" id="LN1361">1361</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1362"><td class="num" id="LN1362">1362</td><td class="line"> g_signal_emit (window, signals[SIGNAL_PREPARED], 0);</td></tr>
+<tr class="codeline" data-linenumber="1363"><td class="num" id="LN1363">1363</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1364"><td class="num" id="LN1364">1364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1365"><td class="num" id="LN1365">1365</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1366"><td class="num" id="LN1366">1366</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_image, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1367"><td class="num" id="LN1367">1367</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1368"><td class="num" id="LN1368">1368</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1369"><td class="num" id="LN1369">1369</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1370"><td class="num" id="LN1370">1370</td><td class="line"> eom_window_clear_load_job (window);</td></tr>
+<tr class="codeline" data-linenumber="1371"><td class="num" id="LN1371">1371</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1372"><td class="num" id="LN1372">1372</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;status == EOM_WINDOW_STATUS_INIT) {</td></tr>
+<tr class="codeline" data-linenumber="1373"><td class="num" id="LN1373">1373</td><td class="line"> window-&gt;priv-&gt;status = EOM_WINDOW_STATUS_NORMAL;</td></tr>
+<tr class="codeline" data-linenumber="1374"><td class="num" id="LN1374">1374</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1375"><td class="num" id="LN1375">1375</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (job-&gt;image,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_obtain_desired_size), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1376"><td class="num" id="LN1376">1376</td><td class="line"> <span class='macro'>eom_window_obtain_desired_size,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_obtain_desired_size), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1377"><td class="num" id="LN1377">1377</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_obtain_desired_size), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1378"><td class="num" id="LN1378">1378</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1379"><td class="num" id="LN1379">1379</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1380"><td class="num" id="LN1380">1380</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1381"><td class="num" id="LN1381">1381</td><td class="line"> action_save = gtk_action_group_get_action (priv-&gt;actions_image, <span class='string_literal'>"ImageSave"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1382"><td class="num" id="LN1382">1382</td><td class="line"> action_undo = gtk_action_group_get_action (priv-&gt;actions_image, <span class='string_literal'>"EditUndo"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1383"><td class="num" id="LN1383">1383</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1384"><td class="num" id="LN1384">1384</td><td class="line"> <span class='comment'>/* Set Save and Undo sensitive according to image state.</span></td></tr>
+<tr class="codeline" data-linenumber="1385"><td class="num" id="LN1385">1385</td><td class="line"> <span class='comment'>* Respect lockdown in case of Save.*/</span></td></tr>
+<tr class="codeline" data-linenumber="1386"><td class="num" id="LN1386">1386</td><td class="line"> gtk_action_set_sensitive (action_save, (!priv-&gt;save_disabled &amp;&amp; eom_image_is_modified (job-&gt;image)));</td></tr>
+<tr class="codeline" data-linenumber="1387"><td class="num" id="LN1387">1387</td><td class="line"> gtk_action_set_sensitive (action_undo, eom_image_is_modified (job-&gt;image));</td></tr>
+<tr class="codeline" data-linenumber="1388"><td class="num" id="LN1388">1388</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1389"><td class="num" id="LN1389">1389</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1390"><td class="num" id="LN1390">1390</td><td class="line"> g_object_unref (job-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="1391"><td class="num" id="LN1391">1391</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1392"><td class="num" id="LN1392">1392</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1393"><td class="num" id="LN1393">1393</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1394"><td class="num" id="LN1394">1394</td><td class="line">eom_window_clear_transform_job (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1395"><td class="num" id="LN1395">1395</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1396"><td class="num" id="LN1396">1396</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1397"><td class="num" id="LN1397">1397</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1398"><td class="num" id="LN1398">1398</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;transform_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1399"><td class="num" id="LN1399">1399</td><td class="line"> <span class='keyword'>if</span> (!priv-&gt;transform_job-&gt;finished)</td></tr>
+<tr class="codeline" data-linenumber="1400"><td class="num" id="LN1400">1400</td><td class="line"> eom_job_queue_remove_job (priv-&gt;transform_job);</td></tr>
+<tr class="codeline" data-linenumber="1401"><td class="num" id="LN1401">1401</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1402"><td class="num" id="LN1402">1402</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;transform_job,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;transform_job<br>), (GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA<br>), 0, 0, ((void*)0), (eom_job_transform_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1403"><td class="num" id="LN1403">1403</td><td class="line"> <span class='macro'>eom_job_transform_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;transform_job<br>), (GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA<br>), 0, 0, ((void*)0), (eom_job_transform_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1404"><td class="num" id="LN1404">1404</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;transform_job<br>), (GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA<br>), 0, 0, ((void*)0), (eom_job_transform_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1405"><td class="num" id="LN1405">1405</td><td class="line"> g_object_unref (priv-&gt;transform_job);</td></tr>
+<tr class="codeline" data-linenumber="1406"><td class="num" id="LN1406">1406</td><td class="line"> priv-&gt;transform_job = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1407"><td class="num" id="LN1407">1407</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1408"><td class="num" id="LN1408">1408</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1409"><td class="num" id="LN1409">1409</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1410"><td class="num" id="LN1410">1410</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1411"><td class="num" id="LN1411">1411</td><td class="line">eom_job_transform_cb (EomJobTransform *job, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1412"><td class="num" id="LN1412">1412</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1413"><td class="num" id="LN1413">1413</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="1414"><td class="num" id="LN1414">1414</td><td class="line"> GtkAction *action_undo, *action_save;</td></tr>
+<tr class="codeline" data-linenumber="1415"><td class="num" id="LN1415">1415</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="1416"><td class="num" id="LN1416">1416</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1417"><td class="num" id="LN1417">1417</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1418"><td class="num" id="LN1418">1418</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1419"><td class="num" id="LN1419">1419</td><td class="line"> window = <span class='macro'>EOM_WINDOW (data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1420"><td class="num" id="LN1420">1420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1421"><td class="num" id="LN1421">1421</td><td class="line"> eom_window_clear_transform_job (window);</td></tr>
+<tr class="codeline" data-linenumber="1422"><td class="num" id="LN1422">1422</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1423"><td class="num" id="LN1423">1423</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1424"><td class="num" id="LN1424">1424</td><td class="line"> action_undo =</td></tr>
+<tr class="codeline" data-linenumber="1425"><td class="num" id="LN1425">1425</td><td class="line"> gtk_action_group_get_action (window-&gt;priv-&gt;actions_image, <span class='string_literal'>"EditUndo"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1426"><td class="num" id="LN1426">1426</td><td class="line"> action_save =</td></tr>
+<tr class="codeline" data-linenumber="1427"><td class="num" id="LN1427">1427</td><td class="line"> gtk_action_group_get_action (window-&gt;priv-&gt;actions_image, <span class='string_literal'>"ImageSave"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1428"><td class="num" id="LN1428">1428</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1429"><td class="num" id="LN1429">1429</td><td class="line"> image = eom_window_get_image (window);</td></tr>
+<tr class="codeline" data-linenumber="1430"><td class="num" id="LN1430">1430</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1431"><td class="num" id="LN1431">1431</td><td class="line"> gtk_action_set_sensitive (action_undo, eom_image_is_modified (image));</td></tr>
+<tr class="codeline" data-linenumber="1432"><td class="num" id="LN1432">1432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1433"><td class="num" id="LN1433">1433</td><td class="line"> <span class='keyword'>if</span> (!window-&gt;priv-&gt;save_disabled)</td></tr>
+<tr class="codeline" data-linenumber="1434"><td class="num" id="LN1434">1434</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1435"><td class="num" id="LN1435">1435</td><td class="line"> gtk_action_set_sensitive (action_save, eom_image_is_modified (image));</td></tr>
+<tr class="codeline" data-linenumber="1436"><td class="num" id="LN1436">1436</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1437"><td class="num" id="LN1437">1437</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1438"><td class="num" id="LN1438">1438</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1439"><td class="num" id="LN1439">1439</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1440"><td class="num" id="LN1440">1440</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1441"><td class="num" id="LN1441">1441</td><td class="line">apply_transformation (EomWindow *window, EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="1442"><td class="num" id="LN1442">1442</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1443"><td class="num" id="LN1443">1443</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1444"><td class="num" id="LN1444">1444</td><td class="line"> GList *images;</td></tr>
+<tr class="codeline" data-linenumber="1445"><td class="num" id="LN1445">1445</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1446"><td class="num" id="LN1446">1446</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1447"><td class="num" id="LN1447">1447</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1448"><td class="num" id="LN1448">1448</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1449"><td class="num" id="LN1449">1449</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1450"><td class="num" id="LN1450">1450</td><td class="line"> images = eom_thumb_view_get_selected_images (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1451"><td class="num" id="LN1451">1451</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1452"><td class="num" id="LN1452">1452</td><td class="line"> eom_window_clear_transform_job (window);</td></tr>
+<tr class="codeline" data-linenumber="1453"><td class="num" id="LN1453">1453</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1454"><td class="num" id="LN1454">1454</td><td class="line"> priv-&gt;transform_job = eom_job_transform_new (images, trans);</td></tr>
+<tr class="codeline" data-linenumber="1455"><td class="num" id="LN1455">1455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1456"><td class="num" id="LN1456">1456</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;transform_job, <span class='string_literal'>"finished"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;transform_job), ("finished")<br>, (((GCallback) (eom_job_transform_cb))), (window), ((void*)0<br>), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1457"><td class="num" id="LN1457">1457</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_transform_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;transform_job), ("finished")<br>, (((GCallback) (eom_job_transform_cb))), (window), ((void*)0<br>), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1458"><td class="num" id="LN1458">1458</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;transform_job), ("finished")<br>, (((GCallback) (eom_job_transform_cb))), (window), ((void*)0<br>), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1459"><td class="num" id="LN1459">1459</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1460"><td class="num" id="LN1460">1460</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;transform_job, <span class='string_literal'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;transform_job), ("progress")<br>, (((GCallback) (eom_job_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1461"><td class="num" id="LN1461">1461</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_progress_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;transform_job), ("progress")<br>, (((GCallback) (eom_job_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1462"><td class="num" id="LN1462">1462</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;transform_job), ("progress")<br>, (((GCallback) (eom_job_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1463"><td class="num" id="LN1463">1463</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1464"><td class="num" id="LN1464">1464</td><td class="line"> eom_job_queue_add_job (priv-&gt;transform_job);</td></tr>
+<tr class="codeline" data-linenumber="1465"><td class="num" id="LN1465">1465</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1466"><td class="num" id="LN1466">1466</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1467"><td class="num" id="LN1467">1467</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1468"><td class="num" id="LN1468">1468</td><td class="line">handle_image_selection_changed_cb (EomThumbView *thumbview, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1469"><td class="num" id="LN1469">1469</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1470"><td class="num" id="LN1470">1470</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1471"><td class="num" id="LN1471">1471</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="1472"><td class="num" id="LN1472">1472</td><td class="line"> gchar *status_message;</td></tr>
+<tr class="codeline" data-linenumber="1473"><td class="num" id="LN1473">1473</td><td class="line"> gchar *str_image;</td></tr>
+<tr class="codeline" data-linenumber="1474"><td class="num" id="LN1474">1474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1475"><td class="num" id="LN1475">1475</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1476"><td class="num" id="LN1476">1476</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1477"><td class="num" id="LN1477">1477</td><td class="line"> <span class='keyword'>if</span> (eom_list_store_length (<span class='macro'>EOM_LIST_STORE (priv-&gt;store)<span class='macro_popup'>((((EomListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), (eom_list_store_get_type())))))</span></span>) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="1478"><td class="num" id="LN1478">1478</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1479"><td class="num" id="LN1479">1479</td><td class="line"> g_get_application_name());</td></tr>
+<tr class="codeline" data-linenumber="1480"><td class="num" id="LN1480">1480</td><td class="line"> gtk_statusbar_remove_all (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1481"><td class="num" id="LN1481">1481</td><td class="line"> priv-&gt;image_info_message_cid);</td></tr>
+<tr class="codeline" data-linenumber="1482"><td class="num" id="LN1482">1482</td><td class="line"> eom_scroll_view_set_image (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1483"><td class="num" id="LN1483">1483</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1484"><td class="num" id="LN1484">1484</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1485"><td class="num" id="LN1485">1485</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1486"><td class="num" id="LN1486">1486</td><td class="line"> <span class='keyword'>if</span> (eom_thumb_view_get_n_selected (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>) == 0)</td></tr>
+<tr class="codeline" data-linenumber="1487"><td class="num" id="LN1487">1487</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1488"><td class="num" id="LN1488">1488</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1489"><td class="num" id="LN1489">1489</td><td class="line"> update_selection_ui_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="1490"><td class="num" id="LN1490">1490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1491"><td class="num" id="LN1491">1491</td><td class="line"> image = eom_thumb_view_get_first_selected_image (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1492"><td class="num" id="LN1492">1492</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1493"><td class="num" id="LN1493">1493</td><td class="line"> <span class='macro'>g_assert (EOM_IS_IMAGE (image))<span class='macro_popup'>do { if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((image)); GType __t = ((eom_image_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))) ; else<br> g_assertion_message_expr ("EOM", "eom-window.c", 1493, ((const<br> char*) (__func__)), "EOM_IS_IMAGE (image)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1494"><td class="num" id="LN1494">1494</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1495"><td class="num" id="LN1495">1495</td><td class="line"> eom_window_clear_load_job (window);</td></tr>
+<tr class="codeline" data-linenumber="1496"><td class="num" id="LN1496">1496</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1497"><td class="num" id="LN1497">1497</td><td class="line"> eom_window_set_message_area (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1498"><td class="num" id="LN1498">1498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1499"><td class="num" id="LN1499">1499</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1500"><td class="num" id="LN1500">1500</td><td class="line"> priv-&gt;image_info_message_cid);</td></tr>
+<tr class="codeline" data-linenumber="1501"><td class="num" id="LN1501">1501</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1502"><td class="num" id="LN1502">1502</td><td class="line"> <span class='keyword'>if</span> (image == priv-&gt;image) {</td></tr>
+<tr class="codeline" data-linenumber="1503"><td class="num" id="LN1503">1503</td><td class="line"> update_status_bar (window);</td></tr>
+<tr class="codeline" data-linenumber="1504"><td class="num" id="LN1504">1504</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1505"><td class="num" id="LN1505">1505</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1506"><td class="num" id="LN1506">1506</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1507"><td class="num" id="LN1507">1507</td><td class="line"> <span class='keyword'>if</span> (eom_image_has_data (image, EOM_IMAGE_DATA_IMAGE)) {</td></tr>
+<tr class="codeline" data-linenumber="1508"><td class="num" id="LN1508">1508</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1509"><td class="num" id="LN1509">1509</td><td class="line"> g_object_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="1510"><td class="num" id="LN1510">1510</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1511"><td class="num" id="LN1511">1511</td><td class="line"> priv-&gt;image = image;</td></tr>
+<tr class="codeline" data-linenumber="1512"><td class="num" id="LN1512">1512</td><td class="line"> eom_window_display_image (window, image);</td></tr>
+<tr class="codeline" data-linenumber="1513"><td class="num" id="LN1513">1513</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1514"><td class="num" id="LN1514">1514</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1515"><td class="num" id="LN1515">1515</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1516"><td class="num" id="LN1516">1516</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;status == EOM_WINDOW_STATUS_INIT) {</td></tr>
+<tr class="codeline" data-linenumber="1517"><td class="num" id="LN1517">1517</td><td class="line"> <span class='macro'>g_signal_connect (image, <span class='string_literal'>"size-prepared"</span>,<span class='macro_popup'>g_signal_connect_data ((image), ("size-prepared"), (((GCallback<br>) (eom_window_obtain_desired_size))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1518"><td class="num" id="LN1518">1518</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_obtain_desired_size),<span class='macro_popup'>g_signal_connect_data ((image), ("size-prepared"), (((GCallback<br>) (eom_window_obtain_desired_size))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1519"><td class="num" id="LN1519">1519</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((image), ("size-prepared"), (((GCallback<br>) (eom_window_obtain_desired_size))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1520"><td class="num" id="LN1520">1520</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1521"><td class="num" id="LN1521">1521</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1522"><td class="num" id="LN1522">1522</td><td class="line"> priv-&gt;load_job = eom_job_load_new (image, <span class='macro'>EOM_IMAGE_DATA_ALL<span class='macro_popup'>(EOM_IMAGE_DATA_IMAGE | EOM_IMAGE_DATA_DIMENSION | EOM_IMAGE_DATA_EXIF<br> | EOM_IMAGE_DATA_XMP)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1523"><td class="num" id="LN1523">1523</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1524"><td class="num" id="LN1524">1524</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;load_job, <span class='string_literal'>"finished"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;load_job), ("finished"), (((<br>GCallback) (eom_job_load_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1525"><td class="num" id="LN1525">1525</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_load_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;load_job), ("finished"), (((<br>GCallback) (eom_job_load_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1526"><td class="num" id="LN1526">1526</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;load_job), ("finished"), (((<br>GCallback) (eom_job_load_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1527"><td class="num" id="LN1527">1527</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1528"><td class="num" id="LN1528">1528</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;load_job, <span class='string_literal'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;load_job), ("progress"), (((<br>GCallback) (eom_job_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1529"><td class="num" id="LN1529">1529</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_progress_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;load_job), ("progress"), (((<br>GCallback) (eom_job_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1530"><td class="num" id="LN1530">1530</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;load_job), ("progress"), (((<br>GCallback) (eom_job_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1531"><td class="num" id="LN1531">1531</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1532"><td class="num" id="LN1532">1532</td><td class="line"> eom_job_queue_add_job (priv-&gt;load_job);</td></tr>
+<tr class="codeline" data-linenumber="1533"><td class="num" id="LN1533">1533</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1534"><td class="num" id="LN1534">1534</td><td class="line"> str_image = eom_image_get_uri_for_display (image);</td></tr>
+<tr class="codeline" data-linenumber="1535"><td class="num" id="LN1535">1535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1536"><td class="num" id="LN1536">1536</td><td class="line"> status_message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Opening image \"%s\""</span>)<span class='macro_popup'>gettext ("Opening image \"%s\"")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1537"><td class="num" id="LN1537">1537</td><td class="line"> str_image);</td></tr>
+<tr class="codeline" data-linenumber="1538"><td class="num" id="LN1538">1538</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1539"><td class="num" id="LN1539">1539</td><td class="line"> g_free (str_image);</td></tr>
+<tr class="codeline" data-linenumber="1540"><td class="num" id="LN1540">1540</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1541"><td class="num" id="LN1541">1541</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1542"><td class="num" id="LN1542">1542</td><td class="line"> priv-&gt;image_info_message_cid, status_message);</td></tr>
+<tr class="codeline" data-linenumber="1543"><td class="num" id="LN1543">1543</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1544"><td class="num" id="LN1544">1544</td><td class="line"> g_free (status_message);</td></tr>
+<tr class="codeline" data-linenumber="1545"><td class="num" id="LN1545">1545</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1546"><td class="num" id="LN1546">1546</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1547"><td class="num" id="LN1547">1547</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1548"><td class="num" id="LN1548">1548</td><td class="line">view_zoom_changed_cb (GtkWidget *widget, <span class='keyword'>double</span> zoom, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1549"><td class="num" id="LN1549">1549</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1550"><td class="num" id="LN1550">1550</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="1551"><td class="num" id="LN1551">1551</td><td class="line"> GtkAction *action_zoom_in;</td></tr>
+<tr class="codeline" data-linenumber="1552"><td class="num" id="LN1552">1552</td><td class="line"> GtkAction *action_zoom_out;</td></tr>
+<tr class="codeline" data-linenumber="1553"><td class="num" id="LN1553">1553</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1554"><td class="num" id="LN1554">1554</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1555"><td class="num" id="LN1555">1555</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1556"><td class="num" id="LN1556">1556</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1557"><td class="num" id="LN1557">1557</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1558"><td class="num" id="LN1558">1558</td><td class="line"> update_status_bar (window);</td></tr>
+<tr class="codeline" data-linenumber="1559"><td class="num" id="LN1559">1559</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1560"><td class="num" id="LN1560">1560</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1561"><td class="num" id="LN1561">1561</td><td class="line"> action_zoom_in =</td></tr>
+<tr class="codeline" data-linenumber="1562"><td class="num" id="LN1562">1562</td><td class="line"> gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="1563"><td class="num" id="LN1563">1563</td><td class="line"> <span class='string_literal'>"ViewZoomIn"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1564"><td class="num" id="LN1564">1564</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1565"><td class="num" id="LN1565">1565</td><td class="line"> action_zoom_out =</td></tr>
+<tr class="codeline" data-linenumber="1566"><td class="num" id="LN1566">1566</td><td class="line"> gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="1567"><td class="num" id="LN1567">1567</td><td class="line"> <span class='string_literal'>"ViewZoomOut"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1568"><td class="num" id="LN1568">1568</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1569"><td class="num" id="LN1569">1569</td><td class="line"> gtk_action_set_sensitive (action_zoom_in,</td></tr>
+<tr class="codeline" data-linenumber="1570"><td class="num" id="LN1570">1570</td><td class="line"> !eom_scroll_view_get_zoom_is_max (<span class='macro'>EOM_SCROLL_VIEW (window-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;view)), ((eom_scroll_view_get_type (<br>)))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="1571"><td class="num" id="LN1571">1571</td><td class="line"> gtk_action_set_sensitive (action_zoom_out,</td></tr>
+<tr class="codeline" data-linenumber="1572"><td class="num" id="LN1572">1572</td><td class="line"> !eom_scroll_view_get_zoom_is_min (<span class='macro'>EOM_SCROLL_VIEW (window-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;view)), ((eom_scroll_view_get_type (<br>)))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="1573"><td class="num" id="LN1573">1573</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1574"><td class="num" id="LN1574">1574</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1575"><td class="num" id="LN1575">1575</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1576"><td class="num" id="LN1576">1576</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1577"><td class="num" id="LN1577">1577</td><td class="line">eom_window_open_recent_cb (GtkAction *action, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1578"><td class="num" id="LN1578">1578</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1579"><td class="num" id="LN1579">1579</td><td class="line"> GtkRecentInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="1580"><td class="num" id="LN1580">1580</td><td class="line"> <span class='keyword'>const</span> gchar *uri;</td></tr>
+<tr class="codeline" data-linenumber="1581"><td class="num" id="LN1581">1581</td><td class="line"> GSList *list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1582"><td class="num" id="LN1582">1582</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1583"><td class="num" id="LN1583">1583</td><td class="line"> info = g_object_get_data (<span class='macro'>G_OBJECT (action)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"gtk-recent-info"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1584"><td class="num" id="LN1584">1584</td><td class="line"> <span class='macro'>g_return_if_fail (info != NULL)<span class='macro_popup'>do { if ((info != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "info != NULL"); return;<br> } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1585"><td class="num" id="LN1585">1585</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1586"><td class="num" id="LN1586">1586</td><td class="line"> uri = gtk_recent_info_get_uri (info);</td></tr>
+<tr class="codeline" data-linenumber="1587"><td class="num" id="LN1587">1587</td><td class="line"> list = g_slist_prepend (list, <span class='macro'>g_strdup (uri)<span class='macro_popup'>g_strdup_inline (uri)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1588"><td class="num" id="LN1588">1588</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1589"><td class="num" id="LN1589">1589</td><td class="line"> eom_application_open_uri_list (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1590"><td class="num" id="LN1590">1590</td><td class="line"> list,</td></tr>
+<tr class="codeline" data-linenumber="1591"><td class="num" id="LN1591">1591</td><td class="line"> <span class='macro'>GDK_CURRENT_TIME<span class='macro_popup'>0L</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1592"><td class="num" id="LN1592">1592</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="1593"><td class="num" id="LN1593">1593</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1594"><td class="num" id="LN1594">1594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1595"><td class="num" id="LN1595">1595</td><td class="line"> g_slist_free_full (list, g_free);</td></tr>
+<tr class="codeline" data-linenumber="1596"><td class="num" id="LN1596">1596</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1597"><td class="num" id="LN1597">1597</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1598"><td class="num" id="LN1598">1598</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1599"><td class="num" id="LN1599">1599</td><td class="line">file_open_dialog_response_cb (GtkWidget *chooser,</td></tr>
+<tr class="codeline" data-linenumber="1600"><td class="num" id="LN1600">1600</td><td class="line"> gint response_id,</td></tr>
+<tr class="codeline" data-linenumber="1601"><td class="num" id="LN1601">1601</td><td class="line"> EomWindow *ev_window)</td></tr>
+<tr class="codeline" data-linenumber="1602"><td class="num" id="LN1602">1602</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1603"><td class="num" id="LN1603">1603</td><td class="line"> <span class='keyword'>if</span> (response_id == GTK_RESPONSE_OK) {</td></tr>
+<tr class="codeline" data-linenumber="1604"><td class="num" id="LN1604">1604</td><td class="line"> GSList *uris;</td></tr>
+<tr class="codeline" data-linenumber="1605"><td class="num" id="LN1605">1605</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1606"><td class="num" id="LN1606">1606</td><td class="line"> uris = gtk_file_chooser_get_uris (<span class='macro'>GTK_FILE_CHOOSER (chooser)<span class='macro_popup'>((((GtkFileChooser*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((chooser)), ((gtk_file_chooser_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1607"><td class="num" id="LN1607">1607</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1608"><td class="num" id="LN1608">1608</td><td class="line"> eom_application_open_uri_list (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1609"><td class="num" id="LN1609">1609</td><td class="line"> uris,</td></tr>
+<tr class="codeline" data-linenumber="1610"><td class="num" id="LN1610">1610</td><td class="line"> <span class='macro'>GDK_CURRENT_TIME<span class='macro_popup'>0L</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1611"><td class="num" id="LN1611">1611</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="1612"><td class="num" id="LN1612">1612</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1613"><td class="num" id="LN1613">1613</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1614"><td class="num" id="LN1614">1614</td><td class="line"> g_slist_free_full (uris, g_free);</td></tr>
+<tr class="codeline" data-linenumber="1615"><td class="num" id="LN1615">1615</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1616"><td class="num" id="LN1616">1616</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1617"><td class="num" id="LN1617">1617</td><td class="line"> gtk_widget_destroy (chooser);</td></tr>
+<tr class="codeline" data-linenumber="1618"><td class="num" id="LN1618">1618</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1619"><td class="num" id="LN1619">1619</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1620"><td class="num" id="LN1620">1620</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1621"><td class="num" id="LN1621">1621</td><td class="line">eom_window_update_fullscreen_action (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1622"><td class="num" id="LN1622">1622</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1623"><td class="num" id="LN1623">1623</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="1624"><td class="num" id="LN1624">1624</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1625"><td class="num" id="LN1625">1625</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1626"><td class="num" id="LN1626">1626</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="1627"><td class="num" id="LN1627">1627</td><td class="line"> <span class='string_literal'>"ViewFullscreen"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1628"><td class="num" id="LN1628">1628</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1629"><td class="num" id="LN1629">1629</td><td class="line"> <span class='macro'>g_signal_handlers_block_by_func (action,<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_fullscreen), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1630"><td class="num" id="LN1630">1630</td><td class="line"> <span class='macro'>eom_window_cmd_fullscreen,<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_fullscreen), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1631"><td class="num" id="LN1631">1631</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_fullscreen), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1632"><td class="num" id="LN1632">1632</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1633"><td class="num" id="LN1633">1633</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1634"><td class="num" id="LN1634">1634</td><td class="line"> window-&gt;priv-&gt;mode == EOM_WINDOW_MODE_FULLSCREEN);</td></tr>
+<tr class="codeline" data-linenumber="1635"><td class="num" id="LN1635">1635</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1636"><td class="num" id="LN1636">1636</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1637"><td class="num" id="LN1637">1637</td><td class="line"> <span class='macro'>g_signal_handlers_unblock_by_func (action,<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_fullscreen), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1638"><td class="num" id="LN1638">1638</td><td class="line"> <span class='macro'>eom_window_cmd_fullscreen,<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_fullscreen), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1639"><td class="num" id="LN1639">1639</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_fullscreen), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1640"><td class="num" id="LN1640">1640</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1641"><td class="num" id="LN1641">1641</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1642"><td class="num" id="LN1642">1642</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1643"><td class="num" id="LN1643">1643</td><td class="line">eom_window_update_slideshow_action (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1644"><td class="num" id="LN1644">1644</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1645"><td class="num" id="LN1645">1645</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="1646"><td class="num" id="LN1646">1646</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1647"><td class="num" id="LN1647">1647</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1648"><td class="num" id="LN1648">1648</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="1649"><td class="num" id="LN1649">1649</td><td class="line"> <span class='string_literal'>"ViewSlideshow"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1650"><td class="num" id="LN1650">1650</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1651"><td class="num" id="LN1651">1651</td><td class="line"> <span class='macro'>g_signal_handlers_block_by_func (action,<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1652"><td class="num" id="LN1652">1652</td><td class="line"> <span class='macro'>eom_window_cmd_slideshow,<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1653"><td class="num" id="LN1653">1653</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_slideshow), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1654"><td class="num" id="LN1654">1654</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1655"><td class="num" id="LN1655">1655</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1656"><td class="num" id="LN1656">1656</td><td class="line"> window-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW);</td></tr>
+<tr class="codeline" data-linenumber="1657"><td class="num" id="LN1657">1657</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1658"><td class="num" id="LN1658">1658</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1659"><td class="num" id="LN1659">1659</td><td class="line"> <span class='macro'>g_signal_handlers_unblock_by_func (action,<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1660"><td class="num" id="LN1660">1660</td><td class="line"> <span class='macro'>eom_window_cmd_slideshow,<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1661"><td class="num" id="LN1661">1661</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_slideshow), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1662"><td class="num" id="LN1662">1662</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1663"><td class="num" id="LN1663">1663</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1664"><td class="num" id="LN1664">1664</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1665"><td class="num" id="LN1665">1665</td><td class="line">eom_window_update_pause_slideshow_action (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1666"><td class="num" id="LN1666">1666</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1667"><td class="num" id="LN1667">1667</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="1668"><td class="num" id="LN1668">1668</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1669"><td class="num" id="LN1669">1669</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1670"><td class="num" id="LN1670">1670</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="1671"><td class="num" id="LN1671">1671</td><td class="line"> <span class='string_literal'>"PauseSlideshow"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1672"><td class="num" id="LN1672">1672</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1673"><td class="num" id="LN1673">1673</td><td class="line"> <span class='macro'>g_signal_handlers_block_by_func (action,<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_pause_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1674"><td class="num" id="LN1674">1674</td><td class="line"> <span class='macro'>eom_window_cmd_pause_slideshow,<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_pause_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1675"><td class="num" id="LN1675">1675</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_pause_slideshow), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1676"><td class="num" id="LN1676">1676</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1677"><td class="num" id="LN1677">1677</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1678"><td class="num" id="LN1678">1678</td><td class="line"> window-&gt;priv-&gt;mode != EOM_WINDOW_MODE_SLIDESHOW);</td></tr>
+<tr class="codeline" data-linenumber="1679"><td class="num" id="LN1679">1679</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1680"><td class="num" id="LN1680">1680</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1681"><td class="num" id="LN1681">1681</td><td class="line"> <span class='macro'>g_signal_handlers_unblock_by_func (action,<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_pause_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1682"><td class="num" id="LN1682">1682</td><td class="line"> <span class='macro'>eom_window_cmd_pause_slideshow,<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_pause_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1683"><td class="num" id="LN1683">1683</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_pause_slideshow), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1684"><td class="num" id="LN1684">1684</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1685"><td class="num" id="LN1685">1685</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1686"><td class="num" id="LN1686">1686</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1687"><td class="num" id="LN1687">1687</td><td class="line">eom_window_update_fullscreen_popup (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1688"><td class="num" id="LN1688">1688</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1689"><td class="num" id="LN1689">1689</td><td class="line"> GtkWidget *popup = window-&gt;priv-&gt;fullscreen_popup;</td></tr>
+<tr class="codeline" data-linenumber="1690"><td class="num" id="LN1690">1690</td><td class="line"> GdkRectangle screen_rect;</td></tr>
+<tr class="codeline" data-linenumber="1691"><td class="num" id="LN1691">1691</td><td class="line"> GdkScreen *screen;</td></tr>
+<tr class="codeline" data-linenumber="1692"><td class="num" id="LN1692">1692</td><td class="line"> GdkDisplay *display;</td></tr>
+<tr class="codeline" data-linenumber="1693"><td class="num" id="LN1693">1693</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1694"><td class="num" id="LN1694">1694</td><td class="line"> <span class='macro'>g_return_if_fail (popup != NULL)<span class='macro_popup'>do { if ((popup != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "popup != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1695"><td class="num" id="LN1695">1695</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1696"><td class="num" id="LN1696">1696</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_window (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>) == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1697"><td class="num" id="LN1697">1697</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1698"><td class="num" id="LN1698">1698</td><td class="line"> screen = gtk_widget_get_screen (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1699"><td class="num" id="LN1699">1699</td><td class="line"> display = gdk_screen_get_display (screen);</td></tr>
+<tr class="codeline" data-linenumber="1700"><td class="num" id="LN1700">1700</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1701"><td class="num" id="LN1701">1701</td><td class="line"> gdk_monitor_get_geometry (gdk_display_get_monitor_at_window (display,</td></tr>
+<tr class="codeline" data-linenumber="1702"><td class="num" id="LN1702">1702</td><td class="line"> gtk_widget_get_window (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>)),</td></tr>
+<tr class="codeline" data-linenumber="1703"><td class="num" id="LN1703">1703</td><td class="line"> &amp;screen_rect);</td></tr>
+<tr class="codeline" data-linenumber="1704"><td class="num" id="LN1704">1704</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1705"><td class="num" id="LN1705">1705</td><td class="line"> gtk_widget_set_size_request (popup,</td></tr>
+<tr class="codeline" data-linenumber="1706"><td class="num" id="LN1706">1706</td><td class="line"> screen_rect.width,</td></tr>
+<tr class="codeline" data-linenumber="1707"><td class="num" id="LN1707">1707</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1708"><td class="num" id="LN1708">1708</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1709"><td class="num" id="LN1709">1709</td><td class="line"> gtk_window_move (<span class='macro'>GTK_WINDOW (popup)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((popup)), ((gtk_window_get_type ()))))))</span></span>, screen_rect.x, screen_rect.y);</td></tr>
+<tr class="codeline" data-linenumber="1710"><td class="num" id="LN1710">1710</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1711"><td class="num" id="LN1711">1711</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1712"><td class="num" id="LN1712">1712</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1713"><td class="num" id="LN1713">1713</td><td class="line">screen_size_changed_cb (GdkScreen *screen, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1714"><td class="num" id="LN1714">1714</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1715"><td class="num" id="LN1715">1715</td><td class="line"> eom_window_update_fullscreen_popup (window);</td></tr>
+<tr class="codeline" data-linenumber="1716"><td class="num" id="LN1716">1716</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1717"><td class="num" id="LN1717">1717</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1718"><td class="num" id="LN1718">1718</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1719"><td class="num" id="LN1719">1719</td><td class="line">fullscreen_timeout_cb (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1720"><td class="num" id="LN1720">1720</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1721"><td class="num" id="LN1721">1721</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1722"><td class="num" id="LN1722">1722</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1723"><td class="num" id="LN1723">1723</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;fullscreen_popup);</td></tr>
+<tr class="codeline" data-linenumber="1724"><td class="num" id="LN1724">1724</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1725"><td class="num" id="LN1725">1725</td><td class="line"> eom_scroll_view_hide_cursor (<span class='macro'>EOM_SCROLL_VIEW (window-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;view)), ((eom_scroll_view_get_type (<br>)))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1726"><td class="num" id="LN1726">1726</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1727"><td class="num" id="LN1727">1727</td><td class="line"> fullscreen_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="1728"><td class="num" id="LN1728">1728</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1729"><td class="num" id="LN1729">1729</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1730"><td class="num" id="LN1730">1730</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1731"><td class="num" id="LN1731">1731</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1732"><td class="num" id="LN1732">1732</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1733"><td class="num" id="LN1733">1733</td><td class="line">slideshow_is_loop_end (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1734"><td class="num" id="LN1734">1734</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1735"><td class="num" id="LN1735">1735</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1736"><td class="num" id="LN1736">1736</td><td class="line"> EomImage *image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1737"><td class="num" id="LN1737">1737</td><td class="line"> gint pos;</td></tr>
+<tr class="codeline" data-linenumber="1738"><td class="num" id="LN1738">1738</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1739"><td class="num" id="LN1739">1739</td><td class="line"> image = eom_thumb_view_get_first_selected_image (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1740"><td class="num" id="LN1740">1740</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1741"><td class="num" id="LN1741">1741</td><td class="line"> pos = eom_list_store_get_pos_by_image (priv-&gt;store, image);</td></tr>
+<tr class="codeline" data-linenumber="1742"><td class="num" id="LN1742">1742</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1743"><td class="num" id="LN1743">1743</td><td class="line"> <span class='keyword'>return</span> (pos == (eom_list_store_length (priv-&gt;store) - 1));</td></tr>
+<tr class="codeline" data-linenumber="1744"><td class="num" id="LN1744">1744</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1745"><td class="num" id="LN1745">1745</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1746"><td class="num" id="LN1746">1746</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1747"><td class="num" id="LN1747">1747</td><td class="line">slideshow_switch_cb (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1748"><td class="num" id="LN1748">1748</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1749"><td class="num" id="LN1749">1749</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1750"><td class="num" id="LN1750">1750</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1751"><td class="num" id="LN1751">1751</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1752"><td class="num" id="LN1752">1752</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1752, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1753"><td class="num" id="LN1753">1753</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1754"><td class="num" id="LN1754">1754</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;slideshow_random) {</td></tr>
+<tr class="codeline" data-linenumber="1755"><td class="num" id="LN1755">1755</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1756"><td class="num" id="LN1756">1756</td><td class="line"> EOM_THUMB_VIEW_SELECT_RANDOM);</td></tr>
+<tr class="codeline" data-linenumber="1757"><td class="num" id="LN1757">1757</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1758"><td class="num" id="LN1758">1758</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1759"><td class="num" id="LN1759">1759</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1760"><td class="num" id="LN1760">1760</td><td class="line"> <span class='keyword'>if</span> (!priv-&gt;slideshow_loop &amp;&amp; slideshow_is_loop_end (window)) {</td></tr>
+<tr class="codeline" data-linenumber="1761"><td class="num" id="LN1761">1761</td><td class="line"> eom_window_stop_fullscreen (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1762"><td class="num" id="LN1762">1762</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1763"><td class="num" id="LN1763">1763</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1764"><td class="num" id="LN1764">1764</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1765"><td class="num" id="LN1765">1765</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1766"><td class="num" id="LN1766">1766</td><td class="line"> EOM_THUMB_VIEW_SELECT_RIGHT);</td></tr>
+<tr class="codeline" data-linenumber="1767"><td class="num" id="LN1767">1767</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1768"><td class="num" id="LN1768">1768</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1769"><td class="num" id="LN1769">1769</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1770"><td class="num" id="LN1770">1770</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1771"><td class="num" id="LN1771">1771</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1772"><td class="num" id="LN1772">1772</td><td class="line">fullscreen_clear_timeout (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1773"><td class="num" id="LN1773">1773</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1774"><td class="num" id="LN1774">1774</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1774, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1775"><td class="num" id="LN1775">1775</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1776"><td class="num" id="LN1776">1776</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;fullscreen_timeout_source != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1777"><td class="num" id="LN1777">1777</td><td class="line"> g_source_unref (window-&gt;priv-&gt;fullscreen_timeout_source);</td></tr>
+<tr class="codeline" data-linenumber="1778"><td class="num" id="LN1778">1778</td><td class="line"> g_source_destroy (window-&gt;priv-&gt;fullscreen_timeout_source);</td></tr>
+<tr class="codeline" data-linenumber="1779"><td class="num" id="LN1779">1779</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1780"><td class="num" id="LN1780">1780</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1781"><td class="num" id="LN1781">1781</td><td class="line"> window-&gt;priv-&gt;fullscreen_timeout_source = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1782"><td class="num" id="LN1782">1782</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1783"><td class="num" id="LN1783">1783</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1784"><td class="num" id="LN1784">1784</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1785"><td class="num" id="LN1785">1785</td><td class="line">fullscreen_set_timeout (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1786"><td class="num" id="LN1786">1786</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1787"><td class="num" id="LN1787">1787</td><td class="line"> GSource *source;</td></tr>
+<tr class="codeline" data-linenumber="1788"><td class="num" id="LN1788">1788</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1789"><td class="num" id="LN1789">1789</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1789, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1790"><td class="num" id="LN1790">1790</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1791"><td class="num" id="LN1791">1791</td><td class="line"> fullscreen_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="1792"><td class="num" id="LN1792">1792</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1793"><td class="num" id="LN1793">1793</td><td class="line"> source = g_timeout_source_new (<span class='macro'>EOM_WINDOW_FULLSCREEN_TIMEOUT<span class='macro_popup'>5 * 1000</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1794"><td class="num" id="LN1794">1794</td><td class="line"> g_source_set_callback (source, fullscreen_timeout_cb, window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1795"><td class="num" id="LN1795">1795</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1796"><td class="num" id="LN1796">1796</td><td class="line"> g_source_attach (source, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1797"><td class="num" id="LN1797">1797</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1798"><td class="num" id="LN1798">1798</td><td class="line"> window-&gt;priv-&gt;fullscreen_timeout_source = source;</td></tr>
+<tr class="codeline" data-linenumber="1799"><td class="num" id="LN1799">1799</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1800"><td class="num" id="LN1800">1800</td><td class="line"> eom_scroll_view_show_cursor (<span class='macro'>EOM_SCROLL_VIEW (window-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;view)), ((eom_scroll_view_get_type (<br>)))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1801"><td class="num" id="LN1801">1801</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1802"><td class="num" id="LN1802">1802</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1803"><td class="num" id="LN1803">1803</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1804"><td class="num" id="LN1804">1804</td><td class="line">slideshow_clear_timeout (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1805"><td class="num" id="LN1805">1805</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1806"><td class="num" id="LN1806">1806</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1806, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1807"><td class="num" id="LN1807">1807</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1808"><td class="num" id="LN1808">1808</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;slideshow_switch_source != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1809"><td class="num" id="LN1809">1809</td><td class="line"> g_source_unref (window-&gt;priv-&gt;slideshow_switch_source);</td></tr>
+<tr class="codeline" data-linenumber="1810"><td class="num" id="LN1810">1810</td><td class="line"> g_source_destroy (window-&gt;priv-&gt;slideshow_switch_source);</td></tr>
+<tr class="codeline" data-linenumber="1811"><td class="num" id="LN1811">1811</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1812"><td class="num" id="LN1812">1812</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1813"><td class="num" id="LN1813">1813</td><td class="line"> window-&gt;priv-&gt;slideshow_switch_source = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1814"><td class="num" id="LN1814">1814</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1815"><td class="num" id="LN1815">1815</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1816"><td class="num" id="LN1816">1816</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1817"><td class="num" id="LN1817">1817</td><td class="line">slideshow_set_timeout (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1818"><td class="num" id="LN1818">1818</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1819"><td class="num" id="LN1819">1819</td><td class="line"> GSource *source;</td></tr>
+<tr class="codeline" data-linenumber="1820"><td class="num" id="LN1820">1820</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1821"><td class="num" id="LN1821">1821</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1821, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1822"><td class="num" id="LN1822">1822</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1823"><td class="num" id="LN1823">1823</td><td class="line"> slideshow_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="1824"><td class="num" id="LN1824">1824</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1825"><td class="num" id="LN1825">1825</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;slideshow_switch_timeout &lt;= 0)</td></tr>
+<tr class="codeline" data-linenumber="1826"><td class="num" id="LN1826">1826</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1827"><td class="num" id="LN1827">1827</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1828"><td class="num" id="LN1828">1828</td><td class="line"> source = g_timeout_source_new (window-&gt;priv-&gt;slideshow_switch_timeout * 1000);</td></tr>
+<tr class="codeline" data-linenumber="1829"><td class="num" id="LN1829">1829</td><td class="line"> g_source_set_callback (source, slideshow_switch_cb, window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1830"><td class="num" id="LN1830">1830</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1831"><td class="num" id="LN1831">1831</td><td class="line"> g_source_attach (source, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1832"><td class="num" id="LN1832">1832</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1833"><td class="num" id="LN1833">1833</td><td class="line"> window-&gt;priv-&gt;slideshow_switch_source = source;</td></tr>
+<tr class="codeline" data-linenumber="1834"><td class="num" id="LN1834">1834</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1835"><td class="num" id="LN1835">1835</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1836"><td class="num" id="LN1836">1836</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1837"><td class="num" id="LN1837">1837</td><td class="line">show_fullscreen_popup (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1838"><td class="num" id="LN1838">1838</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1839"><td class="num" id="LN1839">1839</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1839, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1840"><td class="num" id="LN1840">1840</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1841"><td class="num" id="LN1841">1841</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_visible (window-&gt;priv-&gt;fullscreen_popup)) {</td></tr>
+<tr class="codeline" data-linenumber="1842"><td class="num" id="LN1842">1842</td><td class="line"> gtk_widget_show_all (<span class='macro'>GTK_WIDGET (window-&gt;priv-&gt;fullscreen_popup)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;fullscreen_popup)), ((gtk_widget_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1843"><td class="num" id="LN1843">1843</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1844"><td class="num" id="LN1844">1844</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1845"><td class="num" id="LN1845">1845</td><td class="line"> fullscreen_set_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="1846"><td class="num" id="LN1846">1846</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1847"><td class="num" id="LN1847">1847</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1848"><td class="num" id="LN1848">1848</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1849"><td class="num" id="LN1849">1849</td><td class="line">fullscreen_motion_notify_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="1850"><td class="num" id="LN1850">1850</td><td class="line"> GdkEventMotion *event,</td></tr>
+<tr class="codeline" data-linenumber="1851"><td class="num" id="LN1851">1851</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1852"><td class="num" id="LN1852">1852</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1853"><td class="num" id="LN1853">1853</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1854"><td class="num" id="LN1854">1854</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1855"><td class="num" id="LN1855">1855</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1855, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1856"><td class="num" id="LN1856">1856</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1857"><td class="num" id="LN1857">1857</td><td class="line"> <span class='keyword'>if</span> (event-&gt;y &lt; <span class='macro'>EOM_WINDOW_FULLSCREEN_POPUP_THRESHOLD<span class='macro_popup'>5</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1858"><td class="num" id="LN1858">1858</td><td class="line"> show_fullscreen_popup (window);</td></tr>
+<tr class="codeline" data-linenumber="1859"><td class="num" id="LN1859">1859</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1860"><td class="num" id="LN1860">1860</td><td class="line"> fullscreen_set_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="1861"><td class="num" id="LN1861">1861</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1862"><td class="num" id="LN1862">1862</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1863"><td class="num" id="LN1863">1863</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1864"><td class="num" id="LN1864">1864</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1865"><td class="num" id="LN1865">1865</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1866"><td class="num" id="LN1866">1866</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1867"><td class="num" id="LN1867">1867</td><td class="line">fullscreen_leave_notify_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="1868"><td class="num" id="LN1868">1868</td><td class="line"> GdkEventCrossing *event,</td></tr>
+<tr class="codeline" data-linenumber="1869"><td class="num" id="LN1869">1869</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1870"><td class="num" id="LN1870">1870</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1871"><td class="num" id="LN1871">1871</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1872"><td class="num" id="LN1872">1872</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1873"><td class="num" id="LN1873">1873</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1873, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1874"><td class="num" id="LN1874">1874</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1875"><td class="num" id="LN1875">1875</td><td class="line"> fullscreen_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="1876"><td class="num" id="LN1876">1876</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1877"><td class="num" id="LN1877">1877</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1878"><td class="num" id="LN1878">1878</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1879"><td class="num" id="LN1879">1879</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1880"><td class="num" id="LN1880">1880</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1881"><td class="num" id="LN1881">1881</td><td class="line">exit_fullscreen_button_clicked_cb (GtkWidget *button, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1882"><td class="num" id="LN1882">1882</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1883"><td class="num" id="LN1883">1883</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="1884"><td class="num" id="LN1884">1884</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1885"><td class="num" id="LN1885">1885</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1885, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1886"><td class="num" id="LN1886">1886</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1887"><td class="num" id="LN1887">1887</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1888"><td class="num" id="LN1888">1888</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW) {</td></tr>
+<tr class="codeline" data-linenumber="1889"><td class="num" id="LN1889">1889</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="1890"><td class="num" id="LN1890">1890</td><td class="line"> <span class='string_literal'>"ViewSlideshow"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1891"><td class="num" id="LN1891">1891</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1892"><td class="num" id="LN1892">1892</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="1893"><td class="num" id="LN1893">1893</td><td class="line"> <span class='string_literal'>"ViewFullscreen"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1894"><td class="num" id="LN1894">1894</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1895"><td class="num" id="LN1895">1895</td><td class="line"> <span class='macro'>g_return_if_fail (action != NULL)<span class='macro_popup'>do { if ((action != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "action != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1896"><td class="num" id="LN1896">1896</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1897"><td class="num" id="LN1897">1897</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1898"><td class="num" id="LN1898">1898</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1899"><td class="num" id="LN1899">1899</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1900"><td class="num" id="LN1900">1900</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1901"><td class="num" id="LN1901">1901</td><td class="line"><span class='keyword'>static</span> GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="1902"><td class="num" id="LN1902">1902</td><td class="line">eom_window_get_exit_fullscreen_button (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1903"><td class="num" id="LN1903">1903</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1904"><td class="num" id="LN1904">1904</td><td class="line"> GtkWidget *button;</td></tr>
+<tr class="codeline" data-linenumber="1905"><td class="num" id="LN1905">1905</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1906"><td class="num" id="LN1906">1906</td><td class="line"> button = gtk_button_new_with_mnemonic (<span class='macro'>_(<span class='string_literal'>"Leave Fullscreen"</span>)<span class='macro_popup'>gettext ("Leave Fullscreen")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1907"><td class="num" id="LN1907">1907</td><td class="line"> gtk_button_set_image (<span class='macro'>GTK_BUTTON (button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>, gtk_image_new_from_icon_name (<span class='string_literal'>"view-restore"</span>, GTK_ICON_SIZE_BUTTON));</td></tr>
+<tr class="codeline" data-linenumber="1908"><td class="num" id="LN1908">1908</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1909"><td class="num" id="LN1909">1909</td><td class="line"> <span class='macro'>g_signal_connect (button, <span class='string_literal'>"clicked"</span>,<span class='macro_popup'>g_signal_connect_data ((button), ("clicked"), (((GCallback) (<br>exit_fullscreen_button_clicked_cb))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1910"><td class="num" id="LN1910">1910</td><td class="line"> <span class='macro'>G_CALLBACK (exit_fullscreen_button_clicked_cb),<span class='macro_popup'>g_signal_connect_data ((button), ("clicked"), (((GCallback) (<br>exit_fullscreen_button_clicked_cb))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1911"><td class="num" id="LN1911">1911</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((button), ("clicked"), (((GCallback) (<br>exit_fullscreen_button_clicked_cb))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1912"><td class="num" id="LN1912">1912</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1913"><td class="num" id="LN1913">1913</td><td class="line"> <span class='keyword'>return</span> button;</td></tr>
+<tr class="codeline" data-linenumber="1914"><td class="num" id="LN1914">1914</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1915"><td class="num" id="LN1915">1915</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1916"><td class="num" id="LN1916">1916</td><td class="line"><span class='keyword'>static</span> GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="1917"><td class="num" id="LN1917">1917</td><td class="line">eom_window_create_fullscreen_popup (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1918"><td class="num" id="LN1918">1918</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1919"><td class="num" id="LN1919">1919</td><td class="line"> GtkWidget *popup;</td></tr>
+<tr class="codeline" data-linenumber="1920"><td class="num" id="LN1920">1920</td><td class="line"> GtkWidget *hbox;</td></tr>
+<tr class="codeline" data-linenumber="1921"><td class="num" id="LN1921">1921</td><td class="line"> GtkWidget *button;</td></tr>
+<tr class="codeline" data-linenumber="1922"><td class="num" id="LN1922">1922</td><td class="line"> GtkWidget *toolbar;</td></tr>
+<tr class="codeline" data-linenumber="1923"><td class="num" id="LN1923">1923</td><td class="line"> GdkScreen *screen;</td></tr>
+<tr class="codeline" data-linenumber="1924"><td class="num" id="LN1924">1924</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1925"><td class="num" id="LN1925">1925</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1925, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1926"><td class="num" id="LN1926">1926</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1927"><td class="num" id="LN1927">1927</td><td class="line"> popup = gtk_window_new (GTK_WINDOW_POPUP);</td></tr>
+<tr class="codeline" data-linenumber="1928"><td class="num" id="LN1928">1928</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1929"><td class="num" id="LN1929">1929</td><td class="line"> hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);</td></tr>
+<tr class="codeline" data-linenumber="1930"><td class="num" id="LN1930">1930</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (popup)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((popup)), ((gtk_container_get_type ()))))))</span></span>, hbox);</td></tr>
+<tr class="codeline" data-linenumber="1931"><td class="num" id="LN1931">1931</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1932"><td class="num" id="LN1932">1932</td><td class="line"> toolbar = gtk_ui_manager_get_widget (window-&gt;priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="1933"><td class="num" id="LN1933">1933</td><td class="line"> <span class='string_literal'>"/FullscreenToolbar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1934"><td class="num" id="LN1934">1934</td><td class="line"> <span class='macro'>g_assert (GTK_IS_WIDGET (toolbar))<span class='macro_popup'>do { if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((toolbar)); GType __t = ((gtk_widget_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))) ; else<br> g_assertion_message_expr ("EOM", "eom-window.c", 1934, ((const<br> char*) (__func__)), "GTK_IS_WIDGET (toolbar)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1935"><td class="num" id="LN1935">1935</td><td class="line"> gtk_toolbar_set_style (<span class='macro'>GTK_TOOLBAR (toolbar)<span class='macro_popup'>((((GtkToolbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((toolbar)), ((gtk_toolbar_get_type ()))))))</span></span>, GTK_TOOLBAR_ICONS);</td></tr>
+<tr class="codeline" data-linenumber="1936"><td class="num" id="LN1936">1936</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, toolbar, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="1937"><td class="num" id="LN1937">1937</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1938"><td class="num" id="LN1938">1938</td><td class="line"> button = eom_window_get_exit_fullscreen_button (window);</td></tr>
+<tr class="codeline" data-linenumber="1939"><td class="num" id="LN1939">1939</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, button, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="1940"><td class="num" id="LN1940">1940</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1941"><td class="num" id="LN1941">1941</td><td class="line"> gtk_window_set_resizable (<span class='macro'>GTK_WINDOW (popup)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((popup)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1942"><td class="num" id="LN1942">1942</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1943"><td class="num" id="LN1943">1943</td><td class="line"> screen = gtk_widget_get_screen (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1944"><td class="num" id="LN1944">1944</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1945"><td class="num" id="LN1945">1945</td><td class="line"> g_signal_connect_object (screen, <span class='string_literal'>"size-changed"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1946"><td class="num" id="LN1946">1946</td><td class="line"> <span class='macro'>G_CALLBACK (screen_size_changed_cb)<span class='macro_popup'>((GCallback) (screen_size_changed_cb))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1947"><td class="num" id="LN1947">1947</td><td class="line"> window, 0);</td></tr>
+<tr class="codeline" data-linenumber="1948"><td class="num" id="LN1948">1948</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1949"><td class="num" id="LN1949">1949</td><td class="line"> <span class='macro'>g_signal_connect (popup, <span class='string_literal'>"enter-notify-event"</span>,<span class='macro_popup'>g_signal_connect_data ((popup), ("enter-notify-event"), (((GCallback<br>) (fullscreen_leave_notify_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1950"><td class="num" id="LN1950">1950</td><td class="line"> <span class='macro'>G_CALLBACK (fullscreen_leave_notify_cb),<span class='macro_popup'>g_signal_connect_data ((popup), ("enter-notify-event"), (((GCallback<br>) (fullscreen_leave_notify_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1951"><td class="num" id="LN1951">1951</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((popup), ("enter-notify-event"), (((GCallback<br>) (fullscreen_leave_notify_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1952"><td class="num" id="LN1952">1952</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1953"><td class="num" id="LN1953">1953</td><td class="line"> gtk_window_set_screen (<span class='macro'>GTK_WINDOW (popup)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((popup)), ((gtk_window_get_type ()))))))</span></span>, screen);</td></tr>
+<tr class="codeline" data-linenumber="1954"><td class="num" id="LN1954">1954</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1955"><td class="num" id="LN1955">1955</td><td class="line"> <span class='keyword'>return</span> popup;</td></tr>
+<tr class="codeline" data-linenumber="1956"><td class="num" id="LN1956">1956</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1957"><td class="num" id="LN1957">1957</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1958"><td class="num" id="LN1958">1958</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1959"><td class="num" id="LN1959">1959</td><td class="line">update_ui_visibility (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1960"><td class="num" id="LN1960">1960</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1961"><td class="num" id="LN1961">1961</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1962"><td class="num" id="LN1962">1962</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1963"><td class="num" id="LN1963">1963</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="1964"><td class="num" id="LN1964">1964</td><td class="line"> GtkWidget *menubar;</td></tr>
+<tr class="codeline" data-linenumber="1965"><td class="num" id="LN1965">1965</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1966"><td class="num" id="LN1966">1966</td><td class="line"> gboolean fullscreen_mode, visible;</td></tr>
+<tr class="codeline" data-linenumber="1967"><td class="num" id="LN1967">1967</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1968"><td class="num" id="LN1968">1968</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1969"><td class="num" id="LN1969">1969</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1970"><td class="num" id="LN1970">1970</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1970, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1971"><td class="num" id="LN1971">1971</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1972"><td class="num" id="LN1972">1972</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1973"><td class="num" id="LN1973">1973</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1974"><td class="num" id="LN1974">1974</td><td class="line"> fullscreen_mode = priv-&gt;mode == EOM_WINDOW_MODE_FULLSCREEN ||</td></tr>
+<tr class="codeline" data-linenumber="1975"><td class="num" id="LN1975">1975</td><td class="line"> priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW;</td></tr>
+<tr class="codeline" data-linenumber="1976"><td class="num" id="LN1976">1976</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1977"><td class="num" id="LN1977">1977</td><td class="line"> menubar = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1978"><td class="num" id="LN1978">1978</td><td class="line"> <span class='macro'>g_assert (GTK_IS_WIDGET (menubar))<span class='macro_popup'>do { if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((menubar)); GType __t = ((gtk_widget_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))) ; else<br> g_assertion_message_expr ("EOM", "eom-window.c", 1978, ((const<br> char*) (__func__)), "GTK_IS_WIDGET (menubar)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1979"><td class="num" id="LN1979">1979</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1980"><td class="num" id="LN1980">1980</td><td class="line"> visible = g_settings_get_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_TOOLBAR<span class='macro_popup'>"toolbar"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1981"><td class="num" id="LN1981">1981</td><td class="line"> visible = visible &amp;&amp; !fullscreen_mode;</td></tr>
+<tr class="codeline" data-linenumber="1982"><td class="num" id="LN1982">1982</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1983"><td class="num" id="LN1983">1983</td><td class="line"> action = gtk_ui_manager_get_action (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu/View/ToolbarToggle"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1984"><td class="num" id="LN1984">1984</td><td class="line"> <span class='macro'>g_assert (action != NULL)<span class='macro_popup'>do { if (action != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 1984, ((const char*) (__func__)), "action != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1985"><td class="num" id="LN1985">1985</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1986"><td class="num" id="LN1986">1986</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="1987"><td class="num" id="LN1987">1987</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1988"><td class="num" id="LN1988">1988</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (priv-&gt;toolbar)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;toolbar)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"visible"</span>, visible, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1989"><td class="num" id="LN1989">1989</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1990"><td class="num" id="LN1990">1990</td><td class="line"> visible = g_settings_get_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_STATUSBAR<span class='macro_popup'>"statusbar"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1991"><td class="num" id="LN1991">1991</td><td class="line"> visible = visible &amp;&amp; !fullscreen_mode;</td></tr>
+<tr class="codeline" data-linenumber="1992"><td class="num" id="LN1992">1992</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1993"><td class="num" id="LN1993">1993</td><td class="line"> action = gtk_ui_manager_get_action (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu/View/StatusbarToggle"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1994"><td class="num" id="LN1994">1994</td><td class="line"> <span class='macro'>g_assert (action != NULL)<span class='macro_popup'>do { if (action != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 1994, ((const char*) (__func__)), "action != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1995"><td class="num" id="LN1995">1995</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1996"><td class="num" id="LN1996">1996</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="1997"><td class="num" id="LN1997">1997</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1998"><td class="num" id="LN1998">1998</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (priv-&gt;statusbar)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), (((GType) ((20) &lt;&lt; (2)))))))<br>)</span></span>, <span class='string_literal'>"visible"</span>, visible, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1999"><td class="num" id="LN1999">1999</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2000"><td class="num" id="LN2000">2000</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;status != EOM_WINDOW_STATUS_INIT) {</td></tr>
+<tr class="codeline" data-linenumber="2001"><td class="num" id="LN2001">2001</td><td class="line"> visible = g_settings_get_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_IMAGE_COLLECTION<span class='macro_popup'>"image-collection"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2002"><td class="num" id="LN2002">2002</td><td class="line"> visible = visible &amp;&amp; priv-&gt;mode != EOM_WINDOW_MODE_SLIDESHOW;</td></tr>
+<tr class="codeline" data-linenumber="2003"><td class="num" id="LN2003">2003</td><td class="line"> action = gtk_ui_manager_get_action (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu/View/ImageCollectionToggle"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2004"><td class="num" id="LN2004">2004</td><td class="line"> <span class='macro'>g_assert (action != NULL)<span class='macro_popup'>do { if (action != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 2004, ((const char*) (__func__)), "action != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2005"><td class="num" id="LN2005">2005</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2006"><td class="num" id="LN2006">2006</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="2007"><td class="num" id="LN2007">2007</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2008"><td class="num" id="LN2008">2008</td><td class="line"> <span class='keyword'>if</span> (visible) {</td></tr>
+<tr class="codeline" data-linenumber="2009"><td class="num" id="LN2009">2009</td><td class="line"> gtk_widget_show (priv-&gt;nav);</td></tr>
+<tr class="codeline" data-linenumber="2010"><td class="num" id="LN2010">2010</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2011"><td class="num" id="LN2011">2011</td><td class="line"> gtk_widget_hide (priv-&gt;nav);</td></tr>
+<tr class="codeline" data-linenumber="2012"><td class="num" id="LN2012">2012</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2013"><td class="num" id="LN2013">2013</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2014"><td class="num" id="LN2014">2014</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2015"><td class="num" id="LN2015">2015</td><td class="line"> visible = g_settings_get_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_SIDEBAR<span class='macro_popup'>"sidebar"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2016"><td class="num" id="LN2016">2016</td><td class="line"> visible = visible &amp;&amp; !fullscreen_mode;</td></tr>
+<tr class="codeline" data-linenumber="2017"><td class="num" id="LN2017">2017</td><td class="line"> action = gtk_ui_manager_get_action (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu/View/SidebarToggle"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2018"><td class="num" id="LN2018">2018</td><td class="line"> <span class='macro'>g_assert (action != NULL)<span class='macro_popup'>do { if (action != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 2018, ((const char*) (__func__)), "action != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2019"><td class="num" id="LN2019">2019</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2020"><td class="num" id="LN2020">2020</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="2021"><td class="num" id="LN2021">2021</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2022"><td class="num" id="LN2022">2022</td><td class="line"> <span class='keyword'>if</span> (visible) {</td></tr>
+<tr class="codeline" data-linenumber="2023"><td class="num" id="LN2023">2023</td><td class="line"> gtk_widget_show (priv-&gt;sidebar);</td></tr>
+<tr class="codeline" data-linenumber="2024"><td class="num" id="LN2024">2024</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2025"><td class="num" id="LN2025">2025</td><td class="line"> gtk_widget_hide (priv-&gt;sidebar);</td></tr>
+<tr class="codeline" data-linenumber="2026"><td class="num" id="LN2026">2026</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2027"><td class="num" id="LN2027">2027</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2028"><td class="num" id="LN2028">2028</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;fullscreen_popup != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2029"><td class="num" id="LN2029">2029</td><td class="line"> gtk_widget_hide (priv-&gt;fullscreen_popup);</td></tr>
+<tr class="codeline" data-linenumber="2030"><td class="num" id="LN2030">2030</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2031"><td class="num" id="LN2031">2031</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2032"><td class="num" id="LN2032">2032</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2033"><td class="num" id="LN2033">2033</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2034"><td class="num" id="LN2034">2034</td><td class="line">eom_window_inhibit_screensaver (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2035"><td class="num" id="LN2035">2035</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2036"><td class="num" id="LN2036">2036</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2037"><td class="num" id="LN2037">2037</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2038"><td class="num" id="LN2038">2038</td><td class="line"> <span class='macro'>g_return_if_fail (priv-&gt;fullscreen_idle_inhibit_cookie == 0)<span class='macro_popup'>do { if ((priv-&gt;fullscreen_idle_inhibit_cookie == 0)) { } else<br> { g_return_if_fail_warning ("EOM", ((const char*) (__func__)<br>), "priv-&gt;fullscreen_idle_inhibit_cookie == 0"); return; }<br> } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2039"><td class="num" id="LN2039">2039</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2040"><td class="num" id="LN2040">2040</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 2040, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2041"><td class="num" id="LN2041">2041</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2042"><td class="num" id="LN2042">2042</td><td class="line"> window-&gt;priv-&gt;fullscreen_idle_inhibit_cookie =</td></tr>
+<tr class="codeline" data-linenumber="2043"><td class="num" id="LN2043">2043</td><td class="line"> gtk_application_inhibit (<span class='macro'>GTK_APPLICATION (EOM_APP)<span class='macro_popup'>((((GtkApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ()))), ((gtk_application_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2044"><td class="num" id="LN2044">2044</td><td class="line"> <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2045"><td class="num" id="LN2045">2045</td><td class="line"> GTK_APPLICATION_INHIBIT_IDLE,</td></tr>
+<tr class="codeline" data-linenumber="2046"><td class="num" id="LN2046">2046</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Viewing a slideshow"</span>)<span class='macro_popup'>gettext ("Viewing a slideshow")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2047"><td class="num" id="LN2047">2047</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2048"><td class="num" id="LN2048">2048</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2049"><td class="num" id="LN2049">2049</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2050"><td class="num" id="LN2050">2050</td><td class="line">eom_window_uninhibit_screensaver (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2051"><td class="num" id="LN2051">2051</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2052"><td class="num" id="LN2052">2052</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2053"><td class="num" id="LN2053">2053</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2054"><td class="num" id="LN2054">2054</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_UNLIKELY (priv-&gt;fullscreen_idle_inhibit_cookie == 0)<span class='macro_popup'>(priv-&gt;fullscreen_idle_inhibit_cookie == 0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2055"><td class="num" id="LN2055">2055</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2056"><td class="num" id="LN2056">2056</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2057"><td class="num" id="LN2057">2057</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 2057, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2058"><td class="num" id="LN2058">2058</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2059"><td class="num" id="LN2059">2059</td><td class="line"> gtk_application_uninhibit (<span class='macro'>GTK_APPLICATION (EOM_APP)<span class='macro_popup'>((((GtkApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ()))), ((gtk_application_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2060"><td class="num" id="LN2060">2060</td><td class="line"> priv-&gt;fullscreen_idle_inhibit_cookie);</td></tr>
+<tr class="codeline" data-linenumber="2061"><td class="num" id="LN2061">2061</td><td class="line"> priv-&gt;fullscreen_idle_inhibit_cookie = 0;</td></tr>
+<tr class="codeline" data-linenumber="2062"><td class="num" id="LN2062">2062</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2063"><td class="num" id="LN2063">2063</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2064"><td class="num" id="LN2064">2064</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2065"><td class="num" id="LN2065">2065</td><td class="line">eom_window_run_fullscreen (EomWindow *window, gboolean slideshow)</td></tr>
+<tr class="codeline" data-linenumber="2066"><td class="num" id="LN2066">2066</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2067"><td class="num" id="LN2067">2067</td><td class="line"> <span class='keyword'>static</span> <span class='keyword'>const</span> GdkRGBA black = { 0., 0., 0., 1.};</td></tr>
+<tr class="codeline" data-linenumber="2068"><td class="num" id="LN2068">2068</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2069"><td class="num" id="LN2069">2069</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2070"><td class="num" id="LN2070">2070</td><td class="line"> GtkWidget *menubar;</td></tr>
+<tr class="codeline" data-linenumber="2071"><td class="num" id="LN2071">2071</td><td class="line"> gboolean upscale;</td></tr>
+<tr class="codeline" data-linenumber="2072"><td class="num" id="LN2072">2072</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2073"><td class="num" id="LN2073">2073</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 2073, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2074"><td class="num" id="LN2074">2074</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2075"><td class="num" id="LN2075">2075</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2076"><td class="num" id="LN2076">2076</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2077"><td class="num" id="LN2077">2077</td><td class="line"> <span class='keyword'>if</span> (slideshow) {</td></tr>
+<tr class="codeline" data-linenumber="2078"><td class="num" id="LN2078">2078</td><td class="line"> priv-&gt;mode = EOM_WINDOW_MODE_SLIDESHOW;</td></tr>
+<tr class="codeline" data-linenumber="2079"><td class="num" id="LN2079">2079</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2080"><td class="num" id="LN2080">2080</td><td class="line"> <span class='comment'>/* Stop the timer if we come from slideshowing */</span></td></tr>
+<tr class="codeline" data-linenumber="2081"><td class="num" id="LN2081">2081</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW)</td></tr>
+<tr class="codeline" data-linenumber="2082"><td class="num" id="LN2082">2082</td><td class="line"> slideshow_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="2083"><td class="num" id="LN2083">2083</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2084"><td class="num" id="LN2084">2084</td><td class="line"> priv-&gt;mode = EOM_WINDOW_MODE_FULLSCREEN;</td></tr>
+<tr class="codeline" data-linenumber="2085"><td class="num" id="LN2085">2085</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2086"><td class="num" id="LN2086">2086</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2087"><td class="num" id="LN2087">2087</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;fullscreen_popup == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2088"><td class="num" id="LN2088">2088</td><td class="line"> priv-&gt;fullscreen_popup</td></tr>
+<tr class="codeline" data-linenumber="2089"><td class="num" id="LN2089">2089</td><td class="line"> = eom_window_create_fullscreen_popup (window);</td></tr>
+<tr class="codeline" data-linenumber="2090"><td class="num" id="LN2090">2090</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2091"><td class="num" id="LN2091">2091</td><td class="line"> update_ui_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="2092"><td class="num" id="LN2092">2092</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2093"><td class="num" id="LN2093">2093</td><td class="line"> menubar = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2094"><td class="num" id="LN2094">2094</td><td class="line"> <span class='macro'>g_assert (GTK_IS_WIDGET (menubar))<span class='macro_popup'>do { if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((menubar)); GType __t = ((gtk_widget_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))) ; else<br> g_assertion_message_expr ("EOM", "eom-window.c", 2094, ((const<br> char*) (__func__)), "GTK_IS_WIDGET (menubar)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2095"><td class="num" id="LN2095">2095</td><td class="line"> gtk_widget_hide (menubar);</td></tr>
+<tr class="codeline" data-linenumber="2096"><td class="num" id="LN2096">2096</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2097"><td class="num" id="LN2097">2097</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;view, <span class='string_literal'>"motion-notify-event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("motion-notify-event"<br>), (((GCallback) (fullscreen_motion_notify_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2098"><td class="num" id="LN2098">2098</td><td class="line"> <span class='macro'>G_CALLBACK (fullscreen_motion_notify_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("motion-notify-event"<br>), (((GCallback) (fullscreen_motion_notify_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2099"><td class="num" id="LN2099">2099</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("motion-notify-event"<br>), (((GCallback) (fullscreen_motion_notify_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2100"><td class="num" id="LN2100">2100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2101"><td class="num" id="LN2101">2101</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;view, <span class='string_literal'>"leave-notify-event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("leave-notify-event"<br>), (((GCallback) (fullscreen_leave_notify_cb))), (window), ((<br>void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2102"><td class="num" id="LN2102">2102</td><td class="line"> <span class='macro'>G_CALLBACK (fullscreen_leave_notify_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("leave-notify-event"<br>), (((GCallback) (fullscreen_leave_notify_cb))), (window), ((<br>void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2103"><td class="num" id="LN2103">2103</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("leave-notify-event"<br>), (((GCallback) (fullscreen_leave_notify_cb))), (window), ((<br>void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2104"><td class="num" id="LN2104">2104</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2105"><td class="num" id="LN2105">2105</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;thumbview, <span class='string_literal'>"motion-notify-event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("motion-notify-event"<br>), (((GCallback) (fullscreen_motion_notify_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2106"><td class="num" id="LN2106">2106</td><td class="line"> <span class='macro'>G_CALLBACK (fullscreen_motion_notify_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("motion-notify-event"<br>), (((GCallback) (fullscreen_motion_notify_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2107"><td class="num" id="LN2107">2107</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("motion-notify-event"<br>), (((GCallback) (fullscreen_motion_notify_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2108"><td class="num" id="LN2108">2108</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2109"><td class="num" id="LN2109">2109</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;thumbview, <span class='string_literal'>"leave-notify-event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("leave-notify-event"<br>), (((GCallback) (fullscreen_leave_notify_cb))), (window), ((<br>void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2110"><td class="num" id="LN2110">2110</td><td class="line"> <span class='macro'>G_CALLBACK (fullscreen_leave_notify_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("leave-notify-event"<br>), (((GCallback) (fullscreen_leave_notify_cb))), (window), ((<br>void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2111"><td class="num" id="LN2111">2111</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("leave-notify-event"<br>), (((GCallback) (fullscreen_leave_notify_cb))), (window), ((<br>void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2112"><td class="num" id="LN2112">2112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2113"><td class="num" id="LN2113">2113</td><td class="line"> fullscreen_set_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="2114"><td class="num" id="LN2114">2114</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2115"><td class="num" id="LN2115">2115</td><td class="line"> <span class='keyword'>if</span> (slideshow) {</td></tr>
+<tr class="codeline" data-linenumber="2116"><td class="num" id="LN2116">2116</td><td class="line"> priv-&gt;slideshow_random =</td></tr>
+<tr class="codeline" data-linenumber="2117"><td class="num" id="LN2117">2117</td><td class="line"> g_settings_get_boolean (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="2118"><td class="num" id="LN2118">2118</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_RANDOM<span class='macro_popup'>"random"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2119"><td class="num" id="LN2119">2119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2120"><td class="num" id="LN2120">2120</td><td class="line"> priv-&gt;slideshow_loop =</td></tr>
+<tr class="codeline" data-linenumber="2121"><td class="num" id="LN2121">2121</td><td class="line"> g_settings_get_boolean (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="2122"><td class="num" id="LN2122">2122</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_LOOP<span class='macro_popup'>"loop"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2123"><td class="num" id="LN2123">2123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2124"><td class="num" id="LN2124">2124</td><td class="line"> priv-&gt;slideshow_switch_timeout =</td></tr>
+<tr class="codeline" data-linenumber="2125"><td class="num" id="LN2125">2125</td><td class="line"> g_settings_get_int (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="2126"><td class="num" id="LN2126">2126</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_SECONDS<span class='macro_popup'>"seconds"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2127"><td class="num" id="LN2127">2127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2128"><td class="num" id="LN2128">2128</td><td class="line"> slideshow_set_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="2129"><td class="num" id="LN2129">2129</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2130"><td class="num" id="LN2130">2130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2131"><td class="num" id="LN2131">2131</td><td class="line"> upscale = g_settings_get_boolean (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="2132"><td class="num" id="LN2132">2132</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_UPSCALE<span class='macro_popup'>"upscale"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2133"><td class="num" id="LN2133">2133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2134"><td class="num" id="LN2134">2134</td><td class="line"> eom_scroll_view_set_zoom_upscale (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2135"><td class="num" id="LN2135">2135</td><td class="line"> upscale);</td></tr>
+<tr class="codeline" data-linenumber="2136"><td class="num" id="LN2136">2136</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2137"><td class="num" id="LN2137">2137</td><td class="line"> gtk_widget_grab_focus (priv-&gt;view);</td></tr>
+<tr class="codeline" data-linenumber="2138"><td class="num" id="LN2138">2138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2139"><td class="num" id="LN2139">2139</td><td class="line"> eom_scroll_view_override_bg_color (<span class='macro'>EOM_SCROLL_VIEW (window-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;view)), ((eom_scroll_view_get_type (<br>)))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2140"><td class="num" id="LN2140">2140</td><td class="line"> &amp;black);</td></tr>
+<tr class="codeline" data-linenumber="2141"><td class="num" id="LN2141">2141</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2142"><td class="num" id="LN2142">2142</td><td class="line"> gtk_window_fullscreen (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2143"><td class="num" id="LN2143">2143</td><td class="line"> eom_window_update_fullscreen_popup (window);</td></tr>
+<tr class="codeline" data-linenumber="2144"><td class="num" id="LN2144">2144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2145"><td class="num" id="LN2145">2145</td><td class="line"> eom_window_inhibit_screensaver (window);</td></tr>
+<tr class="codeline" data-linenumber="2146"><td class="num" id="LN2146">2146</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2147"><td class="num" id="LN2147">2147</td><td class="line"> <span class='comment'>/* Update both actions as we could've already been in one those modes */</span></td></tr>
+<tr class="codeline" data-linenumber="2148"><td class="num" id="LN2148">2148</td><td class="line"> eom_window_update_slideshow_action (window);</td></tr>
+<tr class="codeline" data-linenumber="2149"><td class="num" id="LN2149">2149</td><td class="line"> eom_window_update_fullscreen_action (window);</td></tr>
+<tr class="codeline" data-linenumber="2150"><td class="num" id="LN2150">2150</td><td class="line"> eom_window_update_pause_slideshow_action (window);</td></tr>
+<tr class="codeline" data-linenumber="2151"><td class="num" id="LN2151">2151</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2152"><td class="num" id="LN2152">2152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2153"><td class="num" id="LN2153">2153</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2154"><td class="num" id="LN2154">2154</td><td class="line">eom_window_stop_fullscreen (EomWindow *window, gboolean slideshow)</td></tr>
+<tr class="codeline" data-linenumber="2155"><td class="num" id="LN2155">2155</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2156"><td class="num" id="LN2156">2156</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2157"><td class="num" id="LN2157">2157</td><td class="line"> GtkWidget *menubar;</td></tr>
+<tr class="codeline" data-linenumber="2158"><td class="num" id="LN2158">2158</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2159"><td class="num" id="LN2159">2159</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 2159, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2160"><td class="num" id="LN2160">2160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2161"><td class="num" id="LN2161">2161</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2162"><td class="num" id="LN2162">2162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2163"><td class="num" id="LN2163">2163</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;mode != EOM_WINDOW_MODE_SLIDESHOW &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="2164"><td class="num" id="LN2164">2164</td><td class="line"> priv-&gt;mode != EOM_WINDOW_MODE_FULLSCREEN) <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2165"><td class="num" id="LN2165">2165</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2166"><td class="num" id="LN2166">2166</td><td class="line"> priv-&gt;mode = EOM_WINDOW_MODE_NORMAL;</td></tr>
+<tr class="codeline" data-linenumber="2167"><td class="num" id="LN2167">2167</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2168"><td class="num" id="LN2168">2168</td><td class="line"> fullscreen_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="2169"><td class="num" id="LN2169">2169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2170"><td class="num" id="LN2170">2170</td><td class="line"> <span class='keyword'>if</span> (slideshow) {</td></tr>
+<tr class="codeline" data-linenumber="2171"><td class="num" id="LN2171">2171</td><td class="line"> slideshow_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="2172"><td class="num" id="LN2172">2172</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2173"><td class="num" id="LN2173">2173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2174"><td class="num" id="LN2174">2174</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;view,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;view), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (fullscreen_motion_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2175"><td class="num" id="LN2175">2175</td><td class="line"> <span class='macro'>fullscreen_motion_notify_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;view), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (fullscreen_motion_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2176"><td class="num" id="LN2176">2176</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;view), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (fullscreen_motion_notify_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2177"><td class="num" id="LN2177">2177</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2178"><td class="num" id="LN2178">2178</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;view,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;view), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (fullscreen_leave_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2179"><td class="num" id="LN2179">2179</td><td class="line"> <span class='macro'>fullscreen_leave_notify_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;view), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (fullscreen_leave_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2180"><td class="num" id="LN2180">2180</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;view), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (fullscreen_leave_notify_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2181"><td class="num" id="LN2181">2181</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2182"><td class="num" id="LN2182">2182</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;thumbview,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (fullscreen_motion_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2183"><td class="num" id="LN2183">2183</td><td class="line"> <span class='macro'>fullscreen_motion_notify_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (fullscreen_motion_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2184"><td class="num" id="LN2184">2184</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (fullscreen_motion_notify_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2185"><td class="num" id="LN2185">2185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2186"><td class="num" id="LN2186">2186</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;thumbview,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (fullscreen_leave_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2187"><td class="num" id="LN2187">2187</td><td class="line"> <span class='macro'>fullscreen_leave_notify_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (fullscreen_leave_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2188"><td class="num" id="LN2188">2188</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (fullscreen_leave_notify_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2189"><td class="num" id="LN2189">2189</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2190"><td class="num" id="LN2190">2190</td><td class="line"> update_ui_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="2191"><td class="num" id="LN2191">2191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2192"><td class="num" id="LN2192">2192</td><td class="line"> menubar = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2193"><td class="num" id="LN2193">2193</td><td class="line"> <span class='macro'>g_assert (GTK_IS_WIDGET (menubar))<span class='macro_popup'>do { if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((menubar)); GType __t = ((gtk_widget_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))) ; else<br> g_assertion_message_expr ("EOM", "eom-window.c", 2193, ((const<br> char*) (__func__)), "GTK_IS_WIDGET (menubar)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2194"><td class="num" id="LN2194">2194</td><td class="line"> gtk_widget_show (menubar);</td></tr>
+<tr class="codeline" data-linenumber="2195"><td class="num" id="LN2195">2195</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2196"><td class="num" id="LN2196">2196</td><td class="line"> eom_scroll_view_set_zoom_upscale (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2197"><td class="num" id="LN2197">2197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2198"><td class="num" id="LN2198">2198</td><td class="line"> eom_scroll_view_override_bg_color (<span class='macro'>EOM_SCROLL_VIEW (window-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;view)), ((eom_scroll_view_get_type (<br>)))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2199"><td class="num" id="LN2199">2199</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2200"><td class="num" id="LN2200">2200</td><td class="line"> gtk_window_unfullscreen (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2201"><td class="num" id="LN2201">2201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2202"><td class="num" id="LN2202">2202</td><td class="line"> <span class='keyword'>if</span> (slideshow) {</td></tr>
+<tr class="codeline" data-linenumber="2203"><td class="num" id="LN2203">2203</td><td class="line"> eom_window_update_slideshow_action (window);</td></tr>
+<tr class="codeline" data-linenumber="2204"><td class="num" id="LN2204">2204</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2205"><td class="num" id="LN2205">2205</td><td class="line"> eom_window_update_fullscreen_action (window);</td></tr>
+<tr class="codeline" data-linenumber="2206"><td class="num" id="LN2206">2206</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2207"><td class="num" id="LN2207">2207</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2208"><td class="num" id="LN2208">2208</td><td class="line"> eom_scroll_view_show_cursor (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2209"><td class="num" id="LN2209">2209</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2210"><td class="num" id="LN2210">2210</td><td class="line"> eom_window_uninhibit_screensaver (window);</td></tr>
+<tr class="codeline" data-linenumber="2211"><td class="num" id="LN2211">2211</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2212"><td class="num" id="LN2212">2212</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2213"><td class="num" id="LN2213">2213</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2214"><td class="num" id="LN2214">2214</td><td class="line">eom_window_print (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2215"><td class="num" id="LN2215">2215</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2216"><td class="num" id="LN2216">2216</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="2217"><td class="num" id="LN2217">2217</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2218"><td class="num" id="LN2218">2218</td><td class="line"> GtkPrintOperation *print;</td></tr>
+<tr class="codeline" data-linenumber="2219"><td class="num" id="LN2219">2219</td><td class="line"> GtkPrintOperationResult res;</td></tr>
+<tr class="codeline" data-linenumber="2220"><td class="num" id="LN2220">2220</td><td class="line"> GtkPageSetup *page_setup;</td></tr>
+<tr class="codeline" data-linenumber="2221"><td class="num" id="LN2221">2221</td><td class="line"> GtkPrintSettings *print_settings;</td></tr>
+<tr class="codeline" data-linenumber="2222"><td class="num" id="LN2222">2222</td><td class="line"> gboolean page_setup_disabled = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2223"><td class="num" id="LN2223">2223</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2224"><td class="num" id="LN2224">2224</td><td class="line"> eom_debug (<span class='macro'>DEBUG_PRINTING<span class='macro_popup'>EOM_DEBUG_PRINTING, "eom-window.c", 2224, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2225"><td class="num" id="LN2225">2225</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2226"><td class="num" id="LN2226">2226</td><td class="line"> print_settings = eom_print_get_print_settings ();</td></tr>
+<tr class="codeline" data-linenumber="2227"><td class="num" id="LN2227">2227</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2228"><td class="num" id="LN2228">2228</td><td class="line"> <span class='comment'>/* Make sure the window stays valid while printing */</span></td></tr>
+<tr class="codeline" data-linenumber="2229"><td class="num" id="LN2229">2229</td><td class="line"> <span class='macro'>g_object_ref (window)<span class='macro_popup'>((__typeof__ (window)) (g_object_ref) (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2230"><td class="num" id="LN2230">2230</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2231"><td class="num" id="LN2231">2231</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;page_setup != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2232"><td class="num" id="LN2232">2232</td><td class="line"> page_setup = <span class='macro'>g_object_ref (window-&gt;priv-&gt;page_setup)<span class='macro_popup'>((__typeof__ (window-&gt;priv-&gt;page_setup)) (g_object_ref)<br> (window-&gt;priv-&gt;page_setup))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2233"><td class="num" id="LN2233">2233</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2234"><td class="num" id="LN2234">2234</td><td class="line"> page_setup = eom_print_get_page_setup ();</td></tr>
+<tr class="codeline" data-linenumber="2235"><td class="num" id="LN2235">2235</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2236"><td class="num" id="LN2236">2236</td><td class="line"> print = eom_print_operation_new (window-&gt;priv-&gt;image,</td></tr>
+<tr class="codeline" data-linenumber="2237"><td class="num" id="LN2237">2237</td><td class="line"> print_settings,</td></tr>
+<tr class="codeline" data-linenumber="2238"><td class="num" id="LN2238">2238</td><td class="line"> page_setup);</td></tr>
+<tr class="codeline" data-linenumber="2239"><td class="num" id="LN2239">2239</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2240"><td class="num" id="LN2240">2240</td><td class="line"> <span class='comment'>// Disable page setup options if they are locked down</span></td></tr>
+<tr class="codeline" data-linenumber="2241"><td class="num" id="LN2241">2241</td><td class="line"> page_setup_disabled = g_settings_get_boolean (window-&gt;priv-&gt;lockdown_settings,</td></tr>
+<tr class="codeline" data-linenumber="2242"><td class="num" id="LN2242">2242</td><td class="line"> <span class='macro'>EOM_CONF_LOCKDOWN_CAN_SETUP_PAGE<span class='macro_popup'>"disable-print-setup"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2243"><td class="num" id="LN2243">2243</td><td class="line"> <span class='keyword'>if</span> (page_setup_disabled)</td></tr>
+<tr class="codeline" data-linenumber="2244"><td class="num" id="LN2244">2244</td><td class="line"> gtk_print_operation_set_embed_page_setup (print, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2245"><td class="num" id="LN2245">2245</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2246"><td class="num" id="LN2246">2246</td><td class="line"> res = gtk_print_operation_run (print,</td></tr>
+<tr class="codeline" data-linenumber="2247"><td class="num" id="LN2247">2247</td><td class="line"> GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG,</td></tr>
+<tr class="codeline" data-linenumber="2248"><td class="num" id="LN2248">2248</td><td class="line"> <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="2249"><td class="num" id="LN2249">2249</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2250"><td class="num" id="LN2250">2250</td><td class="line"> <span class='keyword'>if</span> (res == GTK_PRINT_OPERATION_RESULT_ERROR) {</td></tr>
+<tr class="codeline" data-linenumber="2251"><td class="num" id="LN2251">2251</td><td class="line"> dialog = gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2252"><td class="num" id="LN2252">2252</td><td class="line"> GTK_DIALOG_DESTROY_WITH_PARENT,</td></tr>
+<tr class="codeline" data-linenumber="2253"><td class="num" id="LN2253">2253</td><td class="line"> GTK_MESSAGE_ERROR,</td></tr>
+<tr class="codeline" data-linenumber="2254"><td class="num" id="LN2254">2254</td><td class="line"> GTK_BUTTONS_CLOSE,</td></tr>
+<tr class="codeline" data-linenumber="2255"><td class="num" id="LN2255">2255</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Error printing file:\n%s"</span>)<span class='macro_popup'>gettext ("Error printing file:\n%s")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2256"><td class="num" id="LN2256">2256</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="2257"><td class="num" id="LN2257">2257</td><td class="line"> <span class='macro'>g_signal_connect (dialog, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>gtk_widget_destroy))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2258"><td class="num" id="LN2258">2258</td><td class="line"> <span class='macro'>G_CALLBACK (gtk_widget_destroy),<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>gtk_widget_destroy))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2259"><td class="num" id="LN2259">2259</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>gtk_widget_destroy))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2260"><td class="num" id="LN2260">2260</td><td class="line"> gtk_widget_show (dialog);</td></tr>
+<tr class="codeline" data-linenumber="2261"><td class="num" id="LN2261">2261</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="2262"><td class="num" id="LN2262">2262</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (res == GTK_PRINT_OPERATION_RESULT_APPLY) {</td></tr>
+<tr class="codeline" data-linenumber="2263"><td class="num" id="LN2263">2263</td><td class="line"> GtkPageSetup *new_page_setup;</td></tr>
+<tr class="codeline" data-linenumber="2264"><td class="num" id="LN2264">2264</td><td class="line"> eom_print_set_print_settings (gtk_print_operation_get_print_settings (print));</td></tr>
+<tr class="codeline" data-linenumber="2265"><td class="num" id="LN2265">2265</td><td class="line"> new_page_setup = gtk_print_operation_get_default_page_setup (print);</td></tr>
+<tr class="codeline" data-linenumber="2266"><td class="num" id="LN2266">2266</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;page_setup != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2267"><td class="num" id="LN2267">2267</td><td class="line"> g_object_unref (window-&gt;priv-&gt;page_setup);</td></tr>
+<tr class="codeline" data-linenumber="2268"><td class="num" id="LN2268">2268</td><td class="line"> window-&gt;priv-&gt;page_setup = <span class='macro'>g_object_ref (new_page_setup)<span class='macro_popup'>((__typeof__ (new_page_setup)) (g_object_ref) (new_page_setup<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2269"><td class="num" id="LN2269">2269</td><td class="line"> eom_print_set_page_setup (window-&gt;priv-&gt;page_setup);</td></tr>
+<tr class="codeline" data-linenumber="2270"><td class="num" id="LN2270">2270</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2271"><td class="num" id="LN2271">2271</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2272"><td class="num" id="LN2272">2272</td><td class="line"> <span class='keyword'>if</span> (page_setup != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2273"><td class="num" id="LN2273">2273</td><td class="line"> g_object_unref (page_setup);</td></tr>
+<tr class="codeline" data-linenumber="2274"><td class="num" id="LN2274">2274</td><td class="line"> g_object_unref (print_settings);</td></tr>
+<tr class="codeline" data-linenumber="2275"><td class="num" id="LN2275">2275</td><td class="line"> g_object_unref (window);</td></tr>
+<tr class="codeline" data-linenumber="2276"><td class="num" id="LN2276">2276</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2277"><td class="num" id="LN2277">2277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2278"><td class="num" id="LN2278">2278</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2279"><td class="num" id="LN2279">2279</td><td class="line">eom_window_cmd_file_open (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2280"><td class="num" id="LN2280">2280</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2281"><td class="num" id="LN2281">2281</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2282"><td class="num" id="LN2282">2282</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2283"><td class="num" id="LN2283">2283</td><td class="line"> EomImage *current;</td></tr>
+<tr class="codeline" data-linenumber="2284"><td class="num" id="LN2284">2284</td><td class="line"> GtkWidget *dlg;</td></tr>
+<tr class="codeline" data-linenumber="2285"><td class="num" id="LN2285">2285</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2286"><td class="num" id="LN2286">2286</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2287"><td class="num" id="LN2287">2287</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2288"><td class="num" id="LN2288">2288</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2289"><td class="num" id="LN2289">2289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2290"><td class="num" id="LN2290">2290</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2291"><td class="num" id="LN2291">2291</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2292"><td class="num" id="LN2292">2292</td><td class="line"> dlg = eom_file_chooser_new (GTK_FILE_CHOOSER_ACTION_OPEN);</td></tr>
+<tr class="codeline" data-linenumber="2293"><td class="num" id="LN2293">2293</td><td class="line"> gtk_window_set_transient_for (<span class='macro'>GTK_WINDOW (dlg)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2294"><td class="num" id="LN2294">2294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2295"><td class="num" id="LN2295">2295</td><td class="line"> current = eom_thumb_view_get_first_selected_image (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2296"><td class="num" id="LN2296">2296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2297"><td class="num" id="LN2297">2297</td><td class="line"> <span class='keyword'>if</span> (current != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2298"><td class="num" id="LN2298">2298</td><td class="line"> gchar *dir_uri, *file_uri;</td></tr>
+<tr class="codeline" data-linenumber="2299"><td class="num" id="LN2299">2299</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2300"><td class="num" id="LN2300">2300</td><td class="line"> file_uri = eom_image_get_uri_for_display (current);</td></tr>
+<tr class="codeline" data-linenumber="2301"><td class="num" id="LN2301">2301</td><td class="line"> dir_uri = g_path_get_dirname (file_uri);</td></tr>
+<tr class="codeline" data-linenumber="2302"><td class="num" id="LN2302">2302</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2303"><td class="num" id="LN2303">2303</td><td class="line"> gtk_file_chooser_set_current_folder_uri (<span class='macro'>GTK_FILE_CHOOSER (dlg)<span class='macro_popup'>((((GtkFileChooser*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_file_chooser_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2304"><td class="num" id="LN2304">2304</td><td class="line"> dir_uri);</td></tr>
+<tr class="codeline" data-linenumber="2305"><td class="num" id="LN2305">2305</td><td class="line"> g_free (file_uri);</td></tr>
+<tr class="codeline" data-linenumber="2306"><td class="num" id="LN2306">2306</td><td class="line"> g_free (dir_uri);</td></tr>
+<tr class="codeline" data-linenumber="2307"><td class="num" id="LN2307">2307</td><td class="line"> g_object_unref (current);</td></tr>
+<tr class="codeline" data-linenumber="2308"><td class="num" id="LN2308">2308</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2309"><td class="num" id="LN2309">2309</td><td class="line"> <span class='comment'>/* If desired by the user,</span></td></tr>
+<tr class="codeline" data-linenumber="2310"><td class="num" id="LN2310">2310</td><td class="line"> <span class='comment'>fallback to the XDG_PICTURES_DIR (if available) */</span></td></tr>
+<tr class="codeline" data-linenumber="2311"><td class="num" id="LN2311">2311</td><td class="line"> <span class='keyword'>const</span> gchar *pics_dir;</td></tr>
+<tr class="codeline" data-linenumber="2312"><td class="num" id="LN2312">2312</td><td class="line"> gboolean use_fallback;</td></tr>
+<tr class="codeline" data-linenumber="2313"><td class="num" id="LN2313">2313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2314"><td class="num" id="LN2314">2314</td><td class="line"> use_fallback = g_settings_get_boolean (priv-&gt;ui_settings,</td></tr>
+<tr class="codeline" data-linenumber="2315"><td class="num" id="LN2315">2315</td><td class="line"> <span class='macro'>EOM_CONF_UI_FILECHOOSER_XDG_FALLBACK<span class='macro_popup'>"filechooser-xdg-fallback"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2316"><td class="num" id="LN2316">2316</td><td class="line"> pics_dir = g_get_user_special_dir (G_USER_DIRECTORY_PICTURES);</td></tr>
+<tr class="codeline" data-linenumber="2317"><td class="num" id="LN2317">2317</td><td class="line"> <span class='keyword'>if</span> (use_fallback &amp;&amp; pics_dir) {</td></tr>
+<tr class="codeline" data-linenumber="2318"><td class="num" id="LN2318">2318</td><td class="line"> gtk_file_chooser_set_current_folder (<span class='macro'>GTK_FILE_CHOOSER (dlg)<span class='macro_popup'>((((GtkFileChooser*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_file_chooser_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2319"><td class="num" id="LN2319">2319</td><td class="line"> pics_dir);</td></tr>
+<tr class="codeline" data-linenumber="2320"><td class="num" id="LN2320">2320</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2321"><td class="num" id="LN2321">2321</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2322"><td class="num" id="LN2322">2322</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2323"><td class="num" id="LN2323">2323</td><td class="line"> <span class='macro'>g_signal_connect (dlg, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((dlg), ("response"), (((GCallback) (file_open_dialog_response_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2324"><td class="num" id="LN2324">2324</td><td class="line"> <span class='macro'>G_CALLBACK (file_open_dialog_response_cb),<span class='macro_popup'>g_signal_connect_data ((dlg), ("response"), (((GCallback) (file_open_dialog_response_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2325"><td class="num" id="LN2325">2325</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((dlg), ("response"), (((GCallback) (file_open_dialog_response_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2326"><td class="num" id="LN2326">2326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2327"><td class="num" id="LN2327">2327</td><td class="line"> gtk_widget_show_all (dlg);</td></tr>
+<tr class="codeline" data-linenumber="2328"><td class="num" id="LN2328">2328</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2329"><td class="num" id="LN2329">2329</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2330"><td class="num" id="LN2330">2330</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2331"><td class="num" id="LN2331">2331</td><td class="line">eom_job_close_save_cb (EomJobSave *job, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2332"><td class="num" id="LN2332">2332</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2333"><td class="num" id="LN2333">2333</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2334"><td class="num" id="LN2334">2334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2335"><td class="num" id="LN2335">2335</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (job,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_close_save_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2336"><td class="num" id="LN2336">2336</td><td class="line"> <span class='macro'>eom_job_close_save_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_close_save_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2337"><td class="num" id="LN2337">2337</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_close_save_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2338"><td class="num" id="LN2338">2338</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2339"><td class="num" id="LN2339">2339</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2340"><td class="num" id="LN2340">2340</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2341"><td class="num" id="LN2341">2341</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2342"><td class="num" id="LN2342">2342</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2343"><td class="num" id="LN2343">2343</td><td class="line">close_confirmation_dialog_response_handler (EomCloseConfirmationDialog *dlg,</td></tr>
+<tr class="codeline" data-linenumber="2344"><td class="num" id="LN2344">2344</td><td class="line"> gint response_id,</td></tr>
+<tr class="codeline" data-linenumber="2345"><td class="num" id="LN2345">2345</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2346"><td class="num" id="LN2346">2346</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2347"><td class="num" id="LN2347">2347</td><td class="line"> GList *selected_images;</td></tr>
+<tr class="codeline" data-linenumber="2348"><td class="num" id="LN2348">2348</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2349"><td class="num" id="LN2349">2349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2350"><td class="num" id="LN2350">2350</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2351"><td class="num" id="LN2351">2351</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2352"><td class="num" id="LN2352">2352</td><td class="line"> <span class='keyword'>switch</span> (response_id)</td></tr>
+<tr class="codeline" data-linenumber="2353"><td class="num" id="LN2353">2353</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2354"><td class="num" id="LN2354">2354</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_YES:</td></tr>
+<tr class="codeline" data-linenumber="2355"><td class="num" id="LN2355">2355</td><td class="line"> <span class='comment'>/* save selected images */</span></td></tr>
+<tr class="codeline" data-linenumber="2356"><td class="num" id="LN2356">2356</td><td class="line"> selected_images = eom_close_confirmation_dialog_get_selected_images (dlg);</td></tr>
+<tr class="codeline" data-linenumber="2357"><td class="num" id="LN2357">2357</td><td class="line"> <span class='keyword'>if</span> (eom_window_save_images (window, selected_images)) {</td></tr>
+<tr class="codeline" data-linenumber="2358"><td class="num" id="LN2358">2358</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;save_job, <span class='string_literal'>"finished"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_close_save_cb))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2359"><td class="num" id="LN2359">2359</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_close_save_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_close_save_cb))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2360"><td class="num" id="LN2360">2360</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_close_save_cb))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2361"><td class="num" id="LN2361">2361</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2362"><td class="num" id="LN2362">2362</td><td class="line"> eom_job_queue_add_job (priv-&gt;save_job);</td></tr>
+<tr class="codeline" data-linenumber="2363"><td class="num" id="LN2363">2363</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2364"><td class="num" id="LN2364">2364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2365"><td class="num" id="LN2365">2365</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2366"><td class="num" id="LN2366">2366</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2367"><td class="num" id="LN2367">2367</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_NO:</td></tr>
+<tr class="codeline" data-linenumber="2368"><td class="num" id="LN2368">2368</td><td class="line"> <span class='comment'>/* dont save */</span></td></tr>
+<tr class="codeline" data-linenumber="2369"><td class="num" id="LN2369">2369</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2370"><td class="num" id="LN2370">2370</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2371"><td class="num" id="LN2371">2371</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2372"><td class="num" id="LN2372">2372</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2373"><td class="num" id="LN2373">2373</td><td class="line"> <span class='comment'>/* Cancel */</span></td></tr>
+<tr class="codeline" data-linenumber="2374"><td class="num" id="LN2374">2374</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (dlg)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2375"><td class="num" id="LN2375">2375</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2376"><td class="num" id="LN2376">2376</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2377"><td class="num" id="LN2377">2377</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2378"><td class="num" id="LN2378">2378</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2379"><td class="num" id="LN2379">2379</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2380"><td class="num" id="LN2380">2380</td><td class="line">eom_window_unsaved_images_confirm (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2381"><td class="num" id="LN2381">2381</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2382"><td class="num" id="LN2382">2382</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2383"><td class="num" id="LN2383">2383</td><td class="line"> gboolean disabled;</td></tr>
+<tr class="codeline" data-linenumber="2384"><td class="num" id="LN2384">2384</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="2385"><td class="num" id="LN2385">2385</td><td class="line"> GList *list;</td></tr>
+<tr class="codeline" data-linenumber="2386"><td class="num" id="LN2386">2386</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="2387"><td class="num" id="LN2387">2387</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="2388"><td class="num" id="LN2388">2388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2389"><td class="num" id="LN2389">2389</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2390"><td class="num" id="LN2390">2390</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2391"><td class="num" id="LN2391">2391</td><td class="line"> disabled = g_settings_get_boolean(priv-&gt;ui_settings,</td></tr>
+<tr class="codeline" data-linenumber="2392"><td class="num" id="LN2392">2392</td><td class="line"> <span class='macro'>EOM_CONF_UI_DISABLE_CLOSE_CONFIRMATION<span class='macro_popup'>"disable-close-confirmation"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2393"><td class="num" id="LN2393">2393</td><td class="line"> disabled |= window-&gt;priv-&gt;save_disabled;</td></tr>
+<tr class="codeline" data-linenumber="2394"><td class="num" id="LN2394">2394</td><td class="line"> <span class='keyword'>if</span> (disabled || !priv-&gt;store) {</td></tr>
+<tr class="codeline" data-linenumber="2395"><td class="num" id="LN2395">2395</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2396"><td class="num" id="LN2396">2396</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2397"><td class="num" id="LN2397">2397</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2398"><td class="num" id="LN2398">2398</td><td class="line"> list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2399"><td class="num" id="LN2399">2399</td><td class="line"> <span class='keyword'>if</span> (gtk_tree_model_get_iter_first (<span class='macro'>GTK_TREE_MODEL (priv-&gt;store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), ((gtk_tree_model_get_type ()))))))</span></span>, &amp;iter)) {</td></tr>
+<tr class="codeline" data-linenumber="2400"><td class="num" id="LN2400">2400</td><td class="line"> <span class='keyword'>do</span> {</td></tr>
+<tr class="codeline" data-linenumber="2401"><td class="num" id="LN2401">2401</td><td class="line"> gtk_tree_model_get (<span class='macro'>GTK_TREE_MODEL (priv-&gt;store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), ((gtk_tree_model_get_type ()))))))</span></span>, &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="2402"><td class="num" id="LN2402">2402</td><td class="line"> EOM_LIST_STORE_EOM_IMAGE, &amp;image,</td></tr>
+<tr class="codeline" data-linenumber="2403"><td class="num" id="LN2403">2403</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="2404"><td class="num" id="LN2404">2404</td><td class="line"> <span class='keyword'>if</span> (!image)</td></tr>
+<tr class="codeline" data-linenumber="2405"><td class="num" id="LN2405">2405</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="2406"><td class="num" id="LN2406">2406</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2407"><td class="num" id="LN2407">2407</td><td class="line"> <span class='keyword'>if</span> (eom_image_is_modified (image)) {</td></tr>
+<tr class="codeline" data-linenumber="2408"><td class="num" id="LN2408">2408</td><td class="line"> list = g_list_prepend (list, image);</td></tr>
+<tr class="codeline" data-linenumber="2409"><td class="num" id="LN2409">2409</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2410"><td class="num" id="LN2410">2410</td><td class="line"> } <span class='keyword'>while</span> (gtk_tree_model_iter_next (<span class='macro'>GTK_TREE_MODEL (priv-&gt;store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), ((gtk_tree_model_get_type ()))))))</span></span>, &amp;iter));</td></tr>
+<tr class="codeline" data-linenumber="2411"><td class="num" id="LN2411">2411</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2412"><td class="num" id="LN2412">2412</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2413"><td class="num" id="LN2413">2413</td><td class="line"> <span class='keyword'>if</span> (list) {</td></tr>
+<tr class="codeline" data-linenumber="2414"><td class="num" id="LN2414">2414</td><td class="line"> list = g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="2415"><td class="num" id="LN2415">2415</td><td class="line"> dialog = eom_close_confirmation_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2416"><td class="num" id="LN2416">2416</td><td class="line"> list);</td></tr>
+<tr class="codeline" data-linenumber="2417"><td class="num" id="LN2417">2417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2418"><td class="num" id="LN2418">2418</td><td class="line"> g_list_free (list);</td></tr>
+<tr class="codeline" data-linenumber="2419"><td class="num" id="LN2419">2419</td><td class="line"> <span class='macro'>g_signal_connect (dialog, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>close_confirmation_dialog_response_handler))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2420"><td class="num" id="LN2420">2420</td><td class="line"> <span class='macro'>G_CALLBACK (close_confirmation_dialog_response_handler),<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>close_confirmation_dialog_response_handler))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2421"><td class="num" id="LN2421">2421</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>close_confirmation_dialog_response_handler))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2422"><td class="num" id="LN2422">2422</td><td class="line"> gtk_window_set_destroy_with_parent (<span class='macro'>GTK_WINDOW (dialog)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2423"><td class="num" id="LN2423">2423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2424"><td class="num" id="LN2424">2424</td><td class="line"> gtk_widget_show (dialog);</td></tr>
+<tr class="codeline" data-linenumber="2425"><td class="num" id="LN2425">2425</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2426"><td class="num" id="LN2426">2426</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2427"><td class="num" id="LN2427">2427</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2428"><td class="num" id="LN2428">2428</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2429"><td class="num" id="LN2429">2429</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2430"><td class="num" id="LN2430">2430</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2431"><td class="num" id="LN2431">2431</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2432"><td class="num" id="LN2432">2432</td><td class="line">eom_window_cmd_close_window (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2433"><td class="num" id="LN2433">2433</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2434"><td class="num" id="LN2434">2434</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2435"><td class="num" id="LN2435">2435</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2436"><td class="num" id="LN2436">2436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2437"><td class="num" id="LN2437">2437</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2438"><td class="num" id="LN2438">2438</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2439"><td class="num" id="LN2439">2439</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2440"><td class="num" id="LN2440">2440</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2441"><td class="num" id="LN2441">2441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2442"><td class="num" id="LN2442">2442</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;save_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2443"><td class="num" id="LN2443">2443</td><td class="line"> eom_window_finish_saving (window);</td></tr>
+<tr class="codeline" data-linenumber="2444"><td class="num" id="LN2444">2444</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2445"><td class="num" id="LN2445">2445</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2446"><td class="num" id="LN2446">2446</td><td class="line"> <span class='keyword'>if</span> (!eom_window_unsaved_images_confirm (window)) {</td></tr>
+<tr class="codeline" data-linenumber="2447"><td class="num" id="LN2447">2447</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (user_data)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2448"><td class="num" id="LN2448">2448</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2449"><td class="num" id="LN2449">2449</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2450"><td class="num" id="LN2450">2450</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2451"><td class="num" id="LN2451">2451</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2452"><td class="num" id="LN2452">2452</td><td class="line">eom_window_cmd_preferences (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2453"><td class="num" id="LN2453">2453</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2454"><td class="num" id="LN2454">2454</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2455"><td class="num" id="LN2455">2455</td><td class="line"> GtkWidget *pref_dlg;</td></tr>
+<tr class="codeline" data-linenumber="2456"><td class="num" id="LN2456">2456</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2457"><td class="num" id="LN2457">2457</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2458"><td class="num" id="LN2458">2458</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2459"><td class="num" id="LN2459">2459</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2460"><td class="num" id="LN2460">2460</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2461"><td class="num" id="LN2461">2461</td><td class="line"> pref_dlg = eom_preferences_dialog_get_instance (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2462"><td class="num" id="LN2462">2462</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2463"><td class="num" id="LN2463">2463</td><td class="line"> gtk_widget_show (pref_dlg);</td></tr>
+<tr class="codeline" data-linenumber="2464"><td class="num" id="LN2464">2464</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2465"><td class="num" id="LN2465">2465</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2466"><td class="num" id="LN2466">2466</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_TB_EDITOR_DLG_RESET_RESPONSE<span class='macro_popup'>128</span></span> 128</span></td></tr>
+<tr class="codeline" data-linenumber="2467"><td class="num" id="LN2467">2467</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2468"><td class="num" id="LN2468">2468</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2469"><td class="num" id="LN2469">2469</td><td class="line">eom_window_cmd_edit_toolbar_cb (GtkDialog *dialog, gint response, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="2470"><td class="num" id="LN2470">2470</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2471"><td class="num" id="LN2471">2471</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2472"><td class="num" id="LN2472">2472</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2473"><td class="num" id="LN2473">2473</td><td class="line"> <span class='keyword'>if</span> (response == <span class='macro'>EOM_TB_EDITOR_DLG_RESET_RESPONSE<span class='macro_popup'>128</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2474"><td class="num" id="LN2474">2474</td><td class="line"> EggToolbarsModel *model;</td></tr>
+<tr class="codeline" data-linenumber="2475"><td class="num" id="LN2475">2475</td><td class="line"> EggToolbarEditor *editor;</td></tr>
+<tr class="codeline" data-linenumber="2476"><td class="num" id="LN2476">2476</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2477"><td class="num" id="LN2477">2477</td><td class="line"> editor = g_object_get_data (<span class='macro'>G_OBJECT (dialog)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2478"><td class="num" id="LN2478">2478</td><td class="line"> <span class='string_literal'>"EggToolbarEditor"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2479"><td class="num" id="LN2479">2479</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2480"><td class="num" id="LN2480">2480</td><td class="line"> <span class='macro'>g_return_if_fail (editor != NULL)<span class='macro_popup'>do { if ((editor != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "editor != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2481"><td class="num" id="LN2481">2481</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2482"><td class="num" id="LN2482">2482</td><td class="line"> egg_editable_toolbar_set_edit_mode</td></tr>
+<tr class="codeline" data-linenumber="2483"><td class="num" id="LN2483">2483</td><td class="line"> (<span class='macro'>EGG_EDITABLE_TOOLBAR (window-&gt;priv-&gt;toolbar)<span class='macro_popup'>((((EggEditableToolbar*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((window-&gt;priv-&gt;toolbar)), ((egg_editable_toolbar_get_type<br> ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2484"><td class="num" id="LN2484">2484</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2485"><td class="num" id="LN2485">2485</td><td class="line"> eom_application_reset_toolbars_model (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2486"><td class="num" id="LN2486">2486</td><td class="line"> model = eom_application_get_toolbars_model (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2487"><td class="num" id="LN2487">2487</td><td class="line"> egg_editable_toolbar_set_model</td></tr>
+<tr class="codeline" data-linenumber="2488"><td class="num" id="LN2488">2488</td><td class="line"> (<span class='macro'>EGG_EDITABLE_TOOLBAR (window-&gt;priv-&gt;toolbar)<span class='macro_popup'>((((EggEditableToolbar*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((window-&gt;priv-&gt;toolbar)), ((egg_editable_toolbar_get_type<br> ()))))))</span></span>, model);</td></tr>
+<tr class="codeline" data-linenumber="2489"><td class="num" id="LN2489">2489</td><td class="line"> egg_toolbar_editor_set_model (editor, model);</td></tr>
+<tr class="codeline" data-linenumber="2490"><td class="num" id="LN2490">2490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2491"><td class="num" id="LN2491">2491</td><td class="line"> <span class='comment'>/* Toolbar would be uneditable now otherwise */</span></td></tr>
+<tr class="codeline" data-linenumber="2492"><td class="num" id="LN2492">2492</td><td class="line"> egg_editable_toolbar_set_edit_mode</td></tr>
+<tr class="codeline" data-linenumber="2493"><td class="num" id="LN2493">2493</td><td class="line"> (<span class='macro'>EGG_EDITABLE_TOOLBAR (window-&gt;priv-&gt;toolbar)<span class='macro_popup'>((((EggEditableToolbar*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((window-&gt;priv-&gt;toolbar)), ((egg_editable_toolbar_get_type<br> ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2494"><td class="num" id="LN2494">2494</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (response == GTK_RESPONSE_HELP) {</td></tr>
+<tr class="codeline" data-linenumber="2495"><td class="num" id="LN2495">2495</td><td class="line"> eom_util_show_help (<span class='string_literal'>"eom-toolbareditor"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2496"><td class="num" id="LN2496">2496</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2497"><td class="num" id="LN2497">2497</td><td class="line"> egg_editable_toolbar_set_edit_mode</td></tr>
+<tr class="codeline" data-linenumber="2498"><td class="num" id="LN2498">2498</td><td class="line"> (<span class='macro'>EGG_EDITABLE_TOOLBAR (window-&gt;priv-&gt;toolbar)<span class='macro_popup'>((((EggEditableToolbar*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((window-&gt;priv-&gt;toolbar)), ((egg_editable_toolbar_get_type<br> ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2499"><td class="num" id="LN2499">2499</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2500"><td class="num" id="LN2500">2500</td><td class="line"> eom_application_save_toolbars_model (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2501"><td class="num" id="LN2501">2501</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2502"><td class="num" id="LN2502">2502</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (dialog)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2503"><td class="num" id="LN2503">2503</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2504"><td class="num" id="LN2504">2504</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2505"><td class="num" id="LN2505">2505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2506"><td class="num" id="LN2506">2506</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2507"><td class="num" id="LN2507">2507</td><td class="line">eom_window_cmd_edit_toolbar (GtkAction *action, gpointer *user_data)</td></tr>
+<tr class="codeline" data-linenumber="2508"><td class="num" id="LN2508">2508</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2509"><td class="num" id="LN2509">2509</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2510"><td class="num" id="LN2510">2510</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="2511"><td class="num" id="LN2511">2511</td><td class="line"> GtkWidget *editor;</td></tr>
+<tr class="codeline" data-linenumber="2512"><td class="num" id="LN2512">2512</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2513"><td class="num" id="LN2513">2513</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2514"><td class="num" id="LN2514">2514</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2515"><td class="num" id="LN2515">2515</td><td class="line"> window = <span class="mrange"><span class="mrange"><span class='macro'>EOM_WINDOW</span></span> (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:18ex; max-width:31em">Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</div></td></tr>
+<tr class="codeline" data-linenumber="2516"><td class="num" id="LN2516">2516</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2517"><td class="num" id="LN2517">2517</td><td class="line"> dialog = gtk_dialog_new_with_buttons (<span class='macro'>_(<span class='string_literal'>"Toolbar Editor"</span>)<span class='macro_popup'>gettext ("Toolbar Editor")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2518"><td class="num" id="LN2518">2518</td><td class="line"> <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2519"><td class="num" id="LN2519">2519</td><td class="line"> GTK_DIALOG_DESTROY_WITH_PARENT,</td></tr>
+<tr class="codeline" data-linenumber="2520"><td class="num" id="LN2520">2520</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Reset to Default"</span>)<span class='macro_popup'>gettext ("_Reset to Default")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2521"><td class="num" id="LN2521">2521</td><td class="line"> <span class='macro'>EOM_TB_EDITOR_DLG_RESET_RESPONSE<span class='macro_popup'>128</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2522"><td class="num" id="LN2522">2522</td><td class="line"> <span class='string_literal'>"gtk-close"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2523"><td class="num" id="LN2523">2523</td><td class="line"> GTK_RESPONSE_CLOSE,</td></tr>
+<tr class="codeline" data-linenumber="2524"><td class="num" id="LN2524">2524</td><td class="line"> <span class='string_literal'>"gtk-help"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2525"><td class="num" id="LN2525">2525</td><td class="line"> GTK_RESPONSE_HELP,</td></tr>
+<tr class="codeline" data-linenumber="2526"><td class="num" id="LN2526">2526</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2527"><td class="num" id="LN2527">2527</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2528"><td class="num" id="LN2528">2528</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_dialog_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2529"><td class="num" id="LN2529">2529</td><td class="line"> GTK_RESPONSE_CLOSE);</td></tr>
+<tr class="codeline" data-linenumber="2530"><td class="num" id="LN2530">2530</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2531"><td class="num" id="LN2531">2531</td><td class="line"> gtk_container_set_border_width (<span class='macro'>GTK_CONTAINER (dialog)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_container_get_type ()))))))</span></span>, 5);</td></tr>
+<tr class="codeline" data-linenumber="2532"><td class="num" id="LN2532">2532</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2533"><td class="num" id="LN2533">2533</td><td class="line"> gtk_box_set_spacing (<span class='macro'>GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog)))<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_dialog_get_content_area (((((GtkDialog*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), ((gtk_dialog_get_type ()))))))<br>))), ((gtk_box_get_type ()))))))</span></span>, 2);</td></tr>
+<tr class="codeline" data-linenumber="2534"><td class="num" id="LN2534">2534</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2535"><td class="num" id="LN2535">2535</td><td class="line"> gtk_window_set_default_size (<span class='macro'>GTK_WINDOW (dialog)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_window_get_type ()))))))</span></span>, 500, 400);</td></tr>
+<tr class="codeline" data-linenumber="2536"><td class="num" id="LN2536">2536</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2537"><td class="num" id="LN2537">2537</td><td class="line"> editor = egg_toolbar_editor_new (window-&gt;priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="2538"><td class="num" id="LN2538">2538</td><td class="line"> eom_application_get_toolbars_model (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="2539"><td class="num" id="LN2539">2539</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2540"><td class="num" id="LN2540">2540</td><td class="line"> gtk_container_set_border_width (<span class='macro'>GTK_CONTAINER (editor)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((editor)), ((gtk_container_get_type ()))))))</span></span>, 5);</td></tr>
+<tr class="codeline" data-linenumber="2541"><td class="num" id="LN2541">2541</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2542"><td class="num" id="LN2542">2542</td><td class="line"> <span class='comment'>// Use as much vertical space as available</span></td></tr>
+<tr class="codeline" data-linenumber="2543"><td class="num" id="LN2543">2543</td><td class="line"> gtk_widget_set_vexpand (<span class='macro'>GTK_WIDGET (editor)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((editor)), ((gtk_widget_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2544"><td class="num" id="LN2544">2544</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2545"><td class="num" id="LN2545">2545</td><td class="line"> gtk_box_set_spacing (<span class='macro'>GTK_BOX (EGG_TOOLBAR_EDITOR (editor))<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EggToolbarEditor*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((editor)), ((egg_toolbar_editor_get_type (<br>))))))))), ((gtk_box_get_type ()))))))</span></span>, 5);</td></tr>
+<tr class="codeline" data-linenumber="2546"><td class="num" id="LN2546">2546</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2547"><td class="num" id="LN2547">2547</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog)))<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_dialog_get_content_area (((((GtkDialog*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), ((gtk_dialog_get_type ()))))))<br>))), ((gtk_container_get_type ()))))))</span></span>, editor);</td></tr>
+<tr class="codeline" data-linenumber="2548"><td class="num" id="LN2548">2548</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2549"><td class="num" id="LN2549">2549</td><td class="line"> egg_editable_toolbar_set_edit_mode</td></tr>
+<tr class="codeline" data-linenumber="2550"><td class="num" id="LN2550">2550</td><td class="line"> (<span class='macro'>EGG_EDITABLE_TOOLBAR (window-&gt;priv-&gt;toolbar)<span class='macro_popup'>((((EggEditableToolbar*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((window-&gt;priv-&gt;toolbar)), ((egg_editable_toolbar_get_type<br> ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2551"><td class="num" id="LN2551">2551</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2552"><td class="num" id="LN2552">2552</td><td class="line"> g_object_set_data (<span class='macro'>G_OBJECT (dialog)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"EggToolbarEditor"</span>, editor);</td></tr>
+<tr class="codeline" data-linenumber="2553"><td class="num" id="LN2553">2553</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2554"><td class="num" id="LN2554">2554</td><td class="line"> <span class='macro'>g_signal_connect (dialog, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>eom_window_cmd_edit_toolbar_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2555"><td class="num" id="LN2555">2555</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_edit_toolbar_cb),<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>eom_window_cmd_edit_toolbar_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2556"><td class="num" id="LN2556">2556</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>eom_window_cmd_edit_toolbar_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2557"><td class="num" id="LN2557">2557</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2558"><td class="num" id="LN2558">2558</td><td class="line"> gtk_widget_show_all (dialog);</td></tr>
+<tr class="codeline" data-linenumber="2559"><td class="num" id="LN2559">2559</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2560"><td class="num" id="LN2560">2560</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2561"><td class="num" id="LN2561">2561</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2562"><td class="num" id="LN2562">2562</td><td class="line">eom_window_cmd_help (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2563"><td class="num" id="LN2563">2563</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2564"><td class="num" id="LN2564">2564</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2565"><td class="num" id="LN2565">2565</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2566"><td class="num" id="LN2566">2566</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2567"><td class="num" id="LN2567">2567</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2568"><td class="num" id="LN2568">2568</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2569"><td class="num" id="LN2569">2569</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2570"><td class="num" id="LN2570">2570</td><td class="line"> eom_util_show_help (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2571"><td class="num" id="LN2571">2571</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2572"><td class="num" id="LN2572">2572</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2573"><td class="num" id="LN2573">2573</td><td class="line"><span class='directive'>#define <span class='macro'>ABOUT_GROUP<span class='macro_popup'>"About"</span></span> "About"</span></td></tr>
+<tr class="codeline" data-linenumber="2574"><td class="num" id="LN2574">2574</td><td class="line"><span class='directive'>#define <span class='macro'>EMAILIFY(string)<span class='macro_popup'>(g_strdelimit ((string), "%", '@'))</span></span> (g_strdelimit ((string), "%", '@'))</span></td></tr>
+<tr class="codeline" data-linenumber="2575"><td class="num" id="LN2575">2575</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2576"><td class="num" id="LN2576">2576</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2577"><td class="num" id="LN2577">2577</td><td class="line">eom_window_cmd_about (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2578"><td class="num" id="LN2578">2578</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2579"><td class="num" id="LN2579">2579</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2580"><td class="num" id="LN2580">2580</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2581"><td class="num" id="LN2581">2581</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2582"><td class="num" id="LN2582">2582</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2583"><td class="num" id="LN2583">2583</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *license[] = {</td></tr>
+<tr class="codeline" data-linenumber="2584"><td class="num" id="LN2584">2584</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"This program is free software; you can redistribute it and/or modify "<span class='macro_popup'>("This program is free software; you can redistribute it and/or modify "<br> "it under the terms of the GNU General Public License as published by "<br> "the Free Software Foundation; either version 2 of the License, or "<br> "(at your option) any later version.\n")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2585"><td class="num" id="LN2585">2585</td><td class="line"> <span class='string_literal'><span class='macro'>"it under the terms of the GNU General Public License as published by "<span class='macro_popup'>("This program is free software; you can redistribute it and/or modify "<br> "it under the terms of the GNU General Public License as published by "<br> "the Free Software Foundation; either version 2 of the License, or "<br> "(at your option) any later version.\n")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2586"><td class="num" id="LN2586">2586</td><td class="line"> <span class='string_literal'><span class='macro'>"the Free Software Foundation; either version 2 of the License, or "<span class='macro_popup'>("This program is free software; you can redistribute it and/or modify "<br> "it under the terms of the GNU General Public License as published by "<br> "the Free Software Foundation; either version 2 of the License, or "<br> "(at your option) any later version.\n")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2587"><td class="num" id="LN2587">2587</td><td class="line"> <span class='string_literal'><span class='macro'>"(at your option) any later version.\n"</span>)<span class='macro_popup'>("This program is free software; you can redistribute it and/or modify "<br> "it under the terms of the GNU General Public License as published by "<br> "the Free Software Foundation; either version 2 of the License, or "<br> "(at your option) any later version.\n")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2588"><td class="num" id="LN2588">2588</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"This program is distributed in the hope that it will be useful, "<span class='macro_popup'>("This program is distributed in the hope that it will be useful, "<br> "but WITHOUT ANY WARRANTY; without even the implied warranty of "<br> "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "<br> "GNU General Public License for more details.\n")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2589"><td class="num" id="LN2589">2589</td><td class="line"> <span class='string_literal'><span class='macro'>"but WITHOUT ANY WARRANTY; without even the implied warranty of "<span class='macro_popup'>("This program is distributed in the hope that it will be useful, "<br> "but WITHOUT ANY WARRANTY; without even the implied warranty of "<br> "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "<br> "GNU General Public License for more details.\n")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2590"><td class="num" id="LN2590">2590</td><td class="line"> <span class='string_literal'><span class='macro'>"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "<span class='macro_popup'>("This program is distributed in the hope that it will be useful, "<br> "but WITHOUT ANY WARRANTY; without even the implied warranty of "<br> "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "<br> "GNU General Public License for more details.\n")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2591"><td class="num" id="LN2591">2591</td><td class="line"> <span class='string_literal'><span class='macro'>"GNU General Public License for more details.\n"</span>)<span class='macro_popup'>("This program is distributed in the hope that it will be useful, "<br> "but WITHOUT ANY WARRANTY; without even the implied warranty of "<br> "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "<br> "GNU General Public License for more details.\n")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2592"><td class="num" id="LN2592">2592</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"You should have received a copy of the GNU General Public License "<span class='macro_popup'>("You should have received a copy of the GNU General Public License "<br> "along with this program; if not, write to the Free Software "<br> "Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA."<br>)</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2593"><td class="num" id="LN2593">2593</td><td class="line"> <span class='string_literal'><span class='macro'>"along with this program; if not, write to the Free Software "<span class='macro_popup'>("You should have received a copy of the GNU General Public License "<br> "along with this program; if not, write to the Free Software "<br> "Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA."<br>)</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2594"><td class="num" id="LN2594">2594</td><td class="line"> <span class='string_literal'><span class='macro'>"Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA."</span>)<span class='macro_popup'>("You should have received a copy of the GNU General Public License "<br> "along with this program; if not, write to the Free Software "<br> "Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA."<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2595"><td class="num" id="LN2595">2595</td><td class="line"> };</td></tr>
+<tr class="codeline" data-linenumber="2596"><td class="num" id="LN2596">2596</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2597"><td class="num" id="LN2597">2597</td><td class="line"> <span class='keyword'>char</span> *license_trans;</td></tr>
+<tr class="codeline" data-linenumber="2598"><td class="num" id="LN2598">2598</td><td class="line"> GKeyFile *key_file;</td></tr>
+<tr class="codeline" data-linenumber="2599"><td class="num" id="LN2599">2599</td><td class="line"> GBytes *bytes;</td></tr>
+<tr class="codeline" data-linenumber="2600"><td class="num" id="LN2600">2600</td><td class="line"> <span class='keyword'>const</span> guint8 *data;</td></tr>
+<tr class="codeline" data-linenumber="2601"><td class="num" id="LN2601">2601</td><td class="line"> gsize data_len;</td></tr>
+<tr class="codeline" data-linenumber="2602"><td class="num" id="LN2602">2602</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2603"><td class="num" id="LN2603">2603</td><td class="line"> <span class='keyword'>char</span> **authors, **documenters;</td></tr>
+<tr class="codeline" data-linenumber="2604"><td class="num" id="LN2604">2604</td><td class="line"> gsize n_authors = 0, n_documenters = 0 , i;</td></tr>
+<tr class="codeline" data-linenumber="2605"><td class="num" id="LN2605">2605</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2606"><td class="num" id="LN2606">2606</td><td class="line"> bytes = g_resources_lookup_data (<span class='string_literal'>"/org/mate/eom/ui/eom.about"</span>, G_RESOURCE_LOOKUP_FLAGS_NONE, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="2607"><td class="num" id="LN2607">2607</td><td class="line"> <span class='macro'>g_assert_no_error (error)<span class='macro_popup'>do { if (error) g_assertion_message_error ("EOM", "eom-window.c"<br>, 2607, ((const char*) (__func__)), "error", error, 0, 0); } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2608"><td class="num" id="LN2608">2608</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2609"><td class="num" id="LN2609">2609</td><td class="line"> data = g_bytes_get_data (bytes, &amp;data_len);</td></tr>
+<tr class="codeline" data-linenumber="2610"><td class="num" id="LN2610">2610</td><td class="line"> key_file = g_key_file_new ();</td></tr>
+<tr class="codeline" data-linenumber="2611"><td class="num" id="LN2611">2611</td><td class="line"> g_key_file_load_from_data (key_file, (<span class='keyword'>const</span> <span class='keyword'>char</span> *) data, data_len, 0, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="2612"><td class="num" id="LN2612">2612</td><td class="line"> <span class='macro'>g_assert_no_error (error)<span class='macro_popup'>do { if (error) g_assertion_message_error ("EOM", "eom-window.c"<br>, 2612, ((const char*) (__func__)), "error", error, 0, 0); } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2613"><td class="num" id="LN2613">2613</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2614"><td class="num" id="LN2614">2614</td><td class="line"> authors = g_key_file_get_string_list (key_file, <span class='macro'>ABOUT_GROUP<span class='macro_popup'>"About"</span></span>, <span class='string_literal'>"Authors"</span>, &amp;n_authors, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2615"><td class="num" id="LN2615">2615</td><td class="line"> documenters = g_key_file_get_string_list (key_file, <span class='macro'>ABOUT_GROUP<span class='macro_popup'>"About"</span></span>, <span class='string_literal'>"Documenters"</span>, &amp;n_documenters, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2616"><td class="num" id="LN2616">2616</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2617"><td class="num" id="LN2617">2617</td><td class="line"> g_key_file_free (key_file);</td></tr>
+<tr class="codeline" data-linenumber="2618"><td class="num" id="LN2618">2618</td><td class="line"> g_bytes_unref (bytes);</td></tr>
+<tr class="codeline" data-linenumber="2619"><td class="num" id="LN2619">2619</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2620"><td class="num" id="LN2620">2620</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; n_authors; ++i)</td></tr>
+<tr class="codeline" data-linenumber="2621"><td class="num" id="LN2621">2621</td><td class="line"> authors[i] = <span class='macro'>EMAILIFY (authors[i])<span class='macro_popup'>(g_strdelimit ((authors[i]), "%", '@'))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2622"><td class="num" id="LN2622">2622</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; n_documenters; ++i)</td></tr>
+<tr class="codeline" data-linenumber="2623"><td class="num" id="LN2623">2623</td><td class="line"> documenters[i] = <span class='macro'>EMAILIFY (documenters[i])<span class='macro_popup'>(g_strdelimit ((documenters[i]), "%", '@'))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2624"><td class="num" id="LN2624">2624</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2625"><td class="num" id="LN2625">2625</td><td class="line"> license_trans = g_strconcat (<span class='macro'>_(license[0])<span class='macro_popup'>gettext (license[0])</span></span>, <span class='string_literal'>"\n"</span>, <span class='macro'>_(license[1])<span class='macro_popup'>gettext (license[1])</span></span>, <span class='string_literal'>"\n"</span>, <span class='macro'>_(license[2])<span class='macro_popup'>gettext (license[2])</span></span>, <span class='string_literal'>"\n"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2626"><td class="num" id="LN2626">2626</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2627"><td class="num" id="LN2627">2627</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2628"><td class="num" id="LN2628">2628</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2629"><td class="num" id="LN2629">2629</td><td class="line"> gtk_show_about_dialog (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2630"><td class="num" id="LN2630">2630</td><td class="line"> <span class='string_literal'>"program-name"</span>, <span class='macro'>_(<span class='string_literal'>"Eye of MATE"</span>)<span class='macro_popup'>gettext ("Eye of MATE")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2631"><td class="num" id="LN2631">2631</td><td class="line"> <span class='string_literal'>"title"</span>, <span class='macro'>_(<span class='string_literal'>"About Eye of MATE"</span>)<span class='macro_popup'>gettext ("About Eye of MATE")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2632"><td class="num" id="LN2632">2632</td><td class="line"> <span class='string_literal'>"version"</span>, <span class='macro'>VERSION<span class='macro_popup'>"1.27.1"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2633"><td class="num" id="LN2633">2633</td><td class="line"> <span class='string_literal'>"copyright"</span>, <span class='macro'>_(<span class='string_literal'>"Copyright \xc2\xa9 2000-2010 Free Software Foundation, Inc.\n"<span class='macro_popup'>gettext ("Copyright \xc2\xa9 2000-2010 Free Software Foundation, Inc.\n"<br> "Copyright \xc2\xa9 2011 Perberos\n" "Copyright \xc2\xa9 2012-2021 MATE developers"<br>)</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2634"><td class="num" id="LN2634">2634</td><td class="line"> <span class='string_literal'><span class='macro'>"Copyright \xc2\xa9 2011 Perberos\n"<span class='macro_popup'>gettext ("Copyright \xc2\xa9 2000-2010 Free Software Foundation, Inc.\n"<br> "Copyright \xc2\xa9 2011 Perberos\n" "Copyright \xc2\xa9 2012-2021 MATE developers"<br>)</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2635"><td class="num" id="LN2635">2635</td><td class="line"> <span class='string_literal'><span class='macro'>"Copyright \xc2\xa9 2012-2021 MATE developers"</span>)<span class='macro_popup'>gettext ("Copyright \xc2\xa9 2000-2010 Free Software Foundation, Inc.\n"<br> "Copyright \xc2\xa9 2011 Perberos\n" "Copyright \xc2\xa9 2012-2021 MATE developers"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2636"><td class="num" id="LN2636">2636</td><td class="line"> <span class='string_literal'>"comments"</span>,<span class='macro'>_(<span class='string_literal'>"Eye of MATE is a simple graphics viewer for the MATE Desktop Environment."</span>)<span class='macro_popup'>gettext ("Eye of MATE is a simple graphics viewer for the MATE Desktop Environment."<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2637"><td class="num" id="LN2637">2637</td><td class="line"> <span class='string_literal'>"authors"</span>, authors,</td></tr>
+<tr class="codeline" data-linenumber="2638"><td class="num" id="LN2638">2638</td><td class="line"> <span class='string_literal'>"documenters"</span>, documenters,</td></tr>
+<tr class="codeline" data-linenumber="2639"><td class="num" id="LN2639">2639</td><td class="line"> <span class='string_literal'>"translator-credits"</span>, <span class='macro'>_(<span class='string_literal'>"translator-credits"</span>)<span class='macro_popup'>gettext ("translator-credits")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2640"><td class="num" id="LN2640">2640</td><td class="line"> <span class='string_literal'>"website"</span>, <span class='macro'>PACKAGE_URL<span class='macro_popup'>"https://mate-desktop.org"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2641"><td class="num" id="LN2641">2641</td><td class="line"> <span class='string_literal'>"logo-icon-name"</span>, <span class='string_literal'>"eom"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2642"><td class="num" id="LN2642">2642</td><td class="line"> <span class='string_literal'>"wrap-license"</span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2643"><td class="num" id="LN2643">2643</td><td class="line"> <span class='string_literal'>"license"</span>, license_trans,</td></tr>
+<tr class="codeline" data-linenumber="2644"><td class="num" id="LN2644">2644</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2645"><td class="num" id="LN2645">2645</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2646"><td class="num" id="LN2646">2646</td><td class="line"> g_strfreev (authors);</td></tr>
+<tr class="codeline" data-linenumber="2647"><td class="num" id="LN2647">2647</td><td class="line"> g_strfreev (documenters);</td></tr>
+<tr class="codeline" data-linenumber="2648"><td class="num" id="LN2648">2648</td><td class="line"> g_free (license_trans);</td></tr>
+<tr class="codeline" data-linenumber="2649"><td class="num" id="LN2649">2649</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2650"><td class="num" id="LN2650">2650</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2651"><td class="num" id="LN2651">2651</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2652"><td class="num" id="LN2652">2652</td><td class="line">eom_window_cmd_show_hide_bar (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2653"><td class="num" id="LN2653">2653</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2654"><td class="num" id="LN2654">2654</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2655"><td class="num" id="LN2655">2655</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2656"><td class="num" id="LN2656">2656</td><td class="line"> gboolean visible;</td></tr>
+<tr class="codeline" data-linenumber="2657"><td class="num" id="LN2657">2657</td><td class="line"> <span class='keyword'>const</span> gchar *action_name;</td></tr>
+<tr class="codeline" data-linenumber="2658"><td class="num" id="LN2658">2658</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2659"><td class="num" id="LN2659">2659</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2660"><td class="num" id="LN2660">2660</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2661"><td class="num" id="LN2661">2661</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2662"><td class="num" id="LN2662">2662</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2663"><td class="num" id="LN2663">2663</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2664"><td class="num" id="LN2664">2664</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;mode != EOM_WINDOW_MODE_NORMAL &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="2665"><td class="num" id="LN2665">2665</td><td class="line"> priv-&gt;mode != EOM_WINDOW_MODE_FULLSCREEN) <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2666"><td class="num" id="LN2666">2666</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2667"><td class="num" id="LN2667">2667</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2668"><td class="num" id="LN2668">2668</td><td class="line"> visible = gtk_toggle_action_get_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2669"><td class="num" id="LN2669">2669</td><td class="line"> action_name = gtk_action_get_name (action);</td></tr>
+<tr class="codeline" data-linenumber="2670"><td class="num" id="LN2670">2670</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2671"><td class="num" id="LN2671">2671</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2672"><td class="num" id="LN2672">2672</td><td class="line"> <span class='keyword'>if</span> (g_ascii_strcasecmp (action_name, <span class='string_literal'>"ViewToolbar"</span>) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="2673"><td class="num" id="LN2673">2673</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (priv-&gt;toolbar)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;toolbar)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"visible"</span>, visible, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2674"><td class="num" id="LN2674">2674</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2675"><td class="num" id="LN2675">2675</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;mode == EOM_WINDOW_MODE_NORMAL)</td></tr>
+<tr class="codeline" data-linenumber="2676"><td class="num" id="LN2676">2676</td><td class="line"> g_settings_set_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_TOOLBAR<span class='macro_popup'>"toolbar"</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="2677"><td class="num" id="LN2677">2677</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2678"><td class="num" id="LN2678">2678</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (g_ascii_strcasecmp (action_name, <span class='string_literal'>"ViewStatusbar"</span>) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="2679"><td class="num" id="LN2679">2679</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (priv-&gt;statusbar)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), (((GType) ((20) &lt;&lt; (2)))))))<br>)</span></span>, <span class='string_literal'>"visible"</span>, visible, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2680"><td class="num" id="LN2680">2680</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2681"><td class="num" id="LN2681">2681</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;mode == EOM_WINDOW_MODE_NORMAL)</td></tr>
+<tr class="codeline" data-linenumber="2682"><td class="num" id="LN2682">2682</td><td class="line"> g_settings_set_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_STATUSBAR<span class='macro_popup'>"statusbar"</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="2683"><td class="num" id="LN2683">2683</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2684"><td class="num" id="LN2684">2684</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (g_ascii_strcasecmp (action_name, <span class='string_literal'>"ViewImageCollection"</span>) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="2685"><td class="num" id="LN2685">2685</td><td class="line"> <span class='keyword'>if</span> (visible) {</td></tr>
+<tr class="codeline" data-linenumber="2686"><td class="num" id="LN2686">2686</td><td class="line"> <span class='comment'>/* Make sure the focus widget is realized to</span></td></tr>
+<tr class="codeline" data-linenumber="2687"><td class="num" id="LN2687">2687</td><td class="line"> <span class='comment'>* avoid warnings on keypress events */</span></td></tr>
+<tr class="codeline" data-linenumber="2688"><td class="num" id="LN2688">2688</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_realized (window-&gt;priv-&gt;thumbview))</td></tr>
+<tr class="codeline" data-linenumber="2689"><td class="num" id="LN2689">2689</td><td class="line"> gtk_widget_realize (window-&gt;priv-&gt;thumbview);</td></tr>
+<tr class="codeline" data-linenumber="2690"><td class="num" id="LN2690">2690</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2691"><td class="num" id="LN2691">2691</td><td class="line"> gtk_widget_show (priv-&gt;nav);</td></tr>
+<tr class="codeline" data-linenumber="2692"><td class="num" id="LN2692">2692</td><td class="line"> gtk_widget_grab_focus (priv-&gt;thumbview);</td></tr>
+<tr class="codeline" data-linenumber="2693"><td class="num" id="LN2693">2693</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2694"><td class="num" id="LN2694">2694</td><td class="line"> <span class='comment'>/* Make sure the focus widget is realized to</span></td></tr>
+<tr class="codeline" data-linenumber="2695"><td class="num" id="LN2695">2695</td><td class="line"> <span class='comment'>* avoid warnings on keypress events.</span></td></tr>
+<tr class="codeline" data-linenumber="2696"><td class="num" id="LN2696">2696</td><td class="line"> <span class='comment'>* Don't do it during init phase or the view</span></td></tr>
+<tr class="codeline" data-linenumber="2697"><td class="num" id="LN2697">2697</td><td class="line"> <span class='comment'>* will get a bogus allocation. */</span></td></tr>
+<tr class="codeline" data-linenumber="2698"><td class="num" id="LN2698">2698</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_realized (priv-&gt;view)</td></tr>
+<tr class="codeline" data-linenumber="2699"><td class="num" id="LN2699">2699</td><td class="line"> &amp;&amp; priv-&gt;status == EOM_WINDOW_STATUS_NORMAL)</td></tr>
+<tr class="codeline" data-linenumber="2700"><td class="num" id="LN2700">2700</td><td class="line"> gtk_widget_realize (priv-&gt;view);</td></tr>
+<tr class="codeline" data-linenumber="2701"><td class="num" id="LN2701">2701</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2702"><td class="num" id="LN2702">2702</td><td class="line"> gtk_widget_hide (priv-&gt;nav);</td></tr>
+<tr class="codeline" data-linenumber="2703"><td class="num" id="LN2703">2703</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2704"><td class="num" id="LN2704">2704</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_realized (priv-&gt;view))</td></tr>
+<tr class="codeline" data-linenumber="2705"><td class="num" id="LN2705">2705</td><td class="line"> gtk_widget_grab_focus (priv-&gt;view);</td></tr>
+<tr class="codeline" data-linenumber="2706"><td class="num" id="LN2706">2706</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2707"><td class="num" id="LN2707">2707</td><td class="line"> g_settings_set_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_IMAGE_COLLECTION<span class='macro_popup'>"image-collection"</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="2708"><td class="num" id="LN2708">2708</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2709"><td class="num" id="LN2709">2709</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (g_ascii_strcasecmp (action_name, <span class='string_literal'>"ViewSidebar"</span>) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="2710"><td class="num" id="LN2710">2710</td><td class="line"> <span class='keyword'>if</span> (visible) {</td></tr>
+<tr class="codeline" data-linenumber="2711"><td class="num" id="LN2711">2711</td><td class="line"> gtk_widget_show (priv-&gt;sidebar);</td></tr>
+<tr class="codeline" data-linenumber="2712"><td class="num" id="LN2712">2712</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2713"><td class="num" id="LN2713">2713</td><td class="line"> gtk_widget_hide (priv-&gt;sidebar);</td></tr>
+<tr class="codeline" data-linenumber="2714"><td class="num" id="LN2714">2714</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2715"><td class="num" id="LN2715">2715</td><td class="line"> g_settings_set_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_SIDEBAR<span class='macro_popup'>"sidebar"</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="2716"><td class="num" id="LN2716">2716</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2717"><td class="num" id="LN2717">2717</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2718"><td class="num" id="LN2718">2718</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2719"><td class="num" id="LN2719">2719</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2720"><td class="num" id="LN2720">2720</td><td class="line">wallpaper_info_bar_response (GtkInfoBar *bar, gint response, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2721"><td class="num" id="LN2721">2721</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2722"><td class="num" id="LN2722">2722</td><td class="line"> <span class='keyword'>if</span> (response == GTK_RESPONSE_YES) {</td></tr>
+<tr class="codeline" data-linenumber="2723"><td class="num" id="LN2723">2723</td><td class="line"> GAppInfo *app_info;</td></tr>
+<tr class="codeline" data-linenumber="2724"><td class="num" id="LN2724">2724</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2725"><td class="num" id="LN2725">2725</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2726"><td class="num" id="LN2726">2726</td><td class="line"> app_info = g_app_info_create_from_commandline (<span class='string_literal'>"mate-appearance-properties --show-page=background"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2727"><td class="num" id="LN2727">2727</td><td class="line"> <span class='string_literal'>"mate-appearance-properties"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2728"><td class="num" id="LN2728">2728</td><td class="line"> G_APP_INFO_CREATE_NONE,</td></tr>
+<tr class="codeline" data-linenumber="2729"><td class="num" id="LN2729">2729</td><td class="line"> &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="2730"><td class="num" id="LN2730">2730</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2731"><td class="num" id="LN2731">2731</td><td class="line"> <span class='keyword'>if</span> (error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2732"><td class="num" id="LN2732">2732</td><td class="line"> g_warning (<span class='string_literal'>"%s%s"</span>, <span class='macro'>_(<span class='string_literal'>"Error launching appearance preferences dialog: "</span>)<span class='macro_popup'>gettext ("Error launching appearance preferences dialog: ")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2733"><td class="num" id="LN2733">2733</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="2734"><td class="num" id="LN2734">2734</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="2735"><td class="num" id="LN2735">2735</td><td class="line"> error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2736"><td class="num" id="LN2736">2736</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2737"><td class="num" id="LN2737">2737</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2738"><td class="num" id="LN2738">2738</td><td class="line"> <span class='keyword'>if</span> (app_info != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2739"><td class="num" id="LN2739">2739</td><td class="line"> GdkAppLaunchContext *context;</td></tr>
+<tr class="codeline" data-linenumber="2740"><td class="num" id="LN2740">2740</td><td class="line"> GdkDisplay *display;</td></tr>
+<tr class="codeline" data-linenumber="2741"><td class="num" id="LN2741">2741</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2742"><td class="num" id="LN2742">2742</td><td class="line"> display = gtk_widget_get_display (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2743"><td class="num" id="LN2743">2743</td><td class="line"> context = gdk_display_get_app_launch_context (display);</td></tr>
+<tr class="codeline" data-linenumber="2744"><td class="num" id="LN2744">2744</td><td class="line"> g_app_info_launch (app_info, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>G_APP_LAUNCH_CONTEXT (context)<span class='macro_popup'>((((GAppLaunchContext*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((context)), ((g_app_launch_context_get_type<br> ()))))))</span></span>, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="2745"><td class="num" id="LN2745">2745</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2746"><td class="num" id="LN2746">2746</td><td class="line"> <span class='keyword'>if</span> (error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2747"><td class="num" id="LN2747">2747</td><td class="line"> g_warning (<span class='string_literal'>"%s%s"</span>, <span class='macro'>_(<span class='string_literal'>"Error launching appearance preferences dialog: "</span>)<span class='macro_popup'>gettext ("Error launching appearance preferences dialog: ")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2748"><td class="num" id="LN2748">2748</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="2749"><td class="num" id="LN2749">2749</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="2750"><td class="num" id="LN2750">2750</td><td class="line"> error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2751"><td class="num" id="LN2751">2751</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2752"><td class="num" id="LN2752">2752</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2753"><td class="num" id="LN2753">2753</td><td class="line"> g_object_unref (context);</td></tr>
+<tr class="codeline" data-linenumber="2754"><td class="num" id="LN2754">2754</td><td class="line"> g_object_unref (app_info);</td></tr>
+<tr class="codeline" data-linenumber="2755"><td class="num" id="LN2755">2755</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2756"><td class="num" id="LN2756">2756</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2757"><td class="num" id="LN2757">2757</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2758"><td class="num" id="LN2758">2758</td><td class="line"> <span class='comment'>/* Close message area on every response */</span></td></tr>
+<tr class="codeline" data-linenumber="2759"><td class="num" id="LN2759">2759</td><td class="line"> eom_window_set_message_area (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2760"><td class="num" id="LN2760">2760</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2761"><td class="num" id="LN2761">2761</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2762"><td class="num" id="LN2762">2762</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2763"><td class="num" id="LN2763">2763</td><td class="line">eom_window_set_wallpaper (EomWindow *window, <span class='keyword'>const</span> gchar *filename, <span class='keyword'>const</span> gchar *visible_filename)</td></tr>
+<tr class="codeline" data-linenumber="2764"><td class="num" id="LN2764">2764</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2765"><td class="num" id="LN2765">2765</td><td class="line"> GtkWidget *info_bar;</td></tr>
+<tr class="codeline" data-linenumber="2766"><td class="num" id="LN2766">2766</td><td class="line"> GtkWidget *image;</td></tr>
+<tr class="codeline" data-linenumber="2767"><td class="num" id="LN2767">2767</td><td class="line"> GtkWidget *label;</td></tr>
+<tr class="codeline" data-linenumber="2768"><td class="num" id="LN2768">2768</td><td class="line"> GtkWidget *hbox;</td></tr>
+<tr class="codeline" data-linenumber="2769"><td class="num" id="LN2769">2769</td><td class="line"> gchar *markup;</td></tr>
+<tr class="codeline" data-linenumber="2770"><td class="num" id="LN2770">2770</td><td class="line"> gchar *text;</td></tr>
+<tr class="codeline" data-linenumber="2771"><td class="num" id="LN2771">2771</td><td class="line"> gchar *basename;</td></tr>
+<tr class="codeline" data-linenumber="2772"><td class="num" id="LN2772">2772</td><td class="line"> GSettings *wallpaper_settings;</td></tr>
+<tr class="codeline" data-linenumber="2773"><td class="num" id="LN2773">2773</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2774"><td class="num" id="LN2774">2774</td><td class="line"> wallpaper_settings = g_settings_new (<span class='macro'>EOM_CONF_BACKGROUND_SCHEMA<span class='macro_popup'>"org.mate.background"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2775"><td class="num" id="LN2775">2775</td><td class="line"> g_settings_set_string (wallpaper_settings,</td></tr>
+<tr class="codeline" data-linenumber="2776"><td class="num" id="LN2776">2776</td><td class="line"> <span class='macro'>EOM_CONF_BACKGROUND_FILE<span class='macro_popup'>"picture-filename"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2777"><td class="num" id="LN2777">2777</td><td class="line"> filename);</td></tr>
+<tr class="codeline" data-linenumber="2778"><td class="num" id="LN2778">2778</td><td class="line"> g_object_unref (wallpaper_settings);</td></tr>
+<tr class="codeline" data-linenumber="2779"><td class="num" id="LN2779">2779</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2780"><td class="num" id="LN2780">2780</td><td class="line"> <span class='comment'>/* I18N: When setting mnemonics for these strings, watch out to not</span></td></tr>
+<tr class="codeline" data-linenumber="2781"><td class="num" id="LN2781">2781</td><td class="line"> <span class='comment'>clash with mnemonics from eom's menubar */</span></td></tr>
+<tr class="codeline" data-linenumber="2782"><td class="num" id="LN2782">2782</td><td class="line"> info_bar = gtk_info_bar_new_with_buttons (<span class='macro'>_(<span class='string_literal'>"_Open Background Preferences"</span>)<span class='macro_popup'>gettext ("_Open Background Preferences")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2783"><td class="num" id="LN2783">2783</td><td class="line"> GTK_RESPONSE_YES,</td></tr>
+<tr class="codeline" data-linenumber="2784"><td class="num" id="LN2784">2784</td><td class="line"> <span class='macro'>C_(<span class='string_literal'>"MessageArea"</span>,<span class='string_literal'>"Hi_de"</span>)<span class='macro_popup'>g_dpgettext (((void*)0), "MessageArea" "\004" "Hi_de", strlen<br> ("MessageArea") + 1)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2785"><td class="num" id="LN2785">2785</td><td class="line"> GTK_RESPONSE_NO, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2786"><td class="num" id="LN2786">2786</td><td class="line"> gtk_info_bar_set_message_type (<span class='macro'>GTK_INFO_BAR (info_bar)<span class='macro_popup'>((((GtkInfoBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((info_bar)), ((gtk_info_bar_get_type()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2787"><td class="num" id="LN2787">2787</td><td class="line"> GTK_MESSAGE_QUESTION);</td></tr>
+<tr class="codeline" data-linenumber="2788"><td class="num" id="LN2788">2788</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2789"><td class="num" id="LN2789">2789</td><td class="line"> image = gtk_image_new_from_icon_name (<span class='string_literal'>"dialog-question"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2790"><td class="num" id="LN2790">2790</td><td class="line"> GTK_ICON_SIZE_DIALOG);</td></tr>
+<tr class="codeline" data-linenumber="2791"><td class="num" id="LN2791">2791</td><td class="line"> label = gtk_label_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2792"><td class="num" id="LN2792">2792</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2793"><td class="num" id="LN2793">2793</td><td class="line"> <span class='keyword'>if</span> (!visible_filename)</td></tr>
+<tr class="codeline" data-linenumber="2794"><td class="num" id="LN2794">2794</td><td class="line"> basename = g_path_get_basename (filename);</td></tr>
+<tr class="codeline" data-linenumber="2795"><td class="num" id="LN2795">2795</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2796"><td class="num" id="LN2796">2796</td><td class="line"> <span class='comment'>/* The newline character is currently necessary due to a problem</span></td></tr>
+<tr class="codeline" data-linenumber="2797"><td class="num" id="LN2797">2797</td><td class="line"> <span class='comment'>* with the automatic line break. */</span></td></tr>
+<tr class="codeline" data-linenumber="2798"><td class="num" id="LN2798">2798</td><td class="line"> text = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"The image \"%s\" has been set as Desktop Background."<span class='macro_popup'>gettext ("The image \"%s\" has been set as Desktop Background."<br> "\nWould you like to modify its appearance?")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2799"><td class="num" id="LN2799">2799</td><td class="line"> <span class='string_literal'><span class='macro'>"\nWould you like to modify its appearance?"</span>)<span class='macro_popup'>gettext ("The image \"%s\" has been set as Desktop Background."<br> "\nWould you like to modify its appearance?")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2800"><td class="num" id="LN2800">2800</td><td class="line"> visible_filename ? visible_filename : basename);</td></tr>
+<tr class="codeline" data-linenumber="2801"><td class="num" id="LN2801">2801</td><td class="line"> markup = g_markup_printf_escaped (<span class='string_literal'>"&lt;b&gt;%s&lt;/b&gt;"</span>, text);</td></tr>
+<tr class="codeline" data-linenumber="2802"><td class="num" id="LN2802">2802</td><td class="line"> gtk_label_set_markup (<span class='macro'>GTK_LABEL (label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((label)), ((gtk_label_get_type ()))))))</span></span>, markup);</td></tr>
+<tr class="codeline" data-linenumber="2803"><td class="num" id="LN2803">2803</td><td class="line"> g_free (markup);</td></tr>
+<tr class="codeline" data-linenumber="2804"><td class="num" id="LN2804">2804</td><td class="line"> g_free (text);</td></tr>
+<tr class="codeline" data-linenumber="2805"><td class="num" id="LN2805">2805</td><td class="line"> <span class='keyword'>if</span> (!visible_filename)</td></tr>
+<tr class="codeline" data-linenumber="2806"><td class="num" id="LN2806">2806</td><td class="line"> g_free (basename);</td></tr>
+<tr class="codeline" data-linenumber="2807"><td class="num" id="LN2807">2807</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2808"><td class="num" id="LN2808">2808</td><td class="line"> hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);</td></tr>
+<tr class="codeline" data-linenumber="2809"><td class="num" id="LN2809">2809</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, image, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2810"><td class="num" id="LN2810">2810</td><td class="line"> gtk_widget_set_halign (image, GTK_ALIGN_START);</td></tr>
+<tr class="codeline" data-linenumber="2811"><td class="num" id="LN2811">2811</td><td class="line"> gtk_widget_set_valign (image, GTK_ALIGN_END);</td></tr>
+<tr class="codeline" data-linenumber="2812"><td class="num" id="LN2812">2812</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, label, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2813"><td class="num" id="LN2813">2813</td><td class="line"> gtk_label_set_xalign (<span class='macro'>GTK_LABEL (label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((label)), ((gtk_label_get_type ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="2814"><td class="num" id="LN2814">2814</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (gtk_info_bar_get_content_area (GTK_INFO_BAR (info_bar)))<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_info_bar_get_content_area (((((GtkInfoBar*) (void *)<br> g_type_check_instance_cast ((GTypeInstance*) ((info_bar)), (<br>(gtk_info_bar_get_type()))))))))), ((gtk_box_get_type ())))))<br>)</span></span>, hbox, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2815"><td class="num" id="LN2815">2815</td><td class="line"> gtk_widget_show_all (hbox);</td></tr>
+<tr class="codeline" data-linenumber="2816"><td class="num" id="LN2816">2816</td><td class="line"> gtk_widget_show (info_bar);</td></tr>
+<tr class="codeline" data-linenumber="2817"><td class="num" id="LN2817">2817</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2818"><td class="num" id="LN2818">2818</td><td class="line"> eom_window_set_message_area (window, info_bar);</td></tr>
+<tr class="codeline" data-linenumber="2819"><td class="num" id="LN2819">2819</td><td class="line"> gtk_info_bar_set_default_response (<span class='macro'>GTK_INFO_BAR (info_bar)<span class='macro_popup'>((((GtkInfoBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((info_bar)), ((gtk_info_bar_get_type()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2820"><td class="num" id="LN2820">2820</td><td class="line"> GTK_RESPONSE_YES);</td></tr>
+<tr class="codeline" data-linenumber="2821"><td class="num" id="LN2821">2821</td><td class="line"> <span class='macro'>g_signal_connect (info_bar, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((info_bar), ("response"), (((GCallback<br>) (wallpaper_info_bar_response))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2822"><td class="num" id="LN2822">2822</td><td class="line"> <span class='macro'>G_CALLBACK (wallpaper_info_bar_response),<span class='macro_popup'>g_signal_connect_data ((info_bar), ("response"), (((GCallback<br>) (wallpaper_info_bar_response))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2823"><td class="num" id="LN2823">2823</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((info_bar), ("response"), (((GCallback<br>) (wallpaper_info_bar_response))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2824"><td class="num" id="LN2824">2824</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2825"><td class="num" id="LN2825">2825</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2826"><td class="num" id="LN2826">2826</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2827"><td class="num" id="LN2827">2827</td><td class="line">eom_job_save_cb (EomJobSave *job, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2828"><td class="num" id="LN2828">2828</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2829"><td class="num" id="LN2829">2829</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2830"><td class="num" id="LN2830">2830</td><td class="line"> GtkAction *action_save;</td></tr>
+<tr class="codeline" data-linenumber="2831"><td class="num" id="LN2831">2831</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2832"><td class="num" id="LN2832">2832</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (job,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_save_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2833"><td class="num" id="LN2833">2833</td><td class="line"> <span class='macro'>eom_job_save_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_save_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2834"><td class="num" id="LN2834">2834</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_save_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2835"><td class="num" id="LN2835">2835</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2836"><td class="num" id="LN2836">2836</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (job,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_save_progress_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2837"><td class="num" id="LN2837">2837</td><td class="line"> <span class='macro'>eom_job_save_progress_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_save_progress_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2838"><td class="num" id="LN2838">2838</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_save_progress_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2839"><td class="num" id="LN2839">2839</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2840"><td class="num" id="LN2840">2840</td><td class="line"> g_object_unref (window-&gt;priv-&gt;save_job);</td></tr>
+<tr class="codeline" data-linenumber="2841"><td class="num" id="LN2841">2841</td><td class="line"> window-&gt;priv-&gt;save_job = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2842"><td class="num" id="LN2842">2842</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2843"><td class="num" id="LN2843">2843</td><td class="line"> update_status_bar (window);</td></tr>
+<tr class="codeline" data-linenumber="2844"><td class="num" id="LN2844">2844</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2845"><td class="num" id="LN2845">2845</td><td class="line"> action_save = gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="2846"><td class="num" id="LN2846">2846</td><td class="line"> <span class='string_literal'>"ImageSave"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2847"><td class="num" id="LN2847">2847</td><td class="line"> gtk_action_set_sensitive (action_save, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2848"><td class="num" id="LN2848">2848</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2849"><td class="num" id="LN2849">2849</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2850"><td class="num" id="LN2850">2850</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2851"><td class="num" id="LN2851">2851</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2852"><td class="num" id="LN2852">2852</td><td class="line">eom_job_copy_cb (EomJobCopy *job, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2853"><td class="num" id="LN2853">2853</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2854"><td class="num" id="LN2854">2854</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2855"><td class="num" id="LN2855">2855</td><td class="line"> gchar *filepath, *basename, *filename, *extension;</td></tr>
+<tr class="codeline" data-linenumber="2856"><td class="num" id="LN2856">2856</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="2857"><td class="num" id="LN2857">2857</td><td class="line"> GFile *source_file, *dest_file;</td></tr>
+<tr class="codeline" data-linenumber="2858"><td class="num" id="LN2858">2858</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2859"><td class="num" id="LN2859">2859</td><td class="line"> <span class='comment'>/* Create source GFile */</span></td></tr>
+<tr class="codeline" data-linenumber="2860"><td class="num" id="LN2860">2860</td><td class="line"> basename = g_file_get_basename (job-&gt;images-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="2861"><td class="num" id="LN2861">2861</td><td class="line"> filepath = g_build_filename (job-&gt;dest, basename, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2862"><td class="num" id="LN2862">2862</td><td class="line"> source_file = g_file_new_for_path (filepath);</td></tr>
+<tr class="codeline" data-linenumber="2863"><td class="num" id="LN2863">2863</td><td class="line"> g_free (filepath);</td></tr>
+<tr class="codeline" data-linenumber="2864"><td class="num" id="LN2864">2864</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2865"><td class="num" id="LN2865">2865</td><td class="line"> <span class='comment'>/* Create destination GFile */</span></td></tr>
+<tr class="codeline" data-linenumber="2866"><td class="num" id="LN2866">2866</td><td class="line"> extension = eom_util_filename_get_extension (basename);</td></tr>
+<tr class="codeline" data-linenumber="2867"><td class="num" id="LN2867">2867</td><td class="line"> filename = g_strdup_printf (<span class='string_literal'>"%s.%s"</span>, <span class='macro'>EOM_WALLPAPER_FILENAME<span class='macro_popup'>"eom-wallpaper"</span></span>, extension);</td></tr>
+<tr class="codeline" data-linenumber="2868"><td class="num" id="LN2868">2868</td><td class="line"> filepath = g_build_filename (job-&gt;dest, filename, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2869"><td class="num" id="LN2869">2869</td><td class="line"> dest_file = g_file_new_for_path (filepath);</td></tr>
+<tr class="codeline" data-linenumber="2870"><td class="num" id="LN2870">2870</td><td class="line"> g_free (filename);</td></tr>
+<tr class="codeline" data-linenumber="2871"><td class="num" id="LN2871">2871</td><td class="line"> g_free (extension);</td></tr>
+<tr class="codeline" data-linenumber="2872"><td class="num" id="LN2872">2872</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2873"><td class="num" id="LN2873">2873</td><td class="line"> <span class='comment'>/* Move the file */</span></td></tr>
+<tr class="codeline" data-linenumber="2874"><td class="num" id="LN2874">2874</td><td class="line"> g_file_move (source_file, dest_file, G_FILE_COPY_OVERWRITE,</td></tr>
+<tr class="codeline" data-linenumber="2875"><td class="num" id="LN2875">2875</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2876"><td class="num" id="LN2876">2876</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2877"><td class="num" id="LN2877">2877</td><td class="line"> <span class='comment'>/* Set the wallpaper */</span></td></tr>
+<tr class="codeline" data-linenumber="2878"><td class="num" id="LN2878">2878</td><td class="line"> eom_window_set_wallpaper (window, filepath, basename);</td></tr>
+<tr class="codeline" data-linenumber="2879"><td class="num" id="LN2879">2879</td><td class="line"> g_free (basename);</td></tr>
+<tr class="codeline" data-linenumber="2880"><td class="num" id="LN2880">2880</td><td class="line"> g_free (filepath);</td></tr>
+<tr class="codeline" data-linenumber="2881"><td class="num" id="LN2881">2881</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2882"><td class="num" id="LN2882">2882</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2883"><td class="num" id="LN2883">2883</td><td class="line"> window-&gt;priv-&gt;copy_file_cid);</td></tr>
+<tr class="codeline" data-linenumber="2884"><td class="num" id="LN2884">2884</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2885"><td class="num" id="LN2885">2885</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="2886"><td class="num" id="LN2886">2886</td><td class="line"> <span class='string_literal'>"ImageSetAsWallpaper"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2887"><td class="num" id="LN2887">2887</td><td class="line"> gtk_action_set_sensitive (action, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2888"><td class="num" id="LN2888">2888</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2889"><td class="num" id="LN2889">2889</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2890"><td class="num" id="LN2890">2890</td><td class="line"> window-&gt;priv-&gt;copy_job = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2891"><td class="num" id="LN2891">2891</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2892"><td class="num" id="LN2892">2892</td><td class="line"> g_object_unref (source_file);</td></tr>
+<tr class="codeline" data-linenumber="2893"><td class="num" id="LN2893">2893</td><td class="line"> g_object_unref (dest_file);</td></tr>
+<tr class="codeline" data-linenumber="2894"><td class="num" id="LN2894">2894</td><td class="line"> g_object_unref (<span class='macro'>G_OBJECT (job-&gt;images-&gt;data)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((job-&gt;images-&gt;data)), (((GType) ((20) &lt;&lt; (2))<br>))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2895"><td class="num" id="LN2895">2895</td><td class="line"> g_list_free (job-&gt;images);</td></tr>
+<tr class="codeline" data-linenumber="2896"><td class="num" id="LN2896">2896</td><td class="line"> g_object_unref (job);</td></tr>
+<tr class="codeline" data-linenumber="2897"><td class="num" id="LN2897">2897</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2898"><td class="num" id="LN2898">2898</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2899"><td class="num" id="LN2899">2899</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2900"><td class="num" id="LN2900">2900</td><td class="line">eom_window_save_images (EomWindow *window, GList *images)</td></tr>
+<tr class="codeline" data-linenumber="2901"><td class="num" id="LN2901">2901</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2902"><td class="num" id="LN2902">2902</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2903"><td class="num" id="LN2903">2903</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2904"><td class="num" id="LN2904">2904</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2905"><td class="num" id="LN2905">2905</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2906"><td class="num" id="LN2906">2906</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;save_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2907"><td class="num" id="LN2907">2907</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2908"><td class="num" id="LN2908">2908</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2909"><td class="num" id="LN2909">2909</td><td class="line"> priv-&gt;save_job = eom_job_save_new (images);</td></tr>
+<tr class="codeline" data-linenumber="2910"><td class="num" id="LN2910">2910</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2911"><td class="num" id="LN2911">2911</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;save_job, <span class='string_literal'>"finished"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_save_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2912"><td class="num" id="LN2912">2912</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_save_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_save_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2913"><td class="num" id="LN2913">2913</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_save_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2914"><td class="num" id="LN2914">2914</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2915"><td class="num" id="LN2915">2915</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;save_job, <span class='string_literal'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("progress"), (((<br>GCallback) (eom_job_save_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2916"><td class="num" id="LN2916">2916</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_save_progress_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("progress"), (((<br>GCallback) (eom_job_save_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2917"><td class="num" id="LN2917">2917</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("progress"), (((<br>GCallback) (eom_job_save_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2918"><td class="num" id="LN2918">2918</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2919"><td class="num" id="LN2919">2919</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2920"><td class="num" id="LN2920">2920</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2921"><td class="num" id="LN2921">2921</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2922"><td class="num" id="LN2922">2922</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2923"><td class="num" id="LN2923">2923</td><td class="line">eom_window_cmd_save (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2924"><td class="num" id="LN2924">2924</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2925"><td class="num" id="LN2925">2925</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2926"><td class="num" id="LN2926">2926</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2927"><td class="num" id="LN2927">2927</td><td class="line"> GList *images;</td></tr>
+<tr class="codeline" data-linenumber="2928"><td class="num" id="LN2928">2928</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2929"><td class="num" id="LN2929">2929</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2930"><td class="num" id="LN2930">2930</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2931"><td class="num" id="LN2931">2931</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2932"><td class="num" id="LN2932">2932</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;save_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2933"><td class="num" id="LN2933">2933</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2934"><td class="num" id="LN2934">2934</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2935"><td class="num" id="LN2935">2935</td><td class="line"> images = eom_thumb_view_get_selected_images (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2936"><td class="num" id="LN2936">2936</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2937"><td class="num" id="LN2937">2937</td><td class="line"> <span class='keyword'>if</span> (eom_window_save_images (window, images)) {</td></tr>
+<tr class="codeline" data-linenumber="2938"><td class="num" id="LN2938">2938</td><td class="line"> eom_job_queue_add_job (priv-&gt;save_job);</td></tr>
+<tr class="codeline" data-linenumber="2939"><td class="num" id="LN2939">2939</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2940"><td class="num" id="LN2940">2940</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2941"><td class="num" id="LN2941">2941</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2942"><td class="num" id="LN2942">2942</td><td class="line"><span class='keyword'>static</span> GFile*</td></tr>
+<tr class="codeline" data-linenumber="2943"><td class="num" id="LN2943">2943</td><td class="line">eom_window_retrieve_save_as_file (EomWindow *window, EomImage *image)</td></tr>
+<tr class="codeline" data-linenumber="2944"><td class="num" id="LN2944">2944</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2945"><td class="num" id="LN2945">2945</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="2946"><td class="num" id="LN2946">2946</td><td class="line"> GFile *save_file = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2947"><td class="num" id="LN2947">2947</td><td class="line"> GFile *last_dest_folder;</td></tr>
+<tr class="codeline" data-linenumber="2948"><td class="num" id="LN2948">2948</td><td class="line"> gint response;</td></tr>
+<tr class="codeline" data-linenumber="2949"><td class="num" id="LN2949">2949</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2950"><td class="num" id="LN2950">2950</td><td class="line"> <span class='macro'>g_assert (image != NULL)<span class='macro_popup'>do { if (image != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 2950, ((const char*) (__func__)), "image != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2951"><td class="num" id="LN2951">2951</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2952"><td class="num" id="LN2952">2952</td><td class="line"> dialog = eom_file_chooser_new (GTK_FILE_CHOOSER_ACTION_SAVE);</td></tr>
+<tr class="codeline" data-linenumber="2953"><td class="num" id="LN2953">2953</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2954"><td class="num" id="LN2954">2954</td><td class="line"> last_dest_folder = window-&gt;priv-&gt;last_save_as_folder;</td></tr>
+<tr class="codeline" data-linenumber="2955"><td class="num" id="LN2955">2955</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2956"><td class="num" id="LN2956">2956</td><td class="line"> <span class='keyword'>if</span> (last_dest_folder &amp;&amp; g_file_query_exists (last_dest_folder, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="2957"><td class="num" id="LN2957">2957</td><td class="line"> gtk_file_chooser_set_current_folder_file (<span class='macro'>GTK_FILE_CHOOSER (dialog)<span class='macro_popup'>((((GtkFileChooser*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_file_chooser_get_type ()))))))</span></span>, last_dest_folder, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2958"><td class="num" id="LN2958">2958</td><td class="line"> gtk_file_chooser_set_current_name (<span class='macro'>GTK_FILE_CHOOSER (dialog)<span class='macro_popup'>((((GtkFileChooser*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_file_chooser_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2959"><td class="num" id="LN2959">2959</td><td class="line"> eom_image_get_caption (image));</td></tr>
+<tr class="codeline" data-linenumber="2960"><td class="num" id="LN2960">2960</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2961"><td class="num" id="LN2961">2961</td><td class="line"> GFile *image_file;</td></tr>
+<tr class="codeline" data-linenumber="2962"><td class="num" id="LN2962">2962</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2963"><td class="num" id="LN2963">2963</td><td class="line"> image_file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="2964"><td class="num" id="LN2964">2964</td><td class="line"> <span class='comment'>/* Setting the file will also navigate to its parent folder */</span></td></tr>
+<tr class="codeline" data-linenumber="2965"><td class="num" id="LN2965">2965</td><td class="line"> gtk_file_chooser_set_file (<span class='macro'>GTK_FILE_CHOOSER (dialog)<span class='macro_popup'>((((GtkFileChooser*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_file_chooser_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2966"><td class="num" id="LN2966">2966</td><td class="line"> image_file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2967"><td class="num" id="LN2967">2967</td><td class="line"> g_object_unref (image_file);</td></tr>
+<tr class="codeline" data-linenumber="2968"><td class="num" id="LN2968">2968</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2969"><td class="num" id="LN2969">2969</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2970"><td class="num" id="LN2970">2970</td><td class="line"> response = gtk_dialog_run (<span class='macro'>GTK_DIALOG (dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2971"><td class="num" id="LN2971">2971</td><td class="line"> gtk_widget_hide (dialog);</td></tr>
+<tr class="codeline" data-linenumber="2972"><td class="num" id="LN2972">2972</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2973"><td class="num" id="LN2973">2973</td><td class="line"> <span class='keyword'>if</span> (response == GTK_RESPONSE_OK) {</td></tr>
+<tr class="codeline" data-linenumber="2974"><td class="num" id="LN2974">2974</td><td class="line"> save_file = gtk_file_chooser_get_file (<span class='macro'>GTK_FILE_CHOOSER (dialog)<span class='macro_popup'>((((GtkFileChooser*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_file_chooser_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2975"><td class="num" id="LN2975">2975</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;last_save_as_folder)</td></tr>
+<tr class="codeline" data-linenumber="2976"><td class="num" id="LN2976">2976</td><td class="line"> g_object_unref (window-&gt;priv-&gt;last_save_as_folder);</td></tr>
+<tr class="codeline" data-linenumber="2977"><td class="num" id="LN2977">2977</td><td class="line"> window-&gt;priv-&gt;last_save_as_folder = g_file_get_parent (save_file);</td></tr>
+<tr class="codeline" data-linenumber="2978"><td class="num" id="LN2978">2978</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2979"><td class="num" id="LN2979">2979</td><td class="line"> gtk_widget_destroy (dialog);</td></tr>
+<tr class="codeline" data-linenumber="2980"><td class="num" id="LN2980">2980</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2981"><td class="num" id="LN2981">2981</td><td class="line"> <span class='keyword'>return</span> save_file;</td></tr>
+<tr class="codeline" data-linenumber="2982"><td class="num" id="LN2982">2982</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2983"><td class="num" id="LN2983">2983</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2984"><td class="num" id="LN2984">2984</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2985"><td class="num" id="LN2985">2985</td><td class="line">eom_window_cmd_save_as (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2986"><td class="num" id="LN2986">2986</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2987"><td class="num" id="LN2987">2987</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2988"><td class="num" id="LN2988">2988</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2989"><td class="num" id="LN2989">2989</td><td class="line"> GList *images;</td></tr>
+<tr class="codeline" data-linenumber="2990"><td class="num" id="LN2990">2990</td><td class="line"> guint n_images;</td></tr>
+<tr class="codeline" data-linenumber="2991"><td class="num" id="LN2991">2991</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2992"><td class="num" id="LN2992">2992</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2993"><td class="num" id="LN2993">2993</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2994"><td class="num" id="LN2994">2994</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2995"><td class="num" id="LN2995">2995</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;save_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2996"><td class="num" id="LN2996">2996</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2997"><td class="num" id="LN2997">2997</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2998"><td class="num" id="LN2998">2998</td><td class="line"> images = eom_thumb_view_get_selected_images (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2999"><td class="num" id="LN2999">2999</td><td class="line"> n_images = g_list_length (images);</td></tr>
+<tr class="codeline" data-linenumber="3000"><td class="num" id="LN3000">3000</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3001"><td class="num" id="LN3001">3001</td><td class="line"> <span class='keyword'>if</span> (n_images == 1) {</td></tr>
+<tr class="codeline" data-linenumber="3002"><td class="num" id="LN3002">3002</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="3003"><td class="num" id="LN3003">3003</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3004"><td class="num" id="LN3004">3004</td><td class="line"> file = eom_window_retrieve_save_as_file (window, images-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="3005"><td class="num" id="LN3005">3005</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3006"><td class="num" id="LN3006">3006</td><td class="line"> <span class='keyword'>if</span> (!file) {</td></tr>
+<tr class="codeline" data-linenumber="3007"><td class="num" id="LN3007">3007</td><td class="line"> g_list_free (images);</td></tr>
+<tr class="codeline" data-linenumber="3008"><td class="num" id="LN3008">3008</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3009"><td class="num" id="LN3009">3009</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3010"><td class="num" id="LN3010">3010</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3011"><td class="num" id="LN3011">3011</td><td class="line"> priv-&gt;save_job = eom_job_save_as_new (images, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, file);</td></tr>
+<tr class="codeline" data-linenumber="3012"><td class="num" id="LN3012">3012</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3013"><td class="num" id="LN3013">3013</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="3014"><td class="num" id="LN3014">3014</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (n_images &gt; 1) {</td></tr>
+<tr class="codeline" data-linenumber="3015"><td class="num" id="LN3015">3015</td><td class="line"> GFile *base_file;</td></tr>
+<tr class="codeline" data-linenumber="3016"><td class="num" id="LN3016">3016</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="3017"><td class="num" id="LN3017">3017</td><td class="line"> gchar *basedir;</td></tr>
+<tr class="codeline" data-linenumber="3018"><td class="num" id="LN3018">3018</td><td class="line"> EomURIConverter *converter;</td></tr>
+<tr class="codeline" data-linenumber="3019"><td class="num" id="LN3019">3019</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3020"><td class="num" id="LN3020">3020</td><td class="line"> basedir = g_get_current_dir ();</td></tr>
+<tr class="codeline" data-linenumber="3021"><td class="num" id="LN3021">3021</td><td class="line"> base_file = g_file_new_for_path (basedir);</td></tr>
+<tr class="codeline" data-linenumber="3022"><td class="num" id="LN3022">3022</td><td class="line"> g_free (basedir);</td></tr>
+<tr class="codeline" data-linenumber="3023"><td class="num" id="LN3023">3023</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3024"><td class="num" id="LN3024">3024</td><td class="line"> dialog = eom_save_as_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3025"><td class="num" id="LN3025">3025</td><td class="line"> images,</td></tr>
+<tr class="codeline" data-linenumber="3026"><td class="num" id="LN3026">3026</td><td class="line"> base_file);</td></tr>
+<tr class="codeline" data-linenumber="3027"><td class="num" id="LN3027">3027</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3028"><td class="num" id="LN3028">3028</td><td class="line"> gtk_widget_show_all (dialog);</td></tr>
+<tr class="codeline" data-linenumber="3029"><td class="num" id="LN3029">3029</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3030"><td class="num" id="LN3030">3030</td><td class="line"> <span class='keyword'>if</span> (gtk_dialog_run (<span class='macro'>GTK_DIALOG (dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_dialog_get_type ()))))))</span></span>) != GTK_RESPONSE_OK) {</td></tr>
+<tr class="codeline" data-linenumber="3031"><td class="num" id="LN3031">3031</td><td class="line"> g_object_unref (base_file);</td></tr>
+<tr class="codeline" data-linenumber="3032"><td class="num" id="LN3032">3032</td><td class="line"> g_list_free (images);</td></tr>
+<tr class="codeline" data-linenumber="3033"><td class="num" id="LN3033">3033</td><td class="line"> gtk_widget_destroy (dialog);</td></tr>
+<tr class="codeline" data-linenumber="3034"><td class="num" id="LN3034">3034</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3035"><td class="num" id="LN3035">3035</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3036"><td class="num" id="LN3036">3036</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3037"><td class="num" id="LN3037">3037</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3038"><td class="num" id="LN3038">3038</td><td class="line"> converter = eom_save_as_dialog_get_converter (dialog);</td></tr>
+<tr class="codeline" data-linenumber="3039"><td class="num" id="LN3039">3039</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3040"><td class="num" id="LN3040">3040</td><td class="line"> <span class='macro'>g_assert (converter != NULL)<span class='macro_popup'>do { if (converter != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 3040, ((const char*) (__func__)), "converter != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3041"><td class="num" id="LN3041">3041</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3042"><td class="num" id="LN3042">3042</td><td class="line"> priv-&gt;save_job = eom_job_save_as_new (images, converter, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3043"><td class="num" id="LN3043">3043</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3044"><td class="num" id="LN3044">3044</td><td class="line"> gtk_widget_destroy (dialog);</td></tr>
+<tr class="codeline" data-linenumber="3045"><td class="num" id="LN3045">3045</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3046"><td class="num" id="LN3046">3046</td><td class="line"> g_object_unref (converter);</td></tr>
+<tr class="codeline" data-linenumber="3047"><td class="num" id="LN3047">3047</td><td class="line"> g_object_unref (base_file);</td></tr>
+<tr class="codeline" data-linenumber="3048"><td class="num" id="LN3048">3048</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3049"><td class="num" id="LN3049">3049</td><td class="line"> <span class='comment'>/* n_images = 0 -- No Image selected */</span></td></tr>
+<tr class="codeline" data-linenumber="3050"><td class="num" id="LN3050">3050</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3051"><td class="num" id="LN3051">3051</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3052"><td class="num" id="LN3052">3052</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3053"><td class="num" id="LN3053">3053</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;save_job, <span class='string_literal'>"finished"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_save_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3054"><td class="num" id="LN3054">3054</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_save_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_save_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3055"><td class="num" id="LN3055">3055</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_save_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3056"><td class="num" id="LN3056">3056</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3057"><td class="num" id="LN3057">3057</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;save_job, <span class='string_literal'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("progress"), (((<br>GCallback) (eom_job_save_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3058"><td class="num" id="LN3058">3058</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_save_progress_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("progress"), (((<br>GCallback) (eom_job_save_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3059"><td class="num" id="LN3059">3059</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("progress"), (((<br>GCallback) (eom_job_save_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3060"><td class="num" id="LN3060">3060</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3061"><td class="num" id="LN3061">3061</td><td class="line"> eom_job_queue_add_job (priv-&gt;save_job);</td></tr>
+<tr class="codeline" data-linenumber="3062"><td class="num" id="LN3062">3062</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3063"><td class="num" id="LN3063">3063</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3064"><td class="num" id="LN3064">3064</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3065"><td class="num" id="LN3065">3065</td><td class="line">eom_window_cmd_open_containing_folder (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3066"><td class="num" id="LN3066">3066</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3067"><td class="num" id="LN3067">3067</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3068"><td class="num" id="LN3068">3068</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3069"><td class="num" id="LN3069">3069</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="3070"><td class="num" id="LN3070">3070</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3071"><td class="num" id="LN3071">3071</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3072"><td class="num" id="LN3072">3072</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3073"><td class="num" id="LN3073">3073</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3074"><td class="num" id="LN3074">3074</td><td class="line"> <span class='macro'>g_return_if_fail (priv-&gt;image != NULL)<span class='macro_popup'>do { if ((priv-&gt;image != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "priv-&gt;image != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3075"><td class="num" id="LN3075">3075</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3076"><td class="num" id="LN3076">3076</td><td class="line"> file = eom_image_get_file (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="3077"><td class="num" id="LN3077">3077</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3078"><td class="num" id="LN3078">3078</td><td class="line"> <span class='macro'>g_return_if_fail (file != NULL)<span class='macro_popup'>do { if ((file != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "file != NULL"); return;<br> } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3079"><td class="num" id="LN3079">3079</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3080"><td class="num" id="LN3080">3080</td><td class="line"> eom_util_show_file_in_filemanager (file,</td></tr>
+<tr class="codeline" data-linenumber="3081"><td class="num" id="LN3081">3081</td><td class="line"> <span class='macro'>GTK_WINDOW (user_data)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3082"><td class="num" id="LN3082">3082</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3083"><td class="num" id="LN3083">3083</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3084"><td class="num" id="LN3084">3084</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3085"><td class="num" id="LN3085">3085</td><td class="line">eom_window_cmd_print (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3086"><td class="num" id="LN3086">3086</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3087"><td class="num" id="LN3087">3087</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3088"><td class="num" id="LN3088">3088</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3089"><td class="num" id="LN3089">3089</td><td class="line"> eom_window_print (window);</td></tr>
+<tr class="codeline" data-linenumber="3090"><td class="num" id="LN3090">3090</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3091"><td class="num" id="LN3091">3091</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3092"><td class="num" id="LN3092">3092</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="3093"><td class="num" id="LN3093">3093</td><td class="line"> <span class='comment'>* eom_window_get_properties_dialog:</span></td></tr>
+<tr class="codeline" data-linenumber="3094"><td class="num" id="LN3094">3094</td><td class="line"> <span class='comment'>* @window: a #EomWindow</span></td></tr>
+<tr class="codeline" data-linenumber="3095"><td class="num" id="LN3095">3095</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3096"><td class="num" id="LN3096">3096</td><td class="line"> <span class='comment'>* Gets the @window property dialog. The widget will be built on the first call to this function.</span></td></tr>
+<tr class="codeline" data-linenumber="3097"><td class="num" id="LN3097">3097</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3098"><td class="num" id="LN3098">3098</td><td class="line"> <span class='comment'>* Returns: (transfer none): a #GtkDialog.</span></td></tr>
+<tr class="codeline" data-linenumber="3099"><td class="num" id="LN3099">3099</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="3100"><td class="num" id="LN3100">3100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3101"><td class="num" id="LN3101">3101</td><td class="line">GtkWidget*</td></tr>
+<tr class="codeline" data-linenumber="3102"><td class="num" id="LN3102">3102</td><td class="line">eom_window_get_properties_dialog (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3103"><td class="num" id="LN3103">3103</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3104"><td class="num" id="LN3104">3104</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3105"><td class="num" id="LN3105">3105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3106"><td class="num" id="LN3106">3106</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3107"><td class="num" id="LN3107">3107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3108"><td class="num" id="LN3108">3108</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3109"><td class="num" id="LN3109">3109</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3110"><td class="num" id="LN3110">3110</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;properties_dlg == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3111"><td class="num" id="LN3111">3111</td><td class="line"> GtkAction *next_image_action, *previous_image_action;</td></tr>
+<tr class="codeline" data-linenumber="3112"><td class="num" id="LN3112">3112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3113"><td class="num" id="LN3113">3113</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3114"><td class="num" id="LN3114">3114</td><td class="line"> next_image_action =</td></tr>
+<tr class="codeline" data-linenumber="3115"><td class="num" id="LN3115">3115</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="3116"><td class="num" id="LN3116">3116</td><td class="line"> <span class='string_literal'>"GoNext"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3117"><td class="num" id="LN3117">3117</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3118"><td class="num" id="LN3118">3118</td><td class="line"> previous_image_action =</td></tr>
+<tr class="codeline" data-linenumber="3119"><td class="num" id="LN3119">3119</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="3120"><td class="num" id="LN3120">3120</td><td class="line"> <span class='string_literal'>"GoPrevious"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3121"><td class="num" id="LN3121">3121</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3122"><td class="num" id="LN3122">3122</td><td class="line"> priv-&gt;properties_dlg =</td></tr>
+<tr class="codeline" data-linenumber="3123"><td class="num" id="LN3123">3123</td><td class="line"> eom_properties_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3124"><td class="num" id="LN3124">3124</td><td class="line"> <span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3125"><td class="num" id="LN3125">3125</td><td class="line"> next_image_action,</td></tr>
+<tr class="codeline" data-linenumber="3126"><td class="num" id="LN3126">3126</td><td class="line"> previous_image_action);</td></tr>
+<tr class="codeline" data-linenumber="3127"><td class="num" id="LN3127">3127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3128"><td class="num" id="LN3128">3128</td><td class="line"> eom_properties_dialog_update (<span class='macro'>EOM_PROPERTIES_DIALOG (priv-&gt;properties_dlg)<span class='macro_popup'>((((EomPropertiesDialog*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((priv-&gt;properties_dlg)), ((eom_properties_dialog_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3129"><td class="num" id="LN3129">3129</td><td class="line"> priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="3130"><td class="num" id="LN3130">3130</td><td class="line"> g_settings_bind (priv-&gt;ui_settings,</td></tr>
+<tr class="codeline" data-linenumber="3131"><td class="num" id="LN3131">3131</td><td class="line"> <span class='macro'>EOM_CONF_UI_PROPSDIALOG_NETBOOK_MODE<span class='macro_popup'>"propsdialog-netbook-mode"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3132"><td class="num" id="LN3132">3132</td><td class="line"> priv-&gt;properties_dlg, <span class='string_literal'>"netbook-mode"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3133"><td class="num" id="LN3133">3133</td><td class="line"> G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="3134"><td class="num" id="LN3134">3134</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3135"><td class="num" id="LN3135">3135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3136"><td class="num" id="LN3136">3136</td><td class="line"> <span class='keyword'>return</span> priv-&gt;properties_dlg;</td></tr>
+<tr class="codeline" data-linenumber="3137"><td class="num" id="LN3137">3137</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3138"><td class="num" id="LN3138">3138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3139"><td class="num" id="LN3139">3139</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3140"><td class="num" id="LN3140">3140</td><td class="line">eom_window_cmd_properties (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3141"><td class="num" id="LN3141">3141</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3142"><td class="num" id="LN3142">3142</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3143"><td class="num" id="LN3143">3143</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="3144"><td class="num" id="LN3144">3144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3145"><td class="num" id="LN3145">3145</td><td class="line"> dialog = eom_window_get_properties_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="3146"><td class="num" id="LN3146">3146</td><td class="line"> gtk_widget_show (dialog);</td></tr>
+<tr class="codeline" data-linenumber="3147"><td class="num" id="LN3147">3147</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3148"><td class="num" id="LN3148">3148</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3149"><td class="num" id="LN3149">3149</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3150"><td class="num" id="LN3150">3150</td><td class="line">eom_window_cmd_undo (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3151"><td class="num" id="LN3151">3151</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3152"><td class="num" id="LN3152">3152</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3153"><td class="num" id="LN3153">3153</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3154"><td class="num" id="LN3154">3154</td><td class="line"> apply_transformation (<span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3155"><td class="num" id="LN3155">3155</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3156"><td class="num" id="LN3156">3156</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3157"><td class="num" id="LN3157">3157</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3158"><td class="num" id="LN3158">3158</td><td class="line">eom_window_cmd_flip_horizontal (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3159"><td class="num" id="LN3159">3159</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3160"><td class="num" id="LN3160">3160</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3161"><td class="num" id="LN3161">3161</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3162"><td class="num" id="LN3162">3162</td><td class="line"> apply_transformation (<span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3163"><td class="num" id="LN3163">3163</td><td class="line"> eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL));</td></tr>
+<tr class="codeline" data-linenumber="3164"><td class="num" id="LN3164">3164</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3165"><td class="num" id="LN3165">3165</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3166"><td class="num" id="LN3166">3166</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3167"><td class="num" id="LN3167">3167</td><td class="line">eom_window_cmd_flip_vertical (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3168"><td class="num" id="LN3168">3168</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3169"><td class="num" id="LN3169">3169</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3170"><td class="num" id="LN3170">3170</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3171"><td class="num" id="LN3171">3171</td><td class="line"> apply_transformation (<span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3172"><td class="num" id="LN3172">3172</td><td class="line"> eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL));</td></tr>
+<tr class="codeline" data-linenumber="3173"><td class="num" id="LN3173">3173</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3174"><td class="num" id="LN3174">3174</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3175"><td class="num" id="LN3175">3175</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3176"><td class="num" id="LN3176">3176</td><td class="line">eom_window_cmd_rotate_90 (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3177"><td class="num" id="LN3177">3177</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3178"><td class="num" id="LN3178">3178</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3179"><td class="num" id="LN3179">3179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3180"><td class="num" id="LN3180">3180</td><td class="line"> apply_transformation (<span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3181"><td class="num" id="LN3181">3181</td><td class="line"> eom_transform_rotate_new (90));</td></tr>
+<tr class="codeline" data-linenumber="3182"><td class="num" id="LN3182">3182</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3183"><td class="num" id="LN3183">3183</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3184"><td class="num" id="LN3184">3184</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3185"><td class="num" id="LN3185">3185</td><td class="line">eom_window_cmd_rotate_270 (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3186"><td class="num" id="LN3186">3186</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3187"><td class="num" id="LN3187">3187</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3188"><td class="num" id="LN3188">3188</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3189"><td class="num" id="LN3189">3189</td><td class="line"> apply_transformation (<span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3190"><td class="num" id="LN3190">3190</td><td class="line"> eom_transform_rotate_new (270));</td></tr>
+<tr class="codeline" data-linenumber="3191"><td class="num" id="LN3191">3191</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3192"><td class="num" id="LN3192">3192</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3193"><td class="num" id="LN3193">3193</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3194"><td class="num" id="LN3194">3194</td><td class="line">eom_window_cmd_wallpaper (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3195"><td class="num" id="LN3195">3195</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3196"><td class="num" id="LN3196">3196</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="3197"><td class="num" id="LN3197">3197</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3198"><td class="num" id="LN3198">3198</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="3199"><td class="num" id="LN3199">3199</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="3200"><td class="num" id="LN3200">3200</td><td class="line"> <span class='keyword'>char</span> *filename = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3201"><td class="num" id="LN3201">3201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3202"><td class="num" id="LN3202">3202</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3203"><td class="num" id="LN3203">3203</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3204"><td class="num" id="LN3204">3204</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3205"><td class="num" id="LN3205">3205</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3206"><td class="num" id="LN3206">3206</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3207"><td class="num" id="LN3207">3207</td><td class="line"> <span class='comment'>/* If currently copying an image to set it as wallpaper, return. */</span></td></tr>
+<tr class="codeline" data-linenumber="3208"><td class="num" id="LN3208">3208</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;copy_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3209"><td class="num" id="LN3209">3209</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3210"><td class="num" id="LN3210">3210</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3211"><td class="num" id="LN3211">3211</td><td class="line"> image = eom_thumb_view_get_first_selected_image (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3212"><td class="num" id="LN3212">3212</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3213"><td class="num" id="LN3213">3213</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (image))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((image)); GType __t = ((eom_image_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (image)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3214"><td class="num" id="LN3214">3214</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3215"><td class="num" id="LN3215">3215</td><td class="line"> file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="3216"><td class="num" id="LN3216">3216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3217"><td class="num" id="LN3217">3217</td><td class="line"> filename = g_file_get_path (file);</td></tr>
+<tr class="codeline" data-linenumber="3218"><td class="num" id="LN3218">3218</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3219"><td class="num" id="LN3219">3219</td><td class="line"> <span class='comment'>/* Currently only local files can be set as wallpaper */</span></td></tr>
+<tr class="codeline" data-linenumber="3220"><td class="num" id="LN3220">3220</td><td class="line"> <span class='keyword'>if</span> (filename == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> || !eom_util_file_is_persistent (file))</td></tr>
+<tr class="codeline" data-linenumber="3221"><td class="num" id="LN3221">3221</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="3222"><td class="num" id="LN3222">3222</td><td class="line"> GList *files = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3223"><td class="num" id="LN3223">3223</td><td class="line"> GtkAction *action_set_as_wp;</td></tr>
+<tr class="codeline" data-linenumber="3224"><td class="num" id="LN3224">3224</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3225"><td class="num" id="LN3225">3225</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3226"><td class="num" id="LN3226">3226</td><td class="line"> action_set_as_wp = gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="3227"><td class="num" id="LN3227">3227</td><td class="line"> <span class='string_literal'>"ImageSetAsWallpaper"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3228"><td class="num" id="LN3228">3228</td><td class="line"> gtk_action_set_sensitive (action_set_as_wp, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3229"><td class="num" id="LN3229">3229</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3230"><td class="num" id="LN3230">3230</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3231"><td class="num" id="LN3231">3231</td><td class="line"> priv-&gt;copy_file_cid = gtk_statusbar_get_context_id (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3232"><td class="num" id="LN3232">3232</td><td class="line"> <span class='string_literal'>"copy_file_cid"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3233"><td class="num" id="LN3233">3233</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3234"><td class="num" id="LN3234">3234</td><td class="line"> priv-&gt;copy_file_cid,</td></tr>
+<tr class="codeline" data-linenumber="3235"><td class="num" id="LN3235">3235</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Saving image locally…"</span>)<span class='macro_popup'>gettext ("Saving image locally…")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3236"><td class="num" id="LN3236">3236</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3237"><td class="num" id="LN3237">3237</td><td class="line"> files = g_list_append (files, eom_image_get_file (image));</td></tr>
+<tr class="codeline" data-linenumber="3238"><td class="num" id="LN3238">3238</td><td class="line"> priv-&gt;copy_job = eom_job_copy_new (files, g_get_user_data_dir ());</td></tr>
+<tr class="codeline" data-linenumber="3239"><td class="num" id="LN3239">3239</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;copy_job, <span class='string_literal'>"finished"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;copy_job), ("finished"), (((<br>GCallback) (eom_job_copy_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3240"><td class="num" id="LN3240">3240</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_copy_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;copy_job), ("finished"), (((<br>GCallback) (eom_job_copy_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3241"><td class="num" id="LN3241">3241</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;copy_job), ("finished"), (((<br>GCallback) (eom_job_copy_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3242"><td class="num" id="LN3242">3242</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;copy_job, <span class='string_literal'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;copy_job), ("progress"), (((<br>GCallback) (eom_job_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3243"><td class="num" id="LN3243">3243</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_progress_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;copy_job), ("progress"), (((<br>GCallback) (eom_job_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3244"><td class="num" id="LN3244">3244</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;copy_job), ("progress"), (((<br>GCallback) (eom_job_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3245"><td class="num" id="LN3245">3245</td><td class="line"> eom_job_queue_add_job (priv-&gt;copy_job);</td></tr>
+<tr class="codeline" data-linenumber="3246"><td class="num" id="LN3246">3246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3247"><td class="num" id="LN3247">3247</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="3248"><td class="num" id="LN3248">3248</td><td class="line"> g_free (filename);</td></tr>
+<tr class="codeline" data-linenumber="3249"><td class="num" id="LN3249">3249</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3250"><td class="num" id="LN3250">3250</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3251"><td class="num" id="LN3251">3251</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3252"><td class="num" id="LN3252">3252</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="3253"><td class="num" id="LN3253">3253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3254"><td class="num" id="LN3254">3254</td><td class="line"> eom_window_set_wallpaper (window, filename, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3255"><td class="num" id="LN3255">3255</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3256"><td class="num" id="LN3256">3256</td><td class="line"> g_free (filename);</td></tr>
+<tr class="codeline" data-linenumber="3257"><td class="num" id="LN3257">3257</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3258"><td class="num" id="LN3258">3258</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3259"><td class="num" id="LN3259">3259</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="3260"><td class="num" id="LN3260">3260</td><td class="line">eom_window_all_images_trasheable (GList *images)</td></tr>
+<tr class="codeline" data-linenumber="3261"><td class="num" id="LN3261">3261</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3262"><td class="num" id="LN3262">3262</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="3263"><td class="num" id="LN3263">3263</td><td class="line"> GFileInfo *file_info;</td></tr>
+<tr class="codeline" data-linenumber="3264"><td class="num" id="LN3264">3264</td><td class="line"> GList *iter;</td></tr>
+<tr class="codeline" data-linenumber="3265"><td class="num" id="LN3265">3265</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="3266"><td class="num" id="LN3266">3266</td><td class="line"> gboolean can_trash = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3267"><td class="num" id="LN3267">3267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3268"><td class="num" id="LN3268">3268</td><td class="line"> <span class='keyword'>for</span> (iter = images; iter != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; iter = <span class='macro'>g_list_next (iter)<span class='macro_popup'>((iter) ? (((GList *)(iter))-&gt;next) : ((void*)0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3269"><td class="num" id="LN3269">3269</td><td class="line"> image = (EomImage *) iter-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="3270"><td class="num" id="LN3270">3270</td><td class="line"> file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="3271"><td class="num" id="LN3271">3271</td><td class="line"> file_info = g_file_query_info (file,</td></tr>
+<tr class="codeline" data-linenumber="3272"><td class="num" id="LN3272">3272</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH<span class='macro_popup'>"access::can-trash"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3273"><td class="num" id="LN3273">3273</td><td class="line"> 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3274"><td class="num" id="LN3274">3274</td><td class="line"> can_trash = g_file_info_get_attribute_boolean (file_info,</td></tr>
+<tr class="codeline" data-linenumber="3275"><td class="num" id="LN3275">3275</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH<span class='macro_popup'>"access::can-trash"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3276"><td class="num" id="LN3276">3276</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3277"><td class="num" id="LN3277">3277</td><td class="line"> g_object_unref (file_info);</td></tr>
+<tr class="codeline" data-linenumber="3278"><td class="num" id="LN3278">3278</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="3279"><td class="num" id="LN3279">3279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3280"><td class="num" id="LN3280">3280</td><td class="line"> <span class='keyword'>if</span> (can_trash == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3281"><td class="num" id="LN3281">3281</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3282"><td class="num" id="LN3282">3282</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3283"><td class="num" id="LN3283">3283</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3284"><td class="num" id="LN3284">3284</td><td class="line"> <span class='keyword'>return</span> can_trash;</td></tr>
+<tr class="codeline" data-linenumber="3285"><td class="num" id="LN3285">3285</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3286"><td class="num" id="LN3286">3286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3287"><td class="num" id="LN3287">3287</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="3288"><td class="num" id="LN3288">3288</td><td class="line">show_move_to_trash_confirm_dialog (EomWindow *window, GList *images, gboolean can_trash)</td></tr>
+<tr class="codeline" data-linenumber="3289"><td class="num" id="LN3289">3289</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3290"><td class="num" id="LN3290">3290</td><td class="line"> GtkWidget *dlg;</td></tr>
+<tr class="codeline" data-linenumber="3291"><td class="num" id="LN3291">3291</td><td class="line"> <span class='keyword'>char</span> *prompt;</td></tr>
+<tr class="codeline" data-linenumber="3292"><td class="num" id="LN3292">3292</td><td class="line"> <span class='keyword'>int</span> response;</td></tr>
+<tr class="codeline" data-linenumber="3293"><td class="num" id="LN3293">3293</td><td class="line"> <span class='keyword'>int</span> n_images;</td></tr>
+<tr class="codeline" data-linenumber="3294"><td class="num" id="LN3294">3294</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="3295"><td class="num" id="LN3295">3295</td><td class="line"> <span class='keyword'>static</span> gboolean dontaskagain = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3296"><td class="num" id="LN3296">3296</td><td class="line"> gboolean neverask = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3297"><td class="num" id="LN3297">3297</td><td class="line"> GtkWidget* dontask_cbutton = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3298"><td class="num" id="LN3298">3298</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3299"><td class="num" id="LN3299">3299</td><td class="line"> <span class='comment'>/* Check if the user never wants to be bugged. */</span></td></tr>
+<tr class="codeline" data-linenumber="3300"><td class="num" id="LN3300">3300</td><td class="line"> neverask = g_settings_get_boolean (window-&gt;priv-&gt;ui_settings,</td></tr>
+<tr class="codeline" data-linenumber="3301"><td class="num" id="LN3301">3301</td><td class="line"> <span class='macro'>EOM_CONF_UI_DISABLE_TRASH_CONFIRMATION<span class='macro_popup'>"disable-trash-confirmation"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3302"><td class="num" id="LN3302">3302</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3303"><td class="num" id="LN3303">3303</td><td class="line"> <span class='comment'>/* Assume agreement, if the user doesn't want to be</span></td></tr>
+<tr class="codeline" data-linenumber="3304"><td class="num" id="LN3304">3304</td><td class="line"> <span class='comment'>* asked and the trash is available */</span></td></tr>
+<tr class="codeline" data-linenumber="3305"><td class="num" id="LN3305">3305</td><td class="line"> <span class='keyword'>if</span> (can_trash &amp;&amp; (dontaskagain || neverask))</td></tr>
+<tr class="codeline" data-linenumber="3306"><td class="num" id="LN3306">3306</td><td class="line"> <span class='keyword'>return</span> GTK_RESPONSE_OK;</td></tr>
+<tr class="codeline" data-linenumber="3307"><td class="num" id="LN3307">3307</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3308"><td class="num" id="LN3308">3308</td><td class="line"> n_images = g_list_length (images);</td></tr>
+<tr class="codeline" data-linenumber="3309"><td class="num" id="LN3309">3309</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3310"><td class="num" id="LN3310">3310</td><td class="line"> <span class='keyword'>if</span> (n_images == 1) {</td></tr>
+<tr class="codeline" data-linenumber="3311"><td class="num" id="LN3311">3311</td><td class="line"> image = <span class='macro'>EOM_IMAGE (images-&gt;data)<span class='macro_popup'>((((EomImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((images-&gt;data)), ((eom_image_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3312"><td class="num" id="LN3312">3312</td><td class="line"> <span class='keyword'>if</span> (can_trash) {</td></tr>
+<tr class="codeline" data-linenumber="3313"><td class="num" id="LN3313">3313</td><td class="line"> prompt = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Are you sure you want to move\n\"%s\" to the trash?"</span>)<span class='macro_popup'>gettext ("Are you sure you want to move\n\"%s\" to the trash?"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3314"><td class="num" id="LN3314">3314</td><td class="line"> eom_image_get_caption (image));</td></tr>
+<tr class="codeline" data-linenumber="3315"><td class="num" id="LN3315">3315</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3316"><td class="num" id="LN3316">3316</td><td class="line"> prompt = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"A trash for \"%s\" couldn't be found. Do you want to remove "<span class='macro_popup'>gettext ("A trash for \"%s\" couldn't be found. Do you want to remove "<br> "this image permanently?")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="3317"><td class="num" id="LN3317">3317</td><td class="line"> <span class='string_literal'><span class='macro'>"this image permanently?"</span>)<span class='macro_popup'>gettext ("A trash for \"%s\" couldn't be found. Do you want to remove "<br> "this image permanently?")</span></span>, eom_image_get_caption (image));</td></tr>
+<tr class="codeline" data-linenumber="3318"><td class="num" id="LN3318">3318</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3319"><td class="num" id="LN3319">3319</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3320"><td class="num" id="LN3320">3320</td><td class="line"> <span class='keyword'>if</span> (can_trash) {</td></tr>
+<tr class="codeline" data-linenumber="3321"><td class="num" id="LN3321">3321</td><td class="line"> prompt = g_strdup_printf (ngettext(<span class='string_literal'>"Are you sure you want to move\n"</span></td></tr>
+<tr class="codeline" data-linenumber="3322"><td class="num" id="LN3322">3322</td><td class="line"> <span class='string_literal'>"the %d selected image to the trash?"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3323"><td class="num" id="LN3323">3323</td><td class="line"> <span class='string_literal'>"Are you sure you want to move\n"</span></td></tr>
+<tr class="codeline" data-linenumber="3324"><td class="num" id="LN3324">3324</td><td class="line"> <span class='string_literal'>"the %d selected images to the trash?"</span>, n_images), n_images);</td></tr>
+<tr class="codeline" data-linenumber="3325"><td class="num" id="LN3325">3325</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3326"><td class="num" id="LN3326">3326</td><td class="line"> prompt = <span class='macro'>g_strdup (_(<span class='string_literal'>"Some of the selected images can't be moved to the trash "<span class='macro_popup'>g_strdup_inline (gettext ("Some of the selected images can't be moved to the trash "<br> "and will be removed permanently. Are you sure you want " "to proceed?"<br>))</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="3327"><td class="num" id="LN3327">3327</td><td class="line"> <span class='string_literal'><span class='macro'>"and will be removed permanently. Are you sure you want "<span class='macro_popup'>g_strdup_inline (gettext ("Some of the selected images can't be moved to the trash "<br> "and will be removed permanently. Are you sure you want " "to proceed?"<br>))</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="3328"><td class="num" id="LN3328">3328</td><td class="line"> <span class='string_literal'><span class='macro'>"to proceed?"</span>))<span class='macro_popup'>g_strdup_inline (gettext ("Some of the selected images can't be moved to the trash "<br> "and will be removed permanently. Are you sure you want " "to proceed?"<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3329"><td class="num" id="LN3329">3329</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3330"><td class="num" id="LN3330">3330</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3331"><td class="num" id="LN3331">3331</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3332"><td class="num" id="LN3332">3332</td><td class="line"> dlg = gtk_message_dialog_new_with_markup (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3333"><td class="num" id="LN3333">3333</td><td class="line"> GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,</td></tr>
+<tr class="codeline" data-linenumber="3334"><td class="num" id="LN3334">3334</td><td class="line"> GTK_MESSAGE_WARNING,</td></tr>
+<tr class="codeline" data-linenumber="3335"><td class="num" id="LN3335">3335</td><td class="line"> GTK_BUTTONS_NONE,</td></tr>
+<tr class="codeline" data-linenumber="3336"><td class="num" id="LN3336">3336</td><td class="line"> <span class='string_literal'>"&lt;span weight=\"bold\" size=\"larger\"&gt;%s&lt;/span&gt;"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3337"><td class="num" id="LN3337">3337</td><td class="line"> prompt);</td></tr>
+<tr class="codeline" data-linenumber="3338"><td class="num" id="LN3338">3338</td><td class="line"> g_free (prompt);</td></tr>
+<tr class="codeline" data-linenumber="3339"><td class="num" id="LN3339">3339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3340"><td class="num" id="LN3340">3340</td><td class="line"> gtk_dialog_add_button (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>, <span class='string_literal'>"gtk-cancel"</span>, GTK_RESPONSE_CANCEL);</td></tr>
+<tr class="codeline" data-linenumber="3341"><td class="num" id="LN3341">3341</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3342"><td class="num" id="LN3342">3342</td><td class="line"> <span class='keyword'>if</span> (can_trash) {</td></tr>
+<tr class="codeline" data-linenumber="3343"><td class="num" id="LN3343">3343</td><td class="line"> gtk_dialog_add_button (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"Move to _Trash"</span>)<span class='macro_popup'>gettext ("Move to _Trash")</span></span>, GTK_RESPONSE_OK);</td></tr>
+<tr class="codeline" data-linenumber="3344"><td class="num" id="LN3344">3344</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3345"><td class="num" id="LN3345">3345</td><td class="line"> dontask_cbutton = gtk_check_button_new_with_mnemonic (<span class='macro'>_(<span class='string_literal'>"_Do not ask again during this session"</span>)<span class='macro_popup'>gettext ("_Do not ask again during this session")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3346"><td class="num" id="LN3346">3346</td><td class="line"> gtk_toggle_button_set_active (<span class='macro'>GTK_TOGGLE_BUTTON (dontask_cbutton)<span class='macro_popup'>((((GtkToggleButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dontask_cbutton)), ((gtk_toggle_button_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3347"><td class="num" id="LN3347">3347</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3348"><td class="num" id="LN3348">3348</td><td class="line"> gtk_box_pack_end (<span class='macro'>GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg)))<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_dialog_get_content_area (((((GtkDialog*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dlg)), ((gtk_dialog_get_type ())))))))))<br>, ((gtk_box_get_type ()))))))</span></span>, dontask_cbutton, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="3349"><td class="num" id="LN3349">3349</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3350"><td class="num" id="LN3350">3350</td><td class="line"> <span class='keyword'>if</span> (n_images == 1) {</td></tr>
+<tr class="codeline" data-linenumber="3351"><td class="num" id="LN3351">3351</td><td class="line"> gtk_dialog_add_button (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>, <span class='string_literal'>"gtk-delete"</span>, GTK_RESPONSE_OK);</td></tr>
+<tr class="codeline" data-linenumber="3352"><td class="num" id="LN3352">3352</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3353"><td class="num" id="LN3353">3353</td><td class="line"> gtk_dialog_add_button (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>, <span class='string_literal'>"gtk-yes"</span>, GTK_RESPONSE_OK);</td></tr>
+<tr class="codeline" data-linenumber="3354"><td class="num" id="LN3354">3354</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3355"><td class="num" id="LN3355">3355</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3356"><td class="num" id="LN3356">3356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3357"><td class="num" id="LN3357">3357</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>, GTK_RESPONSE_OK);</td></tr>
+<tr class="codeline" data-linenumber="3358"><td class="num" id="LN3358">3358</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (dlg)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_window_get_type ()))))))</span></span>, <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="3359"><td class="num" id="LN3359">3359</td><td class="line"> gtk_widget_show_all (dlg);</td></tr>
+<tr class="codeline" data-linenumber="3360"><td class="num" id="LN3360">3360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3361"><td class="num" id="LN3361">3361</td><td class="line"> response = gtk_dialog_run (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3362"><td class="num" id="LN3362">3362</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3363"><td class="num" id="LN3363">3363</td><td class="line"> <span class='comment'>/* Only update the property if the user has accepted */</span></td></tr>
+<tr class="codeline" data-linenumber="3364"><td class="num" id="LN3364">3364</td><td class="line"> <span class='keyword'>if</span> (can_trash &amp;&amp; response == GTK_RESPONSE_OK)</td></tr>
+<tr class="codeline" data-linenumber="3365"><td class="num" id="LN3365">3365</td><td class="line"> dontaskagain = gtk_toggle_button_get_active (<span class='macro'>GTK_TOGGLE_BUTTON (dontask_cbutton)<span class='macro_popup'>((((GtkToggleButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dontask_cbutton)), ((gtk_toggle_button_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3366"><td class="num" id="LN3366">3366</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3367"><td class="num" id="LN3367">3367</td><td class="line"> <span class='comment'>/* The checkbutton is destroyed together with the dialog */</span></td></tr>
+<tr class="codeline" data-linenumber="3368"><td class="num" id="LN3368">3368</td><td class="line"> gtk_widget_destroy (dlg);</td></tr>
+<tr class="codeline" data-linenumber="3369"><td class="num" id="LN3369">3369</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3370"><td class="num" id="LN3370">3370</td><td class="line"> <span class='keyword'>return</span> response;</td></tr>
+<tr class="codeline" data-linenumber="3371"><td class="num" id="LN3371">3371</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3372"><td class="num" id="LN3372">3372</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3373"><td class="num" id="LN3373">3373</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="3374"><td class="num" id="LN3374">3374</td><td class="line">move_to_trash_real (EomImage *image, GError **error)</td></tr>
+<tr class="codeline" data-linenumber="3375"><td class="num" id="LN3375">3375</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3376"><td class="num" id="LN3376">3376</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="3377"><td class="num" id="LN3377">3377</td><td class="line"> GFileInfo *file_info;</td></tr>
+<tr class="codeline" data-linenumber="3378"><td class="num" id="LN3378">3378</td><td class="line"> gboolean can_trash, result;</td></tr>
+<tr class="codeline" data-linenumber="3379"><td class="num" id="LN3379">3379</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3380"><td class="num" id="LN3380">3380</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (image), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((image)); GType __t = ((eom_image_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (image)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3381"><td class="num" id="LN3381">3381</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3382"><td class="num" id="LN3382">3382</td><td class="line"> file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="3383"><td class="num" id="LN3383">3383</td><td class="line"> file_info = g_file_query_info (file,</td></tr>
+<tr class="codeline" data-linenumber="3384"><td class="num" id="LN3384">3384</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH<span class='macro_popup'>"access::can-trash"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3385"><td class="num" id="LN3385">3385</td><td class="line"> 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3386"><td class="num" id="LN3386">3386</td><td class="line"> <span class='keyword'>if</span> (file_info == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3387"><td class="num" id="LN3387">3387</td><td class="line"> g_set_error (error,</td></tr>
+<tr class="codeline" data-linenumber="3388"><td class="num" id="LN3388">3388</td><td class="line"> <span class='macro'>EOM_WINDOW_ERROR<span class='macro_popup'>(eom_window_error_quark ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3389"><td class="num" id="LN3389">3389</td><td class="line"> EOM_WINDOW_ERROR_TRASH_NOT_FOUND,</td></tr>
+<tr class="codeline" data-linenumber="3390"><td class="num" id="LN3390">3390</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Couldn't access trash."</span>)<span class='macro_popup'>gettext ("Couldn't access trash.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3391"><td class="num" id="LN3391">3391</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3392"><td class="num" id="LN3392">3392</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3393"><td class="num" id="LN3393">3393</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3394"><td class="num" id="LN3394">3394</td><td class="line"> can_trash = g_file_info_get_attribute_boolean (file_info,</td></tr>
+<tr class="codeline" data-linenumber="3395"><td class="num" id="LN3395">3395</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH<span class='macro_popup'>"access::can-trash"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3396"><td class="num" id="LN3396">3396</td><td class="line"> g_object_unref (file_info);</td></tr>
+<tr class="codeline" data-linenumber="3397"><td class="num" id="LN3397">3397</td><td class="line"> <span class='keyword'>if</span> (can_trash)</td></tr>
+<tr class="codeline" data-linenumber="3398"><td class="num" id="LN3398">3398</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="3399"><td class="num" id="LN3399">3399</td><td class="line"> result = g_file_trash (file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3400"><td class="num" id="LN3400">3400</td><td class="line"> <span class='keyword'>if</span> (result == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3401"><td class="num" id="LN3401">3401</td><td class="line"> g_set_error (error,</td></tr>
+<tr class="codeline" data-linenumber="3402"><td class="num" id="LN3402">3402</td><td class="line"> <span class='macro'>EOM_WINDOW_ERROR<span class='macro_popup'>(eom_window_error_quark ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3403"><td class="num" id="LN3403">3403</td><td class="line"> EOM_WINDOW_ERROR_TRASH_NOT_FOUND,</td></tr>
+<tr class="codeline" data-linenumber="3404"><td class="num" id="LN3404">3404</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Couldn't access trash."</span>)<span class='macro_popup'>gettext ("Couldn't access trash.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3405"><td class="num" id="LN3405">3405</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3406"><td class="num" id="LN3406">3406</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3407"><td class="num" id="LN3407">3407</td><td class="line"> result = g_file_delete (file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3408"><td class="num" id="LN3408">3408</td><td class="line"> <span class='keyword'>if</span> (result == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3409"><td class="num" id="LN3409">3409</td><td class="line"> g_set_error (error,</td></tr>
+<tr class="codeline" data-linenumber="3410"><td class="num" id="LN3410">3410</td><td class="line"> <span class='macro'>EOM_WINDOW_ERROR<span class='macro_popup'>(eom_window_error_quark ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3411"><td class="num" id="LN3411">3411</td><td class="line"> EOM_WINDOW_ERROR_IO,</td></tr>
+<tr class="codeline" data-linenumber="3412"><td class="num" id="LN3412">3412</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Couldn't delete file"</span>)<span class='macro_popup'>gettext ("Couldn't delete file")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3413"><td class="num" id="LN3413">3413</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3414"><td class="num" id="LN3414">3414</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3415"><td class="num" id="LN3415">3415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3416"><td class="num" id="LN3416">3416</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="3417"><td class="num" id="LN3417">3417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3418"><td class="num" id="LN3418">3418</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="3419"><td class="num" id="LN3419">3419</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3420"><td class="num" id="LN3420">3420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3421"><td class="num" id="LN3421">3421</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3422"><td class="num" id="LN3422">3422</td><td class="line">eom_window_cmd_copy_image (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3423"><td class="num" id="LN3423">3423</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3424"><td class="num" id="LN3424">3424</td><td class="line"> GtkClipboard *clipboard;</td></tr>
+<tr class="codeline" data-linenumber="3425"><td class="num" id="LN3425">3425</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="3426"><td class="num" id="LN3426">3426</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3427"><td class="num" id="LN3427">3427</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="3428"><td class="num" id="LN3428">3428</td><td class="line"> EomClipboardHandler *cbhandler;</td></tr>
+<tr class="codeline" data-linenumber="3429"><td class="num" id="LN3429">3429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3430"><td class="num" id="LN3430">3430</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3431"><td class="num" id="LN3431">3431</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3432"><td class="num" id="LN3432">3432</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3433"><td class="num" id="LN3433">3433</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3434"><td class="num" id="LN3434">3434</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3435"><td class="num" id="LN3435">3435</td><td class="line"> image = eom_thumb_view_get_first_selected_image (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3436"><td class="num" id="LN3436">3436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3437"><td class="num" id="LN3437">3437</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (image))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((image)); GType __t = ((eom_image_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (image)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3438"><td class="num" id="LN3438">3438</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3439"><td class="num" id="LN3439">3439</td><td class="line"> clipboard = gtk_clipboard_get (<span class='macro'>GDK_SELECTION_CLIPBOARD<span class='macro_popup'>((GdkAtom)((gpointer) (gulong) (69)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3440"><td class="num" id="LN3440">3440</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3441"><td class="num" id="LN3441">3441</td><td class="line"> cbhandler = eom_clipboard_handler_new (image);</td></tr>
+<tr class="codeline" data-linenumber="3442"><td class="num" id="LN3442">3442</td><td class="line"> <span class='comment'>// cbhandler will self-destruct when it's not needed anymore</span></td></tr>
+<tr class="codeline" data-linenumber="3443"><td class="num" id="LN3443">3443</td><td class="line"> eom_clipboard_handler_copy_to_clipboard (cbhandler, clipboard);</td></tr>
+<tr class="codeline" data-linenumber="3444"><td class="num" id="LN3444">3444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3445"><td class="num" id="LN3445">3445</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3446"><td class="num" id="LN3446">3446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3447"><td class="num" id="LN3447">3447</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3448"><td class="num" id="LN3448">3448</td><td class="line">eom_window_cmd_move_to_trash (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3449"><td class="num" id="LN3449">3449</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3450"><td class="num" id="LN3450">3450</td><td class="line"> GList *images;</td></tr>
+<tr class="codeline" data-linenumber="3451"><td class="num" id="LN3451">3451</td><td class="line"> GList *it;</td></tr>
+<tr class="codeline" data-linenumber="3452"><td class="num" id="LN3452">3452</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3453"><td class="num" id="LN3453">3453</td><td class="line"> EomListStore *list;</td></tr>
+<tr class="codeline" data-linenumber="3454"><td class="num" id="LN3454">3454</td><td class="line"> <span class='keyword'>int</span> pos;</td></tr>
+<tr class="codeline" data-linenumber="3455"><td class="num" id="LN3455">3455</td><td class="line"> EomImage *img;</td></tr>
+<tr class="codeline" data-linenumber="3456"><td class="num" id="LN3456">3456</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="3457"><td class="num" id="LN3457">3457</td><td class="line"> <span class='keyword'>int</span> response;</td></tr>
+<tr class="codeline" data-linenumber="3458"><td class="num" id="LN3458">3458</td><td class="line"> <span class='keyword'>int</span> n_images;</td></tr>
+<tr class="codeline" data-linenumber="3459"><td class="num" id="LN3459">3459</td><td class="line"> gboolean success;</td></tr>
+<tr class="codeline" data-linenumber="3460"><td class="num" id="LN3460">3460</td><td class="line"> gboolean can_trash;</td></tr>
+<tr class="codeline" data-linenumber="3461"><td class="num" id="LN3461">3461</td><td class="line"> <span class='keyword'>const</span> gchar *action_name;</td></tr>
+<tr class="codeline" data-linenumber="3462"><td class="num" id="LN3462">3462</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3463"><td class="num" id="LN3463">3463</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3464"><td class="num" id="LN3464">3464</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3465"><td class="num" id="LN3465">3465</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3466"><td class="num" id="LN3466">3466</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3467"><td class="num" id="LN3467">3467</td><td class="line"> list = priv-&gt;store;</td></tr>
+<tr class="codeline" data-linenumber="3468"><td class="num" id="LN3468">3468</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3469"><td class="num" id="LN3469">3469</td><td class="line"> n_images = eom_thumb_view_get_n_selected (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3470"><td class="num" id="LN3470">3470</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3471"><td class="num" id="LN3471">3471</td><td class="line"> <span class='keyword'>if</span> (n_images &lt; 1) <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3472"><td class="num" id="LN3472">3472</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3473"><td class="num" id="LN3473">3473</td><td class="line"> <span class='comment'>/* save position of selected image after the deletion */</span></td></tr>
+<tr class="codeline" data-linenumber="3474"><td class="num" id="LN3474">3474</td><td class="line"> images = eom_thumb_view_get_selected_images (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3475"><td class="num" id="LN3475">3475</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3476"><td class="num" id="LN3476">3476</td><td class="line"> <span class='macro'>g_assert (images != NULL)<span class='macro_popup'>do { if (images != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 3476, ((const char*) (__func__)), "images != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3477"><td class="num" id="LN3477">3477</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3478"><td class="num" id="LN3478">3478</td><td class="line"> <span class='comment'>/* HACK: eom_list_store_get_n_selected return list in reverse order */</span></td></tr>
+<tr class="codeline" data-linenumber="3479"><td class="num" id="LN3479">3479</td><td class="line"> images = g_list_reverse (images);</td></tr>
+<tr class="codeline" data-linenumber="3480"><td class="num" id="LN3480">3480</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3481"><td class="num" id="LN3481">3481</td><td class="line"> can_trash = eom_window_all_images_trasheable (images);</td></tr>
+<tr class="codeline" data-linenumber="3482"><td class="num" id="LN3482">3482</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3483"><td class="num" id="LN3483">3483</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3484"><td class="num" id="LN3484">3484</td><td class="line"> action_name = gtk_action_get_name (action);</td></tr>
+<tr class="codeline" data-linenumber="3485"><td class="num" id="LN3485">3485</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3486"><td class="num" id="LN3486">3486</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3487"><td class="num" id="LN3487">3487</td><td class="line"> <span class='keyword'>if</span> (g_ascii_strcasecmp (action_name, <span class='string_literal'>"Delete"</span>) == 0 ||</td></tr>
+<tr class="codeline" data-linenumber="3488"><td class="num" id="LN3488">3488</td><td class="line"> can_trash == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3489"><td class="num" id="LN3489">3489</td><td class="line"> response = show_move_to_trash_confirm_dialog (window, images, can_trash);</td></tr>
+<tr class="codeline" data-linenumber="3490"><td class="num" id="LN3490">3490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3491"><td class="num" id="LN3491">3491</td><td class="line"> <span class='keyword'>if</span> (response != GTK_RESPONSE_OK) <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3492"><td class="num" id="LN3492">3492</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3493"><td class="num" id="LN3493">3493</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3494"><td class="num" id="LN3494">3494</td><td class="line"> pos = eom_list_store_get_pos_by_image (list, <span class='macro'>EOM_IMAGE (images-&gt;data)<span class='macro_popup'>((((EomImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((images-&gt;data)), ((eom_image_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3495"><td class="num" id="LN3495">3495</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3496"><td class="num" id="LN3496">3496</td><td class="line"> <span class='comment'>/* FIXME: make a nice progress dialog */</span></td></tr>
+<tr class="codeline" data-linenumber="3497"><td class="num" id="LN3497">3497</td><td class="line"> <span class='comment'>/* Do the work actually. First try to delete the image from the disk. If this</span></td></tr>
+<tr class="codeline" data-linenumber="3498"><td class="num" id="LN3498">3498</td><td class="line"> <span class='comment'>* is successful, remove it from the screen. Otherwise show error dialog.</span></td></tr>
+<tr class="codeline" data-linenumber="3499"><td class="num" id="LN3499">3499</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="3500"><td class="num" id="LN3500">3500</td><td class="line"> <span class='keyword'>for</span> (it = images; it != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; it = it-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="3501"><td class="num" id="LN3501">3501</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3502"><td class="num" id="LN3502">3502</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="3503"><td class="num" id="LN3503">3503</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3504"><td class="num" id="LN3504">3504</td><td class="line"> image = <span class='macro'>EOM_IMAGE (it-&gt;data)<span class='macro_popup'>((((EomImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((it-&gt;data)), ((eom_image_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3505"><td class="num" id="LN3505">3505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3506"><td class="num" id="LN3506">3506</td><td class="line"> success = move_to_trash_real (image, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="3507"><td class="num" id="LN3507">3507</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3508"><td class="num" id="LN3508">3508</td><td class="line"> <span class='keyword'>if</span> (success) {</td></tr>
+<tr class="codeline" data-linenumber="3509"><td class="num" id="LN3509">3509</td><td class="line"> eom_list_store_remove_image (list, image);</td></tr>
+<tr class="codeline" data-linenumber="3510"><td class="num" id="LN3510">3510</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3511"><td class="num" id="LN3511">3511</td><td class="line"> <span class='keyword'>char</span> *header;</td></tr>
+<tr class="codeline" data-linenumber="3512"><td class="num" id="LN3512">3512</td><td class="line"> GtkWidget *dlg;</td></tr>
+<tr class="codeline" data-linenumber="3513"><td class="num" id="LN3513">3513</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3514"><td class="num" id="LN3514">3514</td><td class="line"> header = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Error on deleting image %s"</span>)<span class='macro_popup'>gettext ("Error on deleting image %s")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3515"><td class="num" id="LN3515">3515</td><td class="line"> eom_image_get_caption (image));</td></tr>
+<tr class="codeline" data-linenumber="3516"><td class="num" id="LN3516">3516</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3517"><td class="num" id="LN3517">3517</td><td class="line"> dlg = gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3518"><td class="num" id="LN3518">3518</td><td class="line"> GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,</td></tr>
+<tr class="codeline" data-linenumber="3519"><td class="num" id="LN3519">3519</td><td class="line"> GTK_MESSAGE_ERROR,</td></tr>
+<tr class="codeline" data-linenumber="3520"><td class="num" id="LN3520">3520</td><td class="line"> GTK_BUTTONS_OK,</td></tr>
+<tr class="codeline" data-linenumber="3521"><td class="num" id="LN3521">3521</td><td class="line"> <span class='string_literal'>"%s"</span>, header);</td></tr>
+<tr class="codeline" data-linenumber="3522"><td class="num" id="LN3522">3522</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3523"><td class="num" id="LN3523">3523</td><td class="line"> gtk_message_dialog_format_secondary_text (<span class='macro'>GTK_MESSAGE_DIALOG (dlg)<span class='macro_popup'>((((GtkMessageDialog*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((dlg)), ((gtk_message_dialog_get_type ()))))<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3524"><td class="num" id="LN3524">3524</td><td class="line"> <span class='string_literal'>"%s"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="3525"><td class="num" id="LN3525">3525</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3526"><td class="num" id="LN3526">3526</td><td class="line"> gtk_dialog_run (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3527"><td class="num" id="LN3527">3527</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3528"><td class="num" id="LN3528">3528</td><td class="line"> gtk_widget_destroy (dlg);</td></tr>
+<tr class="codeline" data-linenumber="3529"><td class="num" id="LN3529">3529</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3530"><td class="num" id="LN3530">3530</td><td class="line"> g_free (header);</td></tr>
+<tr class="codeline" data-linenumber="3531"><td class="num" id="LN3531">3531</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3532"><td class="num" id="LN3532">3532</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3533"><td class="num" id="LN3533">3533</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3534"><td class="num" id="LN3534">3534</td><td class="line"> <span class='comment'>/* free list */</span></td></tr>
+<tr class="codeline" data-linenumber="3535"><td class="num" id="LN3535">3535</td><td class="line"> g_list_free_full (images, g_object_unref);</td></tr>
+<tr class="codeline" data-linenumber="3536"><td class="num" id="LN3536">3536</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3537"><td class="num" id="LN3537">3537</td><td class="line"> <span class='comment'>/* select image at previously saved position */</span></td></tr>
+<tr class="codeline" data-linenumber="3538"><td class="num" id="LN3538">3538</td><td class="line"> pos = <span class='macro'>MIN (pos, eom_list_store_length (list) - 1)<span class='macro_popup'>(((pos) &lt; (eom_list_store_length (list) - 1)) ? (pos) : (eom_list_store_length<br> (list) - 1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3539"><td class="num" id="LN3539">3539</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3540"><td class="num" id="LN3540">3540</td><td class="line"> <span class='keyword'>if</span> (pos &gt;= 0) {</td></tr>
+<tr class="codeline" data-linenumber="3541"><td class="num" id="LN3541">3541</td><td class="line"> img = eom_list_store_get_image_by_pos (list, pos);</td></tr>
+<tr class="codeline" data-linenumber="3542"><td class="num" id="LN3542">3542</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3543"><td class="num" id="LN3543">3543</td><td class="line"> eom_thumb_view_set_current_image (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3544"><td class="num" id="LN3544">3544</td><td class="line"> img,</td></tr>
+<tr class="codeline" data-linenumber="3545"><td class="num" id="LN3545">3545</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3546"><td class="num" id="LN3546">3546</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3547"><td class="num" id="LN3547">3547</td><td class="line"> <span class='keyword'>if</span> (img != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3548"><td class="num" id="LN3548">3548</td><td class="line"> g_object_unref (img);</td></tr>
+<tr class="codeline" data-linenumber="3549"><td class="num" id="LN3549">3549</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3550"><td class="num" id="LN3550">3550</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3551"><td class="num" id="LN3551">3551</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3552"><td class="num" id="LN3552">3552</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3553"><td class="num" id="LN3553">3553</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3554"><td class="num" id="LN3554">3554</td><td class="line">eom_window_cmd_fullscreen (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3555"><td class="num" id="LN3555">3555</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3556"><td class="num" id="LN3556">3556</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="3557"><td class="num" id="LN3557">3557</td><td class="line"> gboolean fullscreen;</td></tr>
+<tr class="codeline" data-linenumber="3558"><td class="num" id="LN3558">3558</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3559"><td class="num" id="LN3559">3559</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3560"><td class="num" id="LN3560">3560</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3561"><td class="num" id="LN3561">3561</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3561, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3562"><td class="num" id="LN3562">3562</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3563"><td class="num" id="LN3563">3563</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3564"><td class="num" id="LN3564">3564</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3565"><td class="num" id="LN3565">3565</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3566"><td class="num" id="LN3566">3566</td><td class="line"> fullscreen = gtk_toggle_action_get_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3567"><td class="num" id="LN3567">3567</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3568"><td class="num" id="LN3568">3568</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3569"><td class="num" id="LN3569">3569</td><td class="line"> <span class='keyword'>if</span> (fullscreen) {</td></tr>
+<tr class="codeline" data-linenumber="3570"><td class="num" id="LN3570">3570</td><td class="line"> eom_window_run_fullscreen (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3571"><td class="num" id="LN3571">3571</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3572"><td class="num" id="LN3572">3572</td><td class="line"> eom_window_stop_fullscreen (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3573"><td class="num" id="LN3573">3573</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3574"><td class="num" id="LN3574">3574</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3575"><td class="num" id="LN3575">3575</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3576"><td class="num" id="LN3576">3576</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3577"><td class="num" id="LN3577">3577</td><td class="line">eom_window_cmd_slideshow (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3578"><td class="num" id="LN3578">3578</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3579"><td class="num" id="LN3579">3579</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="3580"><td class="num" id="LN3580">3580</td><td class="line"> gboolean slideshow;</td></tr>
+<tr class="codeline" data-linenumber="3581"><td class="num" id="LN3581">3581</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3582"><td class="num" id="LN3582">3582</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3583"><td class="num" id="LN3583">3583</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3584"><td class="num" id="LN3584">3584</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3584, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3585"><td class="num" id="LN3585">3585</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3586"><td class="num" id="LN3586">3586</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3587"><td class="num" id="LN3587">3587</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3588"><td class="num" id="LN3588">3588</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3589"><td class="num" id="LN3589">3589</td><td class="line"> slideshow = gtk_toggle_action_get_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3590"><td class="num" id="LN3590">3590</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3591"><td class="num" id="LN3591">3591</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3592"><td class="num" id="LN3592">3592</td><td class="line"> <span class='keyword'>if</span> (slideshow) {</td></tr>
+<tr class="codeline" data-linenumber="3593"><td class="num" id="LN3593">3593</td><td class="line"> eom_window_run_fullscreen (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3594"><td class="num" id="LN3594">3594</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3595"><td class="num" id="LN3595">3595</td><td class="line"> eom_window_stop_fullscreen (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3596"><td class="num" id="LN3596">3596</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3597"><td class="num" id="LN3597">3597</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3598"><td class="num" id="LN3598">3598</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3599"><td class="num" id="LN3599">3599</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3600"><td class="num" id="LN3600">3600</td><td class="line">eom_window_cmd_pause_slideshow (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3601"><td class="num" id="LN3601">3601</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3602"><td class="num" id="LN3602">3602</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="3603"><td class="num" id="LN3603">3603</td><td class="line"> gboolean slideshow;</td></tr>
+<tr class="codeline" data-linenumber="3604"><td class="num" id="LN3604">3604</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3605"><td class="num" id="LN3605">3605</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3606"><td class="num" id="LN3606">3606</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3607"><td class="num" id="LN3607">3607</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3607, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3608"><td class="num" id="LN3608">3608</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3609"><td class="num" id="LN3609">3609</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3610"><td class="num" id="LN3610">3610</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3611"><td class="num" id="LN3611">3611</td><td class="line"> slideshow = window-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW;</td></tr>
+<tr class="codeline" data-linenumber="3612"><td class="num" id="LN3612">3612</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3613"><td class="num" id="LN3613">3613</td><td class="line"> <span class='keyword'>if</span> (!slideshow &amp;&amp; window-&gt;priv-&gt;mode != EOM_WINDOW_MODE_FULLSCREEN)</td></tr>
+<tr class="codeline" data-linenumber="3614"><td class="num" id="LN3614">3614</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3615"><td class="num" id="LN3615">3615</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3616"><td class="num" id="LN3616">3616</td><td class="line"> eom_window_run_fullscreen (window, !slideshow);</td></tr>
+<tr class="codeline" data-linenumber="3617"><td class="num" id="LN3617">3617</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3618"><td class="num" id="LN3618">3618</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3619"><td class="num" id="LN3619">3619</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3620"><td class="num" id="LN3620">3620</td><td class="line">eom_window_cmd_zoom_in (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3621"><td class="num" id="LN3621">3621</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3622"><td class="num" id="LN3622">3622</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3623"><td class="num" id="LN3623">3623</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3624"><td class="num" id="LN3624">3624</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3625"><td class="num" id="LN3625">3625</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3626"><td class="num" id="LN3626">3626</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3626, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3627"><td class="num" id="LN3627">3627</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3628"><td class="num" id="LN3628">3628</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3629"><td class="num" id="LN3629">3629</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3630"><td class="num" id="LN3630">3630</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;view) {</td></tr>
+<tr class="codeline" data-linenumber="3631"><td class="num" id="LN3631">3631</td><td class="line"> eom_scroll_view_zoom_in (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3632"><td class="num" id="LN3632">3632</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3633"><td class="num" id="LN3633">3633</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3634"><td class="num" id="LN3634">3634</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3635"><td class="num" id="LN3635">3635</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3636"><td class="num" id="LN3636">3636</td><td class="line">eom_window_cmd_zoom_out (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3637"><td class="num" id="LN3637">3637</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3638"><td class="num" id="LN3638">3638</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3639"><td class="num" id="LN3639">3639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3640"><td class="num" id="LN3640">3640</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3641"><td class="num" id="LN3641">3641</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3642"><td class="num" id="LN3642">3642</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3642, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3643"><td class="num" id="LN3643">3643</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3644"><td class="num" id="LN3644">3644</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3645"><td class="num" id="LN3645">3645</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3646"><td class="num" id="LN3646">3646</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;view) {</td></tr>
+<tr class="codeline" data-linenumber="3647"><td class="num" id="LN3647">3647</td><td class="line"> eom_scroll_view_zoom_out (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3648"><td class="num" id="LN3648">3648</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3649"><td class="num" id="LN3649">3649</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3650"><td class="num" id="LN3650">3650</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3651"><td class="num" id="LN3651">3651</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3652"><td class="num" id="LN3652">3652</td><td class="line">eom_window_cmd_zoom_normal (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3653"><td class="num" id="LN3653">3653</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3654"><td class="num" id="LN3654">3654</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3655"><td class="num" id="LN3655">3655</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3656"><td class="num" id="LN3656">3656</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3657"><td class="num" id="LN3657">3657</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3658"><td class="num" id="LN3658">3658</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3658, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3659"><td class="num" id="LN3659">3659</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3660"><td class="num" id="LN3660">3660</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3661"><td class="num" id="LN3661">3661</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3662"><td class="num" id="LN3662">3662</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;view) {</td></tr>
+<tr class="codeline" data-linenumber="3663"><td class="num" id="LN3663">3663</td><td class="line"> eom_scroll_view_set_zoom (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>, 1.0);</td></tr>
+<tr class="codeline" data-linenumber="3664"><td class="num" id="LN3664">3664</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3665"><td class="num" id="LN3665">3665</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3666"><td class="num" id="LN3666">3666</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3667"><td class="num" id="LN3667">3667</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3668"><td class="num" id="LN3668">3668</td><td class="line">eom_window_cmd_zoom_fit (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3669"><td class="num" id="LN3669">3669</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3670"><td class="num" id="LN3670">3670</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3671"><td class="num" id="LN3671">3671</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3672"><td class="num" id="LN3672">3672</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3673"><td class="num" id="LN3673">3673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3674"><td class="num" id="LN3674">3674</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3674, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3675"><td class="num" id="LN3675">3675</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3676"><td class="num" id="LN3676">3676</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3677"><td class="num" id="LN3677">3677</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3678"><td class="num" id="LN3678">3678</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;view) {</td></tr>
+<tr class="codeline" data-linenumber="3679"><td class="num" id="LN3679">3679</td><td class="line"> eom_scroll_view_zoom_fit (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3680"><td class="num" id="LN3680">3680</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3681"><td class="num" id="LN3681">3681</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3682"><td class="num" id="LN3682">3682</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3683"><td class="num" id="LN3683">3683</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3684"><td class="num" id="LN3684">3684</td><td class="line">eom_window_cmd_go_prev (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3685"><td class="num" id="LN3685">3685</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3686"><td class="num" id="LN3686">3686</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3687"><td class="num" id="LN3687">3687</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3688"><td class="num" id="LN3688">3688</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3689"><td class="num" id="LN3689">3689</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3690"><td class="num" id="LN3690">3690</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3690, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3691"><td class="num" id="LN3691">3691</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3692"><td class="num" id="LN3692">3692</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3693"><td class="num" id="LN3693">3693</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3694"><td class="num" id="LN3694">3694</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3695"><td class="num" id="LN3695">3695</td><td class="line"> EOM_THUMB_VIEW_SELECT_LEFT);</td></tr>
+<tr class="codeline" data-linenumber="3696"><td class="num" id="LN3696">3696</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3697"><td class="num" id="LN3697">3697</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3698"><td class="num" id="LN3698">3698</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3699"><td class="num" id="LN3699">3699</td><td class="line">eom_window_cmd_go_next (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3700"><td class="num" id="LN3700">3700</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3701"><td class="num" id="LN3701">3701</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3702"><td class="num" id="LN3702">3702</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3703"><td class="num" id="LN3703">3703</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3704"><td class="num" id="LN3704">3704</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3705"><td class="num" id="LN3705">3705</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3705, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3706"><td class="num" id="LN3706">3706</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3707"><td class="num" id="LN3707">3707</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3708"><td class="num" id="LN3708">3708</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3709"><td class="num" id="LN3709">3709</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3710"><td class="num" id="LN3710">3710</td><td class="line"> EOM_THUMB_VIEW_SELECT_RIGHT);</td></tr>
+<tr class="codeline" data-linenumber="3711"><td class="num" id="LN3711">3711</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3712"><td class="num" id="LN3712">3712</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3713"><td class="num" id="LN3713">3713</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3714"><td class="num" id="LN3714">3714</td><td class="line">eom_window_cmd_go_first (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3715"><td class="num" id="LN3715">3715</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3716"><td class="num" id="LN3716">3716</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3717"><td class="num" id="LN3717">3717</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3718"><td class="num" id="LN3718">3718</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3719"><td class="num" id="LN3719">3719</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3720"><td class="num" id="LN3720">3720</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3720, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3721"><td class="num" id="LN3721">3721</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3722"><td class="num" id="LN3722">3722</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3723"><td class="num" id="LN3723">3723</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3724"><td class="num" id="LN3724">3724</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3725"><td class="num" id="LN3725">3725</td><td class="line"> EOM_THUMB_VIEW_SELECT_FIRST);</td></tr>
+<tr class="codeline" data-linenumber="3726"><td class="num" id="LN3726">3726</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3727"><td class="num" id="LN3727">3727</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3728"><td class="num" id="LN3728">3728</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3729"><td class="num" id="LN3729">3729</td><td class="line">eom_window_cmd_go_last (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3730"><td class="num" id="LN3730">3730</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3731"><td class="num" id="LN3731">3731</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3732"><td class="num" id="LN3732">3732</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3733"><td class="num" id="LN3733">3733</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3734"><td class="num" id="LN3734">3734</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3735"><td class="num" id="LN3735">3735</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3735, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3736"><td class="num" id="LN3736">3736</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3737"><td class="num" id="LN3737">3737</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3738"><td class="num" id="LN3738">3738</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3739"><td class="num" id="LN3739">3739</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3740"><td class="num" id="LN3740">3740</td><td class="line"> EOM_THUMB_VIEW_SELECT_LAST);</td></tr>
+<tr class="codeline" data-linenumber="3741"><td class="num" id="LN3741">3741</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3742"><td class="num" id="LN3742">3742</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3743"><td class="num" id="LN3743">3743</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3744"><td class="num" id="LN3744">3744</td><td class="line">eom_window_cmd_go_random (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3745"><td class="num" id="LN3745">3745</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3746"><td class="num" id="LN3746">3746</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3747"><td class="num" id="LN3747">3747</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3748"><td class="num" id="LN3748">3748</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3749"><td class="num" id="LN3749">3749</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3750"><td class="num" id="LN3750">3750</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3750, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3751"><td class="num" id="LN3751">3751</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3752"><td class="num" id="LN3752">3752</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3753"><td class="num" id="LN3753">3753</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3754"><td class="num" id="LN3754">3754</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3755"><td class="num" id="LN3755">3755</td><td class="line"> EOM_THUMB_VIEW_SELECT_RANDOM);</td></tr>
+<tr class="codeline" data-linenumber="3756"><td class="num" id="LN3756">3756</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3757"><td class="num" id="LN3757">3757</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3758"><td class="num" id="LN3758">3758</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GtkActionEntry action_entries_window[] = {</td></tr>
+<tr class="codeline" data-linenumber="3759"><td class="num" id="LN3759">3759</td><td class="line"> { <span class='string_literal'>"Image"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Image"</span>)<span class='macro_popup'>("_Image")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3760"><td class="num" id="LN3760">3760</td><td class="line"> { <span class='string_literal'>"Edit"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Edit"</span>)<span class='macro_popup'>("_Edit")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3761"><td class="num" id="LN3761">3761</td><td class="line"> { <span class='string_literal'>"View"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_View"</span>)<span class='macro_popup'>("_View")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3762"><td class="num" id="LN3762">3762</td><td class="line"> { <span class='string_literal'>"Go"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Go"</span>)<span class='macro_popup'>("_Go")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3763"><td class="num" id="LN3763">3763</td><td class="line"> { <span class='string_literal'>"Tools"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Tools"</span>)<span class='macro_popup'>("_Tools")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3764"><td class="num" id="LN3764">3764</td><td class="line"> { <span class='string_literal'>"Help"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Help"</span>)<span class='macro_popup'>("_Help")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3765"><td class="num" id="LN3765">3765</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3766"><td class="num" id="LN3766">3766</td><td class="line"> { <span class='string_literal'>"ImageOpen"</span>, <span class='string_literal'>"document-open"</span>, <span class='macro'>N_(<span class='string_literal'>"_Open…"</span>)<span class='macro_popup'>("_Open…")</span></span>, <span class='string_literal'>"&lt;control&gt;O"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3767"><td class="num" id="LN3767">3767</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Open a file"</span>)<span class='macro_popup'>("Open a file")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3768"><td class="num" id="LN3768">3768</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_file_open)<span class='macro_popup'>((GCallback) (eom_window_cmd_file_open))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3769"><td class="num" id="LN3769">3769</td><td class="line"> { <span class='string_literal'>"ImageClose"</span>, <span class='string_literal'>"window-close"</span>, <span class='macro'>N_(<span class='string_literal'>"_Close"</span>)<span class='macro_popup'>("_Close")</span></span>, <span class='string_literal'>"&lt;control&gt;W"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3770"><td class="num" id="LN3770">3770</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Close window"</span>)<span class='macro_popup'>("Close window")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3771"><td class="num" id="LN3771">3771</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_close_window)<span class='macro_popup'>((GCallback) (eom_window_cmd_close_window))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3772"><td class="num" id="LN3772">3772</td><td class="line"> { <span class='string_literal'>"EditToolbar"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"T_oolbar"</span>)<span class='macro_popup'>("T_oolbar")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3773"><td class="num" id="LN3773">3773</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Edit the application toolbar"</span>)<span class='macro_popup'>("Edit the application toolbar")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3774"><td class="num" id="LN3774">3774</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_edit_toolbar)<span class='macro_popup'>((GCallback) (eom_window_cmd_edit_toolbar))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3775"><td class="num" id="LN3775">3775</td><td class="line"> { <span class='string_literal'>"EditPreferences"</span>, <span class='string_literal'>"preferences-desktop"</span>, <span class='macro'>N_(<span class='string_literal'>"Prefere_nces"</span>)<span class='macro_popup'>("Prefere_nces")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3776"><td class="num" id="LN3776">3776</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Preferences for Eye of MATE"</span>)<span class='macro_popup'>("Preferences for Eye of MATE")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3777"><td class="num" id="LN3777">3777</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_preferences)<span class='macro_popup'>((GCallback) (eom_window_cmd_preferences))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3778"><td class="num" id="LN3778">3778</td><td class="line"> { <span class='string_literal'>"HelpManual"</span>, <span class='string_literal'>"help-browser"</span>, <span class='macro'>N_(<span class='string_literal'>"_Contents"</span>)<span class='macro_popup'>("_Contents")</span></span>, <span class='string_literal'>"F1"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3779"><td class="num" id="LN3779">3779</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Help on this application"</span>)<span class='macro_popup'>("Help on this application")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3780"><td class="num" id="LN3780">3780</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_help)<span class='macro_popup'>((GCallback) (eom_window_cmd_help))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3781"><td class="num" id="LN3781">3781</td><td class="line"> { <span class='string_literal'>"HelpAbout"</span>, <span class='string_literal'>"help-about"</span>, <span class='macro'>N_(<span class='string_literal'>"_About"</span>)<span class='macro_popup'>("_About")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3782"><td class="num" id="LN3782">3782</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"About this application"</span>)<span class='macro_popup'>("About this application")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3783"><td class="num" id="LN3783">3783</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_about)<span class='macro_popup'>((GCallback) (eom_window_cmd_about))</span></span> }</td></tr>
+<tr class="codeline" data-linenumber="3784"><td class="num" id="LN3784">3784</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="3785"><td class="num" id="LN3785">3785</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3786"><td class="num" id="LN3786">3786</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GtkToggleActionEntry toggle_entries_window[] = {</td></tr>
+<tr class="codeline" data-linenumber="3787"><td class="num" id="LN3787">3787</td><td class="line"> { <span class='string_literal'>"ViewToolbar"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Toolbar"</span>)<span class='macro_popup'>("_Toolbar")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3788"><td class="num" id="LN3788">3788</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Changes the visibility of the toolbar in the current window"</span>)<span class='macro_popup'>("Changes the visibility of the toolbar in the current window"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3789"><td class="num" id="LN3789">3789</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_show_hide_bar)<span class='macro_popup'>((GCallback) (eom_window_cmd_show_hide_bar))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3790"><td class="num" id="LN3790">3790</td><td class="line"> { <span class='string_literal'>"ViewStatusbar"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Statusbar"</span>)<span class='macro_popup'>("_Statusbar")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3791"><td class="num" id="LN3791">3791</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Changes the visibility of the statusbar in the current window"</span>)<span class='macro_popup'>("Changes the visibility of the statusbar in the current window"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3792"><td class="num" id="LN3792">3792</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_show_hide_bar)<span class='macro_popup'>((GCallback) (eom_window_cmd_show_hide_bar))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3793"><td class="num" id="LN3793">3793</td><td class="line"> { <span class='string_literal'>"ViewImageCollection"</span>, <span class='string_literal'>"eom-image-collection"</span>, <span class='macro'>N_(<span class='string_literal'>"_Image Collection"</span>)<span class='macro_popup'>("_Image Collection")</span></span>, <span class='string_literal'>"&lt;control&gt;F9"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3794"><td class="num" id="LN3794">3794</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Changes the visibility of the image collection pane in the current window"</span>)<span class='macro_popup'>("Changes the visibility of the image collection pane in the current window"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3795"><td class="num" id="LN3795">3795</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_show_hide_bar)<span class='macro_popup'>((GCallback) (eom_window_cmd_show_hide_bar))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3796"><td class="num" id="LN3796">3796</td><td class="line"> { <span class='string_literal'>"ViewSidebar"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"Side _Pane"</span>)<span class='macro_popup'>("Side _Pane")</span></span>, <span class='string_literal'>"F9"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3797"><td class="num" id="LN3797">3797</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Changes the visibility of the side pane in the current window"</span>)<span class='macro_popup'>("Changes the visibility of the side pane in the current window"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3798"><td class="num" id="LN3798">3798</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_show_hide_bar)<span class='macro_popup'>((GCallback) (eom_window_cmd_show_hide_bar))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3799"><td class="num" id="LN3799">3799</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="3800"><td class="num" id="LN3800">3800</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3801"><td class="num" id="LN3801">3801</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GtkActionEntry action_entries_image[] = {</td></tr>
+<tr class="codeline" data-linenumber="3802"><td class="num" id="LN3802">3802</td><td class="line"> { <span class='string_literal'>"ImageSave"</span>, <span class='string_literal'>"document-save"</span>, <span class='macro'>N_(<span class='string_literal'>"_Save"</span>)<span class='macro_popup'>("_Save")</span></span>, <span class='string_literal'>"&lt;control&gt;s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3803"><td class="num" id="LN3803">3803</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Save changes in currently selected images"</span>)<span class='macro_popup'>("Save changes in currently selected images")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3804"><td class="num" id="LN3804">3804</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_save)<span class='macro_popup'>((GCallback) (eom_window_cmd_save))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3805"><td class="num" id="LN3805">3805</td><td class="line"> { <span class='string_literal'>"ImageOpenWith"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"Open _with"</span>)<span class='macro_popup'>("Open _with")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3806"><td class="num" id="LN3806">3806</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Open the selected image with a different application"</span>)<span class='macro_popup'>("Open the selected image with a different application")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3807"><td class="num" id="LN3807">3807</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>},</td></tr>
+<tr class="codeline" data-linenumber="3808"><td class="num" id="LN3808">3808</td><td class="line"> { <span class='string_literal'>"ImageSaveAs"</span>, <span class='string_literal'>"document-save-as"</span>, <span class='macro'>N_(<span class='string_literal'>"Save _As…"</span>)<span class='macro_popup'>("Save _As…")</span></span>, <span class='string_literal'>"&lt;control&gt;&lt;shift&gt;s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3809"><td class="num" id="LN3809">3809</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Save the selected images with a different name"</span>)<span class='macro_popup'>("Save the selected images with a different name")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3810"><td class="num" id="LN3810">3810</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_save_as)<span class='macro_popup'>((GCallback) (eom_window_cmd_save_as))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3811"><td class="num" id="LN3811">3811</td><td class="line"> { <span class='string_literal'>"ImageOpenContainingFolder"</span>, <span class='string_literal'>"folder"</span>, <span class='macro'>N_(<span class='string_literal'>"Open Containing _Folder"</span>)<span class='macro_popup'>("Open Containing _Folder")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3812"><td class="num" id="LN3812">3812</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Show the folder which contains this file in the file manager"</span>)<span class='macro_popup'>("Show the folder which contains this file in the file manager"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3813"><td class="num" id="LN3813">3813</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_open_containing_folder)<span class='macro_popup'>((GCallback) (eom_window_cmd_open_containing_folder))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3814"><td class="num" id="LN3814">3814</td><td class="line"> { <span class='string_literal'>"ImagePrint"</span>, <span class='string_literal'>"document-print"</span>, <span class='macro'>N_(<span class='string_literal'>"_Print…"</span>)<span class='macro_popup'>("_Print…")</span></span>, <span class='string_literal'>"&lt;control&gt;p"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3815"><td class="num" id="LN3815">3815</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Print the selected image"</span>)<span class='macro_popup'>("Print the selected image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3816"><td class="num" id="LN3816">3816</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_print)<span class='macro_popup'>((GCallback) (eom_window_cmd_print))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3817"><td class="num" id="LN3817">3817</td><td class="line"> { <span class='string_literal'>"ImageProperties"</span>, <span class='string_literal'>"document-properties"</span>, <span class='macro'>N_(<span class='string_literal'>"Prope_rties"</span>)<span class='macro_popup'>("Prope_rties")</span></span>, <span class='string_literal'>"&lt;alt&gt;Return"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3818"><td class="num" id="LN3818">3818</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Show the properties and metadata of the selected image"</span>)<span class='macro_popup'>("Show the properties and metadata of the selected image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3819"><td class="num" id="LN3819">3819</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_properties)<span class='macro_popup'>((GCallback) (eom_window_cmd_properties))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3820"><td class="num" id="LN3820">3820</td><td class="line"> { <span class='string_literal'>"EditUndo"</span>, <span class='string_literal'>"edit-undo"</span>, <span class='macro'>N_(<span class='string_literal'>"_Undo"</span>)<span class='macro_popup'>("_Undo")</span></span>, <span class='string_literal'>"&lt;control&gt;z"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3821"><td class="num" id="LN3821">3821</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Undo the last change in the image"</span>)<span class='macro_popup'>("Undo the last change in the image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3822"><td class="num" id="LN3822">3822</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_undo)<span class='macro_popup'>((GCallback) (eom_window_cmd_undo))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3823"><td class="num" id="LN3823">3823</td><td class="line"> { <span class='string_literal'>"EditFlipHorizontal"</span>, <span class='string_literal'>"object-flip-horizontal"</span>, <span class='macro'>N_(<span class='string_literal'>"Flip _Horizontal"</span>)<span class='macro_popup'>("Flip _Horizontal")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3824"><td class="num" id="LN3824">3824</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Mirror the image horizontally"</span>)<span class='macro_popup'>("Mirror the image horizontally")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3825"><td class="num" id="LN3825">3825</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_flip_horizontal)<span class='macro_popup'>((GCallback) (eom_window_cmd_flip_horizontal))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3826"><td class="num" id="LN3826">3826</td><td class="line"> { <span class='string_literal'>"EditFlipVertical"</span>, <span class='string_literal'>"object-flip-vertical"</span>, <span class='macro'>N_(<span class='string_literal'>"Flip _Vertical"</span>)<span class='macro_popup'>("Flip _Vertical")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3827"><td class="num" id="LN3827">3827</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Mirror the image vertically"</span>)<span class='macro_popup'>("Mirror the image vertically")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3828"><td class="num" id="LN3828">3828</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_flip_vertical)<span class='macro_popup'>((GCallback) (eom_window_cmd_flip_vertical))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3829"><td class="num" id="LN3829">3829</td><td class="line"> { <span class='string_literal'>"EditRotate90"</span>, <span class='string_literal'>"object-rotate-right"</span>, <span class='macro'>N_(<span class='string_literal'>"_Rotate Clockwise"</span>)<span class='macro_popup'>("_Rotate Clockwise")</span></span>, <span class='string_literal'>"&lt;control&gt;r"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3830"><td class="num" id="LN3830">3830</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Rotate the image 90 degrees to the right"</span>)<span class='macro_popup'>("Rotate the image 90 degrees to the right")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3831"><td class="num" id="LN3831">3831</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_rotate_90)<span class='macro_popup'>((GCallback) (eom_window_cmd_rotate_90))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3832"><td class="num" id="LN3832">3832</td><td class="line"> { <span class='string_literal'>"EditRotate270"</span>, <span class='string_literal'>"object-rotate-left"</span>, <span class='macro'>N_(<span class='string_literal'>"Rotate Counterc_lockwise"</span>)<span class='macro_popup'>("Rotate Counterc_lockwise")</span></span>, <span class='string_literal'>"&lt;ctrl&gt;&lt;shift&gt;r"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3833"><td class="num" id="LN3833">3833</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Rotate the image 90 degrees to the left"</span>)<span class='macro_popup'>("Rotate the image 90 degrees to the left")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3834"><td class="num" id="LN3834">3834</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_rotate_270)<span class='macro_popup'>((GCallback) (eom_window_cmd_rotate_270))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3835"><td class="num" id="LN3835">3835</td><td class="line"> { <span class='string_literal'>"ImageSetAsWallpaper"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"Set as _Desktop Background"</span>)<span class='macro_popup'>("Set as _Desktop Background")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3836"><td class="num" id="LN3836">3836</td><td class="line"> <span class='string_literal'>"&lt;control&gt;F8"</span>, <span class='macro'>N_(<span class='string_literal'>"Set the selected image as the desktop background"</span>)<span class='macro_popup'>("Set the selected image as the desktop background")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3837"><td class="num" id="LN3837">3837</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_wallpaper)<span class='macro_popup'>((GCallback) (eom_window_cmd_wallpaper))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3838"><td class="num" id="LN3838">3838</td><td class="line"> { <span class='string_literal'>"EditMoveToTrash"</span>, <span class='string_literal'>"user-trash"</span>, <span class='macro'>N_(<span class='string_literal'>"Move to _Trash"</span>)<span class='macro_popup'>("Move to _Trash")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3839"><td class="num" id="LN3839">3839</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Move the selected image to the trash folder"</span>)<span class='macro_popup'>("Move the selected image to the trash folder")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3840"><td class="num" id="LN3840">3840</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_move_to_trash)<span class='macro_popup'>((GCallback) (eom_window_cmd_move_to_trash))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3841"><td class="num" id="LN3841">3841</td><td class="line"> { <span class='string_literal'>"EditCopyImage"</span>, <span class='string_literal'>"edit-copy"</span>, <span class='macro'>N_(<span class='string_literal'>"_Copy"</span>)<span class='macro_popup'>("_Copy")</span></span>, <span class='string_literal'>"&lt;control&gt;C"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3842"><td class="num" id="LN3842">3842</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Copy the selected image to the clipboard"</span>)<span class='macro_popup'>("Copy the selected image to the clipboard")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3843"><td class="num" id="LN3843">3843</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_copy_image)<span class='macro_popup'>((GCallback) (eom_window_cmd_copy_image))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3844"><td class="num" id="LN3844">3844</td><td class="line"> { <span class='string_literal'>"ViewZoomIn"</span>, <span class='string_literal'>"zoom-in"</span>, <span class='macro'>N_(<span class='string_literal'>"_Zoom In"</span>)<span class='macro_popup'>("_Zoom In")</span></span>, <span class='string_literal'>"&lt;control&gt;plus"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3845"><td class="num" id="LN3845">3845</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Enlarge the image"</span>)<span class='macro_popup'>("Enlarge the image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3846"><td class="num" id="LN3846">3846</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_zoom_in)<span class='macro_popup'>((GCallback) (eom_window_cmd_zoom_in))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3847"><td class="num" id="LN3847">3847</td><td class="line"> { <span class='string_literal'>"ViewZoomOut"</span>, <span class='string_literal'>"zoom-out"</span>, <span class='macro'>N_(<span class='string_literal'>"Zoom _Out"</span>)<span class='macro_popup'>("Zoom _Out")</span></span>, <span class='string_literal'>"&lt;control&gt;minus"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3848"><td class="num" id="LN3848">3848</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Shrink the image"</span>)<span class='macro_popup'>("Shrink the image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3849"><td class="num" id="LN3849">3849</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_zoom_out)<span class='macro_popup'>((GCallback) (eom_window_cmd_zoom_out))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3850"><td class="num" id="LN3850">3850</td><td class="line"> { <span class='string_literal'>"ViewZoomNormal"</span>, <span class='string_literal'>"zoom-original"</span>, <span class='macro'>N_(<span class='string_literal'>"_Normal Size"</span>)<span class='macro_popup'>("_Normal Size")</span></span>, <span class='string_literal'>"&lt;control&gt;0"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3851"><td class="num" id="LN3851">3851</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Show the image at its normal size"</span>)<span class='macro_popup'>("Show the image at its normal size")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3852"><td class="num" id="LN3852">3852</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_zoom_normal)<span class='macro_popup'>((GCallback) (eom_window_cmd_zoom_normal))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3853"><td class="num" id="LN3853">3853</td><td class="line"> { <span class='string_literal'>"ViewZoomFit"</span>, <span class='string_literal'>"zoom-fit-best"</span>, <span class='macro'>N_(<span class='string_literal'>"_Best Fit"</span>)<span class='macro_popup'>("_Best Fit")</span></span>, <span class='string_literal'>"F"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3854"><td class="num" id="LN3854">3854</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Fit the image to the window"</span>)<span class='macro_popup'>("Fit the image to the window")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3855"><td class="num" id="LN3855">3855</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_zoom_fit)<span class='macro_popup'>((GCallback) (eom_window_cmd_zoom_fit))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3856"><td class="num" id="LN3856">3856</td><td class="line"> { <span class='string_literal'>"ControlEqual"</span>, <span class='string_literal'>"zoom-in"</span>, <span class='macro'>N_(<span class='string_literal'>"_Zoom In"</span>)<span class='macro_popup'>("_Zoom In")</span></span>, <span class='string_literal'>"&lt;control&gt;equal"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3857"><td class="num" id="LN3857">3857</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Enlarge the image"</span>)<span class='macro_popup'>("Enlarge the image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3858"><td class="num" id="LN3858">3858</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_zoom_in)<span class='macro_popup'>((GCallback) (eom_window_cmd_zoom_in))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3859"><td class="num" id="LN3859">3859</td><td class="line"> { <span class='string_literal'>"ControlKpAdd"</span>, <span class='string_literal'>"zoom-in"</span>, <span class='macro'>N_(<span class='string_literal'>"_Zoom In"</span>)<span class='macro_popup'>("_Zoom In")</span></span>, <span class='string_literal'>"&lt;control&gt;KP_Add"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3860"><td class="num" id="LN3860">3860</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Shrink the image"</span>)<span class='macro_popup'>("Shrink the image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3861"><td class="num" id="LN3861">3861</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_zoom_in)<span class='macro_popup'>((GCallback) (eom_window_cmd_zoom_in))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3862"><td class="num" id="LN3862">3862</td><td class="line"> { <span class='string_literal'>"ControlKpSub"</span>, <span class='string_literal'>"zoom-out"</span>, <span class='macro'>N_(<span class='string_literal'>"Zoom _Out"</span>)<span class='macro_popup'>("Zoom _Out")</span></span>, <span class='string_literal'>"&lt;control&gt;KP_Subtract"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3863"><td class="num" id="LN3863">3863</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Shrink the image"</span>)<span class='macro_popup'>("Shrink the image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3864"><td class="num" id="LN3864">3864</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_zoom_out)<span class='macro_popup'>((GCallback) (eom_window_cmd_zoom_out))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3865"><td class="num" id="LN3865">3865</td><td class="line"> { <span class='string_literal'>"Delete"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"Move to _Trash"</span>)<span class='macro_popup'>("Move to _Trash")</span></span>, <span class='string_literal'>"Delete"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3866"><td class="num" id="LN3866">3866</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3867"><td class="num" id="LN3867">3867</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_move_to_trash)<span class='macro_popup'>((GCallback) (eom_window_cmd_move_to_trash))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3868"><td class="num" id="LN3868">3868</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="3869"><td class="num" id="LN3869">3869</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3870"><td class="num" id="LN3870">3870</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GtkToggleActionEntry toggle_entries_image[] = {</td></tr>
+<tr class="codeline" data-linenumber="3871"><td class="num" id="LN3871">3871</td><td class="line"> { <span class='string_literal'>"ViewFullscreen"</span>, <span class='string_literal'>"view-fullscreen"</span>, <span class='macro'>N_(<span class='string_literal'>"_Fullscreen"</span>)<span class='macro_popup'>("_Fullscreen")</span></span>, <span class='string_literal'>"F11"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3872"><td class="num" id="LN3872">3872</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Show the current image in fullscreen mode"</span>)<span class='macro_popup'>("Show the current image in fullscreen mode")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3873"><td class="num" id="LN3873">3873</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_fullscreen)<span class='macro_popup'>((GCallback) (eom_window_cmd_fullscreen))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3874"><td class="num" id="LN3874">3874</td><td class="line"> { <span class='string_literal'>"PauseSlideshow"</span>, <span class='string_literal'>"media-playback-pause"</span>, <span class='macro'>N_(<span class='string_literal'>"Pause Slideshow"</span>)<span class='macro_popup'>("Pause Slideshow")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3875"><td class="num" id="LN3875">3875</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"Pause or resume the slideshow"</span>)<span class='macro_popup'>("Pause or resume the slideshow")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3876"><td class="num" id="LN3876">3876</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_pause_slideshow)<span class='macro_popup'>((GCallback) (eom_window_cmd_pause_slideshow))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3877"><td class="num" id="LN3877">3877</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="3878"><td class="num" id="LN3878">3878</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3879"><td class="num" id="LN3879">3879</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GtkActionEntry action_entries_collection[] = {</td></tr>
+<tr class="codeline" data-linenumber="3880"><td class="num" id="LN3880">3880</td><td class="line"> { <span class='string_literal'>"GoPrevious"</span>, <span class='string_literal'>"go-previous"</span>, <span class='macro'>N_(<span class='string_literal'>"_Previous Image"</span>)<span class='macro_popup'>("_Previous Image")</span></span>, <span class='string_literal'>"&lt;Alt&gt;Left"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3881"><td class="num" id="LN3881">3881</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Go to the previous image of the collection"</span>)<span class='macro_popup'>("Go to the previous image of the collection")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3882"><td class="num" id="LN3882">3882</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_prev)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_prev))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3883"><td class="num" id="LN3883">3883</td><td class="line"> { <span class='string_literal'>"GoNext"</span>, <span class='string_literal'>"go-next"</span>, <span class='macro'>N_(<span class='string_literal'>"_Next Image"</span>)<span class='macro_popup'>("_Next Image")</span></span>, <span class='string_literal'>"&lt;Alt&gt;Right"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3884"><td class="num" id="LN3884">3884</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Go to the next image of the collection"</span>)<span class='macro_popup'>("Go to the next image of the collection")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3885"><td class="num" id="LN3885">3885</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_next)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_next))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3886"><td class="num" id="LN3886">3886</td><td class="line"> { <span class='string_literal'>"GoFirst"</span>, <span class='string_literal'>"go-first"</span>, <span class='macro'>N_(<span class='string_literal'>"_First Image"</span>)<span class='macro_popup'>("_First Image")</span></span>, <span class='string_literal'>"&lt;Alt&gt;Home"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3887"><td class="num" id="LN3887">3887</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Go to the first image of the collection"</span>)<span class='macro_popup'>("Go to the first image of the collection")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3888"><td class="num" id="LN3888">3888</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_first)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_first))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3889"><td class="num" id="LN3889">3889</td><td class="line"> { <span class='string_literal'>"GoLast"</span>, <span class='string_literal'>"go-last"</span>, <span class='macro'>N_(<span class='string_literal'>"_Last Image"</span>)<span class='macro_popup'>("_Last Image")</span></span>, <span class='string_literal'>"&lt;Alt&gt;End"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3890"><td class="num" id="LN3890">3890</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Go to the last image of the collection"</span>)<span class='macro_popup'>("Go to the last image of the collection")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3891"><td class="num" id="LN3891">3891</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_last)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_last))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3892"><td class="num" id="LN3892">3892</td><td class="line"> { <span class='string_literal'>"GoRandom"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Random Image"</span>)<span class='macro_popup'>("_Random Image")</span></span>, <span class='string_literal'>"&lt;control&gt;M"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3893"><td class="num" id="LN3893">3893</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Go to a random image of the collection"</span>)<span class='macro_popup'>("Go to a random image of the collection")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3894"><td class="num" id="LN3894">3894</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_random)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_random))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3895"><td class="num" id="LN3895">3895</td><td class="line"> { <span class='string_literal'>"BackSpace"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Previous Image"</span>)<span class='macro_popup'>("_Previous Image")</span></span>, <span class='string_literal'>"BackSpace"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3896"><td class="num" id="LN3896">3896</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3897"><td class="num" id="LN3897">3897</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_prev)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_prev))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3898"><td class="num" id="LN3898">3898</td><td class="line"> { <span class='string_literal'>"Home"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_First Image"</span>)<span class='macro_popup'>("_First Image")</span></span>, <span class='string_literal'>"Home"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3899"><td class="num" id="LN3899">3899</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3900"><td class="num" id="LN3900">3900</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_first)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_first))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3901"><td class="num" id="LN3901">3901</td><td class="line"> { <span class='string_literal'>"End"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Last Image"</span>)<span class='macro_popup'>("_Last Image")</span></span>, <span class='string_literal'>"End"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3902"><td class="num" id="LN3902">3902</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3903"><td class="num" id="LN3903">3903</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_last)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_last))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3904"><td class="num" id="LN3904">3904</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="3905"><td class="num" id="LN3905">3905</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3906"><td class="num" id="LN3906">3906</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GtkToggleActionEntry toggle_entries_collection[] = {</td></tr>
+<tr class="codeline" data-linenumber="3907"><td class="num" id="LN3907">3907</td><td class="line"> { <span class='string_literal'>"ViewSlideshow"</span>, <span class='string_literal'>"slideshow-play"</span>, <span class='macro'>N_(<span class='string_literal'>"S_lideshow"</span>)<span class='macro_popup'>("S_lideshow")</span></span>, <span class='string_literal'>"F5"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3908"><td class="num" id="LN3908">3908</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Start a slideshow view of the images"</span>)<span class='macro_popup'>("Start a slideshow view of the images")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3909"><td class="num" id="LN3909">3909</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_slideshow)<span class='macro_popup'>((GCallback) (eom_window_cmd_slideshow))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3910"><td class="num" id="LN3910">3910</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="3911"><td class="num" id="LN3911">3911</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3912"><td class="num" id="LN3912">3912</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3913"><td class="num" id="LN3913">3913</td><td class="line">menu_item_select_cb (GtkMenuItem *proxy, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3914"><td class="num" id="LN3914">3914</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3915"><td class="num" id="LN3915">3915</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="3916"><td class="num" id="LN3916">3916</td><td class="line"> <span class='keyword'>char</span> *message;</td></tr>
+<tr class="codeline" data-linenumber="3917"><td class="num" id="LN3917">3917</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3918"><td class="num" id="LN3918">3918</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3919"><td class="num" id="LN3919">3919</td><td class="line"> action = gtk_activatable_get_related_action (<span class='macro'>GTK_ACTIVATABLE (proxy)<span class='macro_popup'>((((GtkActivatable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((proxy)), ((gtk_activatable_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3920"><td class="num" id="LN3920">3920</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3921"><td class="num" id="LN3921">3921</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3922"><td class="num" id="LN3922">3922</td><td class="line"> <span class='macro'>g_return_if_fail (action != NULL)<span class='macro_popup'>do { if ((action != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "action != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3923"><td class="num" id="LN3923">3923</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3924"><td class="num" id="LN3924">3924</td><td class="line"> g_object_get (<span class='macro'>G_OBJECT (action)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"tooltip"</span>, &amp;message, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3925"><td class="num" id="LN3925">3925</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3926"><td class="num" id="LN3926">3926</td><td class="line"> <span class='keyword'>if</span> (message) {</td></tr>
+<tr class="codeline" data-linenumber="3927"><td class="num" id="LN3927">3927</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3928"><td class="num" id="LN3928">3928</td><td class="line"> window-&gt;priv-&gt;tip_message_cid, message);</td></tr>
+<tr class="codeline" data-linenumber="3929"><td class="num" id="LN3929">3929</td><td class="line"> g_free (message);</td></tr>
+<tr class="codeline" data-linenumber="3930"><td class="num" id="LN3930">3930</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3931"><td class="num" id="LN3931">3931</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3932"><td class="num" id="LN3932">3932</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3933"><td class="num" id="LN3933">3933</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3934"><td class="num" id="LN3934">3934</td><td class="line">menu_item_deselect_cb (GtkMenuItem *proxy, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3935"><td class="num" id="LN3935">3935</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3936"><td class="num" id="LN3936">3936</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3937"><td class="num" id="LN3937">3937</td><td class="line"> window-&gt;priv-&gt;tip_message_cid);</td></tr>
+<tr class="codeline" data-linenumber="3938"><td class="num" id="LN3938">3938</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3939"><td class="num" id="LN3939">3939</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3940"><td class="num" id="LN3940">3940</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3941"><td class="num" id="LN3941">3941</td><td class="line">connect_proxy_cb (GtkUIManager *manager,</td></tr>
+<tr class="codeline" data-linenumber="3942"><td class="num" id="LN3942">3942</td><td class="line"> GtkAction *action,</td></tr>
+<tr class="codeline" data-linenumber="3943"><td class="num" id="LN3943">3943</td><td class="line"> GtkWidget *proxy,</td></tr>
+<tr class="codeline" data-linenumber="3944"><td class="num" id="LN3944">3944</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3945"><td class="num" id="LN3945">3945</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3946"><td class="num" id="LN3946">3946</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>GTK_IS_MENU_ITEM (proxy)<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(proxy)); GType __t = ((gtk_menu_item_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3947"><td class="num" id="LN3947">3947</td><td class="line"> disconnect_proxy_cb (manager, action, proxy, window);</td></tr>
+<tr class="codeline" data-linenumber="3948"><td class="num" id="LN3948">3948</td><td class="line"> <span class='macro'>g_signal_connect (proxy, <span class='string_literal'>"select"</span>,<span class='macro_popup'>g_signal_connect_data ((proxy), ("select"), (((GCallback) (menu_item_select_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3949"><td class="num" id="LN3949">3949</td><td class="line"> <span class='macro'>G_CALLBACK (menu_item_select_cb),<span class='macro_popup'>g_signal_connect_data ((proxy), ("select"), (((GCallback) (menu_item_select_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3950"><td class="num" id="LN3950">3950</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((proxy), ("select"), (((GCallback) (menu_item_select_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3951"><td class="num" id="LN3951">3951</td><td class="line"> <span class='macro'>g_signal_connect (proxy, <span class='string_literal'>"deselect"</span>,<span class='macro_popup'>g_signal_connect_data ((proxy), ("deselect"), (((GCallback) (<br>menu_item_deselect_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3952"><td class="num" id="LN3952">3952</td><td class="line"> <span class='macro'>G_CALLBACK (menu_item_deselect_cb),<span class='macro_popup'>g_signal_connect_data ((proxy), ("deselect"), (((GCallback) (<br>menu_item_deselect_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3953"><td class="num" id="LN3953">3953</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((proxy), ("deselect"), (((GCallback) (<br>menu_item_deselect_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3954"><td class="num" id="LN3954">3954</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3955"><td class="num" id="LN3955">3955</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3956"><td class="num" id="LN3956">3956</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3957"><td class="num" id="LN3957">3957</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3958"><td class="num" id="LN3958">3958</td><td class="line">disconnect_proxy_cb (GtkUIManager *manager,</td></tr>
+<tr class="codeline" data-linenumber="3959"><td class="num" id="LN3959">3959</td><td class="line"> GtkAction *action,</td></tr>
+<tr class="codeline" data-linenumber="3960"><td class="num" id="LN3960">3960</td><td class="line"> GtkWidget *proxy,</td></tr>
+<tr class="codeline" data-linenumber="3961"><td class="num" id="LN3961">3961</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3962"><td class="num" id="LN3962">3962</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3963"><td class="num" id="LN3963">3963</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>GTK_IS_MENU_ITEM (proxy)<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(proxy)); GType __t = ((gtk_menu_item_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3964"><td class="num" id="LN3964">3964</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (proxy,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((proxy), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (menu_item_select_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="3965"><td class="num" id="LN3965">3965</td><td class="line"> <span class='macro'>menu_item_select_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((proxy), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (menu_item_select_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="3966"><td class="num" id="LN3966">3966</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((proxy), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (menu_item_select_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3967"><td class="num" id="LN3967">3967</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (proxy,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((proxy), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (menu_item_deselect_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="3968"><td class="num" id="LN3968">3968</td><td class="line"> <span class='macro'>menu_item_deselect_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((proxy), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (menu_item_deselect_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="3969"><td class="num" id="LN3969">3969</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((proxy), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (menu_item_deselect_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3970"><td class="num" id="LN3970">3970</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3971"><td class="num" id="LN3971">3971</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3972"><td class="num" id="LN3972">3972</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3973"><td class="num" id="LN3973">3973</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3974"><td class="num" id="LN3974">3974</td><td class="line">set_action_properties (GtkActionGroup *window_group,</td></tr>
+<tr class="codeline" data-linenumber="3975"><td class="num" id="LN3975">3975</td><td class="line"> GtkActionGroup *image_group,</td></tr>
+<tr class="codeline" data-linenumber="3976"><td class="num" id="LN3976">3976</td><td class="line"> GtkActionGroup *collection_group)</td></tr>
+<tr class="codeline" data-linenumber="3977"><td class="num" id="LN3977">3977</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3978"><td class="num" id="LN3978">3978</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="3979"><td class="num" id="LN3979">3979</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3980"><td class="num" id="LN3980">3980</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3981"><td class="num" id="LN3981">3981</td><td class="line"> action = gtk_action_group_get_action (collection_group, <span class='string_literal'>"GoPrevious"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3982"><td class="num" id="LN3982">3982</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"_Previous"</span>)<span class='macro_popup'>gettext ("_Previous")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3983"><td class="num" id="LN3983">3983</td><td class="line"> g_object_set (action, <span class='string_literal'>"is-important"</span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3984"><td class="num" id="LN3984">3984</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3985"><td class="num" id="LN3985">3985</td><td class="line"> action = gtk_action_group_get_action (collection_group, <span class='string_literal'>"GoNext"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3986"><td class="num" id="LN3986">3986</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"_Next"</span>)<span class='macro_popup'>gettext ("_Next")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3987"><td class="num" id="LN3987">3987</td><td class="line"> g_object_set (action, <span class='string_literal'>"is-important"</span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3988"><td class="num" id="LN3988">3988</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3989"><td class="num" id="LN3989">3989</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"EditRotate90"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3990"><td class="num" id="LN3990">3990</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"Right"</span>)<span class='macro_popup'>gettext ("Right")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3991"><td class="num" id="LN3991">3991</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3992"><td class="num" id="LN3992">3992</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"EditRotate270"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3993"><td class="num" id="LN3993">3993</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"Left"</span>)<span class='macro_popup'>gettext ("Left")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3994"><td class="num" id="LN3994">3994</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3995"><td class="num" id="LN3995">3995</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"ImageOpenContainingFolder"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3996"><td class="num" id="LN3996">3996</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"Open Folder"</span>)<span class='macro_popup'>gettext ("Open Folder")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3997"><td class="num" id="LN3997">3997</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3998"><td class="num" id="LN3998">3998</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"ViewZoomIn"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3999"><td class="num" id="LN3999">3999</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"In"</span>)<span class='macro_popup'>gettext ("In")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4000"><td class="num" id="LN4000">4000</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4001"><td class="num" id="LN4001">4001</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"ViewZoomOut"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4002"><td class="num" id="LN4002">4002</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"Out"</span>)<span class='macro_popup'>gettext ("Out")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4003"><td class="num" id="LN4003">4003</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4004"><td class="num" id="LN4004">4004</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"ViewZoomNormal"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4005"><td class="num" id="LN4005">4005</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"Normal"</span>)<span class='macro_popup'>gettext ("Normal")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4006"><td class="num" id="LN4006">4006</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4007"><td class="num" id="LN4007">4007</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"ViewZoomFit"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4008"><td class="num" id="LN4008">4008</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"Fit"</span>)<span class='macro_popup'>gettext ("Fit")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4009"><td class="num" id="LN4009">4009</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4010"><td class="num" id="LN4010">4010</td><td class="line"> action = gtk_action_group_get_action (window_group, <span class='string_literal'>"ViewImageCollection"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4011"><td class="num" id="LN4011">4011</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"Collection"</span>)<span class='macro_popup'>gettext ("Collection")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4012"><td class="num" id="LN4012">4012</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4013"><td class="num" id="LN4013">4013</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"EditMoveToTrash"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4014"><td class="num" id="LN4014">4014</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>C_(<span class='string_literal'>"action (to trash)"</span>, <span class='string_literal'>"Trash"</span>)<span class='macro_popup'>g_dpgettext (((void*)0), "action (to trash)" "\004" "Trash", strlen<br> ("action (to trash)") + 1)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4015"><td class="num" id="LN4015">4015</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4016"><td class="num" id="LN4016">4016</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4017"><td class="num" id="LN4017">4017</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4018"><td class="num" id="LN4018">4018</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="4019"><td class="num" id="LN4019">4019</td><td class="line">sort_recents_mru (GtkRecentInfo *a, GtkRecentInfo *b)</td></tr>
+<tr class="codeline" data-linenumber="4020"><td class="num" id="LN4020">4020</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4021"><td class="num" id="LN4021">4021</td><td class="line"> gboolean has_eom_a, has_eom_b;</td></tr>
+<tr class="codeline" data-linenumber="4022"><td class="num" id="LN4022">4022</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4023"><td class="num" id="LN4023">4023</td><td class="line"> <span class='comment'>/* We need to check this first as gtk_recent_info_get_application_info</span></td></tr>
+<tr class="codeline" data-linenumber="4024"><td class="num" id="LN4024">4024</td><td class="line"> <span class='comment'>* will treat it as a non-fatal error when the GtkRecentInfo doesn't</span></td></tr>
+<tr class="codeline" data-linenumber="4025"><td class="num" id="LN4025">4025</td><td class="line"> <span class='comment'>* have the application registered. */</span></td></tr>
+<tr class="codeline" data-linenumber="4026"><td class="num" id="LN4026">4026</td><td class="line"> has_eom_a = gtk_recent_info_has_application (a,</td></tr>
+<tr class="codeline" data-linenumber="4027"><td class="num" id="LN4027">4027</td><td class="line"> <span class='macro'>EOM_RECENT_FILES_APP_NAME<span class='macro_popup'>"Eye of MATE Image Viewer"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4028"><td class="num" id="LN4028">4028</td><td class="line"> has_eom_b = gtk_recent_info_has_application (b,</td></tr>
+<tr class="codeline" data-linenumber="4029"><td class="num" id="LN4029">4029</td><td class="line"> <span class='macro'>EOM_RECENT_FILES_APP_NAME<span class='macro_popup'>"Eye of MATE Image Viewer"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4030"><td class="num" id="LN4030">4030</td><td class="line"> <span class='keyword'>if</span> (has_eom_a &amp;&amp; has_eom_b) {</td></tr>
+<tr class="codeline" data-linenumber="4031"><td class="num" id="LN4031">4031</td><td class="line"> time_t time_a, time_b;</td></tr>
+<tr class="codeline" data-linenumber="4032"><td class="num" id="LN4032">4032</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4033"><td class="num" id="LN4033">4033</td><td class="line"> <span class='comment'>/* These should not fail as we already checked that</span></td></tr>
+<tr class="codeline" data-linenumber="4034"><td class="num" id="LN4034">4034</td><td class="line"> <span class='comment'>* the application is registered with the info objects */</span></td></tr>
+<tr class="codeline" data-linenumber="4035"><td class="num" id="LN4035">4035</td><td class="line"> gtk_recent_info_get_application_info (a,</td></tr>
+<tr class="codeline" data-linenumber="4036"><td class="num" id="LN4036">4036</td><td class="line"> <span class='macro'>EOM_RECENT_FILES_APP_NAME<span class='macro_popup'>"Eye of MATE Image Viewer"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4037"><td class="num" id="LN4037">4037</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4038"><td class="num" id="LN4038">4038</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4039"><td class="num" id="LN4039">4039</td><td class="line"> &amp;time_a);</td></tr>
+<tr class="codeline" data-linenumber="4040"><td class="num" id="LN4040">4040</td><td class="line"> gtk_recent_info_get_application_info (b,</td></tr>
+<tr class="codeline" data-linenumber="4041"><td class="num" id="LN4041">4041</td><td class="line"> <span class='macro'>EOM_RECENT_FILES_APP_NAME<span class='macro_popup'>"Eye of MATE Image Viewer"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4042"><td class="num" id="LN4042">4042</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4043"><td class="num" id="LN4043">4043</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4044"><td class="num" id="LN4044">4044</td><td class="line"> &amp;time_b);</td></tr>
+<tr class="codeline" data-linenumber="4045"><td class="num" id="LN4045">4045</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4046"><td class="num" id="LN4046">4046</td><td class="line"> <span class='keyword'>return</span> (time_b - time_a);</td></tr>
+<tr class="codeline" data-linenumber="4047"><td class="num" id="LN4047">4047</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (has_eom_a) {</td></tr>
+<tr class="codeline" data-linenumber="4048"><td class="num" id="LN4048">4048</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="4049"><td class="num" id="LN4049">4049</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (has_eom_b) {</td></tr>
+<tr class="codeline" data-linenumber="4050"><td class="num" id="LN4050">4050</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="4051"><td class="num" id="LN4051">4051</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4052"><td class="num" id="LN4052">4052</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4053"><td class="num" id="LN4053">4053</td><td class="line"> <span class='keyword'>return</span> 0;</td></tr>
+<tr class="codeline" data-linenumber="4054"><td class="num" id="LN4054">4054</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4055"><td class="num" id="LN4055">4055</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4056"><td class="num" id="LN4056">4056</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4057"><td class="num" id="LN4057">4057</td><td class="line">eom_window_update_recent_files_menu (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4058"><td class="num" id="LN4058">4058</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4059"><td class="num" id="LN4059">4059</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="4060"><td class="num" id="LN4060">4060</td><td class="line"> GList *actions = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *li = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *items = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4061"><td class="num" id="LN4061">4061</td><td class="line"> guint count_recent = 0;</td></tr>
+<tr class="codeline" data-linenumber="4062"><td class="num" id="LN4062">4062</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4063"><td class="num" id="LN4063">4063</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="4064"><td class="num" id="LN4064">4064</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4065"><td class="num" id="LN4065">4065</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;recent_menu_id != 0)</td></tr>
+<tr class="codeline" data-linenumber="4066"><td class="num" id="LN4066">4066</td><td class="line"> gtk_ui_manager_remove_ui (priv-&gt;ui_mgr, priv-&gt;recent_menu_id);</td></tr>
+<tr class="codeline" data-linenumber="4067"><td class="num" id="LN4067">4067</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4068"><td class="num" id="LN4068">4068</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4069"><td class="num" id="LN4069">4069</td><td class="line"> actions = gtk_action_group_list_actions (priv-&gt;actions_recent);</td></tr>
+<tr class="codeline" data-linenumber="4070"><td class="num" id="LN4070">4070</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4071"><td class="num" id="LN4071">4071</td><td class="line"> <span class='keyword'>for</span> (li = actions; li != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; li = li-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="4072"><td class="num" id="LN4072">4072</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (li-&gt;data,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((li-&gt;data), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_open_recent_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4073"><td class="num" id="LN4073">4073</td><td class="line"> <span class='macro'>eom_window_open_recent_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((li-&gt;data), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_open_recent_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4074"><td class="num" id="LN4074">4074</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((li-&gt;data), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_open_recent_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4075"><td class="num" id="LN4075">4075</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4076"><td class="num" id="LN4076">4076</td><td class="line"> gtk_action_group_remove_action (priv-&gt;actions_recent,</td></tr>
+<tr class="codeline" data-linenumber="4077"><td class="num" id="LN4077">4077</td><td class="line"> <span class='macro'>GTK_ACTION (li-&gt;data)<span class='macro_popup'>((((GtkAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((li-&gt;data)), ((gtk_action_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4078"><td class="num" id="LN4078">4078</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4079"><td class="num" id="LN4079">4079</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4080"><td class="num" id="LN4080">4080</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4081"><td class="num" id="LN4081">4081</td><td class="line"> g_list_free (actions);</td></tr>
+<tr class="codeline" data-linenumber="4082"><td class="num" id="LN4082">4082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4083"><td class="num" id="LN4083">4083</td><td class="line"> priv-&gt;recent_menu_id = gtk_ui_manager_new_merge_id (priv-&gt;ui_mgr);</td></tr>
+<tr class="codeline" data-linenumber="4084"><td class="num" id="LN4084">4084</td><td class="line"> items = gtk_recent_manager_get_items (gtk_recent_manager_get_default());</td></tr>
+<tr class="codeline" data-linenumber="4085"><td class="num" id="LN4085">4085</td><td class="line"> items = g_list_sort (items, (GCompareFunc) sort_recents_mru);</td></tr>
+<tr class="codeline" data-linenumber="4086"><td class="num" id="LN4086">4086</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4087"><td class="num" id="LN4087">4087</td><td class="line"> <span class='keyword'>for</span> (li = items; li != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; count_recent &lt; <span class='macro'>EOM_RECENT_FILES_LIMIT<span class='macro_popup'>5</span></span>; li = li-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="4088"><td class="num" id="LN4088">4088</td><td class="line"> gchar *action_name;</td></tr>
+<tr class="codeline" data-linenumber="4089"><td class="num" id="LN4089">4089</td><td class="line"> gchar *label;</td></tr>
+<tr class="codeline" data-linenumber="4090"><td class="num" id="LN4090">4090</td><td class="line"> gchar *tip;</td></tr>
+<tr class="codeline" data-linenumber="4091"><td class="num" id="LN4091">4091</td><td class="line"> gchar **display_name;</td></tr>
+<tr class="codeline" data-linenumber="4092"><td class="num" id="LN4092">4092</td><td class="line"> gchar *label_filename;</td></tr>
+<tr class="codeline" data-linenumber="4093"><td class="num" id="LN4093">4093</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="4094"><td class="num" id="LN4094">4094</td><td class="line"> GtkRecentInfo *info = li-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="4095"><td class="num" id="LN4095">4095</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4096"><td class="num" id="LN4096">4096</td><td class="line"> <span class='comment'>/* Sorting moves non-EOM files to the end of the list.</span></td></tr>
+<tr class="codeline" data-linenumber="4097"><td class="num" id="LN4097">4097</td><td class="line"> <span class='comment'>* So no file of interest will follow if this test fails */</span></td></tr>
+<tr class="codeline" data-linenumber="4098"><td class="num" id="LN4098">4098</td><td class="line"> <span class='keyword'>if</span> (!gtk_recent_info_has_application (info, <span class='macro'>EOM_RECENT_FILES_APP_NAME<span class='macro_popup'>"Eye of MATE Image Viewer"</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="4099"><td class="num" id="LN4099">4099</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4100"><td class="num" id="LN4100">4100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4101"><td class="num" id="LN4101">4101</td><td class="line"> count_recent++;</td></tr>
+<tr class="codeline" data-linenumber="4102"><td class="num" id="LN4102">4102</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4103"><td class="num" id="LN4103">4103</td><td class="line"> action_name = g_strdup_printf (<span class='string_literal'>"recent-info-%d"</span>, count_recent);</td></tr>
+<tr class="codeline" data-linenumber="4104"><td class="num" id="LN4104">4104</td><td class="line"> display_name = g_strsplit (gtk_recent_info_get_display_name (info), <span class='string_literal'>"_"</span>, -1);</td></tr>
+<tr class="codeline" data-linenumber="4105"><td class="num" id="LN4105">4105</td><td class="line"> label_filename = g_strjoinv (<span class='string_literal'>"__"</span>, display_name);</td></tr>
+<tr class="codeline" data-linenumber="4106"><td class="num" id="LN4106">4106</td><td class="line"> label = g_strdup_printf (<span class='string_literal'>"%s_%d. %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4107"><td class="num" id="LN4107">4107</td><td class="line"> (<span class='macro'>is_rtl<span class='macro_popup'>(gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL)</span></span> ? <span class='string_literal'>"\xE2\x80\x8F"</span> : <span class='string_literal'>""</span>), count_recent, label_filename);</td></tr>
+<tr class="codeline" data-linenumber="4108"><td class="num" id="LN4108">4108</td><td class="line"> g_free (label_filename);</td></tr>
+<tr class="codeline" data-linenumber="4109"><td class="num" id="LN4109">4109</td><td class="line"> g_strfreev (display_name);</td></tr>
+<tr class="codeline" data-linenumber="4110"><td class="num" id="LN4110">4110</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4111"><td class="num" id="LN4111">4111</td><td class="line"> tip = gtk_recent_info_get_uri_display (info);</td></tr>
+<tr class="codeline" data-linenumber="4112"><td class="num" id="LN4112">4112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4113"><td class="num" id="LN4113">4113</td><td class="line"> <span class='comment'>/* This is a workaround for a bug (#351945) regarding</span></td></tr>
+<tr class="codeline" data-linenumber="4114"><td class="num" id="LN4114">4114</td><td class="line"> <span class='comment'>* gtk_recent_info_get_uri_display() and remote URIs.</span></td></tr>
+<tr class="codeline" data-linenumber="4115"><td class="num" id="LN4115">4115</td><td class="line"> <span class='comment'>* mate_vfs_format_uri_for_display is sufficient here</span></td></tr>
+<tr class="codeline" data-linenumber="4116"><td class="num" id="LN4116">4116</td><td class="line"> <span class='comment'>* since the password gets stripped when adding the</span></td></tr>
+<tr class="codeline" data-linenumber="4117"><td class="num" id="LN4117">4117</td><td class="line"> <span class='comment'>* file to the recently used list. */</span></td></tr>
+<tr class="codeline" data-linenumber="4118"><td class="num" id="LN4118">4118</td><td class="line"> <span class='keyword'>if</span> (tip == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4119"><td class="num" id="LN4119">4119</td><td class="line"> tip = g_uri_unescape_string (gtk_recent_info_get_uri (info), <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4120"><td class="num" id="LN4120">4120</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4121"><td class="num" id="LN4121">4121</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4122"><td class="num" id="LN4122">4122</td><td class="line"> action = gtk_action_new (action_name, label, tip, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4123"><td class="num" id="LN4123">4123</td><td class="line"> gtk_action_set_always_show_image (action, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4124"><td class="num" id="LN4124">4124</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4125"><td class="num" id="LN4125">4125</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4126"><td class="num" id="LN4126">4126</td><td class="line"> g_object_set_data_full (<span class='macro'>G_OBJECT (action)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"gtk-recent-info"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4127"><td class="num" id="LN4127">4127</td><td class="line"> gtk_recent_info_ref (info),</td></tr>
+<tr class="codeline" data-linenumber="4128"><td class="num" id="LN4128">4128</td><td class="line"> (GDestroyNotify) gtk_recent_info_unref);</td></tr>
+<tr class="codeline" data-linenumber="4129"><td class="num" id="LN4129">4129</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4130"><td class="num" id="LN4130">4130</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (action)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"icon-name"</span>, <span class='string_literal'>"image-x-generic"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4131"><td class="num" id="LN4131">4131</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4132"><td class="num" id="LN4132">4132</td><td class="line"> <span class='macro'>g_signal_connect (action, <span class='string_literal'>"activate"</span>,<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>eom_window_open_recent_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4133"><td class="num" id="LN4133">4133</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_open_recent_cb),<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>eom_window_open_recent_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4134"><td class="num" id="LN4134">4134</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>eom_window_open_recent_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4135"><td class="num" id="LN4135">4135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4136"><td class="num" id="LN4136">4136</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4137"><td class="num" id="LN4137">4137</td><td class="line"> gtk_action_group_add_action (priv-&gt;actions_recent, action);</td></tr>
+<tr class="codeline" data-linenumber="4138"><td class="num" id="LN4138">4138</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4139"><td class="num" id="LN4139">4139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4140"><td class="num" id="LN4140">4140</td><td class="line"> g_object_unref (action);</td></tr>
+<tr class="codeline" data-linenumber="4141"><td class="num" id="LN4141">4141</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4142"><td class="num" id="LN4142">4142</td><td class="line"> gtk_ui_manager_add_ui (priv-&gt;ui_mgr, priv-&gt;recent_menu_id,</td></tr>
+<tr class="codeline" data-linenumber="4143"><td class="num" id="LN4143">4143</td><td class="line"> <span class='string_literal'>"/MainMenu/Image/RecentDocuments"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4144"><td class="num" id="LN4144">4144</td><td class="line"> action_name, action_name,</td></tr>
+<tr class="codeline" data-linenumber="4145"><td class="num" id="LN4145">4145</td><td class="line"> GTK_UI_MANAGER_AUTO, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4146"><td class="num" id="LN4146">4146</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4147"><td class="num" id="LN4147">4147</td><td class="line"> g_free (action_name);</td></tr>
+<tr class="codeline" data-linenumber="4148"><td class="num" id="LN4148">4148</td><td class="line"> g_free (label);</td></tr>
+<tr class="codeline" data-linenumber="4149"><td class="num" id="LN4149">4149</td><td class="line"> g_free (tip);</td></tr>
+<tr class="codeline" data-linenumber="4150"><td class="num" id="LN4150">4150</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4151"><td class="num" id="LN4151">4151</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4152"><td class="num" id="LN4152">4152</td><td class="line"> g_list_free_full (items, (GDestroyNotify) gtk_recent_info_unref);</td></tr>
+<tr class="codeline" data-linenumber="4153"><td class="num" id="LN4153">4153</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4154"><td class="num" id="LN4154">4154</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4155"><td class="num" id="LN4155">4155</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4156"><td class="num" id="LN4156">4156</td><td class="line">eom_window_recent_manager_changed_cb (GtkRecentManager *manager, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4157"><td class="num" id="LN4157">4157</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4158"><td class="num" id="LN4158">4158</td><td class="line"> eom_window_update_recent_files_menu (window);</td></tr>
+<tr class="codeline" data-linenumber="4159"><td class="num" id="LN4159">4159</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4160"><td class="num" id="LN4160">4160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4161"><td class="num" id="LN4161">4161</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4162"><td class="num" id="LN4162">4162</td><td class="line">eom_window_drag_data_received (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="4163"><td class="num" id="LN4163">4163</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="4164"><td class="num" id="LN4164">4164</td><td class="line"> gint x, gint y,</td></tr>
+<tr class="codeline" data-linenumber="4165"><td class="num" id="LN4165">4165</td><td class="line"> GtkSelectionData *selection_data,</td></tr>
+<tr class="codeline" data-linenumber="4166"><td class="num" id="LN4166">4166</td><td class="line"> guint info, guint time)</td></tr>
+<tr class="codeline" data-linenumber="4167"><td class="num" id="LN4167">4167</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4168"><td class="num" id="LN4168">4168</td><td class="line"> GSList *file_list;</td></tr>
+<tr class="codeline" data-linenumber="4169"><td class="num" id="LN4169">4169</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="4170"><td class="num" id="LN4170">4170</td><td class="line"> GdkAtom target;</td></tr>
+<tr class="codeline" data-linenumber="4171"><td class="num" id="LN4171">4171</td><td class="line"> GtkWidget *src;</td></tr>
+<tr class="codeline" data-linenumber="4172"><td class="num" id="LN4172">4172</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4173"><td class="num" id="LN4173">4173</td><td class="line"> target = gtk_selection_data_get_target (selection_data);</td></tr>
+<tr class="codeline" data-linenumber="4174"><td class="num" id="LN4174">4174</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4175"><td class="num" id="LN4175">4175</td><td class="line"> <span class='keyword'>if</span> (!gtk_targets_include_uri (&amp;target, 1))</td></tr>
+<tr class="codeline" data-linenumber="4176"><td class="num" id="LN4176">4176</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4177"><td class="num" id="LN4177">4177</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4178"><td class="num" id="LN4178">4178</td><td class="line"> <span class='comment'>/* if the request is from another process this will return NULL */</span></td></tr>
+<tr class="codeline" data-linenumber="4179"><td class="num" id="LN4179">4179</td><td class="line"> src = gtk_drag_get_source_widget (context);</td></tr>
+<tr class="codeline" data-linenumber="4180"><td class="num" id="LN4180">4180</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4181"><td class="num" id="LN4181">4181</td><td class="line"> <span class='comment'>/* if the drag request originates from the current eom instance, ignore</span></td></tr>
+<tr class="codeline" data-linenumber="4182"><td class="num" id="LN4182">4182</td><td class="line"> <span class='comment'>the request if the source window is the same as the dest window */</span></td></tr>
+<tr class="codeline" data-linenumber="4183"><td class="num" id="LN4183">4183</td><td class="line"> <span class='keyword'>if</span> (src &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="4184"><td class="num" id="LN4184">4184</td><td class="line"> gtk_widget_get_toplevel (src) == gtk_widget_get_toplevel (widget))</td></tr>
+<tr class="codeline" data-linenumber="4185"><td class="num" id="LN4185">4185</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="4186"><td class="num" id="LN4186">4186</td><td class="line"> gdk_drag_status (context, 0, time);</td></tr>
+<tr class="codeline" data-linenumber="4187"><td class="num" id="LN4187">4187</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4188"><td class="num" id="LN4188">4188</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4189"><td class="num" id="LN4189">4189</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4190"><td class="num" id="LN4190">4190</td><td class="line"> <span class='keyword'>if</span> (gdk_drag_context_get_suggested_action (context) == GDK_ACTION_COPY) {</td></tr>
+<tr class="codeline" data-linenumber="4191"><td class="num" id="LN4191">4191</td><td class="line"> window = <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4192"><td class="num" id="LN4192">4192</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4193"><td class="num" id="LN4193">4193</td><td class="line"> file_list = eom_util_parse_uri_string_list_to_file_list ((<span class='keyword'>const</span> gchar *) gtk_selection_data_get_data (selection_data));</td></tr>
+<tr class="codeline" data-linenumber="4194"><td class="num" id="LN4194">4194</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4195"><td class="num" id="LN4195">4195</td><td class="line"> eom_window_open_file_list (window, file_list);</td></tr>
+<tr class="codeline" data-linenumber="4196"><td class="num" id="LN4196">4196</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4197"><td class="num" id="LN4197">4197</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4198"><td class="num" id="LN4198">4198</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4199"><td class="num" id="LN4199">4199</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4200"><td class="num" id="LN4200">4200</td><td class="line">eom_window_set_drag_dest (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4201"><td class="num" id="LN4201">4201</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4202"><td class="num" id="LN4202">4202</td><td class="line"> gtk_drag_dest_set (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4203"><td class="num" id="LN4203">4203</td><td class="line"> GTK_DEST_DEFAULT_MOTION | GTK_DEST_DEFAULT_DROP,</td></tr>
+<tr class="codeline" data-linenumber="4204"><td class="num" id="LN4204">4204</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, 0,</td></tr>
+<tr class="codeline" data-linenumber="4205"><td class="num" id="LN4205">4205</td><td class="line"> GDK_ACTION_COPY | GDK_ACTION_ASK);</td></tr>
+<tr class="codeline" data-linenumber="4206"><td class="num" id="LN4206">4206</td><td class="line"> gtk_drag_dest_add_uri_targets (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4207"><td class="num" id="LN4207">4207</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4208"><td class="num" id="LN4208">4208</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4209"><td class="num" id="LN4209">4209</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4210"><td class="num" id="LN4210">4210</td><td class="line">eom_window_sidebar_visibility_changed (GtkWidget *widget, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4211"><td class="num" id="LN4211">4211</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4212"><td class="num" id="LN4212">4212</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="4213"><td class="num" id="LN4213">4213</td><td class="line"> gboolean visible;</td></tr>
+<tr class="codeline" data-linenumber="4214"><td class="num" id="LN4214">4214</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4215"><td class="num" id="LN4215">4215</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4216"><td class="num" id="LN4216">4216</td><td class="line"> visible = gtk_widget_get_visible (window-&gt;priv-&gt;sidebar);</td></tr>
+<tr class="codeline" data-linenumber="4217"><td class="num" id="LN4217">4217</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4218"><td class="num" id="LN4218">4218</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="4219"><td class="num" id="LN4219">4219</td><td class="line"> <span class='string_literal'>"ViewSidebar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4220"><td class="num" id="LN4220">4220</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4221"><td class="num" id="LN4221">4221</td><td class="line"> <span class='keyword'>if</span> (gtk_toggle_action_get_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>) != visible)</td></tr>
+<tr class="codeline" data-linenumber="4222"><td class="num" id="LN4222">4222</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="4223"><td class="num" id="LN4223">4223</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4224"><td class="num" id="LN4224">4224</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4225"><td class="num" id="LN4225">4225</td><td class="line"> <span class='comment'>/* Focus the image */</span></td></tr>
+<tr class="codeline" data-linenumber="4226"><td class="num" id="LN4226">4226</td><td class="line"> <span class='keyword'>if</span> (!visible &amp;&amp; window-&gt;priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4227"><td class="num" id="LN4227">4227</td><td class="line"> gtk_widget_grab_focus (window-&gt;priv-&gt;view);</td></tr>
+<tr class="codeline" data-linenumber="4228"><td class="num" id="LN4228">4228</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4229"><td class="num" id="LN4229">4229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4230"><td class="num" id="LN4230">4230</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4231"><td class="num" id="LN4231">4231</td><td class="line">eom_window_sidebar_page_added (EomSidebar *sidebar,</td></tr>
+<tr class="codeline" data-linenumber="4232"><td class="num" id="LN4232">4232</td><td class="line"> GtkWidget *main_widget,</td></tr>
+<tr class="codeline" data-linenumber="4233"><td class="num" id="LN4233">4233</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4234"><td class="num" id="LN4234">4234</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4235"><td class="num" id="LN4235">4235</td><td class="line"> <span class='keyword'>if</span> (eom_sidebar_get_n_pages (sidebar) == 1) {</td></tr>
+<tr class="codeline" data-linenumber="4236"><td class="num" id="LN4236">4236</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="4237"><td class="num" id="LN4237">4237</td><td class="line"> gboolean show;</td></tr>
+<tr class="codeline" data-linenumber="4238"><td class="num" id="LN4238">4238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4239"><td class="num" id="LN4239">4239</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4240"><td class="num" id="LN4240">4240</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="4241"><td class="num" id="LN4241">4241</td><td class="line"> <span class='string_literal'>"ViewSidebar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4242"><td class="num" id="LN4242">4242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4243"><td class="num" id="LN4243">4243</td><td class="line"> gtk_action_set_sensitive (action, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4244"><td class="num" id="LN4244">4244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4245"><td class="num" id="LN4245">4245</td><td class="line"> show = gtk_toggle_action_get_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4246"><td class="num" id="LN4246">4246</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4247"><td class="num" id="LN4247">4247</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4248"><td class="num" id="LN4248">4248</td><td class="line"> <span class='keyword'>if</span> (show)</td></tr>
+<tr class="codeline" data-linenumber="4249"><td class="num" id="LN4249">4249</td><td class="line"> gtk_widget_show (<span class='macro'>GTK_WIDGET (sidebar)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidebar)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4250"><td class="num" id="LN4250">4250</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4251"><td class="num" id="LN4251">4251</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4252"><td class="num" id="LN4252">4252</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4253"><td class="num" id="LN4253">4253</td><td class="line">eom_window_sidebar_page_removed (EomSidebar *sidebar,</td></tr>
+<tr class="codeline" data-linenumber="4254"><td class="num" id="LN4254">4254</td><td class="line"> GtkWidget *main_widget,</td></tr>
+<tr class="codeline" data-linenumber="4255"><td class="num" id="LN4255">4255</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4256"><td class="num" id="LN4256">4256</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4257"><td class="num" id="LN4257">4257</td><td class="line"> <span class='keyword'>if</span> (eom_sidebar_is_empty (sidebar)) {</td></tr>
+<tr class="codeline" data-linenumber="4258"><td class="num" id="LN4258">4258</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="4259"><td class="num" id="LN4259">4259</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4260"><td class="num" id="LN4260">4260</td><td class="line"> gtk_widget_hide (<span class='macro'>GTK_WIDGET (sidebar)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidebar)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4261"><td class="num" id="LN4261">4261</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4262"><td class="num" id="LN4262">4262</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4263"><td class="num" id="LN4263">4263</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="4264"><td class="num" id="LN4264">4264</td><td class="line"> <span class='string_literal'>"ViewSidebar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4265"><td class="num" id="LN4265">4265</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4266"><td class="num" id="LN4266">4266</td><td class="line"> gtk_action_set_sensitive (action, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4267"><td class="num" id="LN4267">4267</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4268"><td class="num" id="LN4268">4268</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4269"><td class="num" id="LN4269">4269</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4270"><td class="num" id="LN4270">4270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4271"><td class="num" id="LN4271">4271</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4272"><td class="num" id="LN4272">4272</td><td class="line">eom_window_finish_saving (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4273"><td class="num" id="LN4273">4273</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4274"><td class="num" id="LN4274">4274</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="4275"><td class="num" id="LN4275">4275</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4276"><td class="num" id="LN4276">4276</td><td class="line"> gtk_widget_set_sensitive (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4277"><td class="num" id="LN4277">4277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4278"><td class="num" id="LN4278">4278</td><td class="line"> <span class='keyword'>do</span> {</td></tr>
+<tr class="codeline" data-linenumber="4279"><td class="num" id="LN4279">4279</td><td class="line"> gtk_main_iteration ();</td></tr>
+<tr class="codeline" data-linenumber="4280"><td class="num" id="LN4280">4280</td><td class="line"> } <span class='keyword'>while</span> (priv-&gt;save_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4281"><td class="num" id="LN4281">4281</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4282"><td class="num" id="LN4282">4282</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4283"><td class="num" id="LN4283">4283</td><td class="line"><span class='keyword'>static</span> GAppInfo *</td></tr>
+<tr class="codeline" data-linenumber="4284"><td class="num" id="LN4284">4284</td><td class="line">get_appinfo_for_editor (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4285"><td class="num" id="LN4285">4285</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4286"><td class="num" id="LN4286">4286</td><td class="line"> <span class='comment'>/* We want this function to always return the same thing, not</span></td></tr>
+<tr class="codeline" data-linenumber="4287"><td class="num" id="LN4287">4287</td><td class="line"> <span class='comment'>* just for performance reasons, but because if someone edits</span></td></tr>
+<tr class="codeline" data-linenumber="4288"><td class="num" id="LN4288">4288</td><td class="line"> <span class='comment'>* GConf while eom is running, the application could get into an</span></td></tr>
+<tr class="codeline" data-linenumber="4289"><td class="num" id="LN4289">4289</td><td class="line"> <span class='comment'>* inconsistent state. If the editor exists once, it gets added</span></td></tr>
+<tr class="codeline" data-linenumber="4290"><td class="num" id="LN4290">4290</td><td class="line"> <span class='comment'>* to the "available" list of the EggToolbarsModel (for which</span></td></tr>
+<tr class="codeline" data-linenumber="4291"><td class="num" id="LN4291">4291</td><td class="line"> <span class='comment'>* there is no API to remove it). If later the editor no longer</span></td></tr>
+<tr class="codeline" data-linenumber="4292"><td class="num" id="LN4292">4292</td><td class="line"> <span class='comment'>* existed when constructing a new window, we'd be unable to</span></td></tr>
+<tr class="codeline" data-linenumber="4293"><td class="num" id="LN4293">4293</td><td class="line"> <span class='comment'>* construct a GtkAction for the editor for that window, causing</span></td></tr>
+<tr class="codeline" data-linenumber="4294"><td class="num" id="LN4294">4294</td><td class="line"> <span class='comment'>* assertion failures when viewing the "Edit Toolbars" dialog</span></td></tr>
+<tr class="codeline" data-linenumber="4295"><td class="num" id="LN4295">4295</td><td class="line"> <span class='comment'>* (item is available, but can't find the GtkAction for it).</span></td></tr>
+<tr class="codeline" data-linenumber="4296"><td class="num" id="LN4296">4296</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="4297"><td class="num" id="LN4297">4297</td><td class="line"> <span class='comment'>* By ensuring we keep the GAppInfo around, we avoid the</span></td></tr>
+<tr class="codeline" data-linenumber="4298"><td class="num" id="LN4298">4298</td><td class="line"> <span class='comment'>* possibility of that situation occurring.</span></td></tr>
+<tr class="codeline" data-linenumber="4299"><td class="num" id="LN4299">4299</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="4300"><td class="num" id="LN4300">4300</td><td class="line"> <span class='keyword'>static</span> GDesktopAppInfo *app_info = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4301"><td class="num" id="LN4301">4301</td><td class="line"> <span class='keyword'>static</span> gboolean initialised;</td></tr>
+<tr class="codeline" data-linenumber="4302"><td class="num" id="LN4302">4302</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4303"><td class="num" id="LN4303">4303</td><td class="line"> <span class='keyword'>if</span> (!initialised) {</td></tr>
+<tr class="codeline" data-linenumber="4304"><td class="num" id="LN4304">4304</td><td class="line"> gchar *editor;</td></tr>
+<tr class="codeline" data-linenumber="4305"><td class="num" id="LN4305">4305</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4306"><td class="num" id="LN4306">4306</td><td class="line"> editor = g_settings_get_string (window-&gt;priv-&gt;ui_settings,</td></tr>
+<tr class="codeline" data-linenumber="4307"><td class="num" id="LN4307">4307</td><td class="line"> <span class='macro'>EOM_CONF_UI_EXTERNAL_EDITOR<span class='macro_popup'>"external-editor"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4308"><td class="num" id="LN4308">4308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4309"><td class="num" id="LN4309">4309</td><td class="line"> <span class='keyword'>if</span> (editor != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4310"><td class="num" id="LN4310">4310</td><td class="line"> app_info = g_desktop_app_info_new (editor);</td></tr>
+<tr class="codeline" data-linenumber="4311"><td class="num" id="LN4311">4311</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4312"><td class="num" id="LN4312">4312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4313"><td class="num" id="LN4313">4313</td><td class="line"> initialised = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4314"><td class="num" id="LN4314">4314</td><td class="line"> g_free (editor);</td></tr>
+<tr class="codeline" data-linenumber="4315"><td class="num" id="LN4315">4315</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4316"><td class="num" id="LN4316">4316</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4317"><td class="num" id="LN4317">4317</td><td class="line"> <span class='keyword'>return</span> (GAppInfo *) app_info;</td></tr>
+<tr class="codeline" data-linenumber="4318"><td class="num" id="LN4318">4318</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4319"><td class="num" id="LN4319">4319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4320"><td class="num" id="LN4320">4320</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4321"><td class="num" id="LN4321">4321</td><td class="line">eom_window_open_editor (GtkAction *action,</td></tr>
+<tr class="codeline" data-linenumber="4322"><td class="num" id="LN4322">4322</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4323"><td class="num" id="LN4323">4323</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4324"><td class="num" id="LN4324">4324</td><td class="line"> GdkAppLaunchContext *context;</td></tr>
+<tr class="codeline" data-linenumber="4325"><td class="num" id="LN4325">4325</td><td class="line"> GAppInfo *app_info;</td></tr>
+<tr class="codeline" data-linenumber="4326"><td class="num" id="LN4326">4326</td><td class="line"> GList *files = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4327"><td class="num" id="LN4327">4327</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="4328"><td class="num" id="LN4328">4328</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4329"><td class="num" id="LN4329">4329</td><td class="line"> app_info = get_appinfo_for_editor (window);</td></tr>
+<tr class="codeline" data-linenumber="4330"><td class="num" id="LN4330">4330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4331"><td class="num" id="LN4331">4331</td><td class="line"> <span class='keyword'>if</span> (app_info == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4332"><td class="num" id="LN4332">4332</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4333"><td class="num" id="LN4333">4333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4334"><td class="num" id="LN4334">4334</td><td class="line"> context = gdk_display_get_app_launch_context (</td></tr>
+<tr class="codeline" data-linenumber="4335"><td class="num" id="LN4335">4335</td><td class="line"> gtk_widget_get_display (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="4336"><td class="num" id="LN4336">4336</td><td class="line"> gdk_app_launch_context_set_screen (context,</td></tr>
+<tr class="codeline" data-linenumber="4337"><td class="num" id="LN4337">4337</td><td class="line"> gtk_widget_get_screen (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="4338"><td class="num" id="LN4338">4338</td><td class="line"> gdk_app_launch_context_set_icon (context,</td></tr>
+<tr class="codeline" data-linenumber="4339"><td class="num" id="LN4339">4339</td><td class="line"> g_app_info_get_icon (app_info));</td></tr>
+<tr class="codeline" data-linenumber="4340"><td class="num" id="LN4340">4340</td><td class="line"> gdk_app_launch_context_set_timestamp (context,</td></tr>
+<tr class="codeline" data-linenumber="4341"><td class="num" id="LN4341">4341</td><td class="line"> gtk_get_current_event_time ());</td></tr>
+<tr class="codeline" data-linenumber="4342"><td class="num" id="LN4342">4342</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4343"><td class="num" id="LN4343">4343</td><td class="line"> file = eom_image_get_file (window-&gt;priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="4344"><td class="num" id="LN4344">4344</td><td class="line"> files = g_list_append (files, file);</td></tr>
+<tr class="codeline" data-linenumber="4345"><td class="num" id="LN4345">4345</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4346"><td class="num" id="LN4346">4346</td><td class="line"> g_app_info_launch (app_info, files,</td></tr>
+<tr class="codeline" data-linenumber="4347"><td class="num" id="LN4347">4347</td><td class="line"> <span class='macro'>G_APP_LAUNCH_CONTEXT (context)<span class='macro_popup'>((((GAppLaunchContext*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((context)), ((g_app_launch_context_get_type<br> ()))))))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4348"><td class="num" id="LN4348">4348</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4349"><td class="num" id="LN4349">4349</td><td class="line"> g_list_free (files);</td></tr>
+<tr class="codeline" data-linenumber="4350"><td class="num" id="LN4350">4350</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="4351"><td class="num" id="LN4351">4351</td><td class="line"> g_object_unref (context);</td></tr>
+<tr class="codeline" data-linenumber="4352"><td class="num" id="LN4352">4352</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4353"><td class="num" id="LN4353">4353</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4354"><td class="num" id="LN4354">4354</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4355"><td class="num" id="LN4355">4355</td><td class="line">eom_window_add_open_editor_action (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4356"><td class="num" id="LN4356">4356</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4357"><td class="num" id="LN4357">4357</td><td class="line"> EggToolbarsModel *model;</td></tr>
+<tr class="codeline" data-linenumber="4358"><td class="num" id="LN4358">4358</td><td class="line"> GAppInfo *app_info;</td></tr>
+<tr class="codeline" data-linenumber="4359"><td class="num" id="LN4359">4359</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="4360"><td class="num" id="LN4360">4360</td><td class="line"> gchar *tooltip;</td></tr>
+<tr class="codeline" data-linenumber="4361"><td class="num" id="LN4361">4361</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4362"><td class="num" id="LN4362">4362</td><td class="line"> app_info = get_appinfo_for_editor (window);</td></tr>
+<tr class="codeline" data-linenumber="4363"><td class="num" id="LN4363">4363</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4364"><td class="num" id="LN4364">4364</td><td class="line"> <span class='keyword'>if</span> (app_info == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4365"><td class="num" id="LN4365">4365</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4366"><td class="num" id="LN4366">4366</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4367"><td class="num" id="LN4367">4367</td><td class="line"> model = eom_application_get_toolbars_model (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4368"><td class="num" id="LN4368">4368</td><td class="line"> egg_toolbars_model_set_name_flags (model, <span class='string_literal'>"OpenEditor"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4369"><td class="num" id="LN4369">4369</td><td class="line"> EGG_TB_MODEL_NAME_KNOWN);</td></tr>
+<tr class="codeline" data-linenumber="4370"><td class="num" id="LN4370">4370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4371"><td class="num" id="LN4371">4371</td><td class="line"> tooltip = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Edit the current image using %s"</span>)<span class='macro_popup'>gettext ("Edit the current image using %s")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4372"><td class="num" id="LN4372">4372</td><td class="line"> g_app_info_get_name (app_info));</td></tr>
+<tr class="codeline" data-linenumber="4373"><td class="num" id="LN4373">4373</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4374"><td class="num" id="LN4374">4374</td><td class="line"> action = gtk_action_new (<span class='string_literal'>"OpenEditor"</span>, <span class='macro'>_(<span class='string_literal'>"Edit Image"</span>)<span class='macro_popup'>gettext ("Edit Image")</span></span>, tooltip, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4375"><td class="num" id="LN4375">4375</td><td class="line"> gtk_action_set_gicon (action, g_app_info_get_icon (app_info));</td></tr>
+<tr class="codeline" data-linenumber="4376"><td class="num" id="LN4376">4376</td><td class="line"> gtk_action_set_is_important (action, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4377"><td class="num" id="LN4377">4377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4378"><td class="num" id="LN4378">4378</td><td class="line"> <span class='macro'>g_signal_connect (action, <span class='string_literal'>"activate"</span>,<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>eom_window_open_editor))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4379"><td class="num" id="LN4379">4379</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_open_editor),<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>eom_window_open_editor))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4380"><td class="num" id="LN4380">4380</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>eom_window_open_editor))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4381"><td class="num" id="LN4381">4381</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4382"><td class="num" id="LN4382">4382</td><td class="line"> gtk_action_group_add_action (window-&gt;priv-&gt;actions_image, action);</td></tr>
+<tr class="codeline" data-linenumber="4383"><td class="num" id="LN4383">4383</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4384"><td class="num" id="LN4384">4384</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4385"><td class="num" id="LN4385">4385</td><td class="line"> g_object_unref (action);</td></tr>
+<tr class="codeline" data-linenumber="4386"><td class="num" id="LN4386">4386</td><td class="line"> g_free (tooltip);</td></tr>
+<tr class="codeline" data-linenumber="4387"><td class="num" id="LN4387">4387</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4388"><td class="num" id="LN4388">4388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4389"><td class="num" id="LN4389">4389</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4390"><td class="num" id="LN4390">4390</td><td class="line">eom_window_construct_ui (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4391"><td class="num" id="LN4391">4391</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4392"><td class="num" id="LN4392">4392</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="4393"><td class="num" id="LN4393">4393</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4394"><td class="num" id="LN4394">4394</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4395"><td class="num" id="LN4395">4395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4396"><td class="num" id="LN4396">4396</td><td class="line"> GtkWidget *menubar;</td></tr>
+<tr class="codeline" data-linenumber="4397"><td class="num" id="LN4397">4397</td><td class="line"> GtkWidget *thumb_popup;</td></tr>
+<tr class="codeline" data-linenumber="4398"><td class="num" id="LN4398">4398</td><td class="line"> GtkWidget *view_popup;</td></tr>
+<tr class="codeline" data-linenumber="4399"><td class="num" id="LN4399">4399</td><td class="line"> GtkWidget *hpaned;</td></tr>
+<tr class="codeline" data-linenumber="4400"><td class="num" id="LN4400">4400</td><td class="line"> GtkWidget *menuitem;</td></tr>
+<tr class="codeline" data-linenumber="4401"><td class="num" id="LN4401">4401</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4402"><td class="num" id="LN4402">4402</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4403"><td class="num" id="LN4403">4403</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4404"><td class="num" id="LN4404">4404</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="4405"><td class="num" id="LN4405">4405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4406"><td class="num" id="LN4406">4406</td><td class="line"> priv-&gt;box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);</td></tr>
+<tr class="codeline" data-linenumber="4407"><td class="num" id="LN4407">4407</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (window)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_container_get_type ()))))))</span></span>, priv-&gt;box);</td></tr>
+<tr class="codeline" data-linenumber="4408"><td class="num" id="LN4408">4408</td><td class="line"> gtk_widget_show (priv-&gt;box);</td></tr>
+<tr class="codeline" data-linenumber="4409"><td class="num" id="LN4409">4409</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4410"><td class="num" id="LN4410">4410</td><td class="line"> priv-&gt;ui_mgr = gtk_ui_manager_new ();</td></tr>
+<tr class="codeline" data-linenumber="4411"><td class="num" id="LN4411">4411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4412"><td class="num" id="LN4412">4412</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4413"><td class="num" id="LN4413">4413</td><td class="line"> priv-&gt;actions_window = gtk_action_group_new (<span class='string_literal'>"MenuActionsWindow"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4414"><td class="num" id="LN4414">4414</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4415"><td class="num" id="LN4415">4415</td><td class="line"><span class='directive'>#ifdef <span class='macro'>ENABLE_NLS<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="4416"><td class="num" id="LN4416">4416</td><td class="line"> gtk_action_group_set_translation_domain (priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="4417"><td class="num" id="LN4417">4417</td><td class="line"> <span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4418"><td class="num" id="LN4418">4418</td><td class="line"><span class='directive'>#endif /* ENABLE_NLS */</span></td></tr>
+<tr class="codeline" data-linenumber="4419"><td class="num" id="LN4419">4419</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4420"><td class="num" id="LN4420">4420</td><td class="line"> gtk_action_group_add_actions (priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="4421"><td class="num" id="LN4421">4421</td><td class="line"> action_entries_window,</td></tr>
+<tr class="codeline" data-linenumber="4422"><td class="num" id="LN4422">4422</td><td class="line"> <span class='macro'>G_N_ELEMENTS (action_entries_window)<span class='macro_popup'>(sizeof (action_entries_window) / sizeof ((action_entries_window<br>)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4423"><td class="num" id="LN4423">4423</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="4424"><td class="num" id="LN4424">4424</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4425"><td class="num" id="LN4425">4425</td><td class="line"> gtk_action_group_add_toggle_actions (priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="4426"><td class="num" id="LN4426">4426</td><td class="line"> toggle_entries_window,</td></tr>
+<tr class="codeline" data-linenumber="4427"><td class="num" id="LN4427">4427</td><td class="line"> <span class='macro'>G_N_ELEMENTS (toggle_entries_window)<span class='macro_popup'>(sizeof (toggle_entries_window) / sizeof ((toggle_entries_window<br>)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4428"><td class="num" id="LN4428">4428</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="4429"><td class="num" id="LN4429">4429</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4430"><td class="num" id="LN4430">4430</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4431"><td class="num" id="LN4431">4431</td><td class="line"> gtk_ui_manager_insert_action_group (priv-&gt;ui_mgr, priv-&gt;actions_window, 0);</td></tr>
+<tr class="codeline" data-linenumber="4432"><td class="num" id="LN4432">4432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4433"><td class="num" id="LN4433">4433</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4434"><td class="num" id="LN4434">4434</td><td class="line"> priv-&gt;actions_image = gtk_action_group_new (<span class='string_literal'>"MenuActionsImage"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4435"><td class="num" id="LN4435">4435</td><td class="line"><span class='directive'>#ifdef <span class='macro'>ENABLE_NLS<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="4436"><td class="num" id="LN4436">4436</td><td class="line"> gtk_action_group_set_translation_domain (priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="4437"><td class="num" id="LN4437">4437</td><td class="line"> <span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4438"><td class="num" id="LN4438">4438</td><td class="line"><span class='directive'>#endif /* ENABLE_NLS */</span></td></tr>
+<tr class="codeline" data-linenumber="4439"><td class="num" id="LN4439">4439</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4440"><td class="num" id="LN4440">4440</td><td class="line"> gtk_action_group_add_actions (priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="4441"><td class="num" id="LN4441">4441</td><td class="line"> action_entries_image,</td></tr>
+<tr class="codeline" data-linenumber="4442"><td class="num" id="LN4442">4442</td><td class="line"> <span class='macro'>G_N_ELEMENTS (action_entries_image)<span class='macro_popup'>(sizeof (action_entries_image) / sizeof ((action_entries_image<br>)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4443"><td class="num" id="LN4443">4443</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="4444"><td class="num" id="LN4444">4444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4445"><td class="num" id="LN4445">4445</td><td class="line"> eom_window_add_open_editor_action (window);</td></tr>
+<tr class="codeline" data-linenumber="4446"><td class="num" id="LN4446">4446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4447"><td class="num" id="LN4447">4447</td><td class="line"> gtk_action_group_add_toggle_actions (priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="4448"><td class="num" id="LN4448">4448</td><td class="line"> toggle_entries_image,</td></tr>
+<tr class="codeline" data-linenumber="4449"><td class="num" id="LN4449">4449</td><td class="line"> <span class='macro'>G_N_ELEMENTS (toggle_entries_image)<span class='macro_popup'>(sizeof (toggle_entries_image) / sizeof ((toggle_entries_image<br>)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4450"><td class="num" id="LN4450">4450</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="4451"><td class="num" id="LN4451">4451</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4452"><td class="num" id="LN4452">4452</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4453"><td class="num" id="LN4453">4453</td><td class="line"> gtk_ui_manager_insert_action_group (priv-&gt;ui_mgr, priv-&gt;actions_image, 0);</td></tr>
+<tr class="codeline" data-linenumber="4454"><td class="num" id="LN4454">4454</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4455"><td class="num" id="LN4455">4455</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4456"><td class="num" id="LN4456">4456</td><td class="line"> priv-&gt;actions_collection = gtk_action_group_new (<span class='string_literal'>"MenuActionsCollection"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4457"><td class="num" id="LN4457">4457</td><td class="line"><span class='directive'>#ifdef <span class='macro'>ENABLE_NLS<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="4458"><td class="num" id="LN4458">4458</td><td class="line"> gtk_action_group_set_translation_domain (priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="4459"><td class="num" id="LN4459">4459</td><td class="line"> <span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4460"><td class="num" id="LN4460">4460</td><td class="line"><span class='directive'>#endif /* ENABLE_NLS */</span></td></tr>
+<tr class="codeline" data-linenumber="4461"><td class="num" id="LN4461">4461</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4462"><td class="num" id="LN4462">4462</td><td class="line"> gtk_action_group_add_actions (priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="4463"><td class="num" id="LN4463">4463</td><td class="line"> action_entries_collection,</td></tr>
+<tr class="codeline" data-linenumber="4464"><td class="num" id="LN4464">4464</td><td class="line"> <span class='macro'>G_N_ELEMENTS (action_entries_collection)<span class='macro_popup'>(sizeof (action_entries_collection) / sizeof ((action_entries_collection<br>)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4465"><td class="num" id="LN4465">4465</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="4466"><td class="num" id="LN4466">4466</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4467"><td class="num" id="LN4467">4467</td><td class="line"> gtk_action_group_add_toggle_actions (priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="4468"><td class="num" id="LN4468">4468</td><td class="line"> toggle_entries_collection,</td></tr>
+<tr class="codeline" data-linenumber="4469"><td class="num" id="LN4469">4469</td><td class="line"> <span class='macro'>G_N_ELEMENTS (toggle_entries_collection)<span class='macro_popup'>(sizeof (toggle_entries_collection) / sizeof ((toggle_entries_collection<br>)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4470"><td class="num" id="LN4470">4470</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="4471"><td class="num" id="LN4471">4471</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4472"><td class="num" id="LN4472">4472</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4473"><td class="num" id="LN4473">4473</td><td class="line"> set_action_properties (priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="4474"><td class="num" id="LN4474">4474</td><td class="line"> priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="4475"><td class="num" id="LN4475">4475</td><td class="line"> priv-&gt;actions_collection);</td></tr>
+<tr class="codeline" data-linenumber="4476"><td class="num" id="LN4476">4476</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4477"><td class="num" id="LN4477">4477</td><td class="line"> gtk_ui_manager_insert_action_group (priv-&gt;ui_mgr, priv-&gt;actions_collection, 0);</td></tr>
+<tr class="codeline" data-linenumber="4478"><td class="num" id="LN4478">4478</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4479"><td class="num" id="LN4479">4479</td><td class="line"> <span class='keyword'>if</span> (!gtk_ui_manager_add_ui_from_resource (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="4480"><td class="num" id="LN4480">4480</td><td class="line"> <span class='string_literal'>"/org/mate/eom/ui/eom-ui.xml"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4481"><td class="num" id="LN4481">4481</td><td class="line"> &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="4482"><td class="num" id="LN4482">4482</td><td class="line"> g_warning (<span class='string_literal'>"building menus failed: %s"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="4483"><td class="num" id="LN4483">4483</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="4484"><td class="num" id="LN4484">4484</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4485"><td class="num" id="LN4485">4485</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4486"><td class="num" id="LN4486">4486</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;ui_mgr, <span class='string_literal'>"connect_proxy"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;ui_mgr), ("connect_proxy"), (<br>((GCallback) (connect_proxy_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4487"><td class="num" id="LN4487">4487</td><td class="line"> <span class='macro'>G_CALLBACK (connect_proxy_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;ui_mgr), ("connect_proxy"), (<br>((GCallback) (connect_proxy_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4488"><td class="num" id="LN4488">4488</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;ui_mgr), ("connect_proxy"), (<br>((GCallback) (connect_proxy_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4489"><td class="num" id="LN4489">4489</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4490"><td class="num" id="LN4490">4490</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;ui_mgr, <span class='string_literal'>"disconnect_proxy"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;ui_mgr), ("disconnect_proxy"<br>), (((GCallback) (disconnect_proxy_cb))), (window), ((void*)0<br>), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4491"><td class="num" id="LN4491">4491</td><td class="line"> <span class='macro'>G_CALLBACK (disconnect_proxy_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;ui_mgr), ("disconnect_proxy"<br>), (((GCallback) (disconnect_proxy_cb))), (window), ((void*)0<br>), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4492"><td class="num" id="LN4492">4492</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;ui_mgr), ("disconnect_proxy"<br>), (((GCallback) (disconnect_proxy_cb))), (window), ((void*)0<br>), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4493"><td class="num" id="LN4493">4493</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4494"><td class="num" id="LN4494">4494</td><td class="line"> menubar = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4495"><td class="num" id="LN4495">4495</td><td class="line"> <span class='macro'>g_assert (GTK_IS_WIDGET (menubar))<span class='macro_popup'>do { if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((menubar)); GType __t = ((gtk_widget_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))) ; else<br> g_assertion_message_expr ("EOM", "eom-window.c", 4495, ((const<br> char*) (__func__)), "GTK_IS_WIDGET (menubar)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4496"><td class="num" id="LN4496">4496</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;box)), ((gtk_box_get_type ()))))))</span></span>, menubar, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="4497"><td class="num" id="LN4497">4497</td><td class="line"> gtk_widget_show (menubar);</td></tr>
+<tr class="codeline" data-linenumber="4498"><td class="num" id="LN4498">4498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4499"><td class="num" id="LN4499">4499</td><td class="line"> menuitem = gtk_ui_manager_get_widget (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="4500"><td class="num" id="LN4500">4500</td><td class="line"> <span class='string_literal'>"/MainMenu/Edit/EditFlipHorizontal"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4501"><td class="num" id="LN4501">4501</td><td class="line"> gtk_image_menu_item_set_always_show_image (</td></tr>
+<tr class="codeline" data-linenumber="4502"><td class="num" id="LN4502">4502</td><td class="line"> <span class='macro'>GTK_IMAGE_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkImageMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_image_menu_item_get_type (<br>)))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4503"><td class="num" id="LN4503">4503</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4504"><td class="num" id="LN4504">4504</td><td class="line"> menuitem = gtk_ui_manager_get_widget (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="4505"><td class="num" id="LN4505">4505</td><td class="line"> <span class='string_literal'>"/MainMenu/Edit/EditFlipVertical"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4506"><td class="num" id="LN4506">4506</td><td class="line"> gtk_image_menu_item_set_always_show_image (</td></tr>
+<tr class="codeline" data-linenumber="4507"><td class="num" id="LN4507">4507</td><td class="line"> <span class='macro'>GTK_IMAGE_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkImageMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_image_menu_item_get_type (<br>)))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4508"><td class="num" id="LN4508">4508</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4509"><td class="num" id="LN4509">4509</td><td class="line"> menuitem = gtk_ui_manager_get_widget (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="4510"><td class="num" id="LN4510">4510</td><td class="line"> <span class='string_literal'>"/MainMenu/Edit/EditRotate90"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4511"><td class="num" id="LN4511">4511</td><td class="line"> gtk_image_menu_item_set_always_show_image (</td></tr>
+<tr class="codeline" data-linenumber="4512"><td class="num" id="LN4512">4512</td><td class="line"> <span class='macro'>GTK_IMAGE_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkImageMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_image_menu_item_get_type (<br>)))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4513"><td class="num" id="LN4513">4513</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4514"><td class="num" id="LN4514">4514</td><td class="line"> menuitem = gtk_ui_manager_get_widget (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="4515"><td class="num" id="LN4515">4515</td><td class="line"> <span class='string_literal'>"/MainMenu/Edit/EditRotate270"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4516"><td class="num" id="LN4516">4516</td><td class="line"> gtk_image_menu_item_set_always_show_image (</td></tr>
+<tr class="codeline" data-linenumber="4517"><td class="num" id="LN4517">4517</td><td class="line"> <span class='macro'>GTK_IMAGE_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkImageMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_image_menu_item_get_type (<br>)))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4518"><td class="num" id="LN4518">4518</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4519"><td class="num" id="LN4519">4519</td><td class="line"> priv-&gt;toolbar = <span class='macro'>GTK_WIDGET<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_editable_toolbar_get_type ()), "ui-manager"<br>, priv-&gt;ui_mgr, "popup-path", "/ToolbarPopup", "model", eom_application_get_toolbars_model<br> ((eom_application_get_instance ())), ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4520"><td class="num" id="LN4520">4520</td><td class="line"> <span class='macro'>(g_object_new (EGG_TYPE_EDITABLE_TOOLBAR,<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_editable_toolbar_get_type ()), "ui-manager"<br>, priv-&gt;ui_mgr, "popup-path", "/ToolbarPopup", "model", eom_application_get_toolbars_model<br> ((eom_application_get_instance ())), ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4521"><td class="num" id="LN4521">4521</td><td class="line"> <span class='string_literal'><span class='macro'>"ui-manager"</span>, priv-&gt;ui_mgr,<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_editable_toolbar_get_type ()), "ui-manager"<br>, priv-&gt;ui_mgr, "popup-path", "/ToolbarPopup", "model", eom_application_get_toolbars_model<br> ((eom_application_get_instance ())), ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4522"><td class="num" id="LN4522">4522</td><td class="line"> <span class='string_literal'><span class='macro'>"popup-path"</span>, <span class='string_literal'>"/ToolbarPopup"</span>,<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_editable_toolbar_get_type ()), "ui-manager"<br>, priv-&gt;ui_mgr, "popup-path", "/ToolbarPopup", "model", eom_application_get_toolbars_model<br> ((eom_application_get_instance ())), ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4523"><td class="num" id="LN4523">4523</td><td class="line"> <span class='string_literal'><span class='macro'>"model"</span>, eom_application_get_toolbars_model (EOM_APP),<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_editable_toolbar_get_type ()), "ui-manager"<br>, priv-&gt;ui_mgr, "popup-path", "/ToolbarPopup", "model", eom_application_get_toolbars_model<br> ((eom_application_get_instance ())), ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4524"><td class="num" id="LN4524">4524</td><td class="line"> <span class='macro'>NULL))<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_editable_toolbar_get_type ()), "ui-manager"<br>, priv-&gt;ui_mgr, "popup-path", "/ToolbarPopup", "model", eom_application_get_toolbars_model<br> ((eom_application_get_instance ())), ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4525"><td class="num" id="LN4525">4525</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4526"><td class="num" id="LN4526">4526</td><td class="line"> gtk_style_context_add_class (gtk_widget_get_style_context (<span class='macro'>GTK_WIDGET (priv-&gt;toolbar)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;toolbar)), ((gtk_widget_get_type ()))))))</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="4527"><td class="num" id="LN4527">4527</td><td class="line"> <span class='macro'>GTK_STYLE_CLASS_PRIMARY_TOOLBAR<span class='macro_popup'>"primary-toolbar"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4528"><td class="num" id="LN4528">4528</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4529"><td class="num" id="LN4529">4529</td><td class="line"> egg_editable_toolbar_show (<span class='macro'>EGG_EDITABLE_TOOLBAR (priv-&gt;toolbar)<span class='macro_popup'>((((EggEditableToolbar*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((priv-&gt;toolbar)), ((egg_editable_toolbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4530"><td class="num" id="LN4530">4530</td><td class="line"> <span class='string_literal'>"Toolbar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4531"><td class="num" id="LN4531">4531</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4532"><td class="num" id="LN4532">4532</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;box)), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4533"><td class="num" id="LN4533">4533</td><td class="line"> priv-&gt;toolbar,</td></tr>
+<tr class="codeline" data-linenumber="4534"><td class="num" id="LN4534">4534</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4535"><td class="num" id="LN4535">4535</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4536"><td class="num" id="LN4536">4536</td><td class="line"> 0);</td></tr>
+<tr class="codeline" data-linenumber="4537"><td class="num" id="LN4537">4537</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4538"><td class="num" id="LN4538">4538</td><td class="line"> gtk_widget_show (priv-&gt;toolbar);</td></tr>
+<tr class="codeline" data-linenumber="4539"><td class="num" id="LN4539">4539</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4540"><td class="num" id="LN4540">4540</td><td class="line"> gtk_window_add_accel_group (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4541"><td class="num" id="LN4541">4541</td><td class="line"> gtk_ui_manager_get_accel_group (priv-&gt;ui_mgr));</td></tr>
+<tr class="codeline" data-linenumber="4542"><td class="num" id="LN4542">4542</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4543"><td class="num" id="LN4543">4543</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4544"><td class="num" id="LN4544">4544</td><td class="line"> priv-&gt;actions_recent = gtk_action_group_new (<span class='string_literal'>"RecentFilesActions"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4545"><td class="num" id="LN4545">4545</td><td class="line"><span class='directive'>#ifdef <span class='macro'>ENABLE_NLS<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="4546"><td class="num" id="LN4546">4546</td><td class="line"> gtk_action_group_set_translation_domain (priv-&gt;actions_recent,</td></tr>
+<tr class="codeline" data-linenumber="4547"><td class="num" id="LN4547">4547</td><td class="line"> <span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4548"><td class="num" id="LN4548">4548</td><td class="line"><span class='directive'>#endif /* ENABLE_NLS */</span></td></tr>
+<tr class="codeline" data-linenumber="4549"><td class="num" id="LN4549">4549</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4550"><td class="num" id="LN4550">4550</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4551"><td class="num" id="LN4551">4551</td><td class="line"> <span class='macro'>g_signal_connect (gtk_recent_manager_get_default (), <span class='string_literal'>"changed"</span>,<span class='macro_popup'>g_signal_connect_data ((gtk_recent_manager_get_default ()), (<br>"changed"), (((GCallback) (eom_window_recent_manager_changed_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4552"><td class="num" id="LN4552">4552</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_recent_manager_changed_cb),<span class='macro_popup'>g_signal_connect_data ((gtk_recent_manager_get_default ()), (<br>"changed"), (((GCallback) (eom_window_recent_manager_changed_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4553"><td class="num" id="LN4553">4553</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((gtk_recent_manager_get_default ()), (<br>"changed"), (((GCallback) (eom_window_recent_manager_changed_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4554"><td class="num" id="LN4554">4554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4555"><td class="num" id="LN4555">4555</td><td class="line"> eom_window_update_recent_files_menu (window);</td></tr>
+<tr class="codeline" data-linenumber="4556"><td class="num" id="LN4556">4556</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4557"><td class="num" id="LN4557">4557</td><td class="line"> gtk_ui_manager_insert_action_group (priv-&gt;ui_mgr, priv-&gt;actions_recent, 0);</td></tr>
+<tr class="codeline" data-linenumber="4558"><td class="num" id="LN4558">4558</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4559"><td class="num" id="LN4559">4559</td><td class="line"> priv-&gt;cbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);</td></tr>
+<tr class="codeline" data-linenumber="4560"><td class="num" id="LN4560">4560</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;box)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;cbox, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="4561"><td class="num" id="LN4561">4561</td><td class="line"> gtk_widget_show (priv-&gt;cbox);</td></tr>
+<tr class="codeline" data-linenumber="4562"><td class="num" id="LN4562">4562</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4563"><td class="num" id="LN4563">4563</td><td class="line"> priv-&gt;statusbar = eom_statusbar_new ();</td></tr>
+<tr class="codeline" data-linenumber="4564"><td class="num" id="LN4564">4564</td><td class="line"> gtk_box_pack_end (<span class='macro'>GTK_BOX (priv-&gt;box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;box)), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4565"><td class="num" id="LN4565">4565</td><td class="line"> <span class='macro'>GTK_WIDGET (priv-&gt;statusbar)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_widget_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4566"><td class="num" id="LN4566">4566</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="4567"><td class="num" id="LN4567">4567</td><td class="line"> gtk_widget_show (priv-&gt;statusbar);</td></tr>
+<tr class="codeline" data-linenumber="4568"><td class="num" id="LN4568">4568</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4569"><td class="num" id="LN4569">4569</td><td class="line"> priv-&gt;image_info_message_cid =</td></tr>
+<tr class="codeline" data-linenumber="4570"><td class="num" id="LN4570">4570</td><td class="line"> gtk_statusbar_get_context_id (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4571"><td class="num" id="LN4571">4571</td><td class="line"> <span class='string_literal'>"image_info_message"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4572"><td class="num" id="LN4572">4572</td><td class="line"> priv-&gt;tip_message_cid =</td></tr>
+<tr class="codeline" data-linenumber="4573"><td class="num" id="LN4573">4573</td><td class="line"> gtk_statusbar_get_context_id (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4574"><td class="num" id="LN4574">4574</td><td class="line"> <span class='string_literal'>"tip_message"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4575"><td class="num" id="LN4575">4575</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4576"><td class="num" id="LN4576">4576</td><td class="line"> priv-&gt;layout = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);</td></tr>
+<tr class="codeline" data-linenumber="4577"><td class="num" id="LN4577">4577</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4578"><td class="num" id="LN4578">4578</td><td class="line"> hpaned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="4579"><td class="num" id="LN4579">4579</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4580"><td class="num" id="LN4580">4580</td><td class="line"> priv-&gt;sidebar = eom_sidebar_new ();</td></tr>
+<tr class="codeline" data-linenumber="4581"><td class="num" id="LN4581">4581</td><td class="line"> <span class='comment'>/* The sidebar shouldn't be shown automatically on show_all(),</span></td></tr>
+<tr class="codeline" data-linenumber="4582"><td class="num" id="LN4582">4582</td><td class="line"> <span class='comment'>but only when the user actually wants it. */</span></td></tr>
+<tr class="codeline" data-linenumber="4583"><td class="num" id="LN4583">4583</td><td class="line"> gtk_widget_set_no_show_all (priv-&gt;sidebar, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4584"><td class="num" id="LN4584">4584</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4585"><td class="num" id="LN4585">4585</td><td class="line"> gtk_widget_set_size_request (priv-&gt;sidebar, 210, -1);</td></tr>
+<tr class="codeline" data-linenumber="4586"><td class="num" id="LN4586">4586</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4587"><td class="num" id="LN4587">4587</td><td class="line"> <span class='macro'>g_signal_connect_after (priv-&gt;sidebar, <span class='string_literal'>"show"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("show"), (((GCallback<br>) (eom_window_sidebar_visibility_changed))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4588"><td class="num" id="LN4588">4588</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_sidebar_visibility_changed),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("show"), (((GCallback<br>) (eom_window_sidebar_visibility_changed))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4589"><td class="num" id="LN4589">4589</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("show"), (((GCallback<br>) (eom_window_sidebar_visibility_changed))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4590"><td class="num" id="LN4590">4590</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4591"><td class="num" id="LN4591">4591</td><td class="line"> <span class='macro'>g_signal_connect_after (priv-&gt;sidebar, <span class='string_literal'>"hide"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("hide"), (((GCallback<br>) (eom_window_sidebar_visibility_changed))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4592"><td class="num" id="LN4592">4592</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_sidebar_visibility_changed),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("hide"), (((GCallback<br>) (eom_window_sidebar_visibility_changed))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4593"><td class="num" id="LN4593">4593</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("hide"), (((GCallback<br>) (eom_window_sidebar_visibility_changed))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4594"><td class="num" id="LN4594">4594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4595"><td class="num" id="LN4595">4595</td><td class="line"> <span class='macro'>g_signal_connect_after (priv-&gt;sidebar, <span class='string_literal'>"page-added"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("page-added"), ((<br>(GCallback) (eom_window_sidebar_page_added))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4596"><td class="num" id="LN4596">4596</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_sidebar_page_added),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("page-added"), ((<br>(GCallback) (eom_window_sidebar_page_added))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4597"><td class="num" id="LN4597">4597</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("page-added"), ((<br>(GCallback) (eom_window_sidebar_page_added))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4598"><td class="num" id="LN4598">4598</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4599"><td class="num" id="LN4599">4599</td><td class="line"> <span class='macro'>g_signal_connect_after (priv-&gt;sidebar, <span class='string_literal'>"page-removed"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("page-removed"), (<br>((GCallback) (eom_window_sidebar_page_removed))), (window), (<br>(void*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4600"><td class="num" id="LN4600">4600</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_sidebar_page_removed),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("page-removed"), (<br>((GCallback) (eom_window_sidebar_page_removed))), (window), (<br>(void*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4601"><td class="num" id="LN4601">4601</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("page-removed"), (<br>((GCallback) (eom_window_sidebar_page_removed))), (window), (<br>(void*)0), G_CONNECT_AFTER)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4602"><td class="num" id="LN4602">4602</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4603"><td class="num" id="LN4603">4603</td><td class="line"> priv-&gt;view = eom_scroll_view_new ();</td></tr>
+<tr class="codeline" data-linenumber="4604"><td class="num" id="LN4604">4604</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4605"><td class="num" id="LN4605">4605</td><td class="line"> eom_sidebar_add_page (<span class='macro'>EOM_SIDEBAR (priv-&gt;sidebar)<span class='macro_popup'>((((EomSidebar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;sidebar)), ((eom_sidebar_get_type()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4606"><td class="num" id="LN4606">4606</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Properties"</span>)<span class='macro_popup'>gettext ("Properties")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4607"><td class="num" id="LN4607">4607</td><td class="line"> <span class='macro'>GTK_WIDGET (eom_metadata_sidebar_new (window))<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((eom_metadata_sidebar_new (window))), ((gtk_widget_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4608"><td class="num" id="LN4608">4608</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4609"><td class="num" id="LN4609">4609</td><td class="line"> gtk_widget_set_size_request (<span class='macro'>GTK_WIDGET (priv-&gt;view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((gtk_widget_get_type ()))))))</span></span>, 100, 100);</td></tr>
+<tr class="codeline" data-linenumber="4610"><td class="num" id="LN4610">4610</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;view, <span class='string_literal'>"zoom_changed"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("zoom_changed"), (((<br>GCallback) (view_zoom_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4611"><td class="num" id="LN4611">4611</td><td class="line"> <span class='macro'>G_CALLBACK (view_zoom_changed_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("zoom_changed"), (((<br>GCallback) (view_zoom_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4612"><td class="num" id="LN4612">4612</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("zoom_changed"), (((<br>GCallback) (view_zoom_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4613"><td class="num" id="LN4613">4613</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4614"><td class="num" id="LN4614">4614</td><td class="line"> g_settings_bind (priv-&gt;view_settings, <span class='macro'>EOM_CONF_VIEW_SCROLL_WHEEL_ZOOM<span class='macro_popup'>"scroll-wheel-zoom"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4615"><td class="num" id="LN4615">4615</td><td class="line"> priv-&gt;view, <span class='string_literal'>"scrollwheel-zoom"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="4616"><td class="num" id="LN4616">4616</td><td class="line"> g_settings_bind (priv-&gt;view_settings, <span class='macro'>EOM_CONF_VIEW_ZOOM_MULTIPLIER<span class='macro_popup'>"zoom-multiplier"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4617"><td class="num" id="LN4617">4617</td><td class="line"> priv-&gt;view, <span class='string_literal'>"zoom-multiplier"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="4618"><td class="num" id="LN4618">4618</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4619"><td class="num" id="LN4619">4619</td><td class="line"> view_popup = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, <span class='string_literal'>"/ViewPopup"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4620"><td class="num" id="LN4620">4620</td><td class="line"> eom_scroll_view_set_popup (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4621"><td class="num" id="LN4621">4621</td><td class="line"> <span class='macro'>GTK_MENU (view_popup)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view_popup)), ((gtk_menu_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4622"><td class="num" id="LN4622">4622</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4623"><td class="num" id="LN4623">4623</td><td class="line"> gtk_paned_pack1 (<span class='macro'>GTK_PANED (hpaned)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hpaned)), ((gtk_paned_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4624"><td class="num" id="LN4624">4624</td><td class="line"> priv-&gt;sidebar,</td></tr>
+<tr class="codeline" data-linenumber="4625"><td class="num" id="LN4625">4625</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4626"><td class="num" id="LN4626">4626</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4627"><td class="num" id="LN4627">4627</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4628"><td class="num" id="LN4628">4628</td><td class="line"> gtk_paned_pack2 (<span class='macro'>GTK_PANED (hpaned)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hpaned)), ((gtk_paned_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4629"><td class="num" id="LN4629">4629</td><td class="line"> priv-&gt;view,</td></tr>
+<tr class="codeline" data-linenumber="4630"><td class="num" id="LN4630">4630</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4631"><td class="num" id="LN4631">4631</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4632"><td class="num" id="LN4632">4632</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4633"><td class="num" id="LN4633">4633</td><td class="line"> gtk_widget_show_all (hpaned);</td></tr>
+<tr class="codeline" data-linenumber="4634"><td class="num" id="LN4634">4634</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4635"><td class="num" id="LN4635">4635</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="4636"><td class="num" id="LN4636">4636</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4637"><td class="num" id="LN4637">4637</td><td class="line"> priv-&gt;thumbview = <span class='macro'>g_object_ref (eom_thumb_view_new ())<span class='macro_popup'>((__typeof__ (eom_thumb_view_new ())) (g_object_ref) (eom_thumb_view_new<br> ()))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4638"><td class="num" id="LN4638">4638</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4639"><td class="num" id="LN4639">4639</td><td class="line"> <span class='comment'>/* giving shape to the view */</span></td></tr>
+<tr class="codeline" data-linenumber="4640"><td class="num" id="LN4640">4640</td><td class="line"> gtk_icon_view_set_margin (<span class='macro'>GTK_ICON_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((GtkIconView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((gtk_icon_view_get_type ()))))))</span></span>, 4);</td></tr>
+<tr class="codeline" data-linenumber="4641"><td class="num" id="LN4641">4641</td><td class="line"> gtk_icon_view_set_row_spacing (<span class='macro'>GTK_ICON_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((GtkIconView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((gtk_icon_view_get_type ()))))))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="4642"><td class="num" id="LN4642">4642</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4643"><td class="num" id="LN4643">4643</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;thumbview, <span class='string_literal'>"selection_changed"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("selection_changed"<br>), (((GCallback) (handle_image_selection_changed_cb))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4644"><td class="num" id="LN4644">4644</td><td class="line"> <span class='macro'>G_CALLBACK (handle_image_selection_changed_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("selection_changed"<br>), (((GCallback) (handle_image_selection_changed_cb))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4645"><td class="num" id="LN4645">4645</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("selection_changed"<br>), (((GCallback) (handle_image_selection_changed_cb))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4646"><td class="num" id="LN4646">4646</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4647"><td class="num" id="LN4647">4647</td><td class="line"> priv-&gt;nav = eom_thumb_nav_new (priv-&gt;thumbview,</td></tr>
+<tr class="codeline" data-linenumber="4648"><td class="num" id="LN4648">4648</td><td class="line"> EOM_THUMB_NAV_MODE_ONE_ROW,</td></tr>
+<tr class="codeline" data-linenumber="4649"><td class="num" id="LN4649">4649</td><td class="line"> g_settings_get_boolean (priv-&gt;ui_settings,</td></tr>
+<tr class="codeline" data-linenumber="4650"><td class="num" id="LN4650">4650</td><td class="line"> <span class='macro'>EOM_CONF_UI_SCROLL_BUTTONS<span class='macro_popup'>"scroll-buttons"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="4651"><td class="num" id="LN4651">4651</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4652"><td class="num" id="LN4652">4652</td><td class="line"> <span class='comment'>// Bind the scroll buttons to their GSettings key</span></td></tr>
+<tr class="codeline" data-linenumber="4653"><td class="num" id="LN4653">4653</td><td class="line"> g_settings_bind (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_SCROLL_BUTTONS<span class='macro_popup'>"scroll-buttons"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4654"><td class="num" id="LN4654">4654</td><td class="line"> priv-&gt;nav, <span class='string_literal'>"show-buttons"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="4655"><td class="num" id="LN4655">4655</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4656"><td class="num" id="LN4656">4656</td><td class="line"> thumb_popup = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, <span class='string_literal'>"/ThumbnailPopup"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4657"><td class="num" id="LN4657">4657</td><td class="line"> eom_thumb_view_set_thumbnail_popup (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4658"><td class="num" id="LN4658">4658</td><td class="line"> <span class='macro'>GTK_MENU (thumb_popup)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((thumb_popup)), ((gtk_menu_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4659"><td class="num" id="LN4659">4659</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4660"><td class="num" id="LN4660">4660</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="4661"><td class="num" id="LN4661">4661</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4662"><td class="num" id="LN4662">4662</td><td class="line"> gtk_box_pack_end (<span class='macro'>GTK_BOX (priv-&gt;cbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;cbox)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;layout, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="4663"><td class="num" id="LN4663">4663</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4664"><td class="num" id="LN4664">4664</td><td class="line"> eom_window_can_save_changed_cb (priv-&gt;lockdown_settings,</td></tr>
+<tr class="codeline" data-linenumber="4665"><td class="num" id="LN4665">4665</td><td class="line"> <span class='macro'>EOM_CONF_LOCKDOWN_CAN_SAVE<span class='macro_popup'>"disable-save-to-disk"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4666"><td class="num" id="LN4666">4666</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="4667"><td class="num" id="LN4667">4667</td><td class="line"> g_settings_bind (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_IMAGE_COLLECTION_POSITION<span class='macro_popup'>"image-collection-position"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4668"><td class="num" id="LN4668">4668</td><td class="line"> window, <span class='string_literal'>"collection-position"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="4669"><td class="num" id="LN4669">4669</td><td class="line"> g_settings_bind (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_IMAGE_COLLECTION_RESIZABLE<span class='macro_popup'>"image-collection-resizable"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4670"><td class="num" id="LN4670">4670</td><td class="line"> window, <span class='string_literal'>"collection-resizable"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="4671"><td class="num" id="LN4671">4671</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4672"><td class="num" id="LN4672">4672</td><td class="line"> update_action_groups_state (window);</td></tr>
+<tr class="codeline" data-linenumber="4673"><td class="num" id="LN4673">4673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4674"><td class="num" id="LN4674">4674</td><td class="line"> <span class='keyword'>if</span> ((priv-&gt;flags &amp; EOM_STARTUP_FULLSCREEN) ||</td></tr>
+<tr class="codeline" data-linenumber="4675"><td class="num" id="LN4675">4675</td><td class="line"> (priv-&gt;flags &amp; EOM_STARTUP_SLIDE_SHOW)) {</td></tr>
+<tr class="codeline" data-linenumber="4676"><td class="num" id="LN4676">4676</td><td class="line"> eom_window_run_fullscreen (window, (priv-&gt;flags &amp; EOM_STARTUP_SLIDE_SHOW));</td></tr>
+<tr class="codeline" data-linenumber="4677"><td class="num" id="LN4677">4677</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4678"><td class="num" id="LN4678">4678</td><td class="line"> priv-&gt;mode = EOM_WINDOW_MODE_NORMAL;</td></tr>
+<tr class="codeline" data-linenumber="4679"><td class="num" id="LN4679">4679</td><td class="line"> update_ui_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="4680"><td class="num" id="LN4680">4680</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4681"><td class="num" id="LN4681">4681</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4682"><td class="num" id="LN4682">4682</td><td class="line"> eom_window_set_drag_dest (window);</td></tr>
+<tr class="codeline" data-linenumber="4683"><td class="num" id="LN4683">4683</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4684"><td class="num" id="LN4684">4684</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4685"><td class="num" id="LN4685">4685</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4686"><td class="num" id="LN4686">4686</td><td class="line">eom_window_init (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4687"><td class="num" id="LN4687">4687</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4688"><td class="num" id="LN4688">4688</td><td class="line"> GdkGeometry hints;</td></tr>
+<tr class="codeline" data-linenumber="4689"><td class="num" id="LN4689">4689</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="4690"><td class="num" id="LN4690">4690</td><td class="line"> GdkScreen *screen;</td></tr>
+<tr class="codeline" data-linenumber="4691"><td class="num" id="LN4691">4691</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="4692"><td class="num" id="LN4692">4692</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="4693"><td class="num" id="LN4693">4693</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4694"><td class="num" id="LN4694">4694</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 4694, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4695"><td class="num" id="LN4695">4695</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4696"><td class="num" id="LN4696">4696</td><td class="line"> GtkStyleContext *context;</td></tr>
+<tr class="codeline" data-linenumber="4697"><td class="num" id="LN4697">4697</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4698"><td class="num" id="LN4698">4698</td><td class="line"> context = gtk_widget_get_style_context (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4699"><td class="num" id="LN4699">4699</td><td class="line"> gtk_style_context_add_class (context, <span class='string_literal'>"eom-window"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4700"><td class="num" id="LN4700">4700</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4701"><td class="num" id="LN4701">4701</td><td class="line"> hints.min_width = <span class='macro'>EOM_WINDOW_MIN_WIDTH<span class='macro_popup'>440</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4702"><td class="num" id="LN4702">4702</td><td class="line"> hints.min_height = <span class='macro'>EOM_WINDOW_MIN_HEIGHT<span class='macro_popup'>350</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4703"><td class="num" id="LN4703">4703</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4704"><td class="num" id="LN4704">4704</td><td class="line"> priv = window-&gt;priv = eom_window_get_instance_private (window);</td></tr>
+<tr class="codeline" data-linenumber="4705"><td class="num" id="LN4705">4705</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4706"><td class="num" id="LN4706">4706</td><td class="line"> priv-&gt;view_settings = g_settings_new (<span class='macro'>EOM_CONF_VIEW<span class='macro_popup'>"org.mate.eom"".view"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4707"><td class="num" id="LN4707">4707</td><td class="line"> priv-&gt;ui_settings = g_settings_new (<span class='macro'>EOM_CONF_UI<span class='macro_popup'>"org.mate.eom"".ui"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4708"><td class="num" id="LN4708">4708</td><td class="line"> priv-&gt;fullscreen_settings = g_settings_new (<span class='macro'>EOM_CONF_FULLSCREEN<span class='macro_popup'>"org.mate.eom"".full-screen"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4709"><td class="num" id="LN4709">4709</td><td class="line"> priv-&gt;lockdown_settings = g_settings_new (<span class='macro'>EOM_CONF_LOCKDOWN_SCHEMA<span class='macro_popup'>"org.mate.lockdown"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4710"><td class="num" id="LN4710">4710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4711"><td class="num" id="LN4711">4711</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;lockdown_settings, <span class='string_literal'>"changed::"</span> EOM_CONF_LOCKDOWN_CAN_SAVE,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;lockdown_settings), ("changed::"<br> "disable-save-to-disk"), (((GCallback) (eom_window_can_save_changed_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4712"><td class="num" id="LN4712">4712</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_can_save_changed_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;lockdown_settings), ("changed::"<br> "disable-save-to-disk"), (((GCallback) (eom_window_can_save_changed_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4713"><td class="num" id="LN4713">4713</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;lockdown_settings), ("changed::"<br> "disable-save-to-disk"), (((GCallback) (eom_window_can_save_changed_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4714"><td class="num" id="LN4714">4714</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4715"><td class="num" id="LN4715">4715</td><td class="line"> window-&gt;priv-&gt;store = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4716"><td class="num" id="LN4716">4716</td><td class="line"> window-&gt;priv-&gt;image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4717"><td class="num" id="LN4717">4717</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4718"><td class="num" id="LN4718">4718</td><td class="line"> window-&gt;priv-&gt;fullscreen_popup = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4719"><td class="num" id="LN4719">4719</td><td class="line"> window-&gt;priv-&gt;fullscreen_timeout_source = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4720"><td class="num" id="LN4720">4720</td><td class="line"> window-&gt;priv-&gt;slideshow_random = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4721"><td class="num" id="LN4721">4721</td><td class="line"> window-&gt;priv-&gt;slideshow_loop = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4722"><td class="num" id="LN4722">4722</td><td class="line"> window-&gt;priv-&gt;slideshow_switch_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="4723"><td class="num" id="LN4723">4723</td><td class="line"> window-&gt;priv-&gt;slideshow_switch_source = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4724"><td class="num" id="LN4724">4724</td><td class="line"> window-&gt;priv-&gt;fullscreen_idle_inhibit_cookie = 0;</td></tr>
+<tr class="codeline" data-linenumber="4725"><td class="num" id="LN4725">4725</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4726"><td class="num" id="LN4726">4726</td><td class="line"> gtk_window_set_geometry_hints (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4727"><td class="num" id="LN4727">4727</td><td class="line"> <span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4728"><td class="num" id="LN4728">4728</td><td class="line"> &amp;hints,</td></tr>
+<tr class="codeline" data-linenumber="4729"><td class="num" id="LN4729">4729</td><td class="line"> GDK_HINT_MIN_SIZE);</td></tr>
+<tr class="codeline" data-linenumber="4730"><td class="num" id="LN4730">4730</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4731"><td class="num" id="LN4731">4731</td><td class="line"> gtk_window_set_default_size (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4732"><td class="num" id="LN4732">4732</td><td class="line"> <span class='macro'>EOM_WINDOW_DEFAULT_WIDTH<span class='macro_popup'>540</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4733"><td class="num" id="LN4733">4733</td><td class="line"> <span class='macro'>EOM_WINDOW_DEFAULT_HEIGHT<span class='macro_popup'>450</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4734"><td class="num" id="LN4734">4734</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4735"><td class="num" id="LN4735">4735</td><td class="line"> gtk_window_set_position (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, GTK_WIN_POS_CENTER);</td></tr>
+<tr class="codeline" data-linenumber="4736"><td class="num" id="LN4736">4736</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4737"><td class="num" id="LN4737">4737</td><td class="line"> window-&gt;priv-&gt;mode = EOM_WINDOW_MODE_UNKNOWN;</td></tr>
+<tr class="codeline" data-linenumber="4738"><td class="num" id="LN4738">4738</td><td class="line"> window-&gt;priv-&gt;status = EOM_WINDOW_STATUS_UNKNOWN;</td></tr>
+<tr class="codeline" data-linenumber="4739"><td class="num" id="LN4739">4739</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4740"><td class="num" id="LN4740">4740</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="4741"><td class="num" id="LN4741">4741</td><td class="line"> screen = gtk_widget_get_screen (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4742"><td class="num" id="LN4742">4742</td><td class="line"> window-&gt;priv-&gt;display_profile =</td></tr>
+<tr class="codeline" data-linenumber="4743"><td class="num" id="LN4743">4743</td><td class="line"> eom_window_get_display_profile (screen);</td></tr>
+<tr class="codeline" data-linenumber="4744"><td class="num" id="LN4744">4744</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="4745"><td class="num" id="LN4745">4745</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4746"><td class="num" id="LN4746">4746</td><td class="line"> window-&gt;priv-&gt;recent_menu_id = 0;</td></tr>
+<tr class="codeline" data-linenumber="4747"><td class="num" id="LN4747">4747</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4748"><td class="num" id="LN4748">4748</td><td class="line"> window-&gt;priv-&gt;collection_position = 0;</td></tr>
+<tr class="codeline" data-linenumber="4749"><td class="num" id="LN4749">4749</td><td class="line"> window-&gt;priv-&gt;collection_resizable = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4750"><td class="num" id="LN4750">4750</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4751"><td class="num" id="LN4751">4751</td><td class="line"> window-&gt;priv-&gt;save_disabled = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4752"><td class="num" id="LN4752">4752</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4753"><td class="num" id="LN4753">4753</td><td class="line"> window-&gt;priv-&gt;page_setup = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4754"><td class="num" id="LN4754">4754</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4755"><td class="num" id="LN4755">4755</td><td class="line"> gtk_window_set_application (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>GTK_APPLICATION (EOM_APP)<span class='macro_popup'>((((GtkApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ()))), ((gtk_application_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4756"><td class="num" id="LN4756">4756</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4757"><td class="num" id="LN4757">4757</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4758"><td class="num" id="LN4758">4758</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4759"><td class="num" id="LN4759">4759</td><td class="line">eom_window_dispose (GObject *object)</td></tr>
+<tr class="codeline" data-linenumber="4760"><td class="num" id="LN4760">4760</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4761"><td class="num" id="LN4761">4761</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="4762"><td class="num" id="LN4762">4762</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="4763"><td class="num" id="LN4763">4763</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4764"><td class="num" id="LN4764">4764</td><td class="line"> <span class='macro'>g_return_if_fail (object != NULL)<span class='macro_popup'>do { if ((object != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "object != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4765"><td class="num" id="LN4765">4765</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (object))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((object)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (object)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4766"><td class="num" id="LN4766">4766</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4767"><td class="num" id="LN4767">4767</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 4767, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4768"><td class="num" id="LN4768">4768</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4769"><td class="num" id="LN4769">4769</td><td class="line"> window = <span class='macro'>EOM_WINDOW (object)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4770"><td class="num" id="LN4770">4770</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="4771"><td class="num" id="LN4771">4771</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4772"><td class="num" id="LN4772">4772</td><td class="line"> peas_engine_garbage_collect (<span class='macro'>PEAS_ENGINE (EOM_APP-&gt;priv-&gt;plugin_engine)<span class='macro_popup'>((((PeasEngine*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ())-&gt;priv-&gt;plugin_engine<br>)), ((peas_engine_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4773"><td class="num" id="LN4773">4773</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4774"><td class="num" id="LN4774">4774</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;extensions != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4775"><td class="num" id="LN4775">4775</td><td class="line"> g_object_unref (priv-&gt;extensions);</td></tr>
+<tr class="codeline" data-linenumber="4776"><td class="num" id="LN4776">4776</td><td class="line"> priv-&gt;extensions = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4777"><td class="num" id="LN4777">4777</td><td class="line"> peas_engine_garbage_collect (<span class='macro'>PEAS_ENGINE (EOM_APP-&gt;priv-&gt;plugin_engine)<span class='macro_popup'>((((PeasEngine*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ())-&gt;priv-&gt;plugin_engine<br>)), ((peas_engine_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4778"><td class="num" id="LN4778">4778</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4779"><td class="num" id="LN4779">4779</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4780"><td class="num" id="LN4780">4780</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;page_setup != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4781"><td class="num" id="LN4781">4781</td><td class="line"> g_object_unref (priv-&gt;page_setup);</td></tr>
+<tr class="codeline" data-linenumber="4782"><td class="num" id="LN4782">4782</td><td class="line"> priv-&gt;page_setup = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4783"><td class="num" id="LN4783">4783</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4784"><td class="num" id="LN4784">4784</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4785"><td class="num" id="LN4785">4785</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;thumbview)</td></tr>
+<tr class="codeline" data-linenumber="4786"><td class="num" id="LN4786">4786</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="4787"><td class="num" id="LN4787">4787</td><td class="line"> <span class='comment'>/* Disconnect so we don't get any unwanted callbacks</span></td></tr>
+<tr class="codeline" data-linenumber="4788"><td class="num" id="LN4788">4788</td><td class="line"> <span class='comment'>* when the thumb view is disposed. */</span></td></tr>
+<tr class="codeline" data-linenumber="4789"><td class="num" id="LN4789">4789</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;thumbview,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (handle_image_selection_changed_cb), (window<br>))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4790"><td class="num" id="LN4790">4790</td><td class="line"> <span class='macro'>handle_image_selection_changed_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (handle_image_selection_changed_cb), (window<br>))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4791"><td class="num" id="LN4791">4791</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (handle_image_selection_changed_cb), (window<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4792"><td class="num" id="LN4792">4792</td><td class="line"> <span class='macro'>g_clear_object (&amp;priv-&gt;thumbview)<span class='macro_popup'>do { _Static_assert (sizeof *((&amp;priv-&gt;thumbview)) == sizeof<br> (gpointer), "Expression evaluates to false"); __typeof__ (((<br>&amp;priv-&gt;thumbview))) _pp = ((&amp;priv-&gt;thumbview));<br> __typeof__ (*((&amp;priv-&gt;thumbview))) _ptr = *_pp; *_pp =<br> ((void*)0); if (_ptr) (g_object_unref) (_ptr); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4793"><td class="num" id="LN4793">4793</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4794"><td class="num" id="LN4794">4794</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4795"><td class="num" id="LN4795">4795</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;store != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4796"><td class="num" id="LN4796">4796</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;store,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;store), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_list_store_image_added), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4797"><td class="num" id="LN4797">4797</td><td class="line"> <span class='macro'>eom_window_list_store_image_added,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;store), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_list_store_image_added), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4798"><td class="num" id="LN4798">4798</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;store), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_list_store_image_added), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4799"><td class="num" id="LN4799">4799</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;store,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;store), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_list_store_image_removed), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4800"><td class="num" id="LN4800">4800</td><td class="line"> <span class='macro'>eom_window_list_store_image_removed,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;store), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_list_store_image_removed), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4801"><td class="num" id="LN4801">4801</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;store), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_list_store_image_removed), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4802"><td class="num" id="LN4802">4802</td><td class="line"> g_object_unref (priv-&gt;store);</td></tr>
+<tr class="codeline" data-linenumber="4803"><td class="num" id="LN4803">4803</td><td class="line"> priv-&gt;store = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4804"><td class="num" id="LN4804">4804</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4805"><td class="num" id="LN4805">4805</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4806"><td class="num" id="LN4806">4806</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4807"><td class="num" id="LN4807">4807</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;image,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_thumb_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4808"><td class="num" id="LN4808">4808</td><td class="line"> <span class='macro'>image_thumb_changed_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_thumb_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4809"><td class="num" id="LN4809">4809</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_thumb_changed_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4810"><td class="num" id="LN4810">4810</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;image,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_file_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4811"><td class="num" id="LN4811">4811</td><td class="line"> <span class='macro'>image_file_changed_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_file_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4812"><td class="num" id="LN4812">4812</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_file_changed_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4813"><td class="num" id="LN4813">4813</td><td class="line"> g_object_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="4814"><td class="num" id="LN4814">4814</td><td class="line"> priv-&gt;image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4815"><td class="num" id="LN4815">4815</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4816"><td class="num" id="LN4816">4816</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4817"><td class="num" id="LN4817">4817</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;actions_window != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4818"><td class="num" id="LN4818">4818</td><td class="line"> g_object_unref (priv-&gt;actions_window);</td></tr>
+<tr class="codeline" data-linenumber="4819"><td class="num" id="LN4819">4819</td><td class="line"> priv-&gt;actions_window = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4820"><td class="num" id="LN4820">4820</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4821"><td class="num" id="LN4821">4821</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4822"><td class="num" id="LN4822">4822</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;actions_image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4823"><td class="num" id="LN4823">4823</td><td class="line"> g_object_unref (priv-&gt;actions_image);</td></tr>
+<tr class="codeline" data-linenumber="4824"><td class="num" id="LN4824">4824</td><td class="line"> priv-&gt;actions_image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4825"><td class="num" id="LN4825">4825</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4826"><td class="num" id="LN4826">4826</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4827"><td class="num" id="LN4827">4827</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;actions_collection != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4828"><td class="num" id="LN4828">4828</td><td class="line"> g_object_unref (priv-&gt;actions_collection);</td></tr>
+<tr class="codeline" data-linenumber="4829"><td class="num" id="LN4829">4829</td><td class="line"> priv-&gt;actions_collection = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4830"><td class="num" id="LN4830">4830</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4831"><td class="num" id="LN4831">4831</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4832"><td class="num" id="LN4832">4832</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;actions_recent != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4833"><td class="num" id="LN4833">4833</td><td class="line"> g_object_unref (priv-&gt;actions_recent);</td></tr>
+<tr class="codeline" data-linenumber="4834"><td class="num" id="LN4834">4834</td><td class="line"> priv-&gt;actions_recent = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4835"><td class="num" id="LN4835">4835</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4836"><td class="num" id="LN4836">4836</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4837"><td class="num" id="LN4837">4837</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;actions_open_with != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4838"><td class="num" id="LN4838">4838</td><td class="line"> g_object_unref (priv-&gt;actions_open_with);</td></tr>
+<tr class="codeline" data-linenumber="4839"><td class="num" id="LN4839">4839</td><td class="line"> priv-&gt;actions_open_with = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4840"><td class="num" id="LN4840">4840</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4841"><td class="num" id="LN4841">4841</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4842"><td class="num" id="LN4842">4842</td><td class="line"> fullscreen_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="4843"><td class="num" id="LN4843">4843</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4844"><td class="num" id="LN4844">4844</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;fullscreen_popup != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4845"><td class="num" id="LN4845">4845</td><td class="line"> gtk_widget_destroy (priv-&gt;fullscreen_popup);</td></tr>
+<tr class="codeline" data-linenumber="4846"><td class="num" id="LN4846">4846</td><td class="line"> priv-&gt;fullscreen_popup = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4847"><td class="num" id="LN4847">4847</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4848"><td class="num" id="LN4848">4848</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4849"><td class="num" id="LN4849">4849</td><td class="line"> slideshow_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="4850"><td class="num" id="LN4850">4850</td><td class="line"> eom_window_uninhibit_screensaver (window);</td></tr>
+<tr class="codeline" data-linenumber="4851"><td class="num" id="LN4851">4851</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4852"><td class="num" id="LN4852">4852</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (gtk_recent_manager_get_default (),<span class='macro_popup'>g_signal_handlers_disconnect_matched ((gtk_recent_manager_get_default<br> ()), (GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA<br>), 0, 0, ((void*)0), (eom_window_recent_manager_changed_cb), (<br>window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4853"><td class="num" id="LN4853">4853</td><td class="line"> <span class='macro'>eom_window_recent_manager_changed_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((gtk_recent_manager_get_default<br> ()), (GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA<br>), 0, 0, ((void*)0), (eom_window_recent_manager_changed_cb), (<br>window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4854"><td class="num" id="LN4854">4854</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((gtk_recent_manager_get_default<br> ()), (GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA<br>), 0, 0, ((void*)0), (eom_window_recent_manager_changed_cb), (<br>window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4855"><td class="num" id="LN4855">4855</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4856"><td class="num" id="LN4856">4856</td><td class="line"> priv-&gt;recent_menu_id = 0;</td></tr>
+<tr class="codeline" data-linenumber="4857"><td class="num" id="LN4857">4857</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4858"><td class="num" id="LN4858">4858</td><td class="line"> eom_window_clear_load_job (window);</td></tr>
+<tr class="codeline" data-linenumber="4859"><td class="num" id="LN4859">4859</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4860"><td class="num" id="LN4860">4860</td><td class="line"> eom_window_clear_transform_job (window);</td></tr>
+<tr class="codeline" data-linenumber="4861"><td class="num" id="LN4861">4861</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4862"><td class="num" id="LN4862">4862</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;view_settings) {</td></tr>
+<tr class="codeline" data-linenumber="4863"><td class="num" id="LN4863">4863</td><td class="line"> g_object_unref (priv-&gt;view_settings);</td></tr>
+<tr class="codeline" data-linenumber="4864"><td class="num" id="LN4864">4864</td><td class="line"> priv-&gt;view_settings = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4865"><td class="num" id="LN4865">4865</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4866"><td class="num" id="LN4866">4866</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;ui_settings) {</td></tr>
+<tr class="codeline" data-linenumber="4867"><td class="num" id="LN4867">4867</td><td class="line"> g_object_unref (priv-&gt;ui_settings);</td></tr>
+<tr class="codeline" data-linenumber="4868"><td class="num" id="LN4868">4868</td><td class="line"> priv-&gt;ui_settings = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4869"><td class="num" id="LN4869">4869</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4870"><td class="num" id="LN4870">4870</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;fullscreen_settings) {</td></tr>
+<tr class="codeline" data-linenumber="4871"><td class="num" id="LN4871">4871</td><td class="line"> g_object_unref (priv-&gt;fullscreen_settings);</td></tr>
+<tr class="codeline" data-linenumber="4872"><td class="num" id="LN4872">4872</td><td class="line"> priv-&gt;fullscreen_settings = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4873"><td class="num" id="LN4873">4873</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4874"><td class="num" id="LN4874">4874</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;lockdown_settings) {</td></tr>
+<tr class="codeline" data-linenumber="4875"><td class="num" id="LN4875">4875</td><td class="line"> g_object_unref (priv-&gt;lockdown_settings);</td></tr>
+<tr class="codeline" data-linenumber="4876"><td class="num" id="LN4876">4876</td><td class="line"> priv-&gt;lockdown_settings = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4877"><td class="num" id="LN4877">4877</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4878"><td class="num" id="LN4878">4878</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4879"><td class="num" id="LN4879">4879</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;file_list != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4880"><td class="num" id="LN4880">4880</td><td class="line"> g_slist_free_full (priv-&gt;file_list, g_object_unref);</td></tr>
+<tr class="codeline" data-linenumber="4881"><td class="num" id="LN4881">4881</td><td class="line"> priv-&gt;file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4882"><td class="num" id="LN4882">4882</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4883"><td class="num" id="LN4883">4883</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4884"><td class="num" id="LN4884">4884</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="4885"><td class="num" id="LN4885">4885</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;display_profile != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4886"><td class="num" id="LN4886">4886</td><td class="line"> cmsCloseProfile (priv-&gt;display_profile);</td></tr>
+<tr class="codeline" data-linenumber="4887"><td class="num" id="LN4887">4887</td><td class="line"> priv-&gt;display_profile = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4888"><td class="num" id="LN4888">4888</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4889"><td class="num" id="LN4889">4889</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="4890"><td class="num" id="LN4890">4890</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4891"><td class="num" id="LN4891">4891</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;last_save_as_folder != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4892"><td class="num" id="LN4892">4892</td><td class="line"> g_object_unref (priv-&gt;last_save_as_folder);</td></tr>
+<tr class="codeline" data-linenumber="4893"><td class="num" id="LN4893">4893</td><td class="line"> priv-&gt;last_save_as_folder = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4894"><td class="num" id="LN4894">4894</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4895"><td class="num" id="LN4895">4895</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4896"><td class="num" id="LN4896">4896</td><td class="line"> peas_engine_garbage_collect (<span class='macro'>PEAS_ENGINE (EOM_APP-&gt;priv-&gt;plugin_engine)<span class='macro_popup'>((((PeasEngine*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ())-&gt;priv-&gt;plugin_engine<br>)), ((peas_engine_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4897"><td class="num" id="LN4897">4897</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4898"><td class="num" id="LN4898">4898</td><td class="line"> <span class='macro'>G_OBJECT_CLASS (eom_window_parent_class)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_window_parent_class)), (((GType) ((20) &lt;&lt; (2))<br>))))))</span></span>-&gt;dispose (object);</td></tr>
+<tr class="codeline" data-linenumber="4899"><td class="num" id="LN4899">4899</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4900"><td class="num" id="LN4900">4900</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4901"><td class="num" id="LN4901">4901</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="4902"><td class="num" id="LN4902">4902</td><td class="line">eom_window_delete (GtkWidget *widget, GdkEventAny *event)</td></tr>
+<tr class="codeline" data-linenumber="4903"><td class="num" id="LN4903">4903</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4904"><td class="num" id="LN4904">4904</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="4905"><td class="num" id="LN4905">4905</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="4906"><td class="num" id="LN4906">4906</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4907"><td class="num" id="LN4907">4907</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (widget), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((widget)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (widget)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4908"><td class="num" id="LN4908">4908</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4909"><td class="num" id="LN4909">4909</td><td class="line"> window = <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4910"><td class="num" id="LN4910">4910</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="4911"><td class="num" id="LN4911">4911</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4912"><td class="num" id="LN4912">4912</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;save_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4913"><td class="num" id="LN4913">4913</td><td class="line"> eom_window_finish_saving (window);</td></tr>
+<tr class="codeline" data-linenumber="4914"><td class="num" id="LN4914">4914</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4915"><td class="num" id="LN4915">4915</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4916"><td class="num" id="LN4916">4916</td><td class="line"> <span class='keyword'>if</span> (eom_window_unsaved_images_confirm (window)) {</td></tr>
+<tr class="codeline" data-linenumber="4917"><td class="num" id="LN4917">4917</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4918"><td class="num" id="LN4918">4918</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4919"><td class="num" id="LN4919">4919</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4920"><td class="num" id="LN4920">4920</td><td class="line"> gtk_widget_destroy (widget);</td></tr>
+<tr class="codeline" data-linenumber="4921"><td class="num" id="LN4921">4921</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4922"><td class="num" id="LN4922">4922</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4923"><td class="num" id="LN4923">4923</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4924"><td class="num" id="LN4924">4924</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4925"><td class="num" id="LN4925">4925</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="4926"><td class="num" id="LN4926">4926</td><td class="line">eom_window_key_press (GtkWidget *widget, GdkEventKey *event)</td></tr>
+<tr class="codeline" data-linenumber="4927"><td class="num" id="LN4927">4927</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4928"><td class="num" id="LN4928">4928</td><td class="line"> GtkContainer *tbcontainer = <span class='macro'>GTK_CONTAINER ((EOM_WINDOW (widget)-&gt;priv-&gt;toolbar))<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;toolbar<br>))), ((gtk_container_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4929"><td class="num" id="LN4929">4929</td><td class="line"> gint result = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4930"><td class="num" id="LN4930">4930</td><td class="line"> gboolean handle_selection = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4931"><td class="num" id="LN4931">4931</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4932"><td class="num" id="LN4932">4932</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;keyval) {</td></tr>
+<tr class="codeline" data-linenumber="4933"><td class="num" id="LN4933">4933</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_space<span class='macro_popup'>0x020</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4934"><td class="num" id="LN4934">4934</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_CONTROL_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="4935"><td class="num" id="LN4935">4935</td><td class="line"> handle_selection = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4936"><td class="num" id="LN4936">4936</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4937"><td class="num" id="LN4937">4937</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4938"><td class="num" id="LN4938">4938</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Return<span class='macro_popup'>0xff0d</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4939"><td class="num" id="LN4939">4939</td><td class="line"> <span class='keyword'>if</span> (gtk_container_get_focus_child (tbcontainer) == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4940"><td class="num" id="LN4940">4940</td><td class="line"> <span class='comment'>/* Image properties dialog case */</span></td></tr>
+<tr class="codeline" data-linenumber="4941"><td class="num" id="LN4941">4941</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_MOD1_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="4942"><td class="num" id="LN4942">4942</td><td class="line"> result = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4943"><td class="num" id="LN4943">4943</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4944"><td class="num" id="LN4944">4944</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4945"><td class="num" id="LN4945">4945</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4946"><td class="num" id="LN4946">4946</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_SHIFT_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="4947"><td class="num" id="LN4947">4947</td><td class="line"> eom_window_cmd_go_prev (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4948"><td class="num" id="LN4948">4948</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4949"><td class="num" id="LN4949">4949</td><td class="line"> eom_window_cmd_go_next (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4950"><td class="num" id="LN4950">4950</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4951"><td class="num" id="LN4951">4951</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4952"><td class="num" id="LN4952">4952</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4953"><td class="num" id="LN4953">4953</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4954"><td class="num" id="LN4954">4954</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_p<span class='macro_popup'>0x070</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4955"><td class="num" id="LN4955">4955</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_P<span class='macro_popup'>0x050</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4956"><td class="num" id="LN4956">4956</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;mode == EOM_WINDOW_MODE_FULLSCREEN || <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW) {</td></tr>
+<tr class="codeline" data-linenumber="4957"><td class="num" id="LN4957">4957</td><td class="line"> gboolean slideshow;</td></tr>
+<tr class="codeline" data-linenumber="4958"><td class="num" id="LN4958">4958</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4959"><td class="num" id="LN4959">4959</td><td class="line"> slideshow = <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW;</td></tr>
+<tr class="codeline" data-linenumber="4960"><td class="num" id="LN4960">4960</td><td class="line"> eom_window_run_fullscreen (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>, !slideshow);</td></tr>
+<tr class="codeline" data-linenumber="4961"><td class="num" id="LN4961">4961</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4962"><td class="num" id="LN4962">4962</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4963"><td class="num" id="LN4963">4963</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Q<span class='macro_popup'>0x051</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4964"><td class="num" id="LN4964">4964</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_q<span class='macro_popup'>0x071</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4965"><td class="num" id="LN4965">4965</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Escape<span class='macro_popup'>0xff1b</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4966"><td class="num" id="LN4966">4966</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;mode == EOM_WINDOW_MODE_FULLSCREEN) {</td></tr>
+<tr class="codeline" data-linenumber="4967"><td class="num" id="LN4967">4967</td><td class="line"> eom_window_stop_fullscreen (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4968"><td class="num" id="LN4968">4968</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW) {</td></tr>
+<tr class="codeline" data-linenumber="4969"><td class="num" id="LN4969">4969</td><td class="line"> eom_window_stop_fullscreen (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4970"><td class="num" id="LN4970">4970</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4971"><td class="num" id="LN4971">4971</td><td class="line"> eom_window_cmd_close_window (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4972"><td class="num" id="LN4972">4972</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4973"><td class="num" id="LN4973">4973</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4974"><td class="num" id="LN4974">4974</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4975"><td class="num" id="LN4975">4975</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Left<span class='macro_popup'>0xff51</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4976"><td class="num" id="LN4976">4976</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_MOD1_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="4977"><td class="num" id="LN4977">4977</td><td class="line"> <span class='comment'>/* Alt+Left moves to previous image */</span></td></tr>
+<tr class="codeline" data-linenumber="4978"><td class="num" id="LN4978">4978</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>is_rtl<span class='macro_popup'>(gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL)</span></span>) { <span class='comment'>/* move to next in RTL mode */</span></td></tr>
+<tr class="codeline" data-linenumber="4979"><td class="num" id="LN4979">4979</td><td class="line"> eom_window_cmd_go_next (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4980"><td class="num" id="LN4980">4980</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4981"><td class="num" id="LN4981">4981</td><td class="line"> eom_window_cmd_go_prev (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4982"><td class="num" id="LN4982">4982</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4983"><td class="num" id="LN4983">4983</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4984"><td class="num" id="LN4984">4984</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4985"><td class="num" id="LN4985">4985</td><td class="line"> } <span class='comment'>/* else fall-trough is intended */</span></td></tr>
+<tr class="codeline" data-linenumber="4986"><td class="num" id="LN4986">4986</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Up<span class='macro_popup'>0xff52</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4987"><td class="num" id="LN4987">4987</td><td class="line"> <span class='keyword'>if</span> (eom_scroll_view_scrollbars_visible (<span class='macro'>EOM_SCROLL_VIEW (EOM_WINDOW (widget)-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;view<br>)), ((eom_scroll_view_get_type ()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="4988"><td class="num" id="LN4988">4988</td><td class="line"> <span class='comment'>/* break to let scrollview handle the key */</span></td></tr>
+<tr class="codeline" data-linenumber="4989"><td class="num" id="LN4989">4989</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4990"><td class="num" id="LN4990">4990</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4991"><td class="num" id="LN4991">4991</td><td class="line"> <span class='keyword'>if</span> (gtk_container_get_focus_child (tbcontainer) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4992"><td class="num" id="LN4992">4992</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4993"><td class="num" id="LN4993">4993</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_visible (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;nav)) {</td></tr>
+<tr class="codeline" data-linenumber="4994"><td class="num" id="LN4994">4994</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>is_rtl<span class='macro_popup'>(gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL)</span></span> &amp;&amp; event-&gt;keyval == <span class='macro'>GDK_KEY_Left<span class='macro_popup'>0xff51</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4995"><td class="num" id="LN4995">4995</td><td class="line"> <span class='comment'>/* handle RTL fall-through,</span></td></tr>
+<tr class="codeline" data-linenumber="4996"><td class="num" id="LN4996">4996</td><td class="line"> <span class='comment'>* need to behave like GDK_Down then */</span></td></tr>
+<tr class="codeline" data-linenumber="4997"><td class="num" id="LN4997">4997</td><td class="line"> eom_window_cmd_go_next (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4998"><td class="num" id="LN4998">4998</td><td class="line"> <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4999"><td class="num" id="LN4999">4999</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="5000"><td class="num" id="LN5000">5000</td><td class="line"> eom_window_cmd_go_prev (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5001"><td class="num" id="LN5001">5001</td><td class="line"> <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5002"><td class="num" id="LN5002">5002</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5003"><td class="num" id="LN5003">5003</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5004"><td class="num" id="LN5004">5004</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5005"><td class="num" id="LN5005">5005</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5006"><td class="num" id="LN5006">5006</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Right<span class='macro_popup'>0xff53</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="5007"><td class="num" id="LN5007">5007</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_MOD1_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="5008"><td class="num" id="LN5008">5008</td><td class="line"> <span class='comment'>/* Alt+Right moves to next image */</span></td></tr>
+<tr class="codeline" data-linenumber="5009"><td class="num" id="LN5009">5009</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>is_rtl<span class='macro_popup'>(gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL)</span></span>) { <span class='comment'>/* move to previous in RTL mode */</span></td></tr>
+<tr class="codeline" data-linenumber="5010"><td class="num" id="LN5010">5010</td><td class="line"> eom_window_cmd_go_prev (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5011"><td class="num" id="LN5011">5011</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="5012"><td class="num" id="LN5012">5012</td><td class="line"> eom_window_cmd_go_next (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5013"><td class="num" id="LN5013">5013</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5014"><td class="num" id="LN5014">5014</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5015"><td class="num" id="LN5015">5015</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5016"><td class="num" id="LN5016">5016</td><td class="line"> } <span class='comment'>/* else fall-trough is intended */</span></td></tr>
+<tr class="codeline" data-linenumber="5017"><td class="num" id="LN5017">5017</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Down<span class='macro_popup'>0xff54</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="5018"><td class="num" id="LN5018">5018</td><td class="line"> <span class='keyword'>if</span> (eom_scroll_view_scrollbars_visible (<span class='macro'>EOM_SCROLL_VIEW (EOM_WINDOW (widget)-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;view<br>)), ((eom_scroll_view_get_type ()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="5019"><td class="num" id="LN5019">5019</td><td class="line"> <span class='comment'>/* break to let scrollview handle the key */</span></td></tr>
+<tr class="codeline" data-linenumber="5020"><td class="num" id="LN5020">5020</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5021"><td class="num" id="LN5021">5021</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5022"><td class="num" id="LN5022">5022</td><td class="line"> <span class='keyword'>if</span> (gtk_container_get_focus_child (tbcontainer) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5023"><td class="num" id="LN5023">5023</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5024"><td class="num" id="LN5024">5024</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_visible (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;nav)) {</td></tr>
+<tr class="codeline" data-linenumber="5025"><td class="num" id="LN5025">5025</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>is_rtl<span class='macro_popup'>(gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL)</span></span> &amp;&amp; event-&gt;keyval == <span class='macro'>GDK_KEY_Right<span class='macro_popup'>0xff53</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="5026"><td class="num" id="LN5026">5026</td><td class="line"> <span class='comment'>/* handle RTL fall-through,</span></td></tr>
+<tr class="codeline" data-linenumber="5027"><td class="num" id="LN5027">5027</td><td class="line"> <span class='comment'>* need to behave like GDK_Up then */</span></td></tr>
+<tr class="codeline" data-linenumber="5028"><td class="num" id="LN5028">5028</td><td class="line"> eom_window_cmd_go_prev (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5029"><td class="num" id="LN5029">5029</td><td class="line"> <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5030"><td class="num" id="LN5030">5030</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="5031"><td class="num" id="LN5031">5031</td><td class="line"> eom_window_cmd_go_next (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5032"><td class="num" id="LN5032">5032</td><td class="line"> <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5033"><td class="num" id="LN5033">5033</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5034"><td class="num" id="LN5034">5034</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5035"><td class="num" id="LN5035">5035</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5036"><td class="num" id="LN5036">5036</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5037"><td class="num" id="LN5037">5037</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Page_Up<span class='macro_popup'>0xff55</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="5038"><td class="num" id="LN5038">5038</td><td class="line"> <span class='keyword'>if</span> (!eom_scroll_view_scrollbars_visible (<span class='macro'>EOM_SCROLL_VIEW (EOM_WINDOW (widget)-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;view<br>)), ((eom_scroll_view_get_type ()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="5039"><td class="num" id="LN5039">5039</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_visible (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;nav)) {</td></tr>
+<tr class="codeline" data-linenumber="5040"><td class="num" id="LN5040">5040</td><td class="line"> <span class='comment'>/* If the iconview is not visible skip to the</span></td></tr>
+<tr class="codeline" data-linenumber="5041"><td class="num" id="LN5041">5041</td><td class="line"> <span class='comment'>* previous image manually as it won't handle</span></td></tr>
+<tr class="codeline" data-linenumber="5042"><td class="num" id="LN5042">5042</td><td class="line"> <span class='comment'>* the keypress then. */</span></td></tr>
+<tr class="codeline" data-linenumber="5043"><td class="num" id="LN5043">5043</td><td class="line"> eom_window_cmd_go_prev (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5044"><td class="num" id="LN5044">5044</td><td class="line"> <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5045"><td class="num" id="LN5045">5045</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5046"><td class="num" id="LN5046">5046</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5047"><td class="num" id="LN5047">5047</td><td class="line"> handle_selection = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5048"><td class="num" id="LN5048">5048</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5049"><td class="num" id="LN5049">5049</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5050"><td class="num" id="LN5050">5050</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Page_Down<span class='macro_popup'>0xff56</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="5051"><td class="num" id="LN5051">5051</td><td class="line"> <span class='keyword'>if</span> (!eom_scroll_view_scrollbars_visible (<span class='macro'>EOM_SCROLL_VIEW (EOM_WINDOW (widget)-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;view<br>)), ((eom_scroll_view_get_type ()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="5052"><td class="num" id="LN5052">5052</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_visible (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;nav)) {</td></tr>
+<tr class="codeline" data-linenumber="5053"><td class="num" id="LN5053">5053</td><td class="line"> <span class='comment'>/* If the iconview is not visible skip to the</span></td></tr>
+<tr class="codeline" data-linenumber="5054"><td class="num" id="LN5054">5054</td><td class="line"> <span class='comment'>* next image manually as it won't handle</span></td></tr>
+<tr class="codeline" data-linenumber="5055"><td class="num" id="LN5055">5055</td><td class="line"> <span class='comment'>* the keypress then. */</span></td></tr>
+<tr class="codeline" data-linenumber="5056"><td class="num" id="LN5056">5056</td><td class="line"> eom_window_cmd_go_next (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5057"><td class="num" id="LN5057">5057</td><td class="line"> <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5058"><td class="num" id="LN5058">5058</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5059"><td class="num" id="LN5059">5059</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5060"><td class="num" id="LN5060">5060</td><td class="line"> handle_selection = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5061"><td class="num" id="LN5061">5061</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5062"><td class="num" id="LN5062">5062</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5063"><td class="num" id="LN5063">5063</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5064"><td class="num" id="LN5064">5064</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5065"><td class="num" id="LN5065">5065</td><td class="line"> <span class='comment'>/* Update slideshow timeout */</span></td></tr>
+<tr class="codeline" data-linenumber="5066"><td class="num" id="LN5066">5066</td><td class="line"> <span class='keyword'>if</span> (result &amp;&amp; (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW)) {</td></tr>
+<tr class="codeline" data-linenumber="5067"><td class="num" id="LN5067">5067</td><td class="line"> slideshow_set_timeout (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5068"><td class="num" id="LN5068">5068</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5069"><td class="num" id="LN5069">5069</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5070"><td class="num" id="LN5070">5070</td><td class="line"> <span class='keyword'>if</span> (handle_selection == <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span> &amp;&amp; result == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="5071"><td class="num" id="LN5071">5071</td><td class="line"> gtk_widget_grab_focus (<span class='macro'>GTK_WIDGET (EOM_WINDOW (widget)-&gt;priv-&gt;thumbview)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;thumbview<br>)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5072"><td class="num" id="LN5072">5072</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5073"><td class="num" id="LN5073">5073</td><td class="line"> result = gtk_widget_event (<span class='macro'>GTK_WIDGET (EOM_WINDOW (widget)-&gt;priv-&gt;thumbview)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;thumbview<br>)), ((gtk_widget_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5074"><td class="num" id="LN5074">5074</td><td class="line"> (GdkEvent *) event);</td></tr>
+<tr class="codeline" data-linenumber="5075"><td class="num" id="LN5075">5075</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5076"><td class="num" id="LN5076">5076</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5077"><td class="num" id="LN5077">5077</td><td class="line"> <span class='comment'>/* If the focus is not in the toolbar and we still haven't handled the</span></td></tr>
+<tr class="codeline" data-linenumber="5078"><td class="num" id="LN5078">5078</td><td class="line"> <span class='comment'>event, give the scrollview a chance to do it. */</span></td></tr>
+<tr class="codeline" data-linenumber="5079"><td class="num" id="LN5079">5079</td><td class="line"> <span class='keyword'>if</span> (!gtk_container_get_focus_child (tbcontainer) &amp;&amp; result == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="5080"><td class="num" id="LN5080">5080</td><td class="line"> gtk_widget_get_realized (<span class='macro'>GTK_WIDGET (EOM_WINDOW (widget)-&gt;priv-&gt;view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;view<br>)), ((gtk_widget_get_type ()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="5081"><td class="num" id="LN5081">5081</td><td class="line"> result = gtk_widget_event (<span class='macro'>GTK_WIDGET (EOM_WINDOW (widget)-&gt;priv-&gt;view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;view<br>)), ((gtk_widget_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5082"><td class="num" id="LN5082">5082</td><td class="line"> (GdkEvent *) event);</td></tr>
+<tr class="codeline" data-linenumber="5083"><td class="num" id="LN5083">5083</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5084"><td class="num" id="LN5084">5084</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5085"><td class="num" id="LN5085">5085</td><td class="line"> <span class='keyword'>if</span> (result == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span> &amp;&amp; <span class='macro'>GTK_WIDGET_CLASS (eom_window_parent_class)<span class='macro_popup'>((((GtkWidgetClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_window_parent_class)), ((gtk_widget_get_type ())))))<br>)</span></span>-&gt;key_press_event) {</td></tr>
+<tr class="codeline" data-linenumber="5086"><td class="num" id="LN5086">5086</td><td class="line"> result = (* <span class='macro'>GTK_WIDGET_CLASS (eom_window_parent_class)<span class='macro_popup'>((((GtkWidgetClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_window_parent_class)), ((gtk_widget_get_type ())))))<br>)</span></span>-&gt;key_press_event) (widget, event);</td></tr>
+<tr class="codeline" data-linenumber="5087"><td class="num" id="LN5087">5087</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5088"><td class="num" id="LN5088">5088</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5089"><td class="num" id="LN5089">5089</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="5090"><td class="num" id="LN5090">5090</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5091"><td class="num" id="LN5091">5091</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5092"><td class="num" id="LN5092">5092</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="5093"><td class="num" id="LN5093">5093</td><td class="line">eom_window_button_press (GtkWidget *widget, GdkEventButton *event)</td></tr>
+<tr class="codeline" data-linenumber="5094"><td class="num" id="LN5094">5094</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5095"><td class="num" id="LN5095">5095</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5096"><td class="num" id="LN5096">5096</td><td class="line"> gint result = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5097"><td class="num" id="LN5097">5097</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5098"><td class="num" id="LN5098">5098</td><td class="line"> <span class='keyword'>if</span> (event-&gt;type == GDK_BUTTON_PRESS) {</td></tr>
+<tr class="codeline" data-linenumber="5099"><td class="num" id="LN5099">5099</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;button) {</td></tr>
+<tr class="codeline" data-linenumber="5100"><td class="num" id="LN5100">5100</td><td class="line"> <span class='keyword'>case</span> 6:</td></tr>
+<tr class="codeline" data-linenumber="5101"><td class="num" id="LN5101">5101</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (window-&gt;priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;thumbview)), ((eom_thumb_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5102"><td class="num" id="LN5102">5102</td><td class="line"> EOM_THUMB_VIEW_SELECT_LEFT);</td></tr>
+<tr class="codeline" data-linenumber="5103"><td class="num" id="LN5103">5103</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5104"><td class="num" id="LN5104">5104</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5105"><td class="num" id="LN5105">5105</td><td class="line"> <span class='keyword'>case</span> 7:</td></tr>
+<tr class="codeline" data-linenumber="5106"><td class="num" id="LN5106">5106</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (window-&gt;priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;thumbview)), ((eom_thumb_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5107"><td class="num" id="LN5107">5107</td><td class="line"> EOM_THUMB_VIEW_SELECT_RIGHT);</td></tr>
+<tr class="codeline" data-linenumber="5108"><td class="num" id="LN5108">5108</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5109"><td class="num" id="LN5109">5109</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5110"><td class="num" id="LN5110">5110</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5111"><td class="num" id="LN5111">5111</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5112"><td class="num" id="LN5112">5112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5113"><td class="num" id="LN5113">5113</td><td class="line"> <span class='keyword'>if</span> (result == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span> &amp;&amp; <span class='macro'>GTK_WIDGET_CLASS (eom_window_parent_class)<span class='macro_popup'>((((GtkWidgetClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_window_parent_class)), ((gtk_widget_get_type ())))))<br>)</span></span>-&gt;button_press_event) {</td></tr>
+<tr class="codeline" data-linenumber="5114"><td class="num" id="LN5114">5114</td><td class="line"> result = (* <span class='macro'>GTK_WIDGET_CLASS (eom_window_parent_class)<span class='macro_popup'>((((GtkWidgetClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_window_parent_class)), ((gtk_widget_get_type ())))))<br>)</span></span>-&gt;button_press_event) (widget, event);</td></tr>
+<tr class="codeline" data-linenumber="5115"><td class="num" id="LN5115">5115</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5116"><td class="num" id="LN5116">5116</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5117"><td class="num" id="LN5117">5117</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="5118"><td class="num" id="LN5118">5118</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5119"><td class="num" id="LN5119">5119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5120"><td class="num" id="LN5120">5120</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="5121"><td class="num" id="LN5121">5121</td><td class="line">eom_window_focus_out_event (GtkWidget *widget, GdkEventFocus *event)</td></tr>
+<tr class="codeline" data-linenumber="5122"><td class="num" id="LN5122">5122</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5123"><td class="num" id="LN5123">5123</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5124"><td class="num" id="LN5124">5124</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="5125"><td class="num" id="LN5125">5125</td><td class="line"> gboolean fullscreen;</td></tr>
+<tr class="codeline" data-linenumber="5126"><td class="num" id="LN5126">5126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5127"><td class="num" id="LN5127">5127</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 5127, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5128"><td class="num" id="LN5128">5128</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5129"><td class="num" id="LN5129">5129</td><td class="line"> fullscreen = priv-&gt;mode == EOM_WINDOW_MODE_FULLSCREEN ||</td></tr>
+<tr class="codeline" data-linenumber="5130"><td class="num" id="LN5130">5130</td><td class="line"> priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW;</td></tr>
+<tr class="codeline" data-linenumber="5131"><td class="num" id="LN5131">5131</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5132"><td class="num" id="LN5132">5132</td><td class="line"> <span class='keyword'>if</span> (fullscreen) {</td></tr>
+<tr class="codeline" data-linenumber="5133"><td class="num" id="LN5133">5133</td><td class="line"> gtk_widget_hide (priv-&gt;fullscreen_popup);</td></tr>
+<tr class="codeline" data-linenumber="5134"><td class="num" id="LN5134">5134</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5135"><td class="num" id="LN5135">5135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5136"><td class="num" id="LN5136">5136</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>GTK_WIDGET_CLASS (eom_window_parent_class)<span class='macro_popup'>((((GtkWidgetClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_window_parent_class)), ((gtk_widget_get_type ())))))<br>)</span></span>-&gt;focus_out_event (widget, event);</td></tr>
+<tr class="codeline" data-linenumber="5137"><td class="num" id="LN5137">5137</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5138"><td class="num" id="LN5138">5138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5139"><td class="num" id="LN5139">5139</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5140"><td class="num" id="LN5140">5140</td><td class="line">eom_window_set_property (GObject *object,</td></tr>
+<tr class="codeline" data-linenumber="5141"><td class="num" id="LN5141">5141</td><td class="line"> guint property_id,</td></tr>
+<tr class="codeline" data-linenumber="5142"><td class="num" id="LN5142">5142</td><td class="line"> <span class='keyword'>const</span> GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="5143"><td class="num" id="LN5143">5143</td><td class="line"> GParamSpec *pspec)</td></tr>
+<tr class="codeline" data-linenumber="5144"><td class="num" id="LN5144">5144</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5145"><td class="num" id="LN5145">5145</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="5146"><td class="num" id="LN5146">5146</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="5147"><td class="num" id="LN5147">5147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5148"><td class="num" id="LN5148">5148</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (object))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((object)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (object)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5149"><td class="num" id="LN5149">5149</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5150"><td class="num" id="LN5150">5150</td><td class="line"> window = <span class='macro'>EOM_WINDOW (object)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5151"><td class="num" id="LN5151">5151</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="5152"><td class="num" id="LN5152">5152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5153"><td class="num" id="LN5153">5153</td><td class="line"> <span class='keyword'>switch</span> (property_id) {</td></tr>
+<tr class="codeline" data-linenumber="5154"><td class="num" id="LN5154">5154</td><td class="line"> <span class='keyword'>case</span> PROP_COLLECTION_POS:</td></tr>
+<tr class="codeline" data-linenumber="5155"><td class="num" id="LN5155">5155</td><td class="line"> eom_window_set_collection_mode (window, g_value_get_enum (value),</td></tr>
+<tr class="codeline" data-linenumber="5156"><td class="num" id="LN5156">5156</td><td class="line"> priv-&gt;collection_resizable);</td></tr>
+<tr class="codeline" data-linenumber="5157"><td class="num" id="LN5157">5157</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5158"><td class="num" id="LN5158">5158</td><td class="line"> <span class='keyword'>case</span> PROP_COLLECTION_RESIZABLE:</td></tr>
+<tr class="codeline" data-linenumber="5159"><td class="num" id="LN5159">5159</td><td class="line"> eom_window_set_collection_mode (window, priv-&gt;collection_position,</td></tr>
+<tr class="codeline" data-linenumber="5160"><td class="num" id="LN5160">5160</td><td class="line"> g_value_get_boolean (value));</td></tr>
+<tr class="codeline" data-linenumber="5161"><td class="num" id="LN5161">5161</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5162"><td class="num" id="LN5162">5162</td><td class="line"> <span class='keyword'>case</span> PROP_STARTUP_FLAGS:</td></tr>
+<tr class="codeline" data-linenumber="5163"><td class="num" id="LN5163">5163</td><td class="line"> priv-&gt;flags = g_value_get_flags (value);</td></tr>
+<tr class="codeline" data-linenumber="5164"><td class="num" id="LN5164">5164</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5165"><td class="num" id="LN5165">5165</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5166"><td class="num" id="LN5166">5166</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="5167"><td class="num" id="LN5167">5167</td><td class="line"> <span class='macro'>G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec)<span class='macro_popup'>do { GObject *_glib__object = (GObject*) ((object)); GParamSpec<br> *_glib__pspec = (GParamSpec*) ((pspec)); guint _glib__property_id<br> = ((property_id)); g_warning ("%s:%d: invalid %s id %u for \"%s\" of type '%s' in '%s'"<br>, "eom-window.c", 5167, ("property"), _glib__property_id, _glib__pspec<br>-&gt;name, g_type_name ((((((GTypeClass*) (((GTypeInstance*) (<br>_glib__pspec))-&gt;g_class))-&gt;g_type)))), (g_type_name (((<br>(((GTypeClass*) (((GTypeInstance*) (_glib__object))-&gt;g_class<br>))-&gt;g_type)))))); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5168"><td class="num" id="LN5168">5168</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5169"><td class="num" id="LN5169">5169</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5170"><td class="num" id="LN5170">5170</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5171"><td class="num" id="LN5171">5171</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5172"><td class="num" id="LN5172">5172</td><td class="line">eom_window_get_property (GObject *object,</td></tr>
+<tr class="codeline" data-linenumber="5173"><td class="num" id="LN5173">5173</td><td class="line"> guint property_id,</td></tr>
+<tr class="codeline" data-linenumber="5174"><td class="num" id="LN5174">5174</td><td class="line"> GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="5175"><td class="num" id="LN5175">5175</td><td class="line"> GParamSpec *pspec)</td></tr>
+<tr class="codeline" data-linenumber="5176"><td class="num" id="LN5176">5176</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5177"><td class="num" id="LN5177">5177</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="5178"><td class="num" id="LN5178">5178</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="5179"><td class="num" id="LN5179">5179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5180"><td class="num" id="LN5180">5180</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (object))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((object)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (object)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5181"><td class="num" id="LN5181">5181</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5182"><td class="num" id="LN5182">5182</td><td class="line"> window = <span class='macro'>EOM_WINDOW (object)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5183"><td class="num" id="LN5183">5183</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="5184"><td class="num" id="LN5184">5184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5185"><td class="num" id="LN5185">5185</td><td class="line"> <span class='keyword'>switch</span> (property_id) {</td></tr>
+<tr class="codeline" data-linenumber="5186"><td class="num" id="LN5186">5186</td><td class="line"> <span class='keyword'>case</span> PROP_COLLECTION_POS:</td></tr>
+<tr class="codeline" data-linenumber="5187"><td class="num" id="LN5187">5187</td><td class="line"> g_value_set_enum (value, priv-&gt;collection_position);</td></tr>
+<tr class="codeline" data-linenumber="5188"><td class="num" id="LN5188">5188</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5189"><td class="num" id="LN5189">5189</td><td class="line"> <span class='keyword'>case</span> PROP_COLLECTION_RESIZABLE:</td></tr>
+<tr class="codeline" data-linenumber="5190"><td class="num" id="LN5190">5190</td><td class="line"> g_value_set_boolean (value, priv-&gt;collection_resizable);</td></tr>
+<tr class="codeline" data-linenumber="5191"><td class="num" id="LN5191">5191</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5192"><td class="num" id="LN5192">5192</td><td class="line"> <span class='keyword'>case</span> PROP_STARTUP_FLAGS:</td></tr>
+<tr class="codeline" data-linenumber="5193"><td class="num" id="LN5193">5193</td><td class="line"> g_value_set_flags (value, priv-&gt;flags);</td></tr>
+<tr class="codeline" data-linenumber="5194"><td class="num" id="LN5194">5194</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5195"><td class="num" id="LN5195">5195</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5196"><td class="num" id="LN5196">5196</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="5197"><td class="num" id="LN5197">5197</td><td class="line"> <span class='macro'>G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec)<span class='macro_popup'>do { GObject *_glib__object = (GObject*) ((object)); GParamSpec<br> *_glib__pspec = (GParamSpec*) ((pspec)); guint _glib__property_id<br> = ((property_id)); g_warning ("%s:%d: invalid %s id %u for \"%s\" of type '%s' in '%s'"<br>, "eom-window.c", 5197, ("property"), _glib__property_id, _glib__pspec<br>-&gt;name, g_type_name ((((((GTypeClass*) (((GTypeInstance*) (<br>_glib__pspec))-&gt;g_class))-&gt;g_type)))), (g_type_name (((<br>(((GTypeClass*) (((GTypeInstance*) (_glib__object))-&gt;g_class<br>))-&gt;g_type)))))); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5198"><td class="num" id="LN5198">5198</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5199"><td class="num" id="LN5199">5199</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5200"><td class="num" id="LN5200">5200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5201"><td class="num" id="LN5201">5201</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5202"><td class="num" id="LN5202">5202</td><td class="line">on_extension_added (PeasExtensionSet *set,</td></tr>
+<tr class="codeline" data-linenumber="5203"><td class="num" id="LN5203">5203</td><td class="line"> PeasPluginInfo *info,</td></tr>
+<tr class="codeline" data-linenumber="5204"><td class="num" id="LN5204">5204</td><td class="line"> PeasExtension *exten,</td></tr>
+<tr class="codeline" data-linenumber="5205"><td class="num" id="LN5205">5205</td><td class="line"> GtkWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5206"><td class="num" id="LN5206">5206</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5207"><td class="num" id="LN5207">5207</td><td class="line"> peas_extension_call (exten, <span class='string_literal'>"activate"</span>, window);</td></tr>
+<tr class="codeline" data-linenumber="5208"><td class="num" id="LN5208">5208</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5209"><td class="num" id="LN5209">5209</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5210"><td class="num" id="LN5210">5210</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5211"><td class="num" id="LN5211">5211</td><td class="line">on_extension_removed (PeasExtensionSet *set,</td></tr>
+<tr class="codeline" data-linenumber="5212"><td class="num" id="LN5212">5212</td><td class="line"> PeasPluginInfo *info,</td></tr>
+<tr class="codeline" data-linenumber="5213"><td class="num" id="LN5213">5213</td><td class="line"> PeasExtension *exten,</td></tr>
+<tr class="codeline" data-linenumber="5214"><td class="num" id="LN5214">5214</td><td class="line"> GtkWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5215"><td class="num" id="LN5215">5215</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5216"><td class="num" id="LN5216">5216</td><td class="line"> peas_extension_call (exten, <span class='string_literal'>"deactivate"</span>, window);</td></tr>
+<tr class="codeline" data-linenumber="5217"><td class="num" id="LN5217">5217</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5218"><td class="num" id="LN5218">5218</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5219"><td class="num" id="LN5219">5219</td><td class="line"><span class='keyword'>static</span> GObject *</td></tr>
+<tr class="codeline" data-linenumber="5220"><td class="num" id="LN5220">5220</td><td class="line">eom_window_constructor (GType type,</td></tr>
+<tr class="codeline" data-linenumber="5221"><td class="num" id="LN5221">5221</td><td class="line"> guint n_construct_properties,</td></tr>
+<tr class="codeline" data-linenumber="5222"><td class="num" id="LN5222">5222</td><td class="line"> GObjectConstructParam *construct_params)</td></tr>
+<tr class="codeline" data-linenumber="5223"><td class="num" id="LN5223">5223</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5224"><td class="num" id="LN5224">5224</td><td class="line"> GObject *object;</td></tr>
+<tr class="codeline" data-linenumber="5225"><td class="num" id="LN5225">5225</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="5226"><td class="num" id="LN5226">5226</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5227"><td class="num" id="LN5227">5227</td><td class="line"> object = <span class='macro'>G_OBJECT_CLASS (eom_window_parent_class)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_window_parent_class)), (((GType) ((20) &lt;&lt; (2))<br>))))))</span></span>-&gt;constructor</td></tr>
+<tr class="codeline" data-linenumber="5228"><td class="num" id="LN5228">5228</td><td class="line"> (type, n_construct_properties, construct_params);</td></tr>
+<tr class="codeline" data-linenumber="5229"><td class="num" id="LN5229">5229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5230"><td class="num" id="LN5230">5230</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (object)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="5231"><td class="num" id="LN5231">5231</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5232"><td class="num" id="LN5232">5232</td><td class="line"> eom_window_construct_ui (<span class='macro'>EOM_WINDOW (object)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5233"><td class="num" id="LN5233">5233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5234"><td class="num" id="LN5234">5234</td><td class="line"> priv-&gt;extensions = peas_extension_set_new (<span class='macro'>PEAS_ENGINE (EOM_APP-&gt;priv-&gt;plugin_engine)<span class='macro_popup'>((((PeasEngine*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ())-&gt;priv-&gt;plugin_engine<br>)), ((peas_engine_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5235"><td class="num" id="LN5235">5235</td><td class="line"> <span class='macro'>EOM_TYPE_WINDOW_ACTIVATABLE<span class='macro_popup'>(eom_window_activatable_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5236"><td class="num" id="LN5236">5236</td><td class="line"> <span class='string_literal'>"window"</span>,</td></tr>
+<tr class="codeline" data-linenumber="5237"><td class="num" id="LN5237">5237</td><td class="line"> <span class='macro'>EOM_WINDOW (object)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_window_get_type ()))))))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5238"><td class="num" id="LN5238">5238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5239"><td class="num" id="LN5239">5239</td><td class="line"> peas_extension_set_call (priv-&gt;extensions, <span class='string_literal'>"activate"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5240"><td class="num" id="LN5240">5240</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5241"><td class="num" id="LN5241">5241</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;extensions, <span class='string_literal'>"extension-added"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;extensions), ("extension-added"<br>), (((GCallback) (on_extension_added))), (object), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5242"><td class="num" id="LN5242">5242</td><td class="line"> <span class='macro'>G_CALLBACK (on_extension_added),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;extensions), ("extension-added"<br>), (((GCallback) (on_extension_added))), (object), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5243"><td class="num" id="LN5243">5243</td><td class="line"> <span class='macro'>object)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;extensions), ("extension-added"<br>), (((GCallback) (on_extension_added))), (object), ((void*)0)<br>, (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5244"><td class="num" id="LN5244">5244</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;extensions, <span class='string_literal'>"extension-removed"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;extensions), ("extension-removed"<br>), (((GCallback) (on_extension_removed))), (object), ((void*)<br>0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5245"><td class="num" id="LN5245">5245</td><td class="line"> <span class='macro'>G_CALLBACK (on_extension_removed),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;extensions), ("extension-removed"<br>), (((GCallback) (on_extension_removed))), (object), ((void*)<br>0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5246"><td class="num" id="LN5246">5246</td><td class="line"> <span class='macro'>object)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;extensions), ("extension-removed"<br>), (((GCallback) (on_extension_removed))), (object), ((void*)<br>0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5247"><td class="num" id="LN5247">5247</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5248"><td class="num" id="LN5248">5248</td><td class="line"> <span class='keyword'>return</span> object;</td></tr>
+<tr class="codeline" data-linenumber="5249"><td class="num" id="LN5249">5249</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5250"><td class="num" id="LN5250">5250</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5251"><td class="num" id="LN5251">5251</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5252"><td class="num" id="LN5252">5252</td><td class="line">eom_window_class_init (EomWindowClass *class)</td></tr>
+<tr class="codeline" data-linenumber="5253"><td class="num" id="LN5253">5253</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5254"><td class="num" id="LN5254">5254</td><td class="line"> GObjectClass *g_object_class = (GObjectClass *) class;</td></tr>
+<tr class="codeline" data-linenumber="5255"><td class="num" id="LN5255">5255</td><td class="line"> GtkWidgetClass *widget_class = (GtkWidgetClass *) class;</td></tr>
+<tr class="codeline" data-linenumber="5256"><td class="num" id="LN5256">5256</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5257"><td class="num" id="LN5257">5257</td><td class="line"> g_object_class-&gt;constructor = eom_window_constructor;</td></tr>
+<tr class="codeline" data-linenumber="5258"><td class="num" id="LN5258">5258</td><td class="line"> g_object_class-&gt;dispose = eom_window_dispose;</td></tr>
+<tr class="codeline" data-linenumber="5259"><td class="num" id="LN5259">5259</td><td class="line"> g_object_class-&gt;set_property = eom_window_set_property;</td></tr>
+<tr class="codeline" data-linenumber="5260"><td class="num" id="LN5260">5260</td><td class="line"> g_object_class-&gt;get_property = eom_window_get_property;</td></tr>
+<tr class="codeline" data-linenumber="5261"><td class="num" id="LN5261">5261</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5262"><td class="num" id="LN5262">5262</td><td class="line"> widget_class-&gt;delete_event = eom_window_delete;</td></tr>
+<tr class="codeline" data-linenumber="5263"><td class="num" id="LN5263">5263</td><td class="line"> widget_class-&gt;key_press_event = eom_window_key_press;</td></tr>
+<tr class="codeline" data-linenumber="5264"><td class="num" id="LN5264">5264</td><td class="line"> widget_class-&gt;button_press_event = eom_window_button_press;</td></tr>
+<tr class="codeline" data-linenumber="5265"><td class="num" id="LN5265">5265</td><td class="line"> widget_class-&gt;drag_data_received = eom_window_drag_data_received;</td></tr>
+<tr class="codeline" data-linenumber="5266"><td class="num" id="LN5266">5266</td><td class="line"> widget_class-&gt;focus_out_event = eom_window_focus_out_event;</td></tr>
+<tr class="codeline" data-linenumber="5267"><td class="num" id="LN5267">5267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5268"><td class="num" id="LN5268">5268</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5269"><td class="num" id="LN5269">5269</td><td class="line"> <span class='comment'>* EomWindow:collection-position:</span></td></tr>
+<tr class="codeline" data-linenumber="5270"><td class="num" id="LN5270">5270</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5271"><td class="num" id="LN5271">5271</td><td class="line"> <span class='comment'>* Determines the position of the image collection in the window</span></td></tr>
+<tr class="codeline" data-linenumber="5272"><td class="num" id="LN5272">5272</td><td class="line"> <span class='comment'>* relative to the image.</span></td></tr>
+<tr class="codeline" data-linenumber="5273"><td class="num" id="LN5273">5273</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="5274"><td class="num" id="LN5274">5274</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="5275"><td class="num" id="LN5275">5275</td><td class="line"> g_object_class, PROP_COLLECTION_POS,</td></tr>
+<tr class="codeline" data-linenumber="5276"><td class="num" id="LN5276">5276</td><td class="line"> g_param_spec_enum (<span class='string_literal'>"collection-position"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5277"><td class="num" id="LN5277">5277</td><td class="line"> <span class='macro'>EOM_TYPE_WINDOW_COLLECTION_POS<span class='macro_popup'>(eom_window_collection_pos_get_type())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5278"><td class="num" id="LN5278">5278</td><td class="line"> EOM_WINDOW_COLLECTION_POS_BOTTOM,</td></tr>
+<tr class="codeline" data-linenumber="5279"><td class="num" id="LN5279">5279</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="5280"><td class="num" id="LN5280">5280</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5281"><td class="num" id="LN5281">5281</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5282"><td class="num" id="LN5282">5282</td><td class="line"> <span class='comment'>* EomWindow:collection-resizable:</span></td></tr>
+<tr class="codeline" data-linenumber="5283"><td class="num" id="LN5283">5283</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5284"><td class="num" id="LN5284">5284</td><td class="line"> <span class='comment'>* If %TRUE the collection will be resizable by the user otherwise it will be</span></td></tr>
+<tr class="codeline" data-linenumber="5285"><td class="num" id="LN5285">5285</td><td class="line"> <span class='comment'>* in single column/row mode.</span></td></tr>
+<tr class="codeline" data-linenumber="5286"><td class="num" id="LN5286">5286</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="5287"><td class="num" id="LN5287">5287</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="5288"><td class="num" id="LN5288">5288</td><td class="line"> g_object_class, PROP_COLLECTION_RESIZABLE,</td></tr>
+<tr class="codeline" data-linenumber="5289"><td class="num" id="LN5289">5289</td><td class="line"> g_param_spec_boolean (<span class='string_literal'>"collection-resizable"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5290"><td class="num" id="LN5290">5290</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="5291"><td class="num" id="LN5291">5291</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5292"><td class="num" id="LN5292">5292</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5293"><td class="num" id="LN5293">5293</td><td class="line"> <span class='comment'>* EomWindow:startup-flags:</span></td></tr>
+<tr class="codeline" data-linenumber="5294"><td class="num" id="LN5294">5294</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5295"><td class="num" id="LN5295">5295</td><td class="line"> <span class='comment'>* A bitwise OR of #EomStartupFlags elements, indicating how the window</span></td></tr>
+<tr class="codeline" data-linenumber="5296"><td class="num" id="LN5296">5296</td><td class="line"> <span class='comment'>* should behave upon creation.</span></td></tr>
+<tr class="codeline" data-linenumber="5297"><td class="num" id="LN5297">5297</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="5298"><td class="num" id="LN5298">5298</td><td class="line"> g_object_class_install_property (g_object_class,</td></tr>
+<tr class="codeline" data-linenumber="5299"><td class="num" id="LN5299">5299</td><td class="line"> PROP_STARTUP_FLAGS,</td></tr>
+<tr class="codeline" data-linenumber="5300"><td class="num" id="LN5300">5300</td><td class="line"> g_param_spec_flags (<span class='string_literal'>"startup-flags"</span>,</td></tr>
+<tr class="codeline" data-linenumber="5301"><td class="num" id="LN5301">5301</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5302"><td class="num" id="LN5302">5302</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5303"><td class="num" id="LN5303">5303</td><td class="line"> <span class='macro'>EOM_TYPE_STARTUP_FLAGS<span class='macro_popup'>(eom_startup_flags_get_type())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5304"><td class="num" id="LN5304">5304</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="5305"><td class="num" id="LN5305">5305</td><td class="line"> G_PARAM_READWRITE |</td></tr>
+<tr class="codeline" data-linenumber="5306"><td class="num" id="LN5306">5306</td><td class="line"> G_PARAM_CONSTRUCT_ONLY));</td></tr>
+<tr class="codeline" data-linenumber="5307"><td class="num" id="LN5307">5307</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5308"><td class="num" id="LN5308">5308</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5309"><td class="num" id="LN5309">5309</td><td class="line"> <span class='comment'>* EomWindow::prepared:</span></td></tr>
+<tr class="codeline" data-linenumber="5310"><td class="num" id="LN5310">5310</td><td class="line"> <span class='comment'>* @window: the object which received the signal.</span></td></tr>
+<tr class="codeline" data-linenumber="5311"><td class="num" id="LN5311">5311</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5312"><td class="num" id="LN5312">5312</td><td class="line"> <span class='comment'>* The #EomWindow::prepared signal is emitted when the @window is ready</span></td></tr>
+<tr class="codeline" data-linenumber="5313"><td class="num" id="LN5313">5313</td><td class="line"> <span class='comment'>* to be shown.</span></td></tr>
+<tr class="codeline" data-linenumber="5314"><td class="num" id="LN5314">5314</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="5315"><td class="num" id="LN5315">5315</td><td class="line"> signals [SIGNAL_PREPARED] =</td></tr>
+<tr class="codeline" data-linenumber="5316"><td class="num" id="LN5316">5316</td><td class="line"> g_signal_new (<span class='string_literal'>"prepared"</span>,</td></tr>
+<tr class="codeline" data-linenumber="5317"><td class="num" id="LN5317">5317</td><td class="line"> <span class='macro'>EOM_TYPE_WINDOW<span class='macro_popup'>(eom_window_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5318"><td class="num" id="LN5318">5318</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="5319"><td class="num" id="LN5319">5319</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (EomWindowClass, prepared)<span class='macro_popup'>((glong) __builtin_offsetof(EomWindowClass, prepared))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5320"><td class="num" id="LN5320">5320</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5321"><td class="num" id="LN5321">5321</td><td class="line"> g_cclosure_marshal_VOID__VOID,</td></tr>
+<tr class="codeline" data-linenumber="5322"><td class="num" id="LN5322">5322</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5323"><td class="num" id="LN5323">5323</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5324"><td class="num" id="LN5324">5324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5325"><td class="num" id="LN5325">5325</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5326"><td class="num" id="LN5326">5326</td><td class="line"> <span class='comment'>* eom_window_new:</span></td></tr>
+<tr class="codeline" data-linenumber="5327"><td class="num" id="LN5327">5327</td><td class="line"> <span class='comment'>* @flags: the initialization parameters for the new window.</span></td></tr>
+<tr class="codeline" data-linenumber="5328"><td class="num" id="LN5328">5328</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5329"><td class="num" id="LN5329">5329</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5330"><td class="num" id="LN5330">5330</td><td class="line"> <span class='comment'>* Creates a new and empty #EomWindow. Use @flags to indicate</span></td></tr>
+<tr class="codeline" data-linenumber="5331"><td class="num" id="LN5331">5331</td><td class="line"> <span class='comment'>* if the window should be initialized fullscreen, in slideshow mode,</span></td></tr>
+<tr class="codeline" data-linenumber="5332"><td class="num" id="LN5332">5332</td><td class="line"> <span class='comment'>* and/or without the thumbnails collection visible. See #EomStartupFlags.</span></td></tr>
+<tr class="codeline" data-linenumber="5333"><td class="num" id="LN5333">5333</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5334"><td class="num" id="LN5334">5334</td><td class="line"> <span class='comment'>* Returns: a newly created #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5335"><td class="num" id="LN5335">5335</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5336"><td class="num" id="LN5336">5336</td><td class="line">GtkWidget*</td></tr>
+<tr class="codeline" data-linenumber="5337"><td class="num" id="LN5337">5337</td><td class="line">eom_window_new (EomStartupFlags flags)</td></tr>
+<tr class="codeline" data-linenumber="5338"><td class="num" id="LN5338">5338</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5339"><td class="num" id="LN5339">5339</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="5340"><td class="num" id="LN5340">5340</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5341"><td class="num" id="LN5341">5341</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 5341, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5342"><td class="num" id="LN5342">5342</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5343"><td class="num" id="LN5343">5343</td><td class="line"> window = <span class='macro'>EOM_WINDOW (g_object_new (EOM_TYPE_WINDOW,<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_window_get_type ()), "type", GTK_WINDOW_TOPLEVEL<br>, "application", (eom_application_get_instance ()), "show-menubar"<br>, (0), "startup-flags", flags, ((void*)0)))), ((eom_window_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="5344"><td class="num" id="LN5344">5344</td><td class="line"> <span class='string_literal'><span class='macro'>"type"</span>, GTK_WINDOW_TOPLEVEL,<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_window_get_type ()), "type", GTK_WINDOW_TOPLEVEL<br>, "application", (eom_application_get_instance ()), "show-menubar"<br>, (0), "startup-flags", flags, ((void*)0)))), ((eom_window_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="5345"><td class="num" id="LN5345">5345</td><td class="line"> <span class='string_literal'><span class='macro'>"application"</span>, EOM_APP,<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_window_get_type ()), "type", GTK_WINDOW_TOPLEVEL<br>, "application", (eom_application_get_instance ()), "show-menubar"<br>, (0), "startup-flags", flags, ((void*)0)))), ((eom_window_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="5346"><td class="num" id="LN5346">5346</td><td class="line"> <span class='string_literal'><span class='macro'>"show-menubar"</span>, FALSE,<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_window_get_type ()), "type", GTK_WINDOW_TOPLEVEL<br>, "application", (eom_application_get_instance ()), "show-menubar"<br>, (0), "startup-flags", flags, ((void*)0)))), ((eom_window_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="5347"><td class="num" id="LN5347">5347</td><td class="line"> <span class='string_literal'><span class='macro'>"startup-flags"</span>, flags,<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_window_get_type ()), "type", GTK_WINDOW_TOPLEVEL<br>, "application", (eom_application_get_instance ()), "show-menubar"<br>, (0), "startup-flags", flags, ((void*)0)))), ((eom_window_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="5348"><td class="num" id="LN5348">5348</td><td class="line"> <span class='macro'>NULL))<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_window_get_type ()), "type", GTK_WINDOW_TOPLEVEL<br>, "application", (eom_application_get_instance ()), "show-menubar"<br>, (0), "startup-flags", flags, ((void*)0)))), ((eom_window_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5349"><td class="num" id="LN5349">5349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5350"><td class="num" id="LN5350">5350</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5351"><td class="num" id="LN5351">5351</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5352"><td class="num" id="LN5352">5352</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5353"><td class="num" id="LN5353">5353</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5354"><td class="num" id="LN5354">5354</td><td class="line">eom_window_list_store_image_added (GtkTreeModel *tree_model,</td></tr>
+<tr class="codeline" data-linenumber="5355"><td class="num" id="LN5355">5355</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="5356"><td class="num" id="LN5356">5356</td><td class="line"> GtkTreeIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="5357"><td class="num" id="LN5357">5357</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="5358"><td class="num" id="LN5358">5358</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5359"><td class="num" id="LN5359">5359</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5360"><td class="num" id="LN5360">5360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5361"><td class="num" id="LN5361">5361</td><td class="line"> update_image_pos (window);</td></tr>
+<tr class="codeline" data-linenumber="5362"><td class="num" id="LN5362">5362</td><td class="line"> update_action_groups_state (window);</td></tr>
+<tr class="codeline" data-linenumber="5363"><td class="num" id="LN5363">5363</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5364"><td class="num" id="LN5364">5364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5365"><td class="num" id="LN5365">5365</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5366"><td class="num" id="LN5366">5366</td><td class="line">eom_window_list_store_image_removed (GtkTreeModel *tree_model,</td></tr>
+<tr class="codeline" data-linenumber="5367"><td class="num" id="LN5367">5367</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="5368"><td class="num" id="LN5368">5368</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="5369"><td class="num" id="LN5369">5369</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5370"><td class="num" id="LN5370">5370</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5371"><td class="num" id="LN5371">5371</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5372"><td class="num" id="LN5372">5372</td><td class="line"> update_image_pos (window);</td></tr>
+<tr class="codeline" data-linenumber="5373"><td class="num" id="LN5373">5373</td><td class="line"> update_action_groups_state (window);</td></tr>
+<tr class="codeline" data-linenumber="5374"><td class="num" id="LN5374">5374</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5375"><td class="num" id="LN5375">5375</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5376"><td class="num" id="LN5376">5376</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5377"><td class="num" id="LN5377">5377</td><td class="line">eom_job_model_cb (EomJobModel *job, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="5378"><td class="num" id="LN5378">5378</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5379"><td class="num" id="LN5379">5379</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="5380"><td class="num" id="LN5380">5380</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="5381"><td class="num" id="LN5381">5381</td><td class="line"> gint n_images;</td></tr>
+<tr class="codeline" data-linenumber="5382"><td class="num" id="LN5382">5382</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5383"><td class="num" id="LN5383">5383</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 5383, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5384"><td class="num" id="LN5384">5384</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5385"><td class="num" id="LN5385">5385</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXIF<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="5386"><td class="num" id="LN5386">5386</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="5387"><td class="num" id="LN5387">5387</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="5388"><td class="num" id="LN5388">5388</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="5389"><td class="num" id="LN5389">5389</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5390"><td class="num" id="LN5390">5390</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5391"><td class="num" id="LN5391">5391</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5392"><td class="num" id="LN5392">5392</td><td class="line"> window = <span class='macro'>EOM_WINDOW (data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5393"><td class="num" id="LN5393">5393</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="5394"><td class="num" id="LN5394">5394</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5395"><td class="num" id="LN5395">5395</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;store != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="5396"><td class="num" id="LN5396">5396</td><td class="line"> g_object_unref (priv-&gt;store);</td></tr>
+<tr class="codeline" data-linenumber="5397"><td class="num" id="LN5397">5397</td><td class="line"> priv-&gt;store = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5398"><td class="num" id="LN5398">5398</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5399"><td class="num" id="LN5399">5399</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5400"><td class="num" id="LN5400">5400</td><td class="line"> priv-&gt;store = <span class='macro'>g_object_ref (job-&gt;store)<span class='macro_popup'>((__typeof__ (job-&gt;store)) (g_object_ref) (job-&gt;store))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5401"><td class="num" id="LN5401">5401</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5402"><td class="num" id="LN5402">5402</td><td class="line"> n_images = eom_list_store_length (<span class='macro'>EOM_LIST_STORE (priv-&gt;store)<span class='macro_popup'>((((EomListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), (eom_list_store_get_type())))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5403"><td class="num" id="LN5403">5403</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5404"><td class="num" id="LN5404">5404</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXIF<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="5405"><td class="num" id="LN5405">5405</td><td class="line"> <span class='keyword'>if</span> (g_settings_get_boolean (priv-&gt;view_settings, <span class='macro'>EOM_CONF_VIEW_AUTOROTATE<span class='macro_popup'>"autorotate"</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="5406"><td class="num" id="LN5406">5406</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; n_images; i++) {</td></tr>
+<tr class="codeline" data-linenumber="5407"><td class="num" id="LN5407">5407</td><td class="line"> image = eom_list_store_get_image_by_pos (priv-&gt;store, i);</td></tr>
+<tr class="codeline" data-linenumber="5408"><td class="num" id="LN5408">5408</td><td class="line"> eom_image_autorotate (image);</td></tr>
+<tr class="codeline" data-linenumber="5409"><td class="num" id="LN5409">5409</td><td class="line"> g_object_unref (image);</td></tr>
+<tr class="codeline" data-linenumber="5410"><td class="num" id="LN5410">5410</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5411"><td class="num" id="LN5411">5411</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5412"><td class="num" id="LN5412">5412</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="5413"><td class="num" id="LN5413">5413</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5414"><td class="num" id="LN5414">5414</td><td class="line"> eom_thumb_view_set_model (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>, priv-&gt;store);</td></tr>
+<tr class="codeline" data-linenumber="5415"><td class="num" id="LN5415">5415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5416"><td class="num" id="LN5416">5416</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;store, <span class='string_literal'>"row-inserted"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;store), ("row-inserted"), ((<br>(GCallback) (eom_window_list_store_image_added))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5417"><td class="num" id="LN5417">5417</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_list_store_image_added),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;store), ("row-inserted"), ((<br>(GCallback) (eom_window_list_store_image_added))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5418"><td class="num" id="LN5418">5418</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;store), ("row-inserted"), ((<br>(GCallback) (eom_window_list_store_image_added))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5419"><td class="num" id="LN5419">5419</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5420"><td class="num" id="LN5420">5420</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;store, <span class='string_literal'>"row-deleted"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;store), ("row-deleted"), (((<br>GCallback) (eom_window_list_store_image_removed))), (window),<br> ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5421"><td class="num" id="LN5421">5421</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_list_store_image_removed),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;store), ("row-deleted"), (((<br>GCallback) (eom_window_list_store_image_removed))), (window),<br> ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5422"><td class="num" id="LN5422">5422</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;store), ("row-deleted"), (((<br>GCallback) (eom_window_list_store_image_removed))), (window),<br> ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5423"><td class="num" id="LN5423">5423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5424"><td class="num" id="LN5424">5424</td><td class="line"> <span class='keyword'>if</span> (n_images == 0) {</td></tr>
+<tr class="codeline" data-linenumber="5425"><td class="num" id="LN5425">5425</td><td class="line"> gint n_files;</td></tr>
+<tr class="codeline" data-linenumber="5426"><td class="num" id="LN5426">5426</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5427"><td class="num" id="LN5427">5427</td><td class="line"> priv-&gt;status = EOM_WINDOW_STATUS_NORMAL;</td></tr>
+<tr class="codeline" data-linenumber="5428"><td class="num" id="LN5428">5428</td><td class="line"> update_action_groups_state (window);</td></tr>
+<tr class="codeline" data-linenumber="5429"><td class="num" id="LN5429">5429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5430"><td class="num" id="LN5430">5430</td><td class="line"> n_files = g_slist_length (priv-&gt;file_list);</td></tr>
+<tr class="codeline" data-linenumber="5431"><td class="num" id="LN5431">5431</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5432"><td class="num" id="LN5432">5432</td><td class="line"> <span class='keyword'>if</span> (n_files &gt; 0) {</td></tr>
+<tr class="codeline" data-linenumber="5433"><td class="num" id="LN5433">5433</td><td class="line"> GtkWidget *message_area;</td></tr>
+<tr class="codeline" data-linenumber="5434"><td class="num" id="LN5434">5434</td><td class="line"> GFile *file = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5435"><td class="num" id="LN5435">5435</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5436"><td class="num" id="LN5436">5436</td><td class="line"> <span class='keyword'>if</span> (n_files == 1) {</td></tr>
+<tr class="codeline" data-linenumber="5437"><td class="num" id="LN5437">5437</td><td class="line"> file = (GFile *) priv-&gt;file_list-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="5438"><td class="num" id="LN5438">5438</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5439"><td class="num" id="LN5439">5439</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5440"><td class="num" id="LN5440">5440</td><td class="line"> message_area = eom_no_images_error_message_area_new (file);</td></tr>
+<tr class="codeline" data-linenumber="5441"><td class="num" id="LN5441">5441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5442"><td class="num" id="LN5442">5442</td><td class="line"> eom_window_set_message_area (window, message_area);</td></tr>
+<tr class="codeline" data-linenumber="5443"><td class="num" id="LN5443">5443</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5444"><td class="num" id="LN5444">5444</td><td class="line"> gtk_widget_show (message_area);</td></tr>
+<tr class="codeline" data-linenumber="5445"><td class="num" id="LN5445">5445</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5446"><td class="num" id="LN5446">5446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5447"><td class="num" id="LN5447">5447</td><td class="line"> g_signal_emit (window, signals[SIGNAL_PREPARED], 0);</td></tr>
+<tr class="codeline" data-linenumber="5448"><td class="num" id="LN5448">5448</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5449"><td class="num" id="LN5449">5449</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5450"><td class="num" id="LN5450">5450</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5451"><td class="num" id="LN5451">5451</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5452"><td class="num" id="LN5452">5452</td><td class="line"> <span class='comment'>* eom_window_open_file_list:</span></td></tr>
+<tr class="codeline" data-linenumber="5453"><td class="num" id="LN5453">5453</td><td class="line"> <span class='comment'>* @window: An #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5454"><td class="num" id="LN5454">5454</td><td class="line"> <span class='comment'>* @file_list: (element-type GFile): A %NULL-terminated list of #GFile's.</span></td></tr>
+<tr class="codeline" data-linenumber="5455"><td class="num" id="LN5455">5455</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5456"><td class="num" id="LN5456">5456</td><td class="line"> <span class='comment'>* Opens a list of files, adding them to the collection in @window.</span></td></tr>
+<tr class="codeline" data-linenumber="5457"><td class="num" id="LN5457">5457</td><td class="line"> <span class='comment'>* Files will be checked to be readable and later filtered according</span></td></tr>
+<tr class="codeline" data-linenumber="5458"><td class="num" id="LN5458">5458</td><td class="line"> <span class='comment'>* with eom_list_store_add_files().</span></td></tr>
+<tr class="codeline" data-linenumber="5459"><td class="num" id="LN5459">5459</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5460"><td class="num" id="LN5460">5460</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5461"><td class="num" id="LN5461">5461</td><td class="line">eom_window_open_file_list (EomWindow *window, GSList *file_list)</td></tr>
+<tr class="codeline" data-linenumber="5462"><td class="num" id="LN5462">5462</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5463"><td class="num" id="LN5463">5463</td><td class="line"> EomJob *job;</td></tr>
+<tr class="codeline" data-linenumber="5464"><td class="num" id="LN5464">5464</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5465"><td class="num" id="LN5465">5465</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 5465, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5466"><td class="num" id="LN5466">5466</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5467"><td class="num" id="LN5467">5467</td><td class="line"> window-&gt;priv-&gt;status = EOM_WINDOW_STATUS_INIT;</td></tr>
+<tr class="codeline" data-linenumber="5468"><td class="num" id="LN5468">5468</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5469"><td class="num" id="LN5469">5469</td><td class="line"> g_slist_foreach (file_list, (GFunc) g_object_ref, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5470"><td class="num" id="LN5470">5470</td><td class="line"> window-&gt;priv-&gt;file_list = file_list;</td></tr>
+<tr class="codeline" data-linenumber="5471"><td class="num" id="LN5471">5471</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5472"><td class="num" id="LN5472">5472</td><td class="line"> job = eom_job_model_new (file_list);</td></tr>
+<tr class="codeline" data-linenumber="5473"><td class="num" id="LN5473">5473</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5474"><td class="num" id="LN5474">5474</td><td class="line"> <span class='macro'>g_signal_connect (job, <span class='string_literal'>"finished"</span>,<span class='macro_popup'>g_signal_connect_data ((job), ("finished"), (((GCallback) (eom_job_model_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5475"><td class="num" id="LN5475">5475</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_model_cb),<span class='macro_popup'>g_signal_connect_data ((job), ("finished"), (((GCallback) (eom_job_model_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5476"><td class="num" id="LN5476">5476</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((job), ("finished"), (((GCallback) (eom_job_model_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5477"><td class="num" id="LN5477">5477</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5478"><td class="num" id="LN5478">5478</td><td class="line"> eom_job_queue_add_job (job);</td></tr>
+<tr class="codeline" data-linenumber="5479"><td class="num" id="LN5479">5479</td><td class="line"> g_object_unref (job);</td></tr>
+<tr class="codeline" data-linenumber="5480"><td class="num" id="LN5480">5480</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5481"><td class="num" id="LN5481">5481</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5482"><td class="num" id="LN5482">5482</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5483"><td class="num" id="LN5483">5483</td><td class="line"> <span class='comment'>* eom_window_get_ui_manager:</span></td></tr>
+<tr class="codeline" data-linenumber="5484"><td class="num" id="LN5484">5484</td><td class="line"> <span class='comment'>* @window: An #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5485"><td class="num" id="LN5485">5485</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5486"><td class="num" id="LN5486">5486</td><td class="line"> <span class='comment'>* Gets the #GtkUIManager that describes the UI of @window.</span></td></tr>
+<tr class="codeline" data-linenumber="5487"><td class="num" id="LN5487">5487</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5488"><td class="num" id="LN5488">5488</td><td class="line"> <span class='comment'>* Returns: (transfer none): A #GtkUIManager.</span></td></tr>
+<tr class="codeline" data-linenumber="5489"><td class="num" id="LN5489">5489</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5490"><td class="num" id="LN5490">5490</td><td class="line">GtkUIManager *</td></tr>
+<tr class="codeline" data-linenumber="5491"><td class="num" id="LN5491">5491</td><td class="line">eom_window_get_ui_manager (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5492"><td class="num" id="LN5492">5492</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5493"><td class="num" id="LN5493">5493</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5494"><td class="num" id="LN5494">5494</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5495"><td class="num" id="LN5495">5495</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;ui_mgr;</td></tr>
+<tr class="codeline" data-linenumber="5496"><td class="num" id="LN5496">5496</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5497"><td class="num" id="LN5497">5497</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5498"><td class="num" id="LN5498">5498</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5499"><td class="num" id="LN5499">5499</td><td class="line"> <span class='comment'>* eom_window_get_mode:</span></td></tr>
+<tr class="codeline" data-linenumber="5500"><td class="num" id="LN5500">5500</td><td class="line"> <span class='comment'>* @window: An #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5501"><td class="num" id="LN5501">5501</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5502"><td class="num" id="LN5502">5502</td><td class="line"> <span class='comment'>* Gets the mode of @window. See #EomWindowMode for details.</span></td></tr>
+<tr class="codeline" data-linenumber="5503"><td class="num" id="LN5503">5503</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5504"><td class="num" id="LN5504">5504</td><td class="line"> <span class='comment'>* Returns: An #EomWindowMode.</span></td></tr>
+<tr class="codeline" data-linenumber="5505"><td class="num" id="LN5505">5505</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5506"><td class="num" id="LN5506">5506</td><td class="line">EomWindowMode</td></tr>
+<tr class="codeline" data-linenumber="5507"><td class="num" id="LN5507">5507</td><td class="line">eom_window_get_mode (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5508"><td class="num" id="LN5508">5508</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5509"><td class="num" id="LN5509">5509</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), EOM_WINDOW_MODE_UNKNOWN)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (EOM_WINDOW_MODE_UNKNOWN<br>); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5510"><td class="num" id="LN5510">5510</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5511"><td class="num" id="LN5511">5511</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;mode;</td></tr>
+<tr class="codeline" data-linenumber="5512"><td class="num" id="LN5512">5512</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5513"><td class="num" id="LN5513">5513</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5514"><td class="num" id="LN5514">5514</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5515"><td class="num" id="LN5515">5515</td><td class="line"> <span class='comment'>* eom_window_set_mode:</span></td></tr>
+<tr class="codeline" data-linenumber="5516"><td class="num" id="LN5516">5516</td><td class="line"> <span class='comment'>* @window: an #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5517"><td class="num" id="LN5517">5517</td><td class="line"> <span class='comment'>* @mode: an #EomWindowMode value.</span></td></tr>
+<tr class="codeline" data-linenumber="5518"><td class="num" id="LN5518">5518</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5519"><td class="num" id="LN5519">5519</td><td class="line"> <span class='comment'>* Changes the mode of @window to normal, fullscreen, or slideshow.</span></td></tr>
+<tr class="codeline" data-linenumber="5520"><td class="num" id="LN5520">5520</td><td class="line"> <span class='comment'>* See #EomWindowMode for details.</span></td></tr>
+<tr class="codeline" data-linenumber="5521"><td class="num" id="LN5521">5521</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5522"><td class="num" id="LN5522">5522</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5523"><td class="num" id="LN5523">5523</td><td class="line">eom_window_set_mode (EomWindow *window, EomWindowMode mode)</td></tr>
+<tr class="codeline" data-linenumber="5524"><td class="num" id="LN5524">5524</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5525"><td class="num" id="LN5525">5525</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5526"><td class="num" id="LN5526">5526</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5527"><td class="num" id="LN5527">5527</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;mode == mode)</td></tr>
+<tr class="codeline" data-linenumber="5528"><td class="num" id="LN5528">5528</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="5529"><td class="num" id="LN5529">5529</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5530"><td class="num" id="LN5530">5530</td><td class="line"> <span class='keyword'>switch</span> (mode) {</td></tr>
+<tr class="codeline" data-linenumber="5531"><td class="num" id="LN5531">5531</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_MODE_NORMAL:</td></tr>
+<tr class="codeline" data-linenumber="5532"><td class="num" id="LN5532">5532</td><td class="line"> eom_window_stop_fullscreen (window,</td></tr>
+<tr class="codeline" data-linenumber="5533"><td class="num" id="LN5533">5533</td><td class="line"> window-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW);</td></tr>
+<tr class="codeline" data-linenumber="5534"><td class="num" id="LN5534">5534</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5535"><td class="num" id="LN5535">5535</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_MODE_FULLSCREEN:</td></tr>
+<tr class="codeline" data-linenumber="5536"><td class="num" id="LN5536">5536</td><td class="line"> eom_window_run_fullscreen (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5537"><td class="num" id="LN5537">5537</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5538"><td class="num" id="LN5538">5538</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_MODE_SLIDESHOW:</td></tr>
+<tr class="codeline" data-linenumber="5539"><td class="num" id="LN5539">5539</td><td class="line"> eom_window_run_fullscreen (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5540"><td class="num" id="LN5540">5540</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5541"><td class="num" id="LN5541">5541</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_MODE_UNKNOWN:</td></tr>
+<tr class="codeline" data-linenumber="5542"><td class="num" id="LN5542">5542</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5543"><td class="num" id="LN5543">5543</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5544"><td class="num" id="LN5544">5544</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5545"><td class="num" id="LN5545">5545</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5546"><td class="num" id="LN5546">5546</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5547"><td class="num" id="LN5547">5547</td><td class="line"> <span class='comment'>* eom_window_get_store:</span></td></tr>
+<tr class="codeline" data-linenumber="5548"><td class="num" id="LN5548">5548</td><td class="line"> <span class='comment'>* @window: An #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5549"><td class="num" id="LN5549">5549</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5550"><td class="num" id="LN5550">5550</td><td class="line"> <span class='comment'>* Gets the #EomListStore that contains the images in the collection</span></td></tr>
+<tr class="codeline" data-linenumber="5551"><td class="num" id="LN5551">5551</td><td class="line"> <span class='comment'>* of @window.</span></td></tr>
+<tr class="codeline" data-linenumber="5552"><td class="num" id="LN5552">5552</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5553"><td class="num" id="LN5553">5553</td><td class="line"> <span class='comment'>* Returns: (transfer none): an #EomListStore.</span></td></tr>
+<tr class="codeline" data-linenumber="5554"><td class="num" id="LN5554">5554</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5555"><td class="num" id="LN5555">5555</td><td class="line">EomListStore *</td></tr>
+<tr class="codeline" data-linenumber="5556"><td class="num" id="LN5556">5556</td><td class="line">eom_window_get_store (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5557"><td class="num" id="LN5557">5557</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5558"><td class="num" id="LN5558">5558</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5559"><td class="num" id="LN5559">5559</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5560"><td class="num" id="LN5560">5560</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>EOM_LIST_STORE (window-&gt;priv-&gt;store)<span class='macro_popup'>((((EomListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;store)), (eom_list_store_get_type())<br>))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5561"><td class="num" id="LN5561">5561</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5562"><td class="num" id="LN5562">5562</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5563"><td class="num" id="LN5563">5563</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5564"><td class="num" id="LN5564">5564</td><td class="line"> <span class='comment'>* eom_window_get_view:</span></td></tr>
+<tr class="codeline" data-linenumber="5565"><td class="num" id="LN5565">5565</td><td class="line"> <span class='comment'>* @window: An #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5566"><td class="num" id="LN5566">5566</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5567"><td class="num" id="LN5567">5567</td><td class="line"> <span class='comment'>* Gets the #EomScrollView in the window.</span></td></tr>
+<tr class="codeline" data-linenumber="5568"><td class="num" id="LN5568">5568</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5569"><td class="num" id="LN5569">5569</td><td class="line"> <span class='comment'>* Returns: (transfer none): the #EomScrollView.</span></td></tr>
+<tr class="codeline" data-linenumber="5570"><td class="num" id="LN5570">5570</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5571"><td class="num" id="LN5571">5571</td><td class="line">GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="5572"><td class="num" id="LN5572">5572</td><td class="line">eom_window_get_view (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5573"><td class="num" id="LN5573">5573</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5574"><td class="num" id="LN5574">5574</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5575"><td class="num" id="LN5575">5575</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5576"><td class="num" id="LN5576">5576</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;view;</td></tr>
+<tr class="codeline" data-linenumber="5577"><td class="num" id="LN5577">5577</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5578"><td class="num" id="LN5578">5578</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5579"><td class="num" id="LN5579">5579</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5580"><td class="num" id="LN5580">5580</td><td class="line"> <span class='comment'>* eom_window_get_sidebar:</span></td></tr>
+<tr class="codeline" data-linenumber="5581"><td class="num" id="LN5581">5581</td><td class="line"> <span class='comment'>* @window: An #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5582"><td class="num" id="LN5582">5582</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5583"><td class="num" id="LN5583">5583</td><td class="line"> <span class='comment'>* Gets the sidebar widget of @window.</span></td></tr>
+<tr class="codeline" data-linenumber="5584"><td class="num" id="LN5584">5584</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5585"><td class="num" id="LN5585">5585</td><td class="line"> <span class='comment'>* Returns: (transfer none): the #EomSidebar.</span></td></tr>
+<tr class="codeline" data-linenumber="5586"><td class="num" id="LN5586">5586</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5587"><td class="num" id="LN5587">5587</td><td class="line">GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="5588"><td class="num" id="LN5588">5588</td><td class="line">eom_window_get_sidebar (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5589"><td class="num" id="LN5589">5589</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5590"><td class="num" id="LN5590">5590</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5591"><td class="num" id="LN5591">5591</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5592"><td class="num" id="LN5592">5592</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;sidebar;</td></tr>
+<tr class="codeline" data-linenumber="5593"><td class="num" id="LN5593">5593</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5594"><td class="num" id="LN5594">5594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5595"><td class="num" id="LN5595">5595</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5596"><td class="num" id="LN5596">5596</td><td class="line"> <span class='comment'>* eom_window_get_thumb_view:</span></td></tr>
+<tr class="codeline" data-linenumber="5597"><td class="num" id="LN5597">5597</td><td class="line"> <span class='comment'>* @window: an #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5598"><td class="num" id="LN5598">5598</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5599"><td class="num" id="LN5599">5599</td><td class="line"> <span class='comment'>* Gets the thumbnails view in @window.</span></td></tr>
+<tr class="codeline" data-linenumber="5600"><td class="num" id="LN5600">5600</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5601"><td class="num" id="LN5601">5601</td><td class="line"> <span class='comment'>* Returns: (transfer none): an #EomThumbView.</span></td></tr>
+<tr class="codeline" data-linenumber="5602"><td class="num" id="LN5602">5602</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5603"><td class="num" id="LN5603">5603</td><td class="line">GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="5604"><td class="num" id="LN5604">5604</td><td class="line">eom_window_get_thumb_view (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5605"><td class="num" id="LN5605">5605</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5606"><td class="num" id="LN5606">5606</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5607"><td class="num" id="LN5607">5607</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5608"><td class="num" id="LN5608">5608</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;thumbview;</td></tr>
+<tr class="codeline" data-linenumber="5609"><td class="num" id="LN5609">5609</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5610"><td class="num" id="LN5610">5610</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5611"><td class="num" id="LN5611">5611</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5612"><td class="num" id="LN5612">5612</td><td class="line"> <span class='comment'>* eom_window_get_thumb_nav:</span></td></tr>
+<tr class="codeline" data-linenumber="5613"><td class="num" id="LN5613">5613</td><td class="line"> <span class='comment'>* @window: an #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5614"><td class="num" id="LN5614">5614</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5615"><td class="num" id="LN5615">5615</td><td class="line"> <span class='comment'>* Gets the thumbnails navigation pane in @window.</span></td></tr>
+<tr class="codeline" data-linenumber="5616"><td class="num" id="LN5616">5616</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5617"><td class="num" id="LN5617">5617</td><td class="line"> <span class='comment'>* Returns: (transfer none): an #EomThumbNav.</span></td></tr>
+<tr class="codeline" data-linenumber="5618"><td class="num" id="LN5618">5618</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5619"><td class="num" id="LN5619">5619</td><td class="line">GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="5620"><td class="num" id="LN5620">5620</td><td class="line">eom_window_get_thumb_nav (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5621"><td class="num" id="LN5621">5621</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5622"><td class="num" id="LN5622">5622</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5623"><td class="num" id="LN5623">5623</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5624"><td class="num" id="LN5624">5624</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;nav;</td></tr>
+<tr class="codeline" data-linenumber="5625"><td class="num" id="LN5625">5625</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5626"><td class="num" id="LN5626">5626</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5627"><td class="num" id="LN5627">5627</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5628"><td class="num" id="LN5628">5628</td><td class="line"> <span class='comment'>* eom_window_get_statusbar:</span></td></tr>
+<tr class="codeline" data-linenumber="5629"><td class="num" id="LN5629">5629</td><td class="line"> <span class='comment'>* @window: an #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5630"><td class="num" id="LN5630">5630</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5631"><td class="num" id="LN5631">5631</td><td class="line"> <span class='comment'>* Gets the statusbar in @window.</span></td></tr>
+<tr class="codeline" data-linenumber="5632"><td class="num" id="LN5632">5632</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5633"><td class="num" id="LN5633">5633</td><td class="line"> <span class='comment'>* Returns: (transfer none): a #EomStatusBar.</span></td></tr>
+<tr class="codeline" data-linenumber="5634"><td class="num" id="LN5634">5634</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5635"><td class="num" id="LN5635">5635</td><td class="line">GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="5636"><td class="num" id="LN5636">5636</td><td class="line">eom_window_get_statusbar (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5637"><td class="num" id="LN5637">5637</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5638"><td class="num" id="LN5638">5638</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5639"><td class="num" id="LN5639">5639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5640"><td class="num" id="LN5640">5640</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;statusbar;</td></tr>
+<tr class="codeline" data-linenumber="5641"><td class="num" id="LN5641">5641</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5642"><td class="num" id="LN5642">5642</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5643"><td class="num" id="LN5643">5643</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5644"><td class="num" id="LN5644">5644</td><td class="line"> <span class='comment'>* eom_window_get_image:</span></td></tr>
+<tr class="codeline" data-linenumber="5645"><td class="num" id="LN5645">5645</td><td class="line"> <span class='comment'>* @window: an #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5646"><td class="num" id="LN5646">5646</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5647"><td class="num" id="LN5647">5647</td><td class="line"> <span class='comment'>* Gets the image currently displayed in @window or %NULL if</span></td></tr>
+<tr class="codeline" data-linenumber="5648"><td class="num" id="LN5648">5648</td><td class="line"> <span class='comment'>* no image is being displayed.</span></td></tr>
+<tr class="codeline" data-linenumber="5649"><td class="num" id="LN5649">5649</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5650"><td class="num" id="LN5650">5650</td><td class="line"> <span class='comment'>* Returns: (transfer none): an #EomImage.</span></td></tr>
+<tr class="codeline" data-linenumber="5651"><td class="num" id="LN5651">5651</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5652"><td class="num" id="LN5652">5652</td><td class="line">EomImage *</td></tr>
+<tr class="codeline" data-linenumber="5653"><td class="num" id="LN5653">5653</td><td class="line">eom_window_get_image (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5654"><td class="num" id="LN5654">5654</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5655"><td class="num" id="LN5655">5655</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5656"><td class="num" id="LN5656">5656</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5657"><td class="num" id="LN5657">5657</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;image;</td></tr>
+<tr class="codeline" data-linenumber="5658"><td class="num" id="LN5658">5658</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5659"><td class="num" id="LN5659">5659</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5660"><td class="num" id="LN5660">5660</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5661"><td class="num" id="LN5661">5661</td><td class="line"> <span class='comment'>* eom_window_is_empty:</span></td></tr>
+<tr class="codeline" data-linenumber="5662"><td class="num" id="LN5662">5662</td><td class="line"> <span class='comment'>* @window: an #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5663"><td class="num" id="LN5663">5663</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5664"><td class="num" id="LN5664">5664</td><td class="line"> <span class='comment'>* Tells whether @window is currently empty or not.</span></td></tr>
+<tr class="codeline" data-linenumber="5665"><td class="num" id="LN5665">5665</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5666"><td class="num" id="LN5666">5666</td><td class="line"> <span class='comment'>* Returns: %TRUE if @window has no images, %FALSE otherwise.</span></td></tr>
+<tr class="codeline" data-linenumber="5667"><td class="num" id="LN5667">5667</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5668"><td class="num" id="LN5668">5668</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="5669"><td class="num" id="LN5669">5669</td><td class="line">eom_window_is_empty (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5670"><td class="num" id="LN5670">5670</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5671"><td class="num" id="LN5671">5671</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="5672"><td class="num" id="LN5672">5672</td><td class="line"> gboolean empty = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5673"><td class="num" id="LN5673">5673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5674"><td class="num" id="LN5674">5674</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 5674, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5675"><td class="num" id="LN5675">5675</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5676"><td class="num" id="LN5676">5676</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5677"><td class="num" id="LN5677">5677</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5678"><td class="num" id="LN5678">5678</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="5679"><td class="num" id="LN5679">5679</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5680"><td class="num" id="LN5680">5680</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;store != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="5681"><td class="num" id="LN5681">5681</td><td class="line"> empty = (eom_list_store_length (<span class='macro'>EOM_LIST_STORE (priv-&gt;store)<span class='macro_popup'>((((EomListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), (eom_list_store_get_type())))))</span></span>) == 0);</td></tr>
+<tr class="codeline" data-linenumber="5682"><td class="num" id="LN5682">5682</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5683"><td class="num" id="LN5683">5683</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5684"><td class="num" id="LN5684">5684</td><td class="line"> <span class='keyword'>return</span> empty;</td></tr>
+<tr class="codeline" data-linenumber="5685"><td class="num" id="LN5685">5685</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5686"><td class="num" id="LN5686">5686</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5687"><td class="num" id="LN5687">5687</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5688"><td class="num" id="LN5688">5688</td><td class="line">eom_window_reload_image (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5689"><td class="num" id="LN5689">5689</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5690"><td class="num" id="LN5690">5690</td><td class="line"> GtkWidget *view;</td></tr>
+<tr class="codeline" data-linenumber="5691"><td class="num" id="LN5691">5691</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5692"><td class="num" id="LN5692">5692</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5693"><td class="num" id="LN5693">5693</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5694"><td class="num" id="LN5694">5694</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;image == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5695"><td class="num" id="LN5695">5695</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="5696"><td class="num" id="LN5696">5696</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5697"><td class="num" id="LN5697">5697</td><td class="line"> g_object_unref (window-&gt;priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="5698"><td class="num" id="LN5698">5698</td><td class="line"> window-&gt;priv-&gt;image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5699"><td class="num" id="LN5699">5699</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5700"><td class="num" id="LN5700">5700</td><td class="line"> view = eom_window_get_view (window);</td></tr>
+<tr class="codeline" data-linenumber="5701"><td class="num" id="LN5701">5701</td><td class="line"> eom_scroll_view_set_image (<span class='macro'>EOM_SCROLL_VIEW (view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((eom_scroll_view_get_type ()))))))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5702"><td class="num" id="LN5702">5702</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5703"><td class="num" id="LN5703">5703</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (window-&gt;priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;thumbview)), ((eom_thumb_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5704"><td class="num" id="LN5704">5704</td><td class="line"> EOM_THUMB_VIEW_SELECT_CURRENT);</td></tr>
+<tr class="codeline" data-linenumber="5705"><td class="num" id="LN5705">5705</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-ebc41c.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-ebc41c.html
new file mode 100644
index 0000000..118e222
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-ebc41c.html
@@ -0,0 +1,1126 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-transform.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC This statement is never executed -->
+
+<!-- BUGTYPE Unreachable code -->
+
+<!-- BUGCATEGORY Unused code -->
+
+<!-- BUGFILE /rootdir/src/eom-transform.c -->
+
+<!-- FILENAME eom-transform.c -->
+
+<!-- FUNCTIONNAME eom_transform_get_transform_type -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT ebc41c84b7d1496135fe5b21364acac0 -->
+
+<!-- BUGLINE 403 -->
+
+<!-- BUGCOLUMN 10 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-transform.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 403, column 10</a><br />This statement is never executed</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-transform.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-transform.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"403": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of MATE -- Affine Transformations</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2003-2009 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Portions based on code from libart_lgpl by Raph Levien.</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software Foundation,</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;time.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;math.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include &lt;cairo/cairo.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include "eom-transform.h"</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include "eom-jobs.h"</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='comment'>/* The number of progress updates per transformation */</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_TRANSFORM_N_PROG_UPDATES<span class='macro_popup'>20</span></span> 20</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='keyword'>struct</span> _EomTransformPrivate {</td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> cairo_matrix_t affine;</td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"> gdouble x;</td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> gdouble y;</td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line">} EomPoint;</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='comment'>/* Convert degrees into radians */</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_DEG_TO_RAD(degree)<span class='macro_popup'>((degree) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span> ((degree) * (<span class='macro'>G_PI<span class='macro_popup'>3.1415926535897932384626433832795028841971693993751</span></span>/180.0))</span></td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EomTransform, eom_transform, G_TYPE_OBJECT)<span class='macro_popup'>static void eom_transform_init (EomTransform *self); static void<br> eom_transform_class_init (EomTransformClass *klass); static GType<br> eom_transform_get_type_once (void); static gpointer eom_transform_parent_class<br> = ((void*)0); static gint EomTransform_private_offset; static<br> void eom_transform_class_intern_init (gpointer klass) { eom_transform_parent_class<br> = g_type_class_peek_parent (klass); if (EomTransform_private_offset<br> != 0) g_type_class_adjust_private_offset (klass, &amp;EomTransform_private_offset<br>); eom_transform_class_init ((EomTransformClass*) klass); } __attribute__<br> ((__unused__)) static inline gpointer eom_transform_get_instance_private<br> (EomTransform *self) { return (((gpointer) ((guint8*) (self)<br> + (glong) (EomTransform_private_offset)))); } GType eom_transform_get_type<br> (void) { static gsize static_g_define_type_id = 0; if ((__extension__<br> ({ _Static_assert (sizeof *(&amp;static_g_define_type_id) ==<br> sizeof (gpointer), "Expression evaluates to false"); (void) (<br>0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0));<br> (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = eom_transform_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType eom_transform_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> (((GType) ((20) &lt;&lt; (2))), g_intern_static_string ("EomTransform"<br>), sizeof (EomTransformClass), (GClassInitFunc)(void (*)(void<br>)) eom_transform_class_intern_init, sizeof (EomTransform), (GInstanceInitFunc<br>)(void (*)(void)) eom_transform_init, (GTypeFlags) 0); { {{ EomTransform_private_offset<br> = g_type_add_instance_private (g_define_type_id, sizeof (EomTransformPrivate<br>)); };} } return g_define_type_id; }</span></span></td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line">eom_transform_init (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> trans-&gt;priv = eom_transform_get_instance_private (trans);</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line">eom_transform_class_init (EomTransformClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> <span class='comment'>* eom_transform_apply:</span></td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> <span class='comment'>* @pixbuf: a #GdkPixbuf</span></td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> <span class='comment'>* @job: a #EomJob</span></td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> <span class='comment'>* Applies the transformation in @trans to @pixbuf, setting its progress in @job.</span></td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> <span class='comment'>* Returns: (transfer full): A new #GdkPixbuf with the transformation applied.</span></td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line">GdkPixbuf*</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line">eom_transform_apply (EomTransform *trans, GdkPixbuf *pixbuf, EomJob *job)</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> EomPoint dest_top_left;</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> EomPoint dest_bottom_right;</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> EomPoint vertices[4] = { {0, 0}, {1, 0}, {1, 1}, {0, 1} };</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> <span class='keyword'>double</span> r_det;</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> <span class='keyword'>int</span> inverted [6];</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> EomPoint dest;</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> <span class='keyword'>int</span> src_width;</td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>int</span> src_height;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> <span class='keyword'>int</span> src_rowstride;</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> <span class='keyword'>int</span> src_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> guchar *src_buffer;</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> GdkPixbuf *dest_pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> <span class='keyword'>int</span> dest_width;</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> <span class='keyword'>int</span> dest_height;</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> <span class='keyword'>int</span> dest_rowstride;</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> <span class='keyword'>int</span> dest_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> guchar *dest_buffer;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> guchar *src_pos;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> guchar *dest_pos;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> <span class='keyword'>int</span> dx, dy, sx, sy;</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> <span class='keyword'>int</span> i, x, y;</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> <span class='keyword'>int</span> progress_delta;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> <span class='macro'>g_return_val_if_fail (pixbuf != NULL, NULL)<span class='macro_popup'>do { if ((pixbuf != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "pixbuf != NULL"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> <span class='macro'>g_object_ref (pixbuf)<span class='macro_popup'>((__typeof__ (pixbuf)) (g_object_ref) (pixbuf))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> src_width = gdk_pixbuf_get_width (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> src_height = gdk_pixbuf_get_height (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> src_rowstride = gdk_pixbuf_get_rowstride (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> src_n_channels = gdk_pixbuf_get_n_channels (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> src_buffer = gdk_pixbuf_get_pixels (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> <span class='comment'>/* find out the dimension of the destination pixbuf */</span></td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> dest_top_left.x = 100000;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> dest_top_left.y = 100000;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> dest_bottom_right.x = -100000;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> dest_bottom_right.y = -100000;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; 4; i++) {</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> dest.x = vertices[i].x * (src_width - 1);</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> dest.y = vertices[i].y * (src_height -1);</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> cairo_matrix_transform_point (&amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> &amp;dest.x, &amp;dest.y);</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> dest_top_left.x = <span class='macro'>MIN (dest_top_left.x, dest.x)<span class='macro_popup'>(((dest_top_left.x) &lt; (dest.x)) ? (dest_top_left.x) : (dest<br>.x))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> dest_top_left.y = <span class='macro'>MIN (dest_top_left.y, dest.y)<span class='macro_popup'>(((dest_top_left.y) &lt; (dest.y)) ? (dest_top_left.y) : (dest<br>.y))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> dest_bottom_right.x = <span class='macro'>MAX (dest_bottom_right.x, dest.x)<span class='macro_popup'>(((dest_bottom_right.x) &gt; (dest.x)) ? (dest_bottom_right.x<br>) : (dest.x))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> dest_bottom_right.y = <span class='macro'>MAX (dest_bottom_right.y, dest.y)<span class='macro_popup'>(((dest_bottom_right.y) &gt; (dest.y)) ? (dest_bottom_right.y<br>) : (dest.y))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> <span class='comment'>/* create the resulting pixbuf */</span></td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> dest_width = abs ((<span class='keyword'>int</span>) (dest_bottom_right.x - dest_top_left.x + 1));</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> dest_height = abs ((<span class='keyword'>int</span>) (dest_bottom_right.y - dest_top_left.y + 1));</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> dest_pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB,</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> gdk_pixbuf_get_has_alpha (pixbuf),</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> gdk_pixbuf_get_bits_per_sample (pixbuf),</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> dest_width,</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> dest_height);</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> dest_rowstride = gdk_pixbuf_get_rowstride (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> dest_n_channels = gdk_pixbuf_get_n_channels (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> dest_buffer = gdk_pixbuf_get_pixels (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> <span class='comment'>/* invert the matrix so that we can compute the source pixel</span></td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> <span class='comment'>from the target pixel and convert the values to integer</span></td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> <span class='comment'>ones (faster!) FIXME: Maybe we can do some more</span></td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> <span class='comment'>improvements by using special mmx/3dnow features if</span></td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> <span class='comment'>available.</span></td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> r_det = 1.0 / (trans-&gt;priv-&gt;affine.xx * trans-&gt;priv-&gt;affine.yy - trans-&gt;priv-&gt;affine.yx * trans-&gt;priv-&gt;affine.xy);</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> inverted[0] = trans-&gt;priv-&gt;affine.yy * r_det;</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> inverted[1] = -trans-&gt;priv-&gt;affine.yx * r_det;</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> inverted[2] = -trans-&gt;priv-&gt;affine.xy * r_det;</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> inverted[3] = trans-&gt;priv-&gt;affine.xx * r_det;</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> inverted[4] = -trans-&gt;priv-&gt;affine.x0 * inverted[0] - trans-&gt;priv-&gt;affine.y0 * inverted[2];</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> inverted[5] = -trans-&gt;priv-&gt;affine.x0 * inverted[1] - trans-&gt;priv-&gt;affine.y0 * inverted[3];</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> progress_delta = <span class='macro'>MAX (1, dest_height / EOM_TRANSFORM_N_PROG_UPDATES)<span class='macro_popup'>(((1) &gt; (dest_height / 20)) ? (1) : (dest_height / 20))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> <span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> <span class='comment'>* for every destination pixel (dx,dy) compute the source pixel (sx, sy)</span></td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> <span class='comment'>* and copy the color values</span></td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='keyword'>for</span> (y = 0, dy = dest_top_left.y; y &lt; dest_height; y++, dy++) {</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>for</span> (x = 0, dx = dest_top_left.x; x &lt; dest_width; x++, dx++) {</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> sx = dx * inverted[0] + dy * inverted[2] + inverted[4];</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> sy = dx * inverted[1] + dy * inverted[3] + inverted[5];</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> <span class='keyword'>if</span> (sx &gt;= 0 &amp;&amp; sx &lt; src_width &amp;&amp; sy &gt;= 0 &amp;&amp; sy &lt; src_height) {</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> src_pos = src_buffer + sy * src_rowstride + sx * src_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> dest_pos = dest_buffer + y * dest_rowstride + x * dest_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; src_n_channels; i++) {</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> dest_pos[i] = src_pos[i];</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> <span class='keyword'>if</span> (job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; y % progress_delta == 0) {</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> gfloat progress;</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> progress = (gfloat) (y + 1.0) / (gfloat) dest_height;</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> eom_job_set_progress (job, progress);</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> g_object_unref (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> <span class='keyword'>if</span> (job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> eom_job_set_progress (job, 1.0);</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> <span class='keyword'>return</span> dest_pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line">_eom_cairo_matrix_copy (<span class='keyword'>const</span> cairo_matrix_t *src, cairo_matrix_t *dest)</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> cairo_matrix_init (dest, src-&gt;xx, src-&gt;yx, src-&gt;xy, src-&gt;yy, src-&gt;x0, src-&gt;y0);</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span> 1e-6</span></td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL(a,b)<span class='macro_popup'>(fabs (a - b) &lt; 1e-6)</span></span> (fabs (a - b) &lt; <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"><span class='comment'>/* art_affine_equal modified to work with cairo_matrix_t */</span></td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line">_eom_cairo_matrix_equal (<span class='keyword'>const</span> cairo_matrix_t *a, <span class='keyword'>const</span> cairo_matrix_t *b)</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> <span class='keyword'>return</span> (<span class='macro'>DOUBLE_EQUAL (a-&gt;xx, b-&gt;xx)<span class='macro_popup'>(fabs (a-&gt;xx - b-&gt;xx) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;yx, b-&gt;yx)<span class='macro_popup'>(fabs (a-&gt;yx - b-&gt;yx) &lt; 1e-6)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (a-&gt;xy, b-&gt;xy)<span class='macro_popup'>(fabs (a-&gt;xy - b-&gt;xy) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;yy, b-&gt;yy)<span class='macro_popup'>(fabs (a-&gt;yy - b-&gt;yy) &lt; 1e-6)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (a-&gt;x0, b-&gt;x0)<span class='macro_popup'>(fabs (a-&gt;x0 - b-&gt;x0) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;y0, b-&gt;y0)<span class='macro_popup'>(fabs (a-&gt;y0 - b-&gt;y0) &lt; 1e-6)</span></span> );</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"><span class='comment'>/* art_affine_flip modified to work with cairo_matrix_t */</span></td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line">_eom_cairo_matrix_flip (cairo_matrix_t *dst, <span class='keyword'>const</span> cairo_matrix_t *src, gboolean horiz, gboolean vert)</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> dst-&gt;xx = horiz ? -src-&gt;xx : src-&gt;xx;</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> dst-&gt;yx = horiz ? -src-&gt;yx : src-&gt;yx;</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> dst-&gt;xy = vert ? -src-&gt;xy : src-&gt;xy;</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> dst-&gt;yy = vert ? -src-&gt;yy : src-&gt;yy;</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> dst-&gt;x0 = horiz ? -src-&gt;x0 : src-&gt;x0;</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> dst-&gt;y0 = vert ? -src-&gt;y0 : src-&gt;y0;</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> <span class='comment'>* eom_transform_reverse:</span></td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> <span class='comment'>* Creates the reverse transformation of @trans</span></td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> <span class='comment'>* Returns: (transfer full): a new transformation</span></td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line">eom_transform_reverse (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> EomTransform *reverse;</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> reverse = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> _eom_cairo_matrix_copy (&amp;trans-&gt;priv-&gt;affine, &amp;reverse-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='macro'>g_return_val_if_fail (cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine) == CAIRO_STATUS_SUCCESS, reverse)<span class='macro_popup'>do { if ((cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine<br>) == CAIRO_STATUS_SUCCESS)) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine) == CAIRO_STATUS_SUCCESS"<br>); return (reverse); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> <span class='keyword'>return</span> reverse;</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> <span class='comment'>* eom_transform_compose:</span></td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='comment'>* @compose: another #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> <span class='comment'>* Returns: (transfer full): a new transform</span></td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line">eom_transform_compose (EomTransform *trans, EomTransform *compose)</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> EomTransform *composition;</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (compose), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((compose)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (compose)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> composition = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> cairo_matrix_multiply (&amp;composition-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> &amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> &amp;compose-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> <span class='keyword'>return</span> composition;</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line">eom_transform_is_identity (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> <span class='keyword'>static</span> <span class='keyword'>const</span> cairo_matrix_t identity = { 1, 0, 0, 1, 0, 0 };</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> <span class='keyword'>return</span> _eom_cairo_matrix_equal (&amp;identity, &amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line">eom_transform_identity_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> cairo_matrix_init_identity (&amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line">eom_transform_rotate_new (<span class='keyword'>int</span> degree)</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> cairo_matrix_init_rotate (&amp;trans-&gt;priv-&gt;affine, <span class='macro'>EOM_DEG_TO_RAD(degree)<span class='macro_popup'>((degree) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line">eom_transform_flip_new (EomTransformType type)</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> gboolean horiz, vert;</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> cairo_matrix_init_identity (&amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> horiz = (type == EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> vert = (type == EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> _eom_cairo_matrix_flip (&amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> &amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> horiz, vert);</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line">eom_transform_new (EomTransformType type)</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> EomTransform *trans = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> EomTransform *temp1 = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *temp2 = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> <span class='keyword'>switch</span> (type) {</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_NONE:</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> trans = eom_transform_identity_new ();</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_HORIZONTAL:</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> trans = eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_180:</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> trans = eom_transform_rotate_new (180);</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_VERTICAL:</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> trans = eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSPOSE:</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> temp1 = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> temp2 = eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> trans = eom_transform_compose (temp1, temp2);</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> g_object_unref (temp1);</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> g_object_unref (temp2);</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_90:</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> trans = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSVERSE:</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> temp1 = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> temp2 = eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> trans = eom_transform_compose (temp1, temp2);</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> g_object_unref (temp1);</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> g_object_unref (temp2);</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_270:</td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> trans = eom_transform_rotate_new (270);</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> trans = eom_transform_identity_new ();</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line">EomTransformType</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line">eom_transform_get_transform_type (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> cairo_matrix_t affine, a1, a2;</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> EomTransformPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), EOM_TRANSFORM_NONE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (EOM_TRANSFORM_NONE);<br> } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> priv = trans-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(90)<span class='macro_popup'>((90) * (3.1415926535897932384626433832795028841971693993751/<br>180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_90;</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(180)<span class='macro_popup'>((180) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_180;</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(270)<span class='macro_popup'>((270) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> <span class='keyword'>return</span> <span class="mrange">EOM_TRANSFORM_ROT_270</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:24ex">This statement is never executed</div></td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> cairo_matrix_init_identity (&amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> _eom_cairo_matrix_flip (&amp;affine, &amp;affine, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_FLIP_HORIZONTAL;</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> cairo_matrix_init_identity (&amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> _eom_cairo_matrix_flip (&amp;affine, &amp;affine, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_FLIP_VERTICAL;</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> cairo_matrix_init_rotate (&amp;a1, <span class='macro'>EOM_DEG_TO_RAD(90)<span class='macro_popup'>((90) * (3.1415926535897932384626433832795028841971693993751/<br>180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> cairo_matrix_init_identity (&amp;a2);</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> _eom_cairo_matrix_flip (&amp;a2, &amp;a2, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> cairo_matrix_multiply(&amp;affine, &amp;a1, &amp;a2);</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_TRANSPOSE;</td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> <span class='comment'>/* A transversion is a 180° rotation followed by a transposition */</span></td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> <span class='comment'>/* Reuse the transposition from the previous step for this. */</span></td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> cairo_matrix_init_rotate (&amp;a1, <span class='macro'>EOM_DEG_TO_RAD(180)<span class='macro_popup'>((180) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> cairo_matrix_multiply(&amp;a2, &amp;a1, &amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;a2, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_TRANSVERSE;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_NONE;</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line">eom_transform_get_affine (EomTransform *trans, cairo_matrix_t *affine)</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> _eom_cairo_matrix_copy (&amp;trans-&gt;priv-&gt;affine, affine);</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> </td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f15e81.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f15e81.html
new file mode 100644
index 0000000..f4e280b
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f15e81.html
@@ -0,0 +1,1657 @@
+<!doctype html>
+<html>
+<head>
+<title>egg-toolbars-model.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Value stored to 'node' is never read -->
+
+<!-- BUGTYPE Dead assignment -->
+
+<!-- BUGCATEGORY Unused code -->
+
+<!-- BUGFILE /rootdir/cut-n-paste/toolbar-editor/egg-toolbars-model.c -->
+
+<!-- FILENAME egg-toolbars-model.c -->
+
+<!-- FUNCTIONNAME egg_toolbars_model_to_xml -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT f15e81fd39af4a90c1b2dfd556196432 -->
+
+<!-- BUGLINE 101 -->
+
+<!-- BUGCOLUMN 15 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>cut-n-paste/toolbar-editor/egg-toolbars-model.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 101, column 15</a><br />Value stored to 'node' is never read</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name egg-toolbars-model.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/cut-n-paste/toolbar-editor -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I ../.. -I ../../lib/egg -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -I /usr/include/libxml2 -D CURSOR_DIR="/usr/local/share/eom" -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/cut-n-paste/toolbar-editor -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c egg-toolbars-model.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"101": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>* Copyright (C) 2002-2004 Marco Pesenti Gritti</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2004 Christian Persch</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2, or (at your option)</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* $Id: egg-toolbars-model.c 929 2009-02-19 14:49:56Z friemann $</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"><span class='directive'>#include "config.h"</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#include "egg-toolbars-model.h"</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"><span class='directive'>#include "eggtypebuiltins.h"</span></td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include "eggmarshalers.h"</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;unistd.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include &lt;libxml/tree.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#include &lt;gdk/gdk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> egg_toolbars_model_finalize (GObject *object);</td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='keyword'>enum</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"> ITEM_ADDED,</td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"> ITEM_REMOVED,</td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> TOOLBAR_ADDED,</td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"> TOOLBAR_CHANGED,</td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"> TOOLBAR_REMOVED,</td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"> LAST_SIGNAL</td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span></td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"> <span class='keyword'>char</span> *name;</td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> EggTbModelFlags flags;</td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line">} EggToolbarsToolbar;</td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span></td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"> <span class='keyword'>char</span> *name;</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line">} EggToolbarsItem;</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"><span class='keyword'>static</span> guint signals[LAST_SIGNAL] = { 0 };</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"><span class='keyword'>struct</span> EggToolbarsModelPrivate</td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> GNode *toolbars;</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> GList *types;</td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"> GHashTable *flags;</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EggToolbarsModel, egg_toolbars_model, G_TYPE_OBJECT)<span class='macro_popup'>static void egg_toolbars_model_init (EggToolbarsModel *self);<br> static void egg_toolbars_model_class_init (EggToolbarsModelClass<br> *klass); static GType egg_toolbars_model_get_type_once (void<br>); static gpointer egg_toolbars_model_parent_class = ((void*)<br>0); static gint EggToolbarsModel_private_offset; static void egg_toolbars_model_class_intern_init<br> (gpointer klass) { egg_toolbars_model_parent_class = g_type_class_peek_parent<br> (klass); if (EggToolbarsModel_private_offset != 0) g_type_class_adjust_private_offset<br> (klass, &amp;EggToolbarsModel_private_offset); egg_toolbars_model_class_init<br> ((EggToolbarsModelClass*) klass); } __attribute__ ((__unused__<br>)) static inline gpointer egg_toolbars_model_get_instance_private<br> (EggToolbarsModel *self) { return (((gpointer) ((guint8*) (self<br>) + (glong) (EggToolbarsModel_private_offset)))); } GType egg_toolbars_model_get_type<br> (void) { static gsize static_g_define_type_id = 0; if ((__extension__<br> ({ _Static_assert (sizeof *(&amp;static_g_define_type_id) ==<br> sizeof (gpointer), "Expression evaluates to false"); (void) (<br>0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0));<br> (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = egg_toolbars_model_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType egg_toolbars_model_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> (((GType) ((20) &lt;&lt; (2))), g_intern_static_string ("EggToolbarsModel"<br>), sizeof (EggToolbarsModelClass), (GClassInitFunc)(void (*)(<br>void)) egg_toolbars_model_class_intern_init, sizeof (EggToolbarsModel<br>), (GInstanceInitFunc)(void (*)(void)) egg_toolbars_model_init<br>, (GTypeFlags) 0); { {{ EggToolbarsModel_private_offset = g_type_add_instance_private<br> (g_define_type_id, sizeof (EggToolbarsModelPrivate)); };} } return<br> g_define_type_id; }</span></span></td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"><span class='keyword'>static</span> xmlDocPtr</td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line">egg_toolbars_model_to_xml (EggToolbarsModel *model)</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> GNode *l1, *l2, *tl;</td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> GList *l3;</td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> xmlDocPtr doc;</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> <span class='macro'>g_return_val_if_fail (EGG_IS_TOOLBARS_MODEL (model), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((model)); GType __t = ((egg_toolbars_model_get_type ()));<br> gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning (((gchar*) 0), ((const<br> char*) (__func__)), "EGG_IS_TOOLBARS_MODEL (model)"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> tl = model-&gt;priv-&gt;toolbars;</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> <span class='macro'>xmlIndentTreeOutput<span class='macro_popup'>(*(__xmlIndentTreeOutput()))</span></span> = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> doc = xmlNewDoc ((<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"1.0"</span>);</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> doc-&gt;children = xmlNewDocNode (doc, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"toolbars"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> <span class='keyword'>for</span> (l1 = tl-&gt;children; l1 != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; l1 = l1-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> xmlNodePtr tnode;</td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> EggToolbarsToolbar *toolbar = l1-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> tnode = xmlNewChild (doc-&gt;children, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"toolbar"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> xmlSetProp (tnode, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"name"</span>, (<span class='keyword'>const</span> xmlChar*) toolbar-&gt;name);</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> xmlSetProp (tnode, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"hidden"</span>,</td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> (toolbar-&gt;flags&amp;EGG_TB_MODEL_HIDDEN) ? (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"true"</span> : (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"false"</span>);</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> xmlSetProp (tnode, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"editable"</span>,</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> (toolbar-&gt;flags&amp;EGG_TB_MODEL_NOT_EDITABLE) ? (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"false"</span> : (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"true"</span>);</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> <span class='keyword'>for</span> (l2 = l1-&gt;children; l2 != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; l2 = l2-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> xmlNodePtr node;</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> EggToolbarsItem *item = l2-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> <span class='keyword'>if</span> (strcmp (item-&gt;name, <span class='string_literal'>"_separator"</span>) == 0)</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> node = <span class="mrange">xmlNewChild (tnode, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"separator"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:15ex">Value stored to 'node' is never read</div></td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> node = xmlNewChild (tnode, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"toolitem"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> xmlSetProp (node, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"name"</span>, (<span class='keyword'>const</span> xmlChar*) item-&gt;name);</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> <span class='comment'>/* Add 'data' nodes for each data type which can be written out for this</span></td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> <span class='comment'>* item. Only write types which can be used to restore the data. */</span></td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> <span class='keyword'>for</span> (l3 = model-&gt;priv-&gt;types; l3 != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; l3 = l3-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> EggToolbarsItemType *type = l3-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> <span class='keyword'>if</span> (type-&gt;get_name != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; type-&gt;get_data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> xmlNodePtr dnode;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> <span class='keyword'>char</span> *tmp;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> tmp = type-&gt;get_data (type, item-&gt;name);</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> <span class='keyword'>if</span> (tmp != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> dnode = xmlNewTextChild (node, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"data"</span>, (<span class='keyword'>const</span> xmlChar*) tmp);</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> g_free (tmp);</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> tmp = gdk_atom_name (type-&gt;type);</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> xmlSetProp (dnode, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"type"</span>, (<span class='keyword'>const</span> xmlChar*) tmp);</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> g_free (tmp);</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> <span class='keyword'>return</span> doc;</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line">safe_save_xml (<span class='keyword'>const</span> <span class='keyword'>char</span> *xml_file, xmlDocPtr doc)</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> <span class='keyword'>char</span> *tmp_file;</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> <span class='keyword'>char</span> *old_file;</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> gboolean old_exist;</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> gboolean retval = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> tmp_file = g_strconcat (xml_file, <span class='string_literal'>".tmp"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> old_file = g_strconcat (xml_file, <span class='string_literal'>".old"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> <span class='keyword'>if</span> (xmlSaveFormatFile (tmp_file, doc, 1) &lt;= 0)</td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> g_warning (<span class='string_literal'>"Failed to write XML data to %s"</span>, tmp_file);</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> <span class='keyword'>goto</span> failed;</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> old_exist = g_file_test (xml_file, G_FILE_TEST_EXISTS);</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> <span class='keyword'>if</span> (old_exist)</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> <span class='keyword'>if</span> (rename (xml_file, old_file) &lt; 0)</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> g_warning (<span class='string_literal'>"Failed to rename %s to %s"</span>, xml_file, old_file);</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> retval = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> <span class='keyword'>goto</span> failed;</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> <span class='keyword'>if</span> (rename (tmp_file, xml_file) &lt; 0)</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> g_warning (<span class='string_literal'>"Failed to rename %s to %s"</span>, tmp_file, xml_file);</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> <span class='keyword'>if</span> (rename (old_file, xml_file) &lt; 0)</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> g_warning (<span class='string_literal'>"Failed to restore %s from %s"</span>, xml_file, tmp_file);</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> retval = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> <span class='keyword'>goto</span> failed;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>if</span> (old_exist)</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> <span class='keyword'>if</span> (unlink (old_file) &lt; 0)</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> g_warning (<span class='string_literal'>"Failed to delete old file %s"</span>, old_file);</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> failed:</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> g_free (old_file);</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> g_free (tmp_file);</td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> <span class='keyword'>return</span> retval;</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line">egg_toolbars_model_save_toolbars (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *xml_file,</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *version)</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> xmlDocPtr doc;</td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> xmlNodePtr root;</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> <span class='macro'>g_return_if_fail (EGG_IS_TOOLBARS_MODEL (model))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((model)); GType __t = ((egg_toolbars_model_get_type ()));<br> gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning (((gchar*) 0), ((const<br> char*) (__func__)), "EGG_IS_TOOLBARS_MODEL (model)"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"> doc = egg_toolbars_model_to_xml (model);</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"> root = xmlDocGetRootElement (doc);</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> xmlSetProp (root, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"version"</span>, (<span class='keyword'>const</span> xmlChar*) version);</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"> safe_save_xml (xml_file, doc);</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> xmlFreeDoc (doc);</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line">is_unique (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"> EggToolbarsItem *idata)</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> EggToolbarsItem *idata2;</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> GNode *toolbar, *item;</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> <span class='keyword'>for</span>(toolbar = <span class='macro'>g_node_first_child (model-&gt;priv-&gt;toolbars)<span class='macro_popup'>((model-&gt;priv-&gt;toolbars) ? ((GNode*) (model-&gt;priv-&gt;<br>toolbars))-&gt;children : ((void*)0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> toolbar != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; toolbar = <span class='macro'>g_node_next_sibling (toolbar)<span class='macro_popup'>((toolbar) ? ((GNode*) (toolbar))-&gt;next : ((void*)0))</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> <span class='keyword'>for</span>(item = <span class='macro'>g_node_first_child (toolbar)<span class='macro_popup'>((toolbar) ? ((GNode*) (toolbar))-&gt;children : ((void*)0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"> item != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; item = <span class='macro'>g_node_next_sibling (item)<span class='macro_popup'>((item) ? ((GNode*) (item))-&gt;next : ((void*)0))</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> idata2 = item-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> <span class='keyword'>if</span> (idata != idata2 &amp;&amp; strcmp (idata-&gt;name, idata2-&gt;name) == 0)</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"><span class='keyword'>static</span> GNode *</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line">toolbar_node_new (<span class='keyword'>const</span> <span class='keyword'>char</span> *name)</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> EggToolbarsToolbar *toolbar;</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> toolbar = <span class='macro'>g_new (EggToolbarsToolbar, 1)<span class='macro_popup'>((EggToolbarsToolbar *) g_malloc_n ((1), sizeof (EggToolbarsToolbar<br>)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"> toolbar-&gt;name = <span class='macro'>g_strdup (name)<span class='macro_popup'>g_strdup_inline (name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> toolbar-&gt;flags = 0;</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> <span class='keyword'>return</span> g_node_new (toolbar);</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"><span class='keyword'>static</span> GNode *</td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line">item_node_new (<span class='keyword'>const</span> <span class='keyword'>char</span> *name, EggToolbarsModel *model)</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> EggToolbarsItem *item;</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> <span class='keyword'>int</span> flags;</td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> <span class='macro'>g_return_val_if_fail (name != NULL, NULL)<span class='macro_popup'>do { if ((name != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "name != NULL"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> item = <span class='macro'>g_new (EggToolbarsItem, 1)<span class='macro_popup'>((EggToolbarsItem *) g_malloc_n ((1), sizeof (EggToolbarsItem<br>)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> item-&gt;name = <span class='macro'>g_strdup (name)<span class='macro_popup'>g_strdup_inline (name)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> flags = <span class='macro'>GPOINTER_TO_INT (g_hash_table_lookup (model-&gt;priv-&gt;flags, item-&gt;name))<span class='macro_popup'>((gint) (glong) (g_hash_table_lookup (model-&gt;priv-&gt;flags<br>, item-&gt;name)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='keyword'>if</span> ((flags &amp; EGG_TB_MODEL_NAME_INFINITE) == 0)</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> g_hash_table_insert (model-&gt;priv-&gt;flags,</td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> <span class='macro'>g_strdup (item-&gt;name)<span class='macro_popup'>g_strdup_inline (item-&gt;name)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> <span class='macro'>GINT_TO_POINTER (flags | EGG_TB_MODEL_NAME_USED)<span class='macro_popup'>((gpointer) (glong) (flags | EGG_TB_MODEL_NAME_USED))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> <span class='keyword'>return</span> g_node_new (item);</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line">item_node_free (GNode *item_node, EggToolbarsModel *model)</td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> EggToolbarsItem *item = item_node-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> <span class='keyword'>int</span> flags;</td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> flags = <span class='macro'>GPOINTER_TO_INT (g_hash_table_lookup (model-&gt;priv-&gt;flags, item-&gt;name))<span class='macro_popup'>((gint) (glong) (g_hash_table_lookup (model-&gt;priv-&gt;flags<br>, item-&gt;name)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> <span class='keyword'>if</span> ((flags &amp; EGG_TB_MODEL_NAME_INFINITE) == 0 &amp;&amp; is_unique (model, item))</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> g_hash_table_insert (model-&gt;priv-&gt;flags,</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> <span class='macro'>g_strdup (item-&gt;name)<span class='macro_popup'>g_strdup_inline (item-&gt;name)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> <span class='macro'>GINT_TO_POINTER (flags &amp; ~EGG_TB_MODEL_NAME_USED)<span class='macro_popup'>((gpointer) (glong) (flags &amp; ~EGG_TB_MODEL_NAME_USED))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> g_free (item-&gt;name);</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> g_free (item);</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> g_node_destroy (item_node);</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line">toolbar_node_free (GNode *toolbar_node, EggToolbarsModel *model)</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> EggToolbarsToolbar *toolbar = toolbar_node-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> g_node_children_foreach (toolbar_node, G_TRAVERSE_ALL,</td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> (GNodeForeachFunc) item_node_free, model);</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> g_free (toolbar-&gt;name);</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> g_free (toolbar);</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> g_node_destroy (toolbar_node);</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line">EggTbModelFlags</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line">egg_toolbars_model_get_flags (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> <span class='keyword'>int</span> toolbar_position)</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> GNode *toolbar_node;</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> EggToolbarsToolbar *toolbar;</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> toolbar_node = g_node_nth_child (model-&gt;priv-&gt;toolbars, toolbar_position);</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> <span class='macro'>g_return_val_if_fail (toolbar_node != NULL, 0)<span class='macro_popup'>do { if ((toolbar_node != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "toolbar_node != NULL"<br>); return (0); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> toolbar = toolbar_node-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> <span class='keyword'>return</span> toolbar-&gt;flags;</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line">egg_toolbars_model_set_flags (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> <span class='keyword'>int</span> toolbar_position,</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> EggTbModelFlags flags)</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> GNode *toolbar_node;</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> EggToolbarsToolbar *toolbar;</td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> toolbar_node = g_node_nth_child (model-&gt;priv-&gt;toolbars, toolbar_position);</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> <span class='macro'>g_return_if_fail (toolbar_node != NULL)<span class='macro_popup'>do { if ((toolbar_node != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "toolbar_node != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> toolbar = toolbar_node-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> toolbar-&gt;flags = flags;</td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (model)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((model)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, signals[TOOLBAR_CHANGED],</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> 0, toolbar_position);</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"><span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line">egg_toolbars_model_get_data (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> GdkAtom type,</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *name)</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> EggToolbarsItemType *t;</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> <span class='keyword'>char</span> *data = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> GList *l;</td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> <span class='keyword'>if</span> (type == <span class='macro'>GDK_NONE<span class='macro_popup'>((GdkAtom)((gpointer) (gulong) (0)))</span></span> || type == gdk_atom_intern (<span class='macro'>EGG_TOOLBAR_ITEM_TYPE<span class='macro_popup'>"application/x-toolbar-item"</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> <span class='macro'>g_return_val_if_fail (name != NULL, NULL)<span class='macro_popup'>do { if ((name != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "name != NULL"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> <span class='macro'>g_return_val_if_fail (*name != 0, NULL)<span class='macro_popup'>do { if ((*name != 0)) { } else { g_return_if_fail_warning ((<br>(gchar*) 0), ((const char*) (__func__)), "*name != 0"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> <span class='keyword'>return</span> strdup (name);</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> <span class='keyword'>for</span> (l = model-&gt;priv-&gt;types; l != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; l = l-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> t = l-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> <span class='keyword'>if</span> (t-&gt;type == type &amp;&amp; t-&gt;get_data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> data = t-&gt;get_data (t, name);</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> <span class='keyword'>if</span> (data != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> <span class='keyword'>return</span> data;</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"><span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line">egg_toolbars_model_get_name (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> GdkAtom type,</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *data,</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> gboolean create)</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> EggToolbarsItemType *t;</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> <span class='keyword'>char</span> *name = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> GList *l;</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> <span class='keyword'>if</span> (type == <span class='macro'>GDK_NONE<span class='macro_popup'>((GdkAtom)((gpointer) (gulong) (0)))</span></span> || type == gdk_atom_intern (<span class='macro'>EGG_TOOLBAR_ITEM_TYPE<span class='macro_popup'>"application/x-toolbar-item"</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='macro'>g_return_val_if_fail (data, NULL)<span class='macro_popup'>do { if ((data)) { } else { g_return_if_fail_warning (((gchar<br>*) 0), ((const char*) (__func__)), "data"); return (((void*)0<br>)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> <span class='macro'>g_return_val_if_fail (*data, NULL)<span class='macro_popup'>do { if ((*data)) { } else { g_return_if_fail_warning (((gchar<br>*) 0), ((const char*) (__func__)), "*data"); return (((void*)<br>0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> <span class='keyword'>return</span> strdup (data);</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> <span class='keyword'>if</span> (create)</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> <span class='keyword'>for</span> (l = model-&gt;priv-&gt;types; name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; l != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; l = l-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"> t = l-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line"> <span class='keyword'>if</span> (t-&gt;type == type &amp;&amp; t-&gt;new_name != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> name = t-&gt;new_name (t, data);</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> <span class='keyword'>return</span> name;</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> <span class='keyword'>for</span> (l = model-&gt;priv-&gt;types; name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; l != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; l = l-&gt;next)</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> t = l-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> <span class='keyword'>if</span> (t-&gt;type == type &amp;&amp; t-&gt;get_name != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> name = t-&gt;get_name (t, data);</td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> <span class='keyword'>return</span> name;</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line">impl_add_item (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> <span class='keyword'>int</span> toolbar_position,</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> <span class='keyword'>int</span> position,</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *name)</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> GNode *parent_node;</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> GNode *child_node;</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> <span class='keyword'>int</span> real_position;</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> <span class='macro'>g_return_val_if_fail (EGG_IS_TOOLBARS_MODEL (model), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((model)); GType __t = ((egg_toolbars_model_get_type ()));<br> gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning (((gchar*) 0), ((const<br> char*) (__func__)), "EGG_IS_TOOLBARS_MODEL (model)"); return<br> ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> <span class='macro'>g_return_val_if_fail (name != NULL, FALSE)<span class='macro_popup'>do { if ((name != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "name != NULL"); return<br> ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> parent_node = g_node_nth_child (model-&gt;priv-&gt;toolbars, toolbar_position);</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> child_node = item_node_new (name, model);</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> g_node_insert (parent_node, position, child_node);</td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> real_position = g_node_child_position (parent_node, child_node);</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (model)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((model)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, signals[ITEM_ADDED], 0,</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> toolbar_position, real_position);</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line">egg_toolbars_model_add_item (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> <span class='keyword'>int</span> toolbar_position,</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> <span class='keyword'>int</span> position,</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *name)</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> EggToolbarsModelClass *klass = <span class='macro'>EGG_TOOLBARS_MODEL_GET_CLASS (model)<span class='macro_popup'>((((EggToolbarsModelClass*) (((GTypeInstance*) ((model)))-&gt;<br>g_class))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> <span class='keyword'>return</span> klass-&gt;add_item (model, toolbar_position, position, name);</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"><span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line">egg_toolbars_model_add_toolbar (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> <span class='keyword'>int</span> position,</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *name)</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> GNode *node;</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> <span class='keyword'>int</span> real_position;</td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> <span class='macro'>g_return_val_if_fail (EGG_IS_TOOLBARS_MODEL (model), -1)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((model)); GType __t = ((egg_toolbars_model_get_type ()));<br> gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning (((gchar*) 0), ((const<br> char*) (__func__)), "EGG_IS_TOOLBARS_MODEL (model)"); return<br> (-1); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> node = toolbar_node_new (name);</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> g_node_insert (model-&gt;priv-&gt;toolbars, position, node);</td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> real_position = g_node_child_position (model-&gt;priv-&gt;toolbars, node);</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (model)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((model)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, signals[TOOLBAR_ADDED],</td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> 0, real_position);</td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> <span class='keyword'>return</span> g_node_child_position (model-&gt;priv-&gt;toolbars, node);</td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line">parse_data_list (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"> xmlNodePtr child,</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> gboolean create)</td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line"> <span class='keyword'>char</span> *name = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"> <span class='keyword'>while</span> (child &amp;&amp; name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"> <span class='keyword'>if</span> (xmlStrEqual (child-&gt;name, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"data"</span>))</td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line"> xmlChar *type = xmlGetProp (child, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"type"</span>);</td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> xmlChar *data = xmlNodeGetContent (child);</td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line"> <span class='keyword'>if</span> (type != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> GdkAtom atom = gdk_atom_intern ((<span class='keyword'>const</span> <span class='keyword'>char</span>*) type, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> name = egg_toolbars_model_get_name (model, atom, (<span class='keyword'>const</span> <span class='keyword'>char</span>*) data, create);</td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line"> xmlFree (type);</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line"> xmlFree (data);</td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> child = child-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line"> <span class='keyword'>return</span> name;</td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line">parse_item_list (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line"> xmlNodePtr child,</td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line"> <span class='keyword'>int</span> position)</td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line"> <span class='keyword'>while</span> (child)</td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line"> <span class='keyword'>if</span> (xmlStrEqual (child-&gt;name, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"toolitem"</span>))</td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line"> <span class='keyword'>char</span> *name;</td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line"> <span class='comment'>/* Try to get the name using the data elements first,</span></td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> <span class='comment'>as they are more 'portable' or 'persistent'. */</span></td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> name = parse_data_list (model, child-&gt;children, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> <span class='keyword'>if</span> (name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> name = parse_data_list (model, child-&gt;children, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"> <span class='comment'>/* If that fails, try to use the name. */</span></td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line"> <span class='keyword'>if</span> (name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> xmlChar *type = xmlGetProp (child, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"type"</span>);</td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line"> xmlChar *data = xmlGetProp (child, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"name"</span>);</td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> GdkAtom atom = type ? gdk_atom_intern ((<span class='keyword'>const</span> <span class='keyword'>char</span>*) type, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>) : <span class='macro'>GDK_NONE<span class='macro_popup'>((GdkAtom)((gpointer) (gulong) (0)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> <span class='comment'>/* If an old format, try to use it. */</span></td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> name = egg_toolbars_model_get_name (model, atom, (<span class='keyword'>const</span> <span class='keyword'>char</span>*) data, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> <span class='keyword'>if</span> (name == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> name = egg_toolbars_model_get_name (model, atom, (<span class='keyword'>const</span> <span class='keyword'>char</span>*) data, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line"> xmlFree (type);</td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line"> xmlFree (data);</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> <span class='keyword'>if</span> (name != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line"> egg_toolbars_model_add_item (model, position, -1, name);</td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"> g_free (name);</td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line"> <span class='keyword'>else</span> <span class='keyword'>if</span> (xmlStrEqual (child-&gt;name, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"separator"</span>))</td></tr>
+<tr class="codeline" data-linenumber="531"><td class="num" id="LN531">531</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="532"><td class="num" id="LN532">532</td><td class="line"> egg_toolbars_model_add_item (model, position, -1, <span class='string_literal'>"_separator"</span>);</td></tr>
+<tr class="codeline" data-linenumber="533"><td class="num" id="LN533">533</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="534"><td class="num" id="LN534">534</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="535"><td class="num" id="LN535">535</td><td class="line"> child = child-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="536"><td class="num" id="LN536">536</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="537"><td class="num" id="LN537">537</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="538"><td class="num" id="LN538">538</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="539"><td class="num" id="LN539">539</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="540"><td class="num" id="LN540">540</td><td class="line">parse_toolbars (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="541"><td class="num" id="LN541">541</td><td class="line"> xmlNodePtr child)</td></tr>
+<tr class="codeline" data-linenumber="542"><td class="num" id="LN542">542</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="543"><td class="num" id="LN543">543</td><td class="line"> <span class='keyword'>while</span> (child)</td></tr>
+<tr class="codeline" data-linenumber="544"><td class="num" id="LN544">544</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="545"><td class="num" id="LN545">545</td><td class="line"> <span class='keyword'>if</span> (xmlStrEqual (child-&gt;name, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"toolbar"</span>))</td></tr>
+<tr class="codeline" data-linenumber="546"><td class="num" id="LN546">546</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="547"><td class="num" id="LN547">547</td><td class="line"> xmlChar *string;</td></tr>
+<tr class="codeline" data-linenumber="548"><td class="num" id="LN548">548</td><td class="line"> <span class='keyword'>int</span> position;</td></tr>
+<tr class="codeline" data-linenumber="549"><td class="num" id="LN549">549</td><td class="line"> EggTbModelFlags flags;</td></tr>
+<tr class="codeline" data-linenumber="550"><td class="num" id="LN550">550</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="551"><td class="num" id="LN551">551</td><td class="line"> string = xmlGetProp (child, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"name"</span>);</td></tr>
+<tr class="codeline" data-linenumber="552"><td class="num" id="LN552">552</td><td class="line"> position = egg_toolbars_model_add_toolbar (model, -1, (<span class='keyword'>const</span> <span class='keyword'>char</span>*) string);</td></tr>
+<tr class="codeline" data-linenumber="553"><td class="num" id="LN553">553</td><td class="line"> flags = egg_toolbars_model_get_flags (model, position);</td></tr>
+<tr class="codeline" data-linenumber="554"><td class="num" id="LN554">554</td><td class="line"> xmlFree (string);</td></tr>
+<tr class="codeline" data-linenumber="555"><td class="num" id="LN555">555</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="556"><td class="num" id="LN556">556</td><td class="line"> string = xmlGetProp (child, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"editable"</span>);</td></tr>
+<tr class="codeline" data-linenumber="557"><td class="num" id="LN557">557</td><td class="line"> <span class='keyword'>if</span> (string &amp;&amp; xmlStrEqual (string, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"false"</span>))</td></tr>
+<tr class="codeline" data-linenumber="558"><td class="num" id="LN558">558</td><td class="line"> flags |= EGG_TB_MODEL_NOT_EDITABLE;</td></tr>
+<tr class="codeline" data-linenumber="559"><td class="num" id="LN559">559</td><td class="line"> xmlFree (string);</td></tr>
+<tr class="codeline" data-linenumber="560"><td class="num" id="LN560">560</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="561"><td class="num" id="LN561">561</td><td class="line"> string = xmlGetProp (child, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"hidden"</span>);</td></tr>
+<tr class="codeline" data-linenumber="562"><td class="num" id="LN562">562</td><td class="line"> <span class='keyword'>if</span> (string &amp;&amp; xmlStrEqual (string, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"true"</span>))</td></tr>
+<tr class="codeline" data-linenumber="563"><td class="num" id="LN563">563</td><td class="line"> flags |= EGG_TB_MODEL_HIDDEN;</td></tr>
+<tr class="codeline" data-linenumber="564"><td class="num" id="LN564">564</td><td class="line"> xmlFree (string);</td></tr>
+<tr class="codeline" data-linenumber="565"><td class="num" id="LN565">565</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="566"><td class="num" id="LN566">566</td><td class="line"> string = xmlGetProp (child, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"style"</span>);</td></tr>
+<tr class="codeline" data-linenumber="567"><td class="num" id="LN567">567</td><td class="line"> <span class='keyword'>if</span> (string &amp;&amp; xmlStrEqual (string, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"icons-only"</span>))</td></tr>
+<tr class="codeline" data-linenumber="568"><td class="num" id="LN568">568</td><td class="line"> flags |= EGG_TB_MODEL_ICONS;</td></tr>
+<tr class="codeline" data-linenumber="569"><td class="num" id="LN569">569</td><td class="line"> xmlFree (string);</td></tr>
+<tr class="codeline" data-linenumber="570"><td class="num" id="LN570">570</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="571"><td class="num" id="LN571">571</td><td class="line"> egg_toolbars_model_set_flags (model, position, flags);</td></tr>
+<tr class="codeline" data-linenumber="572"><td class="num" id="LN572">572</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="573"><td class="num" id="LN573">573</td><td class="line"> parse_item_list (model, child-&gt;children, position);</td></tr>
+<tr class="codeline" data-linenumber="574"><td class="num" id="LN574">574</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="575"><td class="num" id="LN575">575</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="576"><td class="num" id="LN576">576</td><td class="line"> child = child-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="577"><td class="num" id="LN577">577</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="578"><td class="num" id="LN578">578</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="579"><td class="num" id="LN579">579</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="580"><td class="num" id="LN580">580</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="581"><td class="num" id="LN581">581</td><td class="line">egg_toolbars_model_load_toolbars (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="582"><td class="num" id="LN582">582</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *xml_file)</td></tr>
+<tr class="codeline" data-linenumber="583"><td class="num" id="LN583">583</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="584"><td class="num" id="LN584">584</td><td class="line"> xmlDocPtr doc;</td></tr>
+<tr class="codeline" data-linenumber="585"><td class="num" id="LN585">585</td><td class="line"> xmlNodePtr root;</td></tr>
+<tr class="codeline" data-linenumber="586"><td class="num" id="LN586">586</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="587"><td class="num" id="LN587">587</td><td class="line"> <span class='macro'>g_return_val_if_fail (EGG_IS_TOOLBARS_MODEL (model), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((model)); GType __t = ((egg_toolbars_model_get_type ()));<br> gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning (((gchar*) 0), ((const<br> char*) (__func__)), "EGG_IS_TOOLBARS_MODEL (model)"); return<br> ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="588"><td class="num" id="LN588">588</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="589"><td class="num" id="LN589">589</td><td class="line"> <span class='keyword'>if</span> (!xml_file || !g_file_test (xml_file, G_FILE_TEST_EXISTS)) <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="590"><td class="num" id="LN590">590</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="591"><td class="num" id="LN591">591</td><td class="line"> doc = xmlParseFile (xml_file);</td></tr>
+<tr class="codeline" data-linenumber="592"><td class="num" id="LN592">592</td><td class="line"> <span class='keyword'>if</span> (doc == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="593"><td class="num" id="LN593">593</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="594"><td class="num" id="LN594">594</td><td class="line"> g_warning (<span class='string_literal'>"Failed to load XML data from %s"</span>, xml_file);</td></tr>
+<tr class="codeline" data-linenumber="595"><td class="num" id="LN595">595</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="596"><td class="num" id="LN596">596</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="597"><td class="num" id="LN597">597</td><td class="line"> root = xmlDocGetRootElement (doc);</td></tr>
+<tr class="codeline" data-linenumber="598"><td class="num" id="LN598">598</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="599"><td class="num" id="LN599">599</td><td class="line"> parse_toolbars (model, root-&gt;children);</td></tr>
+<tr class="codeline" data-linenumber="600"><td class="num" id="LN600">600</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="601"><td class="num" id="LN601">601</td><td class="line"> xmlFreeDoc (doc);</td></tr>
+<tr class="codeline" data-linenumber="602"><td class="num" id="LN602">602</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="603"><td class="num" id="LN603">603</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="604"><td class="num" id="LN604">604</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="605"><td class="num" id="LN605">605</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="606"><td class="num" id="LN606">606</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="607"><td class="num" id="LN607">607</td><td class="line">parse_available_list (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="608"><td class="num" id="LN608">608</td><td class="line"> xmlNodePtr child)</td></tr>
+<tr class="codeline" data-linenumber="609"><td class="num" id="LN609">609</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="610"><td class="num" id="LN610">610</td><td class="line"> gint flags;</td></tr>
+<tr class="codeline" data-linenumber="611"><td class="num" id="LN611">611</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="612"><td class="num" id="LN612">612</td><td class="line"> <span class='keyword'>while</span> (child)</td></tr>
+<tr class="codeline" data-linenumber="613"><td class="num" id="LN613">613</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="614"><td class="num" id="LN614">614</td><td class="line"> <span class='keyword'>if</span> (xmlStrEqual (child-&gt;name, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"toolitem"</span>))</td></tr>
+<tr class="codeline" data-linenumber="615"><td class="num" id="LN615">615</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="616"><td class="num" id="LN616">616</td><td class="line"> xmlChar *name;</td></tr>
+<tr class="codeline" data-linenumber="617"><td class="num" id="LN617">617</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="618"><td class="num" id="LN618">618</td><td class="line"> name = xmlGetProp (child, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"name"</span>);</td></tr>
+<tr class="codeline" data-linenumber="619"><td class="num" id="LN619">619</td><td class="line"> flags = egg_toolbars_model_get_name_flags</td></tr>
+<tr class="codeline" data-linenumber="620"><td class="num" id="LN620">620</td><td class="line"> (model, (<span class='keyword'>const</span> <span class='keyword'>char</span>*)name);</td></tr>
+<tr class="codeline" data-linenumber="621"><td class="num" id="LN621">621</td><td class="line"> egg_toolbars_model_set_name_flags</td></tr>
+<tr class="codeline" data-linenumber="622"><td class="num" id="LN622">622</td><td class="line"> (model, (<span class='keyword'>const</span> <span class='keyword'>char</span>*)name, flags | EGG_TB_MODEL_NAME_KNOWN);</td></tr>
+<tr class="codeline" data-linenumber="623"><td class="num" id="LN623">623</td><td class="line"> xmlFree (name);</td></tr>
+<tr class="codeline" data-linenumber="624"><td class="num" id="LN624">624</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="625"><td class="num" id="LN625">625</td><td class="line"> child = child-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="626"><td class="num" id="LN626">626</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="627"><td class="num" id="LN627">627</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="628"><td class="num" id="LN628">628</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="629"><td class="num" id="LN629">629</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="630"><td class="num" id="LN630">630</td><td class="line">parse_names (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="631"><td class="num" id="LN631">631</td><td class="line"> xmlNodePtr child)</td></tr>
+<tr class="codeline" data-linenumber="632"><td class="num" id="LN632">632</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="633"><td class="num" id="LN633">633</td><td class="line"> <span class='keyword'>while</span> (child)</td></tr>
+<tr class="codeline" data-linenumber="634"><td class="num" id="LN634">634</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="635"><td class="num" id="LN635">635</td><td class="line"> <span class='keyword'>if</span> (xmlStrEqual (child-&gt;name, (<span class='keyword'>const</span> xmlChar*) <span class='string_literal'>"available"</span>))</td></tr>
+<tr class="codeline" data-linenumber="636"><td class="num" id="LN636">636</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="637"><td class="num" id="LN637">637</td><td class="line"> parse_available_list (model, child-&gt;children);</td></tr>
+<tr class="codeline" data-linenumber="638"><td class="num" id="LN638">638</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="639"><td class="num" id="LN639">639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="640"><td class="num" id="LN640">640</td><td class="line"> child = child-&gt;next;</td></tr>
+<tr class="codeline" data-linenumber="641"><td class="num" id="LN641">641</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="642"><td class="num" id="LN642">642</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="643"><td class="num" id="LN643">643</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="644"><td class="num" id="LN644">644</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="645"><td class="num" id="LN645">645</td><td class="line">egg_toolbars_model_load_names (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="646"><td class="num" id="LN646">646</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *xml_file)</td></tr>
+<tr class="codeline" data-linenumber="647"><td class="num" id="LN647">647</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="648"><td class="num" id="LN648">648</td><td class="line"> xmlDocPtr doc;</td></tr>
+<tr class="codeline" data-linenumber="649"><td class="num" id="LN649">649</td><td class="line"> xmlNodePtr root;</td></tr>
+<tr class="codeline" data-linenumber="650"><td class="num" id="LN650">650</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="651"><td class="num" id="LN651">651</td><td class="line"> <span class='macro'>g_return_val_if_fail (EGG_IS_TOOLBARS_MODEL (model), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((model)); GType __t = ((egg_toolbars_model_get_type ()));<br> gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning (((gchar*) 0), ((const<br> char*) (__func__)), "EGG_IS_TOOLBARS_MODEL (model)"); return<br> ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="652"><td class="num" id="LN652">652</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="653"><td class="num" id="LN653">653</td><td class="line"> <span class='keyword'>if</span> (!xml_file || !g_file_test (xml_file, G_FILE_TEST_EXISTS)) <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="654"><td class="num" id="LN654">654</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="655"><td class="num" id="LN655">655</td><td class="line"> doc = xmlParseFile (xml_file);</td></tr>
+<tr class="codeline" data-linenumber="656"><td class="num" id="LN656">656</td><td class="line"> <span class='keyword'>if</span> (doc == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="657"><td class="num" id="LN657">657</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="658"><td class="num" id="LN658">658</td><td class="line"> g_warning (<span class='string_literal'>"Failed to load XML data from %s"</span>, xml_file);</td></tr>
+<tr class="codeline" data-linenumber="659"><td class="num" id="LN659">659</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="660"><td class="num" id="LN660">660</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="661"><td class="num" id="LN661">661</td><td class="line"> root = xmlDocGetRootElement (doc);</td></tr>
+<tr class="codeline" data-linenumber="662"><td class="num" id="LN662">662</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="663"><td class="num" id="LN663">663</td><td class="line"> parse_names (model, root-&gt;children);</td></tr>
+<tr class="codeline" data-linenumber="664"><td class="num" id="LN664">664</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="665"><td class="num" id="LN665">665</td><td class="line"> xmlFreeDoc (doc);</td></tr>
+<tr class="codeline" data-linenumber="666"><td class="num" id="LN666">666</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="667"><td class="num" id="LN667">667</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="668"><td class="num" id="LN668">668</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="669"><td class="num" id="LN669">669</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="670"><td class="num" id="LN670">670</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="671"><td class="num" id="LN671">671</td><td class="line">egg_toolbars_model_class_init (EggToolbarsModelClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="672"><td class="num" id="LN672">672</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="673"><td class="num" id="LN673">673</td><td class="line"> GObjectClass *object_class = <span class='macro'>G_OBJECT_CLASS (klass)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((klass)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="674"><td class="num" id="LN674">674</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="675"><td class="num" id="LN675">675</td><td class="line"> object_class-&gt;finalize = egg_toolbars_model_finalize;</td></tr>
+<tr class="codeline" data-linenumber="676"><td class="num" id="LN676">676</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="677"><td class="num" id="LN677">677</td><td class="line"> klass-&gt;add_item = impl_add_item;</td></tr>
+<tr class="codeline" data-linenumber="678"><td class="num" id="LN678">678</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="679"><td class="num" id="LN679">679</td><td class="line"> signals[ITEM_ADDED] =</td></tr>
+<tr class="codeline" data-linenumber="680"><td class="num" id="LN680">680</td><td class="line"> g_signal_new (<span class='string_literal'>"item_added"</span>,</td></tr>
+<tr class="codeline" data-linenumber="681"><td class="num" id="LN681">681</td><td class="line"> <span class='macro'>G_OBJECT_CLASS_TYPE (object_class)<span class='macro_popup'>((((GTypeClass*) (object_class))-&gt;g_type))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="682"><td class="num" id="LN682">682</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="683"><td class="num" id="LN683">683</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (EggToolbarsModelClass, item_added)<span class='macro_popup'>((glong) __builtin_offsetof(EggToolbarsModelClass, item_added<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="684"><td class="num" id="LN684">684</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, _egg_marshal_VOID__INT_INT,</td></tr>
+<tr class="codeline" data-linenumber="685"><td class="num" id="LN685">685</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 2, <span class='macro'>G_TYPE_INT<span class='macro_popup'>((GType) ((6) &lt;&lt; (2)))</span></span>, <span class='macro'>G_TYPE_INT<span class='macro_popup'>((GType) ((6) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="686"><td class="num" id="LN686">686</td><td class="line"> signals[TOOLBAR_ADDED] =</td></tr>
+<tr class="codeline" data-linenumber="687"><td class="num" id="LN687">687</td><td class="line"> g_signal_new (<span class='string_literal'>"toolbar_added"</span>,</td></tr>
+<tr class="codeline" data-linenumber="688"><td class="num" id="LN688">688</td><td class="line"> <span class='macro'>G_OBJECT_CLASS_TYPE (object_class)<span class='macro_popup'>((((GTypeClass*) (object_class))-&gt;g_type))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="689"><td class="num" id="LN689">689</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="690"><td class="num" id="LN690">690</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (EggToolbarsModelClass, toolbar_added)<span class='macro_popup'>((glong) __builtin_offsetof(EggToolbarsModelClass, toolbar_added<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="691"><td class="num" id="LN691">691</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, g_cclosure_marshal_VOID__INT,</td></tr>
+<tr class="codeline" data-linenumber="692"><td class="num" id="LN692">692</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 1, <span class='macro'>G_TYPE_INT<span class='macro_popup'>((GType) ((6) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="693"><td class="num" id="LN693">693</td><td class="line"> signals[ITEM_REMOVED] =</td></tr>
+<tr class="codeline" data-linenumber="694"><td class="num" id="LN694">694</td><td class="line"> g_signal_new (<span class='string_literal'>"item_removed"</span>,</td></tr>
+<tr class="codeline" data-linenumber="695"><td class="num" id="LN695">695</td><td class="line"> <span class='macro'>G_OBJECT_CLASS_TYPE (object_class)<span class='macro_popup'>((((GTypeClass*) (object_class))-&gt;g_type))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="696"><td class="num" id="LN696">696</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="697"><td class="num" id="LN697">697</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (EggToolbarsModelClass, item_removed)<span class='macro_popup'>((glong) __builtin_offsetof(EggToolbarsModelClass, item_removed<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="698"><td class="num" id="LN698">698</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, _egg_marshal_VOID__INT_INT,</td></tr>
+<tr class="codeline" data-linenumber="699"><td class="num" id="LN699">699</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 2, <span class='macro'>G_TYPE_INT<span class='macro_popup'>((GType) ((6) &lt;&lt; (2)))</span></span>, <span class='macro'>G_TYPE_INT<span class='macro_popup'>((GType) ((6) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="700"><td class="num" id="LN700">700</td><td class="line"> signals[TOOLBAR_REMOVED] =</td></tr>
+<tr class="codeline" data-linenumber="701"><td class="num" id="LN701">701</td><td class="line"> g_signal_new (<span class='string_literal'>"toolbar_removed"</span>,</td></tr>
+<tr class="codeline" data-linenumber="702"><td class="num" id="LN702">702</td><td class="line"> <span class='macro'>G_OBJECT_CLASS_TYPE (object_class)<span class='macro_popup'>((((GTypeClass*) (object_class))-&gt;g_type))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="703"><td class="num" id="LN703">703</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="704"><td class="num" id="LN704">704</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (EggToolbarsModelClass, toolbar_removed)<span class='macro_popup'>((glong) __builtin_offsetof(EggToolbarsModelClass, toolbar_removed<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="705"><td class="num" id="LN705">705</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, g_cclosure_marshal_VOID__INT,</td></tr>
+<tr class="codeline" data-linenumber="706"><td class="num" id="LN706">706</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 1, <span class='macro'>G_TYPE_INT<span class='macro_popup'>((GType) ((6) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="707"><td class="num" id="LN707">707</td><td class="line"> signals[TOOLBAR_CHANGED] =</td></tr>
+<tr class="codeline" data-linenumber="708"><td class="num" id="LN708">708</td><td class="line"> g_signal_new (<span class='string_literal'>"toolbar_changed"</span>,</td></tr>
+<tr class="codeline" data-linenumber="709"><td class="num" id="LN709">709</td><td class="line"> <span class='macro'>G_OBJECT_CLASS_TYPE (object_class)<span class='macro_popup'>((((GTypeClass*) (object_class))-&gt;g_type))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="710"><td class="num" id="LN710">710</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="711"><td class="num" id="LN711">711</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (EggToolbarsModelClass, toolbar_changed)<span class='macro_popup'>((glong) __builtin_offsetof(EggToolbarsModelClass, toolbar_changed<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="712"><td class="num" id="LN712">712</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, g_cclosure_marshal_VOID__INT,</td></tr>
+<tr class="codeline" data-linenumber="713"><td class="num" id="LN713">713</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 1, <span class='macro'>G_TYPE_INT<span class='macro_popup'>((GType) ((6) &lt;&lt; (2)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="714"><td class="num" id="LN714">714</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="715"><td class="num" id="LN715">715</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="716"><td class="num" id="LN716">716</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="717"><td class="num" id="LN717">717</td><td class="line">egg_toolbars_model_init (EggToolbarsModel *model)</td></tr>
+<tr class="codeline" data-linenumber="718"><td class="num" id="LN718">718</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="719"><td class="num" id="LN719">719</td><td class="line"> model-&gt;priv = egg_toolbars_model_get_instance_private (model);</td></tr>
+<tr class="codeline" data-linenumber="720"><td class="num" id="LN720">720</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="721"><td class="num" id="LN721">721</td><td class="line"> model-&gt;priv-&gt;toolbars = g_node_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="722"><td class="num" id="LN722">722</td><td class="line"> model-&gt;priv-&gt;flags = g_hash_table_new_full (g_str_hash, g_str_equal, g_free, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="723"><td class="num" id="LN723">723</td><td class="line"> egg_toolbars_model_set_name_flags (model, <span class='string_literal'>"_separator"</span>,</td></tr>
+<tr class="codeline" data-linenumber="724"><td class="num" id="LN724">724</td><td class="line"> EGG_TB_MODEL_NAME_KNOWN |</td></tr>
+<tr class="codeline" data-linenumber="725"><td class="num" id="LN725">725</td><td class="line"> EGG_TB_MODEL_NAME_INFINITE);</td></tr>
+<tr class="codeline" data-linenumber="726"><td class="num" id="LN726">726</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="727"><td class="num" id="LN727">727</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="728"><td class="num" id="LN728">728</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="729"><td class="num" id="LN729">729</td><td class="line">egg_toolbars_model_finalize (GObject *object)</td></tr>
+<tr class="codeline" data-linenumber="730"><td class="num" id="LN730">730</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="731"><td class="num" id="LN731">731</td><td class="line"> EggToolbarsModel *model = <span class='macro'>EGG_TOOLBARS_MODEL (object)<span class='macro_popup'>((((EggToolbarsModel*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((object)), ((egg_toolbars_model_get_type ())<br>)))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="732"><td class="num" id="LN732">732</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="733"><td class="num" id="LN733">733</td><td class="line"> g_node_children_foreach (model-&gt;priv-&gt;toolbars, G_TRAVERSE_ALL,</td></tr>
+<tr class="codeline" data-linenumber="734"><td class="num" id="LN734">734</td><td class="line"> (GNodeForeachFunc) toolbar_node_free, model);</td></tr>
+<tr class="codeline" data-linenumber="735"><td class="num" id="LN735">735</td><td class="line"> g_node_destroy (model-&gt;priv-&gt;toolbars);</td></tr>
+<tr class="codeline" data-linenumber="736"><td class="num" id="LN736">736</td><td class="line"> g_hash_table_destroy (model-&gt;priv-&gt;flags);</td></tr>
+<tr class="codeline" data-linenumber="737"><td class="num" id="LN737">737</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="738"><td class="num" id="LN738">738</td><td class="line"> <span class='macro'>G_OBJECT_CLASS (egg_toolbars_model_parent_class)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((egg_toolbars_model_parent_class)), (((GType) ((20) &lt;&lt;<br> (2))))))))</span></span>-&gt;finalize (object);</td></tr>
+<tr class="codeline" data-linenumber="739"><td class="num" id="LN739">739</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="740"><td class="num" id="LN740">740</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="741"><td class="num" id="LN741">741</td><td class="line">EggToolbarsModel *</td></tr>
+<tr class="codeline" data-linenumber="742"><td class="num" id="LN742">742</td><td class="line">egg_toolbars_model_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="743"><td class="num" id="LN743">743</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="744"><td class="num" id="LN744">744</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>EGG_TOOLBARS_MODEL (g_object_new (EGG_TYPE_TOOLBARS_MODEL, NULL))<span class='macro_popup'>((((EggToolbarsModel*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((g_object_new ((egg_toolbars_model_get_type (<br>)), ((void*)0)))), ((egg_toolbars_model_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="745"><td class="num" id="LN745">745</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="746"><td class="num" id="LN746">746</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="747"><td class="num" id="LN747">747</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="748"><td class="num" id="LN748">748</td><td class="line">egg_toolbars_model_remove_toolbar (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="749"><td class="num" id="LN749">749</td><td class="line"> <span class='keyword'>int</span> position)</td></tr>
+<tr class="codeline" data-linenumber="750"><td class="num" id="LN750">750</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="751"><td class="num" id="LN751">751</td><td class="line"> GNode *node;</td></tr>
+<tr class="codeline" data-linenumber="752"><td class="num" id="LN752">752</td><td class="line"> EggTbModelFlags flags;</td></tr>
+<tr class="codeline" data-linenumber="753"><td class="num" id="LN753">753</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="754"><td class="num" id="LN754">754</td><td class="line"> <span class='macro'>g_return_if_fail (EGG_IS_TOOLBARS_MODEL (model))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((model)); GType __t = ((egg_toolbars_model_get_type ()));<br> gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning (((gchar*) 0), ((const<br> char*) (__func__)), "EGG_IS_TOOLBARS_MODEL (model)"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="755"><td class="num" id="LN755">755</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="756"><td class="num" id="LN756">756</td><td class="line"> flags = egg_toolbars_model_get_flags (model, position);</td></tr>
+<tr class="codeline" data-linenumber="757"><td class="num" id="LN757">757</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="758"><td class="num" id="LN758">758</td><td class="line"> <span class='keyword'>if</span> (!(flags &amp; EGG_TB_MODEL_NOT_REMOVABLE))</td></tr>
+<tr class="codeline" data-linenumber="759"><td class="num" id="LN759">759</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="760"><td class="num" id="LN760">760</td><td class="line"> node = g_node_nth_child (model-&gt;priv-&gt;toolbars, position);</td></tr>
+<tr class="codeline" data-linenumber="761"><td class="num" id="LN761">761</td><td class="line"> <span class='macro'>g_return_if_fail (node != NULL)<span class='macro_popup'>do { if ((node != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "node != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="762"><td class="num" id="LN762">762</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="763"><td class="num" id="LN763">763</td><td class="line"> toolbar_node_free (node, model);</td></tr>
+<tr class="codeline" data-linenumber="764"><td class="num" id="LN764">764</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="765"><td class="num" id="LN765">765</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (model)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((model)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, signals[TOOLBAR_REMOVED],</td></tr>
+<tr class="codeline" data-linenumber="766"><td class="num" id="LN766">766</td><td class="line"> 0, position);</td></tr>
+<tr class="codeline" data-linenumber="767"><td class="num" id="LN767">767</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="768"><td class="num" id="LN768">768</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="769"><td class="num" id="LN769">769</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="770"><td class="num" id="LN770">770</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="771"><td class="num" id="LN771">771</td><td class="line">egg_toolbars_model_remove_item (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="772"><td class="num" id="LN772">772</td><td class="line"> <span class='keyword'>int</span> toolbar_position,</td></tr>
+<tr class="codeline" data-linenumber="773"><td class="num" id="LN773">773</td><td class="line"> <span class='keyword'>int</span> position)</td></tr>
+<tr class="codeline" data-linenumber="774"><td class="num" id="LN774">774</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="775"><td class="num" id="LN775">775</td><td class="line"> GNode *node, *toolbar;</td></tr>
+<tr class="codeline" data-linenumber="776"><td class="num" id="LN776">776</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="777"><td class="num" id="LN777">777</td><td class="line"> <span class='macro'>g_return_if_fail (EGG_IS_TOOLBARS_MODEL (model))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((model)); GType __t = ((egg_toolbars_model_get_type ()));<br> gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning (((gchar*) 0), ((const<br> char*) (__func__)), "EGG_IS_TOOLBARS_MODEL (model)"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="778"><td class="num" id="LN778">778</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="779"><td class="num" id="LN779">779</td><td class="line"> toolbar = g_node_nth_child (model-&gt;priv-&gt;toolbars, toolbar_position);</td></tr>
+<tr class="codeline" data-linenumber="780"><td class="num" id="LN780">780</td><td class="line"> <span class='macro'>g_return_if_fail (toolbar != NULL)<span class='macro_popup'>do { if ((toolbar != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "toolbar != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="781"><td class="num" id="LN781">781</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="782"><td class="num" id="LN782">782</td><td class="line"> node = g_node_nth_child (toolbar, position);</td></tr>
+<tr class="codeline" data-linenumber="783"><td class="num" id="LN783">783</td><td class="line"> <span class='macro'>g_return_if_fail (node != NULL)<span class='macro_popup'>do { if ((node != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "node != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="784"><td class="num" id="LN784">784</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="785"><td class="num" id="LN785">785</td><td class="line"> item_node_free (node, model);</td></tr>
+<tr class="codeline" data-linenumber="786"><td class="num" id="LN786">786</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="787"><td class="num" id="LN787">787</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (model)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((model)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, signals[ITEM_REMOVED], 0,</td></tr>
+<tr class="codeline" data-linenumber="788"><td class="num" id="LN788">788</td><td class="line"> toolbar_position, position);</td></tr>
+<tr class="codeline" data-linenumber="789"><td class="num" id="LN789">789</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="790"><td class="num" id="LN790">790</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="791"><td class="num" id="LN791">791</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="792"><td class="num" id="LN792">792</td><td class="line">egg_toolbars_model_move_item (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="793"><td class="num" id="LN793">793</td><td class="line"> <span class='keyword'>int</span> toolbar_position,</td></tr>
+<tr class="codeline" data-linenumber="794"><td class="num" id="LN794">794</td><td class="line"> <span class='keyword'>int</span> position,</td></tr>
+<tr class="codeline" data-linenumber="795"><td class="num" id="LN795">795</td><td class="line"> <span class='keyword'>int</span> new_toolbar_position,</td></tr>
+<tr class="codeline" data-linenumber="796"><td class="num" id="LN796">796</td><td class="line"> <span class='keyword'>int</span> new_position)</td></tr>
+<tr class="codeline" data-linenumber="797"><td class="num" id="LN797">797</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="798"><td class="num" id="LN798">798</td><td class="line"> GNode *node, *toolbar, *new_toolbar;</td></tr>
+<tr class="codeline" data-linenumber="799"><td class="num" id="LN799">799</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="800"><td class="num" id="LN800">800</td><td class="line"> <span class='macro'>g_return_if_fail (EGG_IS_TOOLBARS_MODEL (model))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((model)); GType __t = ((egg_toolbars_model_get_type ()));<br> gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning (((gchar*) 0), ((const<br> char*) (__func__)), "EGG_IS_TOOLBARS_MODEL (model)"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="801"><td class="num" id="LN801">801</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="802"><td class="num" id="LN802">802</td><td class="line"> toolbar = g_node_nth_child (model-&gt;priv-&gt;toolbars, toolbar_position);</td></tr>
+<tr class="codeline" data-linenumber="803"><td class="num" id="LN803">803</td><td class="line"> <span class='macro'>g_return_if_fail (toolbar != NULL)<span class='macro_popup'>do { if ((toolbar != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "toolbar != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="804"><td class="num" id="LN804">804</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="805"><td class="num" id="LN805">805</td><td class="line"> new_toolbar = g_node_nth_child (model-&gt;priv-&gt;toolbars, new_toolbar_position);</td></tr>
+<tr class="codeline" data-linenumber="806"><td class="num" id="LN806">806</td><td class="line"> <span class='macro'>g_return_if_fail (new_toolbar != NULL)<span class='macro_popup'>do { if ((new_toolbar != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "new_toolbar != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="807"><td class="num" id="LN807">807</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="808"><td class="num" id="LN808">808</td><td class="line"> node = g_node_nth_child (toolbar, position);</td></tr>
+<tr class="codeline" data-linenumber="809"><td class="num" id="LN809">809</td><td class="line"> <span class='macro'>g_return_if_fail (node != NULL)<span class='macro_popup'>do { if ((node != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "node != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="810"><td class="num" id="LN810">810</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="811"><td class="num" id="LN811">811</td><td class="line"> g_node_unlink (node);</td></tr>
+<tr class="codeline" data-linenumber="812"><td class="num" id="LN812">812</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="813"><td class="num" id="LN813">813</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (model)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((model)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, signals[ITEM_REMOVED], 0,</td></tr>
+<tr class="codeline" data-linenumber="814"><td class="num" id="LN814">814</td><td class="line"> toolbar_position, position);</td></tr>
+<tr class="codeline" data-linenumber="815"><td class="num" id="LN815">815</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="816"><td class="num" id="LN816">816</td><td class="line"> g_node_insert (new_toolbar, new_position, node);</td></tr>
+<tr class="codeline" data-linenumber="817"><td class="num" id="LN817">817</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="818"><td class="num" id="LN818">818</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (model)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((model)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, signals[ITEM_ADDED], 0,</td></tr>
+<tr class="codeline" data-linenumber="819"><td class="num" id="LN819">819</td><td class="line"> new_toolbar_position, new_position);</td></tr>
+<tr class="codeline" data-linenumber="820"><td class="num" id="LN820">820</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="821"><td class="num" id="LN821">821</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="822"><td class="num" id="LN822">822</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="823"><td class="num" id="LN823">823</td><td class="line">egg_toolbars_model_delete_item (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="824"><td class="num" id="LN824">824</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *name)</td></tr>
+<tr class="codeline" data-linenumber="825"><td class="num" id="LN825">825</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="826"><td class="num" id="LN826">826</td><td class="line"> EggToolbarsItem *idata;</td></tr>
+<tr class="codeline" data-linenumber="827"><td class="num" id="LN827">827</td><td class="line"> EggToolbarsToolbar *tdata;</td></tr>
+<tr class="codeline" data-linenumber="828"><td class="num" id="LN828">828</td><td class="line"> GNode *toolbar, *item, *next;</td></tr>
+<tr class="codeline" data-linenumber="829"><td class="num" id="LN829">829</td><td class="line"> <span class='keyword'>int</span> tpos, ipos;</td></tr>
+<tr class="codeline" data-linenumber="830"><td class="num" id="LN830">830</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="831"><td class="num" id="LN831">831</td><td class="line"> <span class='macro'>g_return_if_fail (EGG_IS_TOOLBARS_MODEL (model))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((model)); GType __t = ((egg_toolbars_model_get_type ()));<br> gboolean __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class<br> &amp;&amp; __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)<br>); else __r = g_type_check_instance_is_a (__inst, __t); __r; }<br>)))))) { } else { g_return_if_fail_warning (((gchar*) 0), ((const<br> char*) (__func__)), "EGG_IS_TOOLBARS_MODEL (model)"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="832"><td class="num" id="LN832">832</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="833"><td class="num" id="LN833">833</td><td class="line"> toolbar = <span class='macro'>g_node_first_child (model-&gt;priv-&gt;toolbars)<span class='macro_popup'>((model-&gt;priv-&gt;toolbars) ? ((GNode*) (model-&gt;priv-&gt;<br>toolbars))-&gt;children : ((void*)0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="834"><td class="num" id="LN834">834</td><td class="line"> tpos = 0;</td></tr>
+<tr class="codeline" data-linenumber="835"><td class="num" id="LN835">835</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="836"><td class="num" id="LN836">836</td><td class="line"> <span class='keyword'>while</span> (toolbar != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="837"><td class="num" id="LN837">837</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="838"><td class="num" id="LN838">838</td><td class="line"> item = <span class='macro'>g_node_first_child (toolbar)<span class='macro_popup'>((toolbar) ? ((GNode*) (toolbar))-&gt;children : ((void*)0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="839"><td class="num" id="LN839">839</td><td class="line"> ipos = 0;</td></tr>
+<tr class="codeline" data-linenumber="840"><td class="num" id="LN840">840</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="841"><td class="num" id="LN841">841</td><td class="line"> <span class='comment'>/* Don't delete toolbars that were already empty */</span></td></tr>
+<tr class="codeline" data-linenumber="842"><td class="num" id="LN842">842</td><td class="line"> <span class='keyword'>if</span> (item == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="843"><td class="num" id="LN843">843</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="844"><td class="num" id="LN844">844</td><td class="line"> toolbar = <span class='macro'>g_node_next_sibling (toolbar)<span class='macro_popup'>((toolbar) ? ((GNode*) (toolbar))-&gt;next : ((void*)0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="845"><td class="num" id="LN845">845</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="846"><td class="num" id="LN846">846</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="847"><td class="num" id="LN847">847</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="848"><td class="num" id="LN848">848</td><td class="line"> <span class='keyword'>while</span> (item != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="849"><td class="num" id="LN849">849</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="850"><td class="num" id="LN850">850</td><td class="line"> next = <span class='macro'>g_node_next_sibling (item)<span class='macro_popup'>((item) ? ((GNode*) (item))-&gt;next : ((void*)0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="851"><td class="num" id="LN851">851</td><td class="line"> idata = item-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="852"><td class="num" id="LN852">852</td><td class="line"> <span class='keyword'>if</span> (strcmp (idata-&gt;name, name) == 0)</td></tr>
+<tr class="codeline" data-linenumber="853"><td class="num" id="LN853">853</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="854"><td class="num" id="LN854">854</td><td class="line"> item_node_free (item, model);</td></tr>
+<tr class="codeline" data-linenumber="855"><td class="num" id="LN855">855</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (model)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((model)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="856"><td class="num" id="LN856">856</td><td class="line"> signals[ITEM_REMOVED],</td></tr>
+<tr class="codeline" data-linenumber="857"><td class="num" id="LN857">857</td><td class="line"> 0, tpos, ipos);</td></tr>
+<tr class="codeline" data-linenumber="858"><td class="num" id="LN858">858</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="859"><td class="num" id="LN859">859</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="860"><td class="num" id="LN860">860</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="861"><td class="num" id="LN861">861</td><td class="line"> ipos++;</td></tr>
+<tr class="codeline" data-linenumber="862"><td class="num" id="LN862">862</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="863"><td class="num" id="LN863">863</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="864"><td class="num" id="LN864">864</td><td class="line"> item = next;</td></tr>
+<tr class="codeline" data-linenumber="865"><td class="num" id="LN865">865</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="866"><td class="num" id="LN866">866</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="867"><td class="num" id="LN867">867</td><td class="line"> next = <span class='macro'>g_node_next_sibling (toolbar)<span class='macro_popup'>((toolbar) ? ((GNode*) (toolbar))-&gt;next : ((void*)0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="868"><td class="num" id="LN868">868</td><td class="line"> tdata = toolbar-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="869"><td class="num" id="LN869">869</td><td class="line"> <span class='keyword'>if</span> (!(tdata-&gt;flags &amp; EGG_TB_MODEL_NOT_REMOVABLE) &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="870"><td class="num" id="LN870">870</td><td class="line"> <span class='macro'>g_node_first_child (toolbar)<span class='macro_popup'>((toolbar) ? ((GNode*) (toolbar))-&gt;children : ((void*)0))</span></span> == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="871"><td class="num" id="LN871">871</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="872"><td class="num" id="LN872">872</td><td class="line"> toolbar_node_free (toolbar, model);</td></tr>
+<tr class="codeline" data-linenumber="873"><td class="num" id="LN873">873</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="874"><td class="num" id="LN874">874</td><td class="line"> g_signal_emit (<span class='macro'>G_OBJECT (model)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((model)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="875"><td class="num" id="LN875">875</td><td class="line"> signals[TOOLBAR_REMOVED],</td></tr>
+<tr class="codeline" data-linenumber="876"><td class="num" id="LN876">876</td><td class="line"> 0, tpos);</td></tr>
+<tr class="codeline" data-linenumber="877"><td class="num" id="LN877">877</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="878"><td class="num" id="LN878">878</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="879"><td class="num" id="LN879">879</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="880"><td class="num" id="LN880">880</td><td class="line"> tpos++;</td></tr>
+<tr class="codeline" data-linenumber="881"><td class="num" id="LN881">881</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="882"><td class="num" id="LN882">882</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="883"><td class="num" id="LN883">883</td><td class="line"> toolbar = next;</td></tr>
+<tr class="codeline" data-linenumber="884"><td class="num" id="LN884">884</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="885"><td class="num" id="LN885">885</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="886"><td class="num" id="LN886">886</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="887"><td class="num" id="LN887">887</td><td class="line"><span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="888"><td class="num" id="LN888">888</td><td class="line">egg_toolbars_model_n_items (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="889"><td class="num" id="LN889">889</td><td class="line"> <span class='keyword'>int</span> toolbar_position)</td></tr>
+<tr class="codeline" data-linenumber="890"><td class="num" id="LN890">890</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="891"><td class="num" id="LN891">891</td><td class="line"> GNode *toolbar;</td></tr>
+<tr class="codeline" data-linenumber="892"><td class="num" id="LN892">892</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="893"><td class="num" id="LN893">893</td><td class="line"> toolbar = g_node_nth_child (model-&gt;priv-&gt;toolbars, toolbar_position);</td></tr>
+<tr class="codeline" data-linenumber="894"><td class="num" id="LN894">894</td><td class="line"> <span class='macro'>g_return_val_if_fail (toolbar != NULL, -1)<span class='macro_popup'>do { if ((toolbar != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "toolbar != NULL"<br>); return (-1); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="895"><td class="num" id="LN895">895</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="896"><td class="num" id="LN896">896</td><td class="line"> <span class='keyword'>return</span> g_node_n_children (toolbar);</td></tr>
+<tr class="codeline" data-linenumber="897"><td class="num" id="LN897">897</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="898"><td class="num" id="LN898">898</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="899"><td class="num" id="LN899">899</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="900"><td class="num" id="LN900">900</td><td class="line">egg_toolbars_model_item_nth (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="901"><td class="num" id="LN901">901</td><td class="line"> <span class='keyword'>int</span> toolbar_position,</td></tr>
+<tr class="codeline" data-linenumber="902"><td class="num" id="LN902">902</td><td class="line"> <span class='keyword'>int</span> position)</td></tr>
+<tr class="codeline" data-linenumber="903"><td class="num" id="LN903">903</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="904"><td class="num" id="LN904">904</td><td class="line"> GNode *toolbar;</td></tr>
+<tr class="codeline" data-linenumber="905"><td class="num" id="LN905">905</td><td class="line"> GNode *item;</td></tr>
+<tr class="codeline" data-linenumber="906"><td class="num" id="LN906">906</td><td class="line"> EggToolbarsItem *idata;</td></tr>
+<tr class="codeline" data-linenumber="907"><td class="num" id="LN907">907</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="908"><td class="num" id="LN908">908</td><td class="line"> toolbar = g_node_nth_child (model-&gt;priv-&gt;toolbars, toolbar_position);</td></tr>
+<tr class="codeline" data-linenumber="909"><td class="num" id="LN909">909</td><td class="line"> <span class='macro'>g_return_val_if_fail (toolbar != NULL, NULL)<span class='macro_popup'>do { if ((toolbar != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "toolbar != NULL"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="910"><td class="num" id="LN910">910</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="911"><td class="num" id="LN911">911</td><td class="line"> item = g_node_nth_child (toolbar, position);</td></tr>
+<tr class="codeline" data-linenumber="912"><td class="num" id="LN912">912</td><td class="line"> <span class='macro'>g_return_val_if_fail (item != NULL, NULL)<span class='macro_popup'>do { if ((item != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "item != NULL"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="913"><td class="num" id="LN913">913</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="914"><td class="num" id="LN914">914</td><td class="line"> idata = item-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="915"><td class="num" id="LN915">915</td><td class="line"> <span class='keyword'>return</span> idata-&gt;name;</td></tr>
+<tr class="codeline" data-linenumber="916"><td class="num" id="LN916">916</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="917"><td class="num" id="LN917">917</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="918"><td class="num" id="LN918">918</td><td class="line"><span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="919"><td class="num" id="LN919">919</td><td class="line">egg_toolbars_model_n_toolbars (EggToolbarsModel *model)</td></tr>
+<tr class="codeline" data-linenumber="920"><td class="num" id="LN920">920</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="921"><td class="num" id="LN921">921</td><td class="line"> <span class='keyword'>return</span> g_node_n_children (model-&gt;priv-&gt;toolbars);</td></tr>
+<tr class="codeline" data-linenumber="922"><td class="num" id="LN922">922</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="923"><td class="num" id="LN923">923</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="924"><td class="num" id="LN924">924</td><td class="line"><span class='keyword'>const</span> <span class='keyword'>char</span> *</td></tr>
+<tr class="codeline" data-linenumber="925"><td class="num" id="LN925">925</td><td class="line">egg_toolbars_model_toolbar_nth (EggToolbarsModel *model,</td></tr>
+<tr class="codeline" data-linenumber="926"><td class="num" id="LN926">926</td><td class="line"> <span class='keyword'>int</span> position)</td></tr>
+<tr class="codeline" data-linenumber="927"><td class="num" id="LN927">927</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="928"><td class="num" id="LN928">928</td><td class="line"> GNode *toolbar;</td></tr>
+<tr class="codeline" data-linenumber="929"><td class="num" id="LN929">929</td><td class="line"> EggToolbarsToolbar *tdata;</td></tr>
+<tr class="codeline" data-linenumber="930"><td class="num" id="LN930">930</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="931"><td class="num" id="LN931">931</td><td class="line"> toolbar = g_node_nth_child (model-&gt;priv-&gt;toolbars, position);</td></tr>
+<tr class="codeline" data-linenumber="932"><td class="num" id="LN932">932</td><td class="line"> <span class='macro'>g_return_val_if_fail (toolbar != NULL, NULL)<span class='macro_popup'>do { if ((toolbar != ((void*)0))) { } else { g_return_if_fail_warning<br> (((gchar*) 0), ((const char*) (__func__)), "toolbar != NULL"<br>); return (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="933"><td class="num" id="LN933">933</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="934"><td class="num" id="LN934">934</td><td class="line"> tdata = toolbar-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="935"><td class="num" id="LN935">935</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="936"><td class="num" id="LN936">936</td><td class="line"> <span class='keyword'>return</span> tdata-&gt;name;</td></tr>
+<tr class="codeline" data-linenumber="937"><td class="num" id="LN937">937</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="938"><td class="num" id="LN938">938</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="939"><td class="num" id="LN939">939</td><td class="line">GList *</td></tr>
+<tr class="codeline" data-linenumber="940"><td class="num" id="LN940">940</td><td class="line">egg_toolbars_model_get_types (EggToolbarsModel *model)</td></tr>
+<tr class="codeline" data-linenumber="941"><td class="num" id="LN941">941</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="942"><td class="num" id="LN942">942</td><td class="line"> <span class='keyword'>return</span> model-&gt;priv-&gt;types;</td></tr>
+<tr class="codeline" data-linenumber="943"><td class="num" id="LN943">943</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="944"><td class="num" id="LN944">944</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="945"><td class="num" id="LN945">945</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="946"><td class="num" id="LN946">946</td><td class="line">egg_toolbars_model_set_types (EggToolbarsModel *model, GList *types)</td></tr>
+<tr class="codeline" data-linenumber="947"><td class="num" id="LN947">947</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="948"><td class="num" id="LN948">948</td><td class="line"> model-&gt;priv-&gt;types = types;</td></tr>
+<tr class="codeline" data-linenumber="949"><td class="num" id="LN949">949</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="950"><td class="num" id="LN950">950</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="951"><td class="num" id="LN951">951</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="952"><td class="num" id="LN952">952</td><td class="line">fill_avail_array (gpointer key, gpointer value, GPtrArray *array)</td></tr>
+<tr class="codeline" data-linenumber="953"><td class="num" id="LN953">953</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="954"><td class="num" id="LN954">954</td><td class="line"> <span class='keyword'>int</span> flags = <span class='macro'>GPOINTER_TO_INT (value)<span class='macro_popup'>((gint) (glong) (value))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="955"><td class="num" id="LN955">955</td><td class="line"> <span class='keyword'>if</span> ((flags &amp; EGG_TB_MODEL_NAME_KNOWN) &amp;&amp; !(flags &amp; EGG_TB_MODEL_NAME_USED))</td></tr>
+<tr class="codeline" data-linenumber="956"><td class="num" id="LN956">956</td><td class="line"> g_ptr_array_add (array, key);</td></tr>
+<tr class="codeline" data-linenumber="957"><td class="num" id="LN957">957</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="958"><td class="num" id="LN958">958</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="959"><td class="num" id="LN959">959</td><td class="line">GPtrArray *</td></tr>
+<tr class="codeline" data-linenumber="960"><td class="num" id="LN960">960</td><td class="line">egg_toolbars_model_get_name_avail (EggToolbarsModel *model)</td></tr>
+<tr class="codeline" data-linenumber="961"><td class="num" id="LN961">961</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="962"><td class="num" id="LN962">962</td><td class="line"> GPtrArray *array = g_ptr_array_new ();</td></tr>
+<tr class="codeline" data-linenumber="963"><td class="num" id="LN963">963</td><td class="line"> g_hash_table_foreach (model-&gt;priv-&gt;flags, (GHFunc) fill_avail_array, array);</td></tr>
+<tr class="codeline" data-linenumber="964"><td class="num" id="LN964">964</td><td class="line"> <span class='keyword'>return</span> array;</td></tr>
+<tr class="codeline" data-linenumber="965"><td class="num" id="LN965">965</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="966"><td class="num" id="LN966">966</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="967"><td class="num" id="LN967">967</td><td class="line">gint</td></tr>
+<tr class="codeline" data-linenumber="968"><td class="num" id="LN968">968</td><td class="line">egg_toolbars_model_get_name_flags (EggToolbarsModel *model, <span class='keyword'>const</span> <span class='keyword'>char</span> *name)</td></tr>
+<tr class="codeline" data-linenumber="969"><td class="num" id="LN969">969</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="970"><td class="num" id="LN970">970</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>GPOINTER_TO_INT (g_hash_table_lookup (model-&gt;priv-&gt;flags, name))<span class='macro_popup'>((gint) (glong) (g_hash_table_lookup (model-&gt;priv-&gt;flags<br>, name)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="971"><td class="num" id="LN971">971</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="972"><td class="num" id="LN972">972</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="973"><td class="num" id="LN973">973</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="974"><td class="num" id="LN974">974</td><td class="line">egg_toolbars_model_set_name_flags (EggToolbarsModel *model, <span class='keyword'>const</span> <span class='keyword'>char</span> *name, gint flags)</td></tr>
+<tr class="codeline" data-linenumber="975"><td class="num" id="LN975">975</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="976"><td class="num" id="LN976">976</td><td class="line"> g_hash_table_insert (model-&gt;priv-&gt;flags, <span class='macro'>g_strdup (name)<span class='macro_popup'>g_strdup_inline (name)</span></span>, <span class='macro'>GINT_TO_POINTER (flags)<span class='macro_popup'>((gpointer) (glong) (flags))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="977"><td class="num" id="LN977">977</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f46d8d.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f46d8d.html
new file mode 100644
index 0000000..f954abd
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f46d8d.html
@@ -0,0 +1,864 @@
+<!doctype html>
+<html>
+<head>
+<title>main.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC This statement is never executed -->
+
+<!-- BUGTYPE Unreachable code -->
+
+<!-- BUGCATEGORY Unused code -->
+
+<!-- BUGFILE /rootdir/src/main.c -->
+
+<!-- FILENAME main.c -->
+
+<!-- FUNCTIONNAME _print_version_and_exit -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT f46d8dd9ec32baad76ae7d73e303a3db -->
+
+<!-- BUGLINE 65 -->
+
+<!-- BUGCOLUMN 9 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/main.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 65, column 9</a><br />This statement is never executed</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name main.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model static -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I ../cut-n-paste/toolbar-editor -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -I /usr/include/gobject-introspection-1.0 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/sysprof-6 -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c main.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"65": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of Mate - Main</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2000-2006 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Author: Lucas Rocha &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* Based on code by:</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* - Federico Mena-Quintero &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* - Jens Finke &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include "config.h"</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_INTROSPECTION<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include &lt;girepository.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include "eom-session.h"</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='directive'>#include "eom-debug.h"</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#include "eom-thumbnail.h"</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#include "eom-job-queue.h"</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"><span class='directive'>#include "eom-application.h"</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#include "eom-application-internal.h"</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#include "eom-util.h"</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#include &lt;string.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"><span class='directive'>#if <span class='macro'>HAVE_EXEMPI<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"><span class='directive'>#include &lt;exempi/xmp.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"><span class='keyword'>static</span> EomStartupFlags flags;</td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"><span class='keyword'>static</span> gboolean fullscreen = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='keyword'>static</span> gboolean slide_show = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"><span class='keyword'>static</span> gboolean disable_collection = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"><span class='keyword'>static</span> gboolean force_new_instance = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"><span class='keyword'>static</span> gchar **startup_files = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line">_print_version_and_exit (<span class='keyword'>const</span> gchar *option_name,</td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"> <span class='keyword'>const</span> gchar *value,</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> gpointer data,</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> GError **error)</td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> g_print(<span class='string_literal'>"%s %s\n"</span>, <span class='macro'>_(<span class='string_literal'>"Eye of MATE Image Viewer"</span>)<span class='macro_popup'>gettext ("Eye of MATE Image Viewer")</span></span>, <span class='macro'>VERSION<span class='macro_popup'>"1.27.1"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> exit (<span class='macro'>EXIT_SUCCESS<span class='macro_popup'>0</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> <span class='keyword'>return</span> <span class="mrange"><span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:16ex">This statement is never executed</div></td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GOptionEntry goption_options[] =</td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> { <span class='string_literal'>"fullscreen"</span>, 'f', 0, G_OPTION_ARG_NONE, &amp;fullscreen, <span class='macro'>N_(<span class='string_literal'>"Open in fullscreen mode"</span>)<span class='macro_popup'>("Open in fullscreen mode")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> { <span class='string_literal'>"disable-image-collection"</span>, 'c', 0, G_OPTION_ARG_NONE, &amp;disable_collection, <span class='macro'>N_(<span class='string_literal'>"Disable image collection"</span>)<span class='macro_popup'>("Disable image collection")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> { <span class='string_literal'>"slide-show"</span>, 's', 0, G_OPTION_ARG_NONE, &amp;slide_show, <span class='macro'>N_(<span class='string_literal'>"Open in slideshow mode"</span>)<span class='macro_popup'>("Open in slideshow mode")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> { <span class='string_literal'>"new-instance"</span>, 'n', 0, G_OPTION_ARG_NONE, &amp;force_new_instance, <span class='macro'>N_(<span class='string_literal'>"Start a new instance instead of reusing an existing one"</span>)<span class='macro_popup'>("Start a new instance instead of reusing an existing one")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"> { <span class='string_literal'>"version"</span>, 0, G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK,</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> _print_version_and_exit, <span class='macro'>N_(<span class='string_literal'>"Show the application's version"</span>)<span class='macro_popup'>("Show the application's version")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>},</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"> { <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> }</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line">set_startup_flags (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> <span class='keyword'>if</span> (fullscreen)</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> flags |= EOM_STARTUP_FULLSCREEN;</td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>if</span> (disable_collection)</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> flags |= EOM_STARTUP_DISABLE_COLLECTION;</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> <span class='keyword'>if</span> (slide_show)</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> flags |= EOM_STARTUP_SLIDE_SHOW;</td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"><span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line">main (<span class='keyword'>int</span> argc, <span class='keyword'>char</span> **argv)</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> GOptionContext *ctx;</td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> GFile *css_file;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> GtkCssProvider *provider;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"><span class='directive'>#ifdef <span class='macro'>ENABLE_NLS<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> bindtextdomain (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>, <span class='macro'>EOM_LOCALE_DIR<span class='macro_popup'>"/usr/local/share/locale"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> bind_textdomain_codeset (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>, <span class='string_literal'>"UTF-8"</span>);</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> textdomain (<span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"><span class='directive'>#endif /* ENABLE_NLS */</span></td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> gdk_set_allowed_backends (<span class='string_literal'>"wayland,x11"</span>);</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> ctx = g_option_context_new (<span class='macro'>_(<span class='string_literal'>"[FILE…]"</span>)<span class='macro_popup'>gettext ("[FILE…]")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> g_option_context_add_main_entries (ctx, goption_options, <span class='macro'>PACKAGE<span class='macro_popup'>"eom"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> <span class='comment'>/* Option groups are free'd together with the context</span></td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> <span class='comment'>* Using gtk_get_option_group here initializes gtk during parsing */</span></td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> g_option_context_add_group (ctx, gtk_get_option_group (<span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_INTROSPECTION<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> g_option_context_add_group (ctx, g_irepository_get_option_group ());</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> <span class='keyword'>if</span> (!g_option_context_parse (ctx, &amp;argc, &amp;argv, &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> gchar *help_msg;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> <span class='comment'>/* I18N: The '%s' is replaced with eom's command name. */</span></td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> help_msg = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Run '%s --help' to see a full "<span class='macro_popup'>gettext ("Run '%s --help' to see a full " "list of available command line "<br> "options.")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> <span class='string_literal'><span class='macro'>"list of available command line "<span class='macro_popup'>gettext ("Run '%s --help' to see a full " "list of available command line "<br> "options.")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> <span class='string_literal'><span class='macro'>"options."</span>)<span class='macro_popup'>gettext ("Run '%s --help' to see a full " "list of available command line "<br> "options.")</span></span>, argv[0]);</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> g_printerr (<span class='string_literal'>"%s\n%s\n"</span>, error-&gt;message, help_msg);</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> g_free (help_msg);</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> g_option_context_free (ctx);</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> g_option_context_free (ctx);</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> set_startup_flags ();</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXEMPI<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> xmp_init();</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> eom_debug_init ();</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> eom_job_queue_init ();</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> eom_thumbnail_init ();</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> <span class='comment'>/* Load special style properties for EomThumbView's scrollbar */</span></td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> css_file = g_file_new_for_uri (<span class='string_literal'>"resource:///org/mate/eom/ui/eom.css"</span>);</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> provider = gtk_css_provider_new ();</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_UNLIKELY (!gtk_css_provider_load_from_file(provider,<span class='macro_popup'>(!gtk_css_provider_load_from_file(provider, css_file, &amp;error<br>))</span></span></td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> <span class='macro'>css_file,<span class='macro_popup'>(!gtk_css_provider_load_from_file(provider, css_file, &amp;error<br>))</span></span></td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> <span class='macro'>&amp;error))<span class='macro_popup'>(!gtk_css_provider_load_from_file(provider, css_file, &amp;error<br>))</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> g_critical (<span class='string_literal'>"Could not load CSS data: %s"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> g_clear_error (&amp;error);</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> gtk_style_context_add_provider_for_screen (</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> gdk_screen_get_default(),</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> <span class='macro'>GTK_STYLE_PROVIDER (provider)<span class='macro_popup'>((((GtkStyleProvider*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((provider)), ((gtk_style_provider_get_type (<br>)))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> <span class='macro'>GTK_STYLE_PROVIDER_PRIORITY_APPLICATION<span class='macro_popup'>600</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> g_object_unref (provider);</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> g_object_unref (css_file);</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> <span class='comment'>/* Add application specific icons to search path */</span></td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> gtk_icon_theme_append_search_path (gtk_icon_theme_get_default (),</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> <span class='macro'>EOM_DATA_DIR<span class='macro_popup'>"/usr/local/share/eom"</span></span> <span class='macro'>G_DIR_SEPARATOR_S<span class='macro_popup'>"/"</span></span> <span class='string_literal'>"icons"</span>);</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> gtk_window_set_default_icon_name (<span class='string_literal'>"eom"</span>);</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> g_set_application_name (<span class='macro'>_(<span class='string_literal'>"Eye of MATE Image Viewer"</span>)<span class='macro_popup'>gettext ("Eye of MATE Image Viewer")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>-&gt;priv-&gt;flags = flags;</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>if</span> (force_new_instance) {</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> GApplicationFlags app_flags = g_application_get_flags (<span class='macro'>G_APPLICATION (EOM_APP)<span class='macro_popup'>((((GApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ()))), ((g_application_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> app_flags |= G_APPLICATION_NON_UNIQUE;</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> g_application_set_flags (<span class='macro'>G_APPLICATION (EOM_APP)<span class='macro_popup'>((((GApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ()))), ((g_application_get_type<br> ()))))))</span></span>, app_flags);</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> g_application_run (<span class='macro'>G_APPLICATION (EOM_APP)<span class='macro_popup'>((((GApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ()))), ((g_application_get_type<br> ()))))))</span></span>, argc, argv);</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> g_object_unref (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>if</span> (startup_files)</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> g_strfreev (startup_files);</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXEMPI<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> xmp_terminate();</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> <span class='keyword'>return</span> 0;</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f88495.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f88495.html
new file mode 100644
index 0000000..bcab54a
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f88495.html
@@ -0,0 +1,6520 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-window.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption -->
+
+<!-- BUGTYPE Cast from non-struct type to struct type -->
+
+<!-- BUGCATEGORY Logic error -->
+
+<!-- BUGFILE /rootdir/src/eom-window.c -->
+
+<!-- FILENAME eom-window.c -->
+
+<!-- FUNCTIONNAME eom_window_cmd_edit_toolbar -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT f884959c8aa6c71174d4452f32f9cf80 -->
+
+<!-- BUGLINE 2513 -->
+
+<!-- BUGCOLUMN 2 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-window.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 2513, column 2</a><br />Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-window.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-window.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"2513": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of Mate - Main Window</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2000-2008 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Author: Lucas Rocha &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* Based on code by:</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* - Federico Mena-Quintero &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* - Jens Finke &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* Based on evince code (shell/ev-window.c) by:</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>* - Martin Kretzschmar &lt;[email protected]&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> <span class='comment'>* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include "config.h"</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include &lt;math.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"><span class='directive'>#include "eom-window.h"</span></td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='directive'>#include "eom-scroll-view.h"</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#include "eom-debug.h"</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"><span class='directive'>#include "eom-file-chooser.h"</span></td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='directive'>#include "eom-thumb-view.h"</span></td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"><span class='directive'>#include "eom-list-store.h"</span></td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line"><span class='directive'>#include "eom-sidebar.h"</span></td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"><span class='directive'>#include "eom-statusbar.h"</span></td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='directive'>#include "eom-preferences-dialog.h"</span></td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"><span class='directive'>#include "eom-properties-dialog.h"</span></td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"><span class='directive'>#include "eom-print.h"</span></td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line"><span class='directive'>#include "eom-error-message-area.h"</span></td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"><span class='directive'>#include "eom-application.h"</span></td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='directive'>#include "eom-application-internal.h"</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"><span class='directive'>#include "eom-thumb-nav.h"</span></td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"><span class='directive'>#include "eom-config-keys.h"</span></td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='directive'>#include "eom-job-queue.h"</span></td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"><span class='directive'>#include "eom-jobs.h"</span></td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='directive'>#include "eom-util.h"</span></td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line"><span class='directive'>#include "eom-save-as-dialog-helper.h"</span></td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line"><span class='directive'>#include "eom-close-confirmation-dialog.h"</span></td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"><span class='directive'>#include "eom-clipboard-handler.h"</span></td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line"><span class='directive'>#include "eom-window-activatable.h"</span></td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"><span class='directive'>#include "eom-metadata-sidebar.h"</span></td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line"><span class='directive'>#include "eom-enum-types.h"</span></td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"><span class='directive'>#include "egg-toolbar-editor.h"</span></td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line"><span class='directive'>#include "egg-editable-toolbar.h"</span></td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"><span class='directive'>#include "egg-toolbars-model.h"</span></td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"><span class='directive'>#include &lt;glib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"><span class='directive'>#include &lt;glib-object.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"><span class='directive'>#include &lt;glib/gi18n.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"><span class='directive'>#include &lt;gio/gio.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"><span class='directive'>#include &lt;gdk/gdkkeysyms.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"><span class='directive'>#include &lt;gio/gdesktopappinfo.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"><span class='directive'>#include &lt;libpeas/peas-extension-set.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line"><span class='directive'>#include &lt;libpeas/peas-activatable.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line"><span class='directive'>#if <span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"><span class='directive'>#include &lt;X11/Xlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"><span class='directive'>#include &lt;X11/Xatom.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"><span class='directive'>#ifdef GDK_WINDOWING_X11</span></td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"><span class='directive'>#include &lt;gdk/gdkx.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"><span class='directive'>#include &lt;lcms2.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"><span class='directive'>#define MATE_DESKTOP_USE_UNSTABLE_API</span></td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"><span class='directive'>#include &lt;libmate-desktop/mate-desktop-utils.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_WINDOW_MIN_WIDTH<span class='macro_popup'>440</span></span> 440</span></td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_WINDOW_MIN_HEIGHT<span class='macro_popup'>350</span></span> 350</span></td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_WINDOW_DEFAULT_WIDTH<span class='macro_popup'>540</span></span> 540</span></td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_WINDOW_DEFAULT_HEIGHT<span class='macro_popup'>450</span></span> 450</span></td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_WINDOW_FULLSCREEN_TIMEOUT<span class='macro_popup'>5 * 1000</span></span> 5 * 1000</span></td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_WINDOW_FULLSCREEN_POPUP_THRESHOLD<span class='macro_popup'>5</span></span> 5</span></td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_RECENT_FILES_GROUP<span class='macro_popup'>"Graphics"</span></span> "Graphics"</span></td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_RECENT_FILES_APP_NAME<span class='macro_popup'>"Eye of MATE Image Viewer"</span></span> "Eye of MATE Image Viewer"</span></td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_RECENT_FILES_LIMIT<span class='macro_popup'>5</span></span> 5</span></td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_WALLPAPER_FILENAME<span class='macro_popup'>"eom-wallpaper"</span></span> "eom-wallpaper"</span></td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"><span class='directive'>#define <span class='macro'>is_rtl<span class='macro_popup'>(gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL)</span></span> (gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL)</span></td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> EOM_WINDOW_STATUS_UNKNOWN,</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> EOM_WINDOW_STATUS_INIT,</td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> EOM_WINDOW_STATUS_NORMAL</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line">} EomWindowStatus;</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"><span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> PROP_0,</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> PROP_COLLECTION_POS,</td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> PROP_COLLECTION_RESIZABLE,</td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> PROP_STARTUP_FLAGS</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"><span class='keyword'>enum</span> {</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> SIGNAL_PREPARED,</td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> SIGNAL_LAST</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"><span class='keyword'>static</span> guint signals[SIGNAL_LAST] = { 0 };</td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"><span class='keyword'>struct</span> _EomWindowPrivate {</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> GSettings *view_settings;</td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> GSettings *ui_settings;</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> GSettings *fullscreen_settings;</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> GSettings *lockdown_settings;</td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> EomListStore *store;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> EomWindowMode mode;</td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> EomWindowStatus status;</td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> GtkUIManager *ui_mgr;</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> GtkWidget *box;</td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> GtkWidget *layout;</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> GtkWidget *cbox;</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> GtkWidget *view;</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> GtkWidget *sidebar;</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> GtkWidget *thumbview;</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> GtkWidget *statusbar;</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> GtkWidget *nav;</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> GtkWidget *message_area;</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> GtkWidget *toolbar;</td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> GtkWidget *properties_dlg;</td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> GtkActionGroup *actions_window;</td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> GtkActionGroup *actions_image;</td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> GtkActionGroup *actions_collection;</td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> GtkActionGroup *actions_recent;</td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> GtkWidget *fullscreen_popup;</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> GSource *fullscreen_timeout_source;</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> gboolean slideshow_random;</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> gboolean slideshow_loop;</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> gint slideshow_switch_timeout;</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> GSource *slideshow_switch_source;</td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> guint fullscreen_idle_inhibit_cookie;</td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> guint recent_menu_id;</td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> EomJob *load_job;</td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> EomJob *transform_job;</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> EomJob *save_job;</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> GFile *last_save_as_folder;</td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> EomJob *copy_job;</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> guint image_info_message_cid;</td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> guint tip_message_cid;</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> guint copy_file_cid;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> EomStartupFlags flags;</td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> GSList *file_list;</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> EomWindowCollectionPos collection_position;</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> gboolean collection_resizable;</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> GtkActionGroup *actions_open_with;</td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> guint open_with_menu_id;</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> gboolean save_disabled;</td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> gboolean needs_reload_confirmation;</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> GtkPageSetup *page_setup;</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> PeasExtensionSet *extensions;</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> cmsHPROFILE *display_profile;</td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EomWindow, eom_window, GTK_TYPE_APPLICATION_WINDOW)<span class='macro_popup'>static void eom_window_init (EomWindow *self); static void eom_window_class_init<br> (EomWindowClass *klass); static GType eom_window_get_type_once<br> (void); static gpointer eom_window_parent_class = ((void*)0)<br>; static gint EomWindow_private_offset; static void eom_window_class_intern_init<br> (gpointer klass) { eom_window_parent_class = g_type_class_peek_parent<br> (klass); if (EomWindow_private_offset != 0) g_type_class_adjust_private_offset<br> (klass, &amp;EomWindow_private_offset); eom_window_class_init<br> ((EomWindowClass*) klass); } __attribute__ ((__unused__)) static<br> inline gpointer eom_window_get_instance_private (EomWindow *<br>self) { return (((gpointer) ((guint8*) (self) + (glong) (EomWindow_private_offset<br>)))); } GType eom_window_get_type (void) { static gsize static_g_define_type_id<br> = 0; if ((__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); (void<br>) (0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0<br>)); (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = eom_window_get_type_once (<br>); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType eom_window_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> ((gtk_application_window_get_type ()), g_intern_static_string<br> ("EomWindow"), sizeof (EomWindowClass), (GClassInitFunc)(void<br> (*)(void)) eom_window_class_intern_init, sizeof (EomWindow),<br> (GInstanceInitFunc)(void (*)(void)) eom_window_init, (GTypeFlags<br>) 0); { {{ EomWindow_private_offset = g_type_add_instance_private<br> (g_define_type_id, sizeof (EomWindowPrivate)); };} } return g_define_type_id<br>; }</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_cmd_fullscreen (GtkAction *action, gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_run_fullscreen (EomWindow *window, gboolean slideshow);</td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_cmd_slideshow (GtkAction *action, gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_cmd_pause_slideshow (GtkAction *action, gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_stop_fullscreen (EomWindow *window, gboolean slideshow);</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_job_load_cb (EomJobLoad *job, gpointer data);</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_job_save_progress_cb (EomJobSave *job, <span class='keyword'>float</span> progress, gpointer data);</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_job_progress_cb (EomJobLoad *job, <span class='keyword'>float</span> progress, gpointer data);</td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_job_transform_cb (EomJobTransform *job, gpointer data);</td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fullscreen_set_timeout (EomWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> fullscreen_clear_timeout (EomWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> update_action_groups_state (EomWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> open_with_launch_application_cb (GtkAction *action, gpointer callback_data);</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_update_openwith_menu (EomWindow *window, EomImage *image);</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_list_store_image_added (GtkTreeModel *tree_model,</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> GtkTreeIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line"> gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_list_store_image_removed (GtkTreeModel *tree_model,</td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"> gpointer user_data);</td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_set_wallpaper (EomWindow *window, <span class='keyword'>const</span> gchar *filename, <span class='keyword'>const</span> gchar *visible_filename);</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line"><span class='keyword'>static</span> gboolean eom_window_save_images (EomWindow *window, GList *images);</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> disconnect_proxy_cb (GtkUIManager *manager,</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> GtkAction *action,</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> GtkWidget *proxy,</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> EomWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span> eom_window_finish_saving (EomWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"><span class='keyword'>static</span> GAppInfo *get_appinfo_for_editor (EomWindow *window);</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"><span class='keyword'>static</span> GQuark</td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line">eom_window_error_quark (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> <span class='keyword'>static</span> GQuark q = 0;</td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> <span class='keyword'>if</span> (q == 0)</td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> q = g_quark_from_static_string (<span class='string_literal'>"eom-window-error-quark"</span>);</td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> <span class='keyword'>return</span> q;</td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line">eom_window_set_collection_mode (EomWindow *window, EomWindowCollectionPos position, gboolean resizable)</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> GtkWidget *hpaned;</td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> EomThumbNavMode mode = EOM_THUMB_NAV_MODE_ONE_ROW;</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> eom_debug (<span class='macro'>DEBUG_PREFERENCES<span class='macro_popup'>EOM_DEBUG_PREFERENCES, "eom-window.c", 247, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;collection_position == position &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"> priv-&gt;collection_resizable == resizable)</td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> priv-&gt;collection_position = position;</td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> priv-&gt;collection_resizable = resizable;</td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> hpaned = gtk_widget_get_parent (priv-&gt;sidebar);</td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='macro'>g_object_ref (hpaned)<span class='macro_popup'>((__typeof__ (hpaned)) (g_object_ref) (hpaned))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line"> <span class='macro'>g_object_ref (priv-&gt;nav)<span class='macro_popup'>((__typeof__ (priv-&gt;nav)) (g_object_ref) (priv-&gt;nav))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line"> gtk_container_remove (<span class='macro'>GTK_CONTAINER (priv-&gt;layout)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_container_get_type ()))))))</span></span>, hpaned);</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> gtk_container_remove (<span class='macro'>GTK_CONTAINER (priv-&gt;layout)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_container_get_type ()))))))</span></span>, priv-&gt;nav);</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> gtk_widget_destroy (priv-&gt;layout);</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> <span class='keyword'>switch</span> (position) {</td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_COLLECTION_POS_BOTTOM:</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_COLLECTION_POS_TOP:</td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> <span class='keyword'>if</span> (resizable) {</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> mode = EOM_THUMB_NAV_MODE_MULTIPLE_ROWS;</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> priv-&gt;layout = gtk_paned_new (GTK_ORIENTATION_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line"> <span class='keyword'>if</span> (position == EOM_WINDOW_COLLECTION_POS_BOTTOM) {</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> gtk_paned_pack1 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line"> gtk_paned_pack2 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line"> gtk_paned_pack1 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> gtk_paned_pack2 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> mode = EOM_THUMB_NAV_MODE_ONE_ROW;</td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line"> priv-&gt;layout = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line"> <span class='keyword'>if</span> (position == EOM_WINDOW_COLLECTION_POS_BOTTOM) {</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_COLLECTION_POS_LEFT:</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_COLLECTION_POS_RIGHT:</td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line"> <span class='keyword'>if</span> (resizable) {</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line"> mode = EOM_THUMB_NAV_MODE_MULTIPLE_COLUMNS;</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> priv-&gt;layout = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> <span class='keyword'>if</span> (position == EOM_WINDOW_COLLECTION_POS_LEFT) {</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> gtk_paned_pack1 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> gtk_paned_pack2 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> gtk_paned_pack1 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line"> gtk_paned_pack2 (<span class='macro'>GTK_PANED (priv-&gt;layout)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_paned_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line"> mode = EOM_THUMB_NAV_MODE_ONE_COLUMN;</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> priv-&gt;layout = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 2);</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> <span class='keyword'>if</span> (position == EOM_WINDOW_COLLECTION_POS_LEFT) {</td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> gtk_box_pack_end (<span class='macro'>GTK_BOX (priv-&gt;cbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;cbox)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;layout, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> eom_thumb_nav_set_mode (<span class='macro'>EOM_THUMB_NAV (priv-&gt;nav)<span class='macro_popup'>((((EomThumbNav*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;nav)), ((eom_thumb_nav_get_type ()))))))</span></span>, mode);</td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;mode != EOM_WINDOW_MODE_UNKNOWN) {</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line"> update_action_groups_state (window);</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line">eom_window_can_save_changed_cb (GSettings *settings, gchar *key, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> gboolean save_disabled = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> GtkAction *action_save, *action_save_as;</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> eom_debug (<span class='macro'>DEBUG_PREFERENCES<span class='macro_popup'>EOM_DEBUG_PREFERENCES, "eom-window.c", 348, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> save_disabled = g_settings_get_boolean (settings, key);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> priv-&gt;save_disabled = save_disabled;</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> action_save =</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_image, <span class='string_literal'>"ImageSave"</span>);</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> action_save_as =</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_image, <span class='string_literal'>"ImageSaveAs"</span>);</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;save_disabled) {</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> gtk_action_set_sensitive (action_save, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> gtk_action_set_sensitive (action_save_as, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> EomImage *image = eom_window_get_image (window);</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>EOM_IS_IMAGE (image)<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(image)); GType __t = ((eom_image_get_type ())); gboolean __r<br>; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> gtk_action_set_sensitive (action_save,</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> eom_image_is_modified (image));</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> gtk_action_set_sensitive (action_save_as, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line"><span class='keyword'>static</span> cmsHPROFILE *</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line">eom_window_get_display_profile (GdkScreen *screen)</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> Display *dpy;</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> Atom icc_atom, type;</td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> <span class='keyword'>int</span> format;</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> gulong nitems;</td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> gulong bytes_after;</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> gulong length;</td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> guchar *str;</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> <span class='keyword'>int</span> result;</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> cmsHPROFILE *profile = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> <span class='keyword'>char</span> *atom_name;</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> <span class='keyword'>if</span> (!<span class='macro'>GDK_IS_X11_SCREEN (screen)<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(screen)); GType __t = ((gdk_x11_screen_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> dpy = <span class='macro'>GDK_DISPLAY_XDISPLAY (gdk_screen_get_display (screen))<span class='macro_popup'>(gdk_x11_display_get_xdisplay (gdk_screen_get_display (screen<br>)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> <span class='keyword'>if</span> (gdk_x11_screen_get_screen_number (screen) &gt; 0)</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> atom_name = g_strdup_printf (<span class='string_literal'>"_ICC_PROFILE_%d"</span>, gdk_x11_screen_get_screen_number (screen));</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> atom_name = <span class='macro'>g_strdup (<span class='string_literal'>"_ICC_PROFILE"</span>)<span class='macro_popup'>g_strdup_inline ("_ICC_PROFILE")</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> icc_atom = gdk_x11_get_xatom_by_name_for_display (gdk_screen_get_display (screen), atom_name);</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> g_free (atom_name);</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> result = XGetWindowProperty (dpy,</td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> <span class='macro'>GDK_WINDOW_XID (gdk_screen_get_root_window (screen))<span class='macro_popup'>(gdk_x11_window_get_xid (gdk_screen_get_root_window (screen))<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> icc_atom,</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> <span class='macro'>G_MAXLONG<span class='macro_popup'>9223372036854775807L</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> <span class='macro'>False<span class='macro_popup'>0</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> <span class='macro'>XA_CARDINAL<span class='macro_popup'>((Atom) 6)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> &amp;type,</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> &amp;format,</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> &amp;nitems,</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> &amp;bytes_after,</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> (guchar **)&amp;str);</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> <span class='comment'>/* TODO: handle bytes_after != 0 */</span></td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> <span class='keyword'>if</span> ((result == <span class='macro'>Success<span class='macro_popup'>0</span></span>) &amp;&amp; (type == <span class='macro'>XA_CARDINAL<span class='macro_popup'>((Atom) 6)</span></span>) &amp;&amp; (nitems &gt; 0)) {</td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> <span class='keyword'>switch</span> (format)</td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> <span class='keyword'>case</span> 8:</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> length = nitems;</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> <span class='keyword'>case</span> 16:</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> length = <span class='keyword'>sizeof</span>(<span class='keyword'>short</span>) * nitems;</td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line"> <span class='keyword'>case</span> 32:</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> length = <span class='keyword'>sizeof</span>(<span class='keyword'>long</span>) * nitems;</td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_LCMS<span class='macro_popup'>EOM_DEBUG_LCMS, "eom-window.c", 439, ((const char*) (__func__<br>))</span></span>, <span class='string_literal'>"Unable to read profile, not correcting"</span>);</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> XFree (str);</td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line"> profile = cmsOpenProfileFromMem (str, length);</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="447"><td class="num" id="LN447">447</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_UNLIKELY (profile == NULL)<span class='macro_popup'>(profile == ((void*)0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="448"><td class="num" id="LN448">448</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_LCMS<span class='macro_popup'>EOM_DEBUG_LCMS, "eom-window.c", 448, ((const char*) (__func__<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="449"><td class="num" id="LN449">449</td><td class="line"> <span class='string_literal'>"Invalid display profile set, "</span></td></tr>
+<tr class="codeline" data-linenumber="450"><td class="num" id="LN450">450</td><td class="line"> <span class='string_literal'>"not using it"</span>);</td></tr>
+<tr class="codeline" data-linenumber="451"><td class="num" id="LN451">451</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="452"><td class="num" id="LN452">452</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="453"><td class="num" id="LN453">453</td><td class="line"> XFree (str);</td></tr>
+<tr class="codeline" data-linenumber="454"><td class="num" id="LN454">454</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="455"><td class="num" id="LN455">455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="456"><td class="num" id="LN456">456</td><td class="line"> <span class='keyword'>if</span> (profile == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="457"><td class="num" id="LN457">457</td><td class="line"> profile = cmsCreate_sRGBProfile ();</td></tr>
+<tr class="codeline" data-linenumber="458"><td class="num" id="LN458">458</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_LCMS<span class='macro_popup'>EOM_DEBUG_LCMS, "eom-window.c", 458, ((const char*) (__func__<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="459"><td class="num" id="LN459">459</td><td class="line"> <span class='string_literal'>"No valid display profile set, assuming sRGB"</span>);</td></tr>
+<tr class="codeline" data-linenumber="460"><td class="num" id="LN460">460</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="461"><td class="num" id="LN461">461</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="462"><td class="num" id="LN462">462</td><td class="line"> <span class='keyword'>return</span> profile;</td></tr>
+<tr class="codeline" data-linenumber="463"><td class="num" id="LN463">463</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="464"><td class="num" id="LN464">464</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="465"><td class="num" id="LN465">465</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="466"><td class="num" id="LN466">466</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="467"><td class="num" id="LN467">467</td><td class="line">update_image_pos (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="468"><td class="num" id="LN468">468</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="469"><td class="num" id="LN469">469</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="470"><td class="num" id="LN470">470</td><td class="line"> gint pos = -1, n_images = 0;</td></tr>
+<tr class="codeline" data-linenumber="471"><td class="num" id="LN471">471</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="472"><td class="num" id="LN472">472</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="473"><td class="num" id="LN473">473</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="474"><td class="num" id="LN474">474</td><td class="line"> n_images = eom_list_store_length (<span class='macro'>EOM_LIST_STORE (priv-&gt;store)<span class='macro_popup'>((((EomListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), (eom_list_store_get_type())))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="475"><td class="num" id="LN475">475</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="476"><td class="num" id="LN476">476</td><td class="line"> <span class='keyword'>if</span> (n_images &gt; 0) {</td></tr>
+<tr class="codeline" data-linenumber="477"><td class="num" id="LN477">477</td><td class="line"> pos = eom_list_store_get_pos_by_image (<span class='macro'>EOM_LIST_STORE (priv-&gt;store)<span class='macro_popup'>((((EomListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), (eom_list_store_get_type())))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="478"><td class="num" id="LN478">478</td><td class="line"> priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="479"><td class="num" id="LN479">479</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="480"><td class="num" id="LN480">480</td><td class="line"> <span class='comment'>/* Images: (image pos) / (n_total_images) */</span></td></tr>
+<tr class="codeline" data-linenumber="481"><td class="num" id="LN481">481</td><td class="line"> eom_statusbar_set_image_number (<span class='macro'>EOM_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((EomStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((eom_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="482"><td class="num" id="LN482">482</td><td class="line"> pos + 1,</td></tr>
+<tr class="codeline" data-linenumber="483"><td class="num" id="LN483">483</td><td class="line"> n_images);</td></tr>
+<tr class="codeline" data-linenumber="484"><td class="num" id="LN484">484</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="485"><td class="num" id="LN485">485</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="486"><td class="num" id="LN486">486</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="487"><td class="num" id="LN487">487</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="488"><td class="num" id="LN488">488</td><td class="line">update_status_bar (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="489"><td class="num" id="LN489">489</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="490"><td class="num" id="LN490">490</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="491"><td class="num" id="LN491">491</td><td class="line"> <span class='keyword'>char</span> *str = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="492"><td class="num" id="LN492">492</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="493"><td class="num" id="LN493">493</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="494"><td class="num" id="LN494">494</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="495"><td class="num" id="LN495">495</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 495, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="496"><td class="num" id="LN496">496</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="497"><td class="num" id="LN497">497</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="498"><td class="num" id="LN498">498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="499"><td class="num" id="LN499">499</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="500"><td class="num" id="LN500">500</td><td class="line"> eom_image_has_data (priv-&gt;image, EOM_IMAGE_DATA_DIMENSION)) {</td></tr>
+<tr class="codeline" data-linenumber="501"><td class="num" id="LN501">501</td><td class="line"> <span class='keyword'>int</span> zoom, width, height;</td></tr>
+<tr class="codeline" data-linenumber="502"><td class="num" id="LN502">502</td><td class="line"> goffset bytes = 0;</td></tr>
+<tr class="codeline" data-linenumber="503"><td class="num" id="LN503">503</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="504"><td class="num" id="LN504">504</td><td class="line"> zoom = floor (100 * eom_scroll_view_get_zoom (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>) + 0.5);</td></tr>
+<tr class="codeline" data-linenumber="505"><td class="num" id="LN505">505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="506"><td class="num" id="LN506">506</td><td class="line"> eom_image_get_size (priv-&gt;image, &amp;width, &amp;height);</td></tr>
+<tr class="codeline" data-linenumber="507"><td class="num" id="LN507">507</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="508"><td class="num" id="LN508">508</td><td class="line"> bytes = eom_image_get_bytes (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="509"><td class="num" id="LN509">509</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="510"><td class="num" id="LN510">510</td><td class="line"> <span class='keyword'>if</span> ((width &gt; 0) &amp;&amp; (height &gt; 0)) {</td></tr>
+<tr class="codeline" data-linenumber="511"><td class="num" id="LN511">511</td><td class="line"> <span class='keyword'>char</span> *size_string;</td></tr>
+<tr class="codeline" data-linenumber="512"><td class="num" id="LN512">512</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="513"><td class="num" id="LN513">513</td><td class="line"> size_string = g_format_size (bytes);</td></tr>
+<tr class="codeline" data-linenumber="514"><td class="num" id="LN514">514</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="515"><td class="num" id="LN515">515</td><td class="line"> <span class='comment'>/* Translators: This is the string displayed in the statusbar</span></td></tr>
+<tr class="codeline" data-linenumber="516"><td class="num" id="LN516">516</td><td class="line"> <span class='comment'>* The tokens are from left to right:</span></td></tr>
+<tr class="codeline" data-linenumber="517"><td class="num" id="LN517">517</td><td class="line"> <span class='comment'>* - image width</span></td></tr>
+<tr class="codeline" data-linenumber="518"><td class="num" id="LN518">518</td><td class="line"> <span class='comment'>* - image height</span></td></tr>
+<tr class="codeline" data-linenumber="519"><td class="num" id="LN519">519</td><td class="line"> <span class='comment'>* - image size in bytes</span></td></tr>
+<tr class="codeline" data-linenumber="520"><td class="num" id="LN520">520</td><td class="line"> <span class='comment'>* - zoom in percent */</span></td></tr>
+<tr class="codeline" data-linenumber="521"><td class="num" id="LN521">521</td><td class="line"> str = g_strdup_printf (ngettext(<span class='string_literal'>"%i × %i pixel %s %i%%"</span>,</td></tr>
+<tr class="codeline" data-linenumber="522"><td class="num" id="LN522">522</td><td class="line"> <span class='string_literal'>"%i × %i pixels %s %i%%"</span>, height),</td></tr>
+<tr class="codeline" data-linenumber="523"><td class="num" id="LN523">523</td><td class="line"> width,</td></tr>
+<tr class="codeline" data-linenumber="524"><td class="num" id="LN524">524</td><td class="line"> height,</td></tr>
+<tr class="codeline" data-linenumber="525"><td class="num" id="LN525">525</td><td class="line"> size_string,</td></tr>
+<tr class="codeline" data-linenumber="526"><td class="num" id="LN526">526</td><td class="line"> zoom);</td></tr>
+<tr class="codeline" data-linenumber="527"><td class="num" id="LN527">527</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="528"><td class="num" id="LN528">528</td><td class="line"> g_free (size_string);</td></tr>
+<tr class="codeline" data-linenumber="529"><td class="num" id="LN529">529</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="530"><td class="num" id="LN530">530</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="531"><td class="num" id="LN531">531</td><td class="line"> update_image_pos (window);</td></tr>
+<tr class="codeline" data-linenumber="532"><td class="num" id="LN532">532</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="533"><td class="num" id="LN533">533</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="534"><td class="num" id="LN534">534</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="535"><td class="num" id="LN535">535</td><td class="line"> priv-&gt;image_info_message_cid);</td></tr>
+<tr class="codeline" data-linenumber="536"><td class="num" id="LN536">536</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="537"><td class="num" id="LN537">537</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="538"><td class="num" id="LN538">538</td><td class="line"> priv-&gt;image_info_message_cid, str ? str : <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="539"><td class="num" id="LN539">539</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="540"><td class="num" id="LN540">540</td><td class="line"> g_free (str);</td></tr>
+<tr class="codeline" data-linenumber="541"><td class="num" id="LN541">541</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="542"><td class="num" id="LN542">542</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="543"><td class="num" id="LN543">543</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="544"><td class="num" id="LN544">544</td><td class="line">eom_window_set_message_area (EomWindow *window,</td></tr>
+<tr class="codeline" data-linenumber="545"><td class="num" id="LN545">545</td><td class="line"> GtkWidget *message_area)</td></tr>
+<tr class="codeline" data-linenumber="546"><td class="num" id="LN546">546</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="547"><td class="num" id="LN547">547</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;message_area == message_area)</td></tr>
+<tr class="codeline" data-linenumber="548"><td class="num" id="LN548">548</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="549"><td class="num" id="LN549">549</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="550"><td class="num" id="LN550">550</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;message_area != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="551"><td class="num" id="LN551">551</td><td class="line"> gtk_widget_destroy (window-&gt;priv-&gt;message_area);</td></tr>
+<tr class="codeline" data-linenumber="552"><td class="num" id="LN552">552</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="553"><td class="num" id="LN553">553</td><td class="line"> window-&gt;priv-&gt;message_area = message_area;</td></tr>
+<tr class="codeline" data-linenumber="554"><td class="num" id="LN554">554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="555"><td class="num" id="LN555">555</td><td class="line"> <span class='keyword'>if</span> (message_area == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="556"><td class="num" id="LN556">556</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="557"><td class="num" id="LN557">557</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (window-&gt;priv-&gt;cbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;cbox)), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="558"><td class="num" id="LN558">558</td><td class="line"> window-&gt;priv-&gt;message_area,</td></tr>
+<tr class="codeline" data-linenumber="559"><td class="num" id="LN559">559</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="560"><td class="num" id="LN560">560</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="561"><td class="num" id="LN561">561</td><td class="line"> 0);</td></tr>
+<tr class="codeline" data-linenumber="562"><td class="num" id="LN562">562</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="563"><td class="num" id="LN563">563</td><td class="line"> g_object_add_weak_pointer (<span class='macro'>G_OBJECT (window-&gt;priv-&gt;message_area)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;message_area)), (((GType) ((20) &lt;&lt;<br> (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="564"><td class="num" id="LN564">564</td><td class="line"> (<span class='keyword'>void</span> *) &amp;window-&gt;priv-&gt;message_area);</td></tr>
+<tr class="codeline" data-linenumber="565"><td class="num" id="LN565">565</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="566"><td class="num" id="LN566">566</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="567"><td class="num" id="LN567">567</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="568"><td class="num" id="LN568">568</td><td class="line">update_action_groups_state (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="569"><td class="num" id="LN569">569</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="570"><td class="num" id="LN570">570</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="571"><td class="num" id="LN571">571</td><td class="line"> GtkAction *action_collection;</td></tr>
+<tr class="codeline" data-linenumber="572"><td class="num" id="LN572">572</td><td class="line"> GtkAction *action_sidebar;</td></tr>
+<tr class="codeline" data-linenumber="573"><td class="num" id="LN573">573</td><td class="line"> GtkAction *action_fscreen;</td></tr>
+<tr class="codeline" data-linenumber="574"><td class="num" id="LN574">574</td><td class="line"> GtkAction *action_sshow;</td></tr>
+<tr class="codeline" data-linenumber="575"><td class="num" id="LN575">575</td><td class="line"> GtkAction *action_print;</td></tr>
+<tr class="codeline" data-linenumber="576"><td class="num" id="LN576">576</td><td class="line"> gboolean print_disabled = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="577"><td class="num" id="LN577">577</td><td class="line"> gint n_images = 0;</td></tr>
+<tr class="codeline" data-linenumber="578"><td class="num" id="LN578">578</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="579"><td class="num" id="LN579">579</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="580"><td class="num" id="LN580">580</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="581"><td class="num" id="LN581">581</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 581, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="582"><td class="num" id="LN582">582</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="583"><td class="num" id="LN583">583</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="584"><td class="num" id="LN584">584</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="585"><td class="num" id="LN585">585</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="586"><td class="num" id="LN586">586</td><td class="line"> action_collection =</td></tr>
+<tr class="codeline" data-linenumber="587"><td class="num" id="LN587">587</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="588"><td class="num" id="LN588">588</td><td class="line"> <span class='string_literal'>"ViewImageCollection"</span>);</td></tr>
+<tr class="codeline" data-linenumber="589"><td class="num" id="LN589">589</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="590"><td class="num" id="LN590">590</td><td class="line"> action_sidebar =</td></tr>
+<tr class="codeline" data-linenumber="591"><td class="num" id="LN591">591</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="592"><td class="num" id="LN592">592</td><td class="line"> <span class='string_literal'>"ViewSidebar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="593"><td class="num" id="LN593">593</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="594"><td class="num" id="LN594">594</td><td class="line"> action_fscreen =</td></tr>
+<tr class="codeline" data-linenumber="595"><td class="num" id="LN595">595</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="596"><td class="num" id="LN596">596</td><td class="line"> <span class='string_literal'>"ViewFullscreen"</span>);</td></tr>
+<tr class="codeline" data-linenumber="597"><td class="num" id="LN597">597</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="598"><td class="num" id="LN598">598</td><td class="line"> action_sshow =</td></tr>
+<tr class="codeline" data-linenumber="599"><td class="num" id="LN599">599</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="600"><td class="num" id="LN600">600</td><td class="line"> <span class='string_literal'>"ViewSlideshow"</span>);</td></tr>
+<tr class="codeline" data-linenumber="601"><td class="num" id="LN601">601</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="602"><td class="num" id="LN602">602</td><td class="line"> action_print =</td></tr>
+<tr class="codeline" data-linenumber="603"><td class="num" id="LN603">603</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="604"><td class="num" id="LN604">604</td><td class="line"> <span class='string_literal'>"ImagePrint"</span>);</td></tr>
+<tr class="codeline" data-linenumber="605"><td class="num" id="LN605">605</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="606"><td class="num" id="LN606">606</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="607"><td class="num" id="LN607">607</td><td class="line"> <span class='macro'>g_assert (action_collection != NULL)<span class='macro_popup'>do { if (action_collection != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 607, ((const char*) (__func__)), "action_collection != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="608"><td class="num" id="LN608">608</td><td class="line"> <span class='macro'>g_assert (action_sidebar != NULL)<span class='macro_popup'>do { if (action_sidebar != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 608, ((const char*) (__func__)), "action_sidebar != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="609"><td class="num" id="LN609">609</td><td class="line"> <span class='macro'>g_assert (action_fscreen != NULL)<span class='macro_popup'>do { if (action_fscreen != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 609, ((const char*) (__func__)), "action_fscreen != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="610"><td class="num" id="LN610">610</td><td class="line"> <span class='macro'>g_assert (action_sshow != NULL)<span class='macro_popup'>do { if (action_sshow != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 610, ((const char*) (__func__)), "action_sshow != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="611"><td class="num" id="LN611">611</td><td class="line"> <span class='macro'>g_assert (action_print != NULL)<span class='macro_popup'>do { if (action_print != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 611, ((const char*) (__func__)), "action_print != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="612"><td class="num" id="LN612">612</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="613"><td class="num" id="LN613">613</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;store != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="614"><td class="num" id="LN614">614</td><td class="line"> n_images = eom_list_store_length (<span class='macro'>EOM_LIST_STORE (priv-&gt;store)<span class='macro_popup'>((((EomListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), (eom_list_store_get_type())))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="615"><td class="num" id="LN615">615</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="616"><td class="num" id="LN616">616</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="617"><td class="num" id="LN617">617</td><td class="line"> <span class='keyword'>if</span> (n_images == 0) {</td></tr>
+<tr class="codeline" data-linenumber="618"><td class="num" id="LN618">618</td><td class="line"> gtk_widget_hide (priv-&gt;layout);</td></tr>
+<tr class="codeline" data-linenumber="619"><td class="num" id="LN619">619</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="620"><td class="num" id="LN620">620</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="621"><td class="num" id="LN621">621</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="622"><td class="num" id="LN622">622</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_image, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="623"><td class="num" id="LN623">623</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_collection, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="624"><td class="num" id="LN624">624</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="625"><td class="num" id="LN625">625</td><td class="line"> gtk_action_set_sensitive (action_fscreen, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="626"><td class="num" id="LN626">626</td><td class="line"> gtk_action_set_sensitive (action_sshow, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="627"><td class="num" id="LN627">627</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="628"><td class="num" id="LN628">628</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="629"><td class="num" id="LN629">629</td><td class="line"> <span class='comment'>/* If there are no images on model, initialization</span></td></tr>
+<tr class="codeline" data-linenumber="630"><td class="num" id="LN630">630</td><td class="line"> <span class='comment'>stops here. */</span></td></tr>
+<tr class="codeline" data-linenumber="631"><td class="num" id="LN631">631</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;status == EOM_WINDOW_STATUS_INIT) {</td></tr>
+<tr class="codeline" data-linenumber="632"><td class="num" id="LN632">632</td><td class="line"> priv-&gt;status = EOM_WINDOW_STATUS_NORMAL;</td></tr>
+<tr class="codeline" data-linenumber="633"><td class="num" id="LN633">633</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="634"><td class="num" id="LN634">634</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="635"><td class="num" id="LN635">635</td><td class="line"> gboolean show_image_collection;</td></tr>
+<tr class="codeline" data-linenumber="636"><td class="num" id="LN636">636</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="637"><td class="num" id="LN637">637</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;flags &amp; EOM_STARTUP_DISABLE_COLLECTION) {</td></tr>
+<tr class="codeline" data-linenumber="638"><td class="num" id="LN638">638</td><td class="line"> g_settings_set_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_IMAGE_COLLECTION<span class='macro_popup'>"image-collection"</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="639"><td class="num" id="LN639">639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="640"><td class="num" id="LN640">640</td><td class="line"> show_image_collection = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="641"><td class="num" id="LN641">641</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="642"><td class="num" id="LN642">642</td><td class="line"> show_image_collection =</td></tr>
+<tr class="codeline" data-linenumber="643"><td class="num" id="LN643">643</td><td class="line"> g_settings_get_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_IMAGE_COLLECTION<span class='macro_popup'>"image-collection"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="644"><td class="num" id="LN644">644</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="645"><td class="num" id="LN645">645</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="646"><td class="num" id="LN646">646</td><td class="line"> show_image_collection = show_image_collection &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="647"><td class="num" id="LN647">647</td><td class="line"> n_images &gt; 1 &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="648"><td class="num" id="LN648">648</td><td class="line"> priv-&gt;mode != EOM_WINDOW_MODE_SLIDESHOW;</td></tr>
+<tr class="codeline" data-linenumber="649"><td class="num" id="LN649">649</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="650"><td class="num" id="LN650">650</td><td class="line"> gtk_widget_show (priv-&gt;layout);</td></tr>
+<tr class="codeline" data-linenumber="651"><td class="num" id="LN651">651</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="652"><td class="num" id="LN652">652</td><td class="line"> <span class='keyword'>if</span> (show_image_collection)</td></tr>
+<tr class="codeline" data-linenumber="653"><td class="num" id="LN653">653</td><td class="line"> gtk_widget_show (priv-&gt;nav);</td></tr>
+<tr class="codeline" data-linenumber="654"><td class="num" id="LN654">654</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="655"><td class="num" id="LN655">655</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="656"><td class="num" id="LN656">656</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action_collection)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action_collection)), ((gtk_toggle_action_get_type ()))))<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="657"><td class="num" id="LN657">657</td><td class="line"> show_image_collection);</td></tr>
+<tr class="codeline" data-linenumber="658"><td class="num" id="LN658">658</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="659"><td class="num" id="LN659">659</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="660"><td class="num" id="LN660">660</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_image, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="661"><td class="num" id="LN661">661</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="662"><td class="num" id="LN662">662</td><td class="line"> gtk_action_set_sensitive (action_fscreen, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="663"><td class="num" id="LN663">663</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="664"><td class="num" id="LN664">664</td><td class="line"> <span class='keyword'>if</span> (n_images == 1) {</td></tr>
+<tr class="codeline" data-linenumber="665"><td class="num" id="LN665">665</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_collection, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="666"><td class="num" id="LN666">666</td><td class="line"> gtk_action_set_sensitive (action_collection, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="667"><td class="num" id="LN667">667</td><td class="line"> gtk_action_set_sensitive (action_sshow, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="668"><td class="num" id="LN668">668</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="669"><td class="num" id="LN669">669</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_collection, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="670"><td class="num" id="LN670">670</td><td class="line"> gtk_action_set_sensitive (action_sshow, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="671"><td class="num" id="LN671">671</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="672"><td class="num" id="LN672">672</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="673"><td class="num" id="LN673">673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="674"><td class="num" id="LN674">674</td><td class="line"> <span class='keyword'>if</span> (show_image_collection)</td></tr>
+<tr class="codeline" data-linenumber="675"><td class="num" id="LN675">675</td><td class="line"> gtk_widget_grab_focus (priv-&gt;thumbview);</td></tr>
+<tr class="codeline" data-linenumber="676"><td class="num" id="LN676">676</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="677"><td class="num" id="LN677">677</td><td class="line"> gtk_widget_grab_focus (priv-&gt;view);</td></tr>
+<tr class="codeline" data-linenumber="678"><td class="num" id="LN678">678</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="679"><td class="num" id="LN679">679</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="680"><td class="num" id="LN680">680</td><td class="line"> print_disabled = g_settings_get_boolean (priv-&gt;lockdown_settings,</td></tr>
+<tr class="codeline" data-linenumber="681"><td class="num" id="LN681">681</td><td class="line"> <span class='macro'>EOM_CONF_LOCKDOWN_CAN_PRINT<span class='macro_popup'>"disable-printing"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="682"><td class="num" id="LN682">682</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="683"><td class="num" id="LN683">683</td><td class="line"> <span class='keyword'>if</span> (print_disabled) {</td></tr>
+<tr class="codeline" data-linenumber="684"><td class="num" id="LN684">684</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="685"><td class="num" id="LN685">685</td><td class="line"> gtk_action_set_sensitive (action_print, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="686"><td class="num" id="LN686">686</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="687"><td class="num" id="LN687">687</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="688"><td class="num" id="LN688">688</td><td class="line"> <span class='keyword'>if</span> (eom_sidebar_is_empty (<span class='macro'>EOM_SIDEBAR (priv-&gt;sidebar)<span class='macro_popup'>((((EomSidebar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;sidebar)), ((eom_sidebar_get_type()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="689"><td class="num" id="LN689">689</td><td class="line"> gtk_action_set_sensitive (action_sidebar, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="690"><td class="num" id="LN690">690</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="691"><td class="num" id="LN691">691</td><td class="line"> gtk_widget_hide (priv-&gt;sidebar);</td></tr>
+<tr class="codeline" data-linenumber="692"><td class="num" id="LN692">692</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="693"><td class="num" id="LN693">693</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="694"><td class="num" id="LN694">694</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="695"><td class="num" id="LN695">695</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="696"><td class="num" id="LN696">696</td><td class="line">update_selection_ui_visibility (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="697"><td class="num" id="LN697">697</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="698"><td class="num" id="LN698">698</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="699"><td class="num" id="LN699">699</td><td class="line"> GtkAction *wallpaper_action;</td></tr>
+<tr class="codeline" data-linenumber="700"><td class="num" id="LN700">700</td><td class="line"> gint n_selected;</td></tr>
+<tr class="codeline" data-linenumber="701"><td class="num" id="LN701">701</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="702"><td class="num" id="LN702">702</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="703"><td class="num" id="LN703">703</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="704"><td class="num" id="LN704">704</td><td class="line"> n_selected = eom_thumb_view_get_n_selected (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="705"><td class="num" id="LN705">705</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="706"><td class="num" id="LN706">706</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="707"><td class="num" id="LN707">707</td><td class="line"> wallpaper_action =</td></tr>
+<tr class="codeline" data-linenumber="708"><td class="num" id="LN708">708</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="709"><td class="num" id="LN709">709</td><td class="line"> <span class='string_literal'>"ImageSetAsWallpaper"</span>);</td></tr>
+<tr class="codeline" data-linenumber="710"><td class="num" id="LN710">710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="711"><td class="num" id="LN711">711</td><td class="line"> <span class='keyword'>if</span> (n_selected == 1) {</td></tr>
+<tr class="codeline" data-linenumber="712"><td class="num" id="LN712">712</td><td class="line"> gtk_action_set_sensitive (wallpaper_action, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="713"><td class="num" id="LN713">713</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="714"><td class="num" id="LN714">714</td><td class="line"> gtk_action_set_sensitive (wallpaper_action, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="715"><td class="num" id="LN715">715</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="716"><td class="num" id="LN716">716</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="717"><td class="num" id="LN717">717</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="718"><td class="num" id="LN718">718</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="719"><td class="num" id="LN719">719</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="720"><td class="num" id="LN720">720</td><td class="line">add_file_to_recent_files (GFile *file)</td></tr>
+<tr class="codeline" data-linenumber="721"><td class="num" id="LN721">721</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="722"><td class="num" id="LN722">722</td><td class="line"> gchar *text_uri;</td></tr>
+<tr class="codeline" data-linenumber="723"><td class="num" id="LN723">723</td><td class="line"> GFileInfo *file_info;</td></tr>
+<tr class="codeline" data-linenumber="724"><td class="num" id="LN724">724</td><td class="line"> GtkRecentData *recent_data;</td></tr>
+<tr class="codeline" data-linenumber="725"><td class="num" id="LN725">725</td><td class="line"> <span class='keyword'>static</span> gchar *groups[2] = { <span class='macro'>EOM_RECENT_FILES_GROUP<span class='macro_popup'>"Graphics"</span></span> , <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> };</td></tr>
+<tr class="codeline" data-linenumber="726"><td class="num" id="LN726">726</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="727"><td class="num" id="LN727">727</td><td class="line"> <span class='keyword'>if</span> (file == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="728"><td class="num" id="LN728">728</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="729"><td class="num" id="LN729">729</td><td class="line"> <span class='comment'>/* The password gets stripped here because ~/.recently-used.xbel is</span></td></tr>
+<tr class="codeline" data-linenumber="730"><td class="num" id="LN730">730</td><td class="line"> <span class='comment'>* readable by everyone (chmod 644). It also makes the workaround</span></td></tr>
+<tr class="codeline" data-linenumber="731"><td class="num" id="LN731">731</td><td class="line"> <span class='comment'>* for the bug with gtk_recent_info_get_uri_display() easier</span></td></tr>
+<tr class="codeline" data-linenumber="732"><td class="num" id="LN732">732</td><td class="line"> <span class='comment'>* (see the comment in eom_window_update_recent_files_menu()). */</span></td></tr>
+<tr class="codeline" data-linenumber="733"><td class="num" id="LN733">733</td><td class="line"> text_uri = g_file_get_uri (file);</td></tr>
+<tr class="codeline" data-linenumber="734"><td class="num" id="LN734">734</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="735"><td class="num" id="LN735">735</td><td class="line"> <span class='keyword'>if</span> (text_uri == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="736"><td class="num" id="LN736">736</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="737"><td class="num" id="LN737">737</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="738"><td class="num" id="LN738">738</td><td class="line"> file_info = g_file_query_info (file,</td></tr>
+<tr class="codeline" data-linenumber="739"><td class="num" id="LN739">739</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE<span class='macro_popup'>"standard::content-type"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="740"><td class="num" id="LN740">740</td><td class="line"> 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="741"><td class="num" id="LN741">741</td><td class="line"> <span class='keyword'>if</span> (file_info == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="742"><td class="num" id="LN742">742</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="743"><td class="num" id="LN743">743</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="744"><td class="num" id="LN744">744</td><td class="line"> recent_data = <span class='macro'>g_slice_new (GtkRecentData)<span class='macro_popup'>((GtkRecentData*) g_slice_alloc (sizeof (GtkRecentData)))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="745"><td class="num" id="LN745">745</td><td class="line"> recent_data-&gt;display_name = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="746"><td class="num" id="LN746">746</td><td class="line"> recent_data-&gt;description = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="747"><td class="num" id="LN747">747</td><td class="line"> recent_data-&gt;mime_type = (gchar *) g_file_info_get_content_type (file_info);</td></tr>
+<tr class="codeline" data-linenumber="748"><td class="num" id="LN748">748</td><td class="line"> recent_data-&gt;app_name = <span class='macro'>EOM_RECENT_FILES_APP_NAME<span class='macro_popup'>"Eye of MATE Image Viewer"</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="749"><td class="num" id="LN749">749</td><td class="line"> recent_data-&gt;app_exec = g_strjoin(<span class='string_literal'>" "</span>, g_get_prgname (), <span class='string_literal'>"%u"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="750"><td class="num" id="LN750">750</td><td class="line"> recent_data-&gt;groups = groups;</td></tr>
+<tr class="codeline" data-linenumber="751"><td class="num" id="LN751">751</td><td class="line"> recent_data-&gt;is_private = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="752"><td class="num" id="LN752">752</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="753"><td class="num" id="LN753">753</td><td class="line"> gtk_recent_manager_add_full (gtk_recent_manager_get_default (),</td></tr>
+<tr class="codeline" data-linenumber="754"><td class="num" id="LN754">754</td><td class="line"> text_uri,</td></tr>
+<tr class="codeline" data-linenumber="755"><td class="num" id="LN755">755</td><td class="line"> recent_data);</td></tr>
+<tr class="codeline" data-linenumber="756"><td class="num" id="LN756">756</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="757"><td class="num" id="LN757">757</td><td class="line"> g_free (recent_data-&gt;app_exec);</td></tr>
+<tr class="codeline" data-linenumber="758"><td class="num" id="LN758">758</td><td class="line"> g_free (text_uri);</td></tr>
+<tr class="codeline" data-linenumber="759"><td class="num" id="LN759">759</td><td class="line"> g_object_unref (file_info);</td></tr>
+<tr class="codeline" data-linenumber="760"><td class="num" id="LN760">760</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="761"><td class="num" id="LN761">761</td><td class="line"> <span class='macro'>g_slice_free (GtkRecentData, recent_data)<span class='macro_popup'>do { if (1) g_slice_free1 (sizeof (GtkRecentData), (recent_data<br>)); else (void) ((GtkRecentData*) 0 == (recent_data)); } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="762"><td class="num" id="LN762">762</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="763"><td class="num" id="LN763">763</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="764"><td class="num" id="LN764">764</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="765"><td class="num" id="LN765">765</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="766"><td class="num" id="LN766">766</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="767"><td class="num" id="LN767">767</td><td class="line">image_thumb_changed_cb (EomImage *image, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="768"><td class="num" id="LN768">768</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="769"><td class="num" id="LN769">769</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="770"><td class="num" id="LN770">770</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="771"><td class="num" id="LN771">771</td><td class="line"> GdkPixbuf *thumb;</td></tr>
+<tr class="codeline" data-linenumber="772"><td class="num" id="LN772">772</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="773"><td class="num" id="LN773">773</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="774"><td class="num" id="LN774">774</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="775"><td class="num" id="LN775">775</td><td class="line"> window = <span class='macro'>EOM_WINDOW (data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="776"><td class="num" id="LN776">776</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="777"><td class="num" id="LN777">777</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="778"><td class="num" id="LN778">778</td><td class="line"> thumb = eom_image_get_thumbnail (image);</td></tr>
+<tr class="codeline" data-linenumber="779"><td class="num" id="LN779">779</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="780"><td class="num" id="LN780">780</td><td class="line"> <span class='keyword'>if</span> (thumb != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="781"><td class="num" id="LN781">781</td><td class="line"> gtk_window_set_icon (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, thumb);</td></tr>
+<tr class="codeline" data-linenumber="782"><td class="num" id="LN782">782</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="783"><td class="num" id="LN783">783</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;properties_dlg != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="784"><td class="num" id="LN784">784</td><td class="line"> eom_properties_dialog_update (<span class='macro'>EOM_PROPERTIES_DIALOG (priv-&gt;properties_dlg)<span class='macro_popup'>((((EomPropertiesDialog*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((priv-&gt;properties_dlg)), ((eom_properties_dialog_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="785"><td class="num" id="LN785">785</td><td class="line"> image);</td></tr>
+<tr class="codeline" data-linenumber="786"><td class="num" id="LN786">786</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="787"><td class="num" id="LN787">787</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="788"><td class="num" id="LN788">788</td><td class="line"> g_object_unref (thumb);</td></tr>
+<tr class="codeline" data-linenumber="789"><td class="num" id="LN789">789</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (!gtk_widget_get_visible (window-&gt;priv-&gt;nav)) {</td></tr>
+<tr class="codeline" data-linenumber="790"><td class="num" id="LN790">790</td><td class="line"> gint img_pos = eom_list_store_get_pos_by_image (window-&gt;priv-&gt;store, image);</td></tr>
+<tr class="codeline" data-linenumber="791"><td class="num" id="LN791">791</td><td class="line"> GtkTreePath *path = gtk_tree_path_new_from_indices (img_pos,-1);</td></tr>
+<tr class="codeline" data-linenumber="792"><td class="num" id="LN792">792</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="793"><td class="num" id="LN793">793</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="794"><td class="num" id="LN794">794</td><td class="line"> gtk_tree_model_get_iter (<span class='macro'>GTK_TREE_MODEL (window-&gt;priv-&gt;store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;store)), ((gtk_tree_model_get_type (<br>)))))))</span></span>, &amp;iter, path);</td></tr>
+<tr class="codeline" data-linenumber="795"><td class="num" id="LN795">795</td><td class="line"> eom_list_store_thumbnail_set (window-&gt;priv-&gt;store, &amp;iter);</td></tr>
+<tr class="codeline" data-linenumber="796"><td class="num" id="LN796">796</td><td class="line"> gtk_tree_path_free (path);</td></tr>
+<tr class="codeline" data-linenumber="797"><td class="num" id="LN797">797</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="798"><td class="num" id="LN798">798</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="799"><td class="num" id="LN799">799</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="800"><td class="num" id="LN800">800</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="801"><td class="num" id="LN801">801</td><td class="line">file_changed_info_bar_response (GtkInfoBar *info_bar,</td></tr>
+<tr class="codeline" data-linenumber="802"><td class="num" id="LN802">802</td><td class="line"> gint response,</td></tr>
+<tr class="codeline" data-linenumber="803"><td class="num" id="LN803">803</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="804"><td class="num" id="LN804">804</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="805"><td class="num" id="LN805">805</td><td class="line"> <span class='keyword'>if</span> (response == GTK_RESPONSE_YES) {</td></tr>
+<tr class="codeline" data-linenumber="806"><td class="num" id="LN806">806</td><td class="line"> eom_window_reload_image (window);</td></tr>
+<tr class="codeline" data-linenumber="807"><td class="num" id="LN807">807</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="808"><td class="num" id="LN808">808</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="809"><td class="num" id="LN809">809</td><td class="line"> window-&gt;priv-&gt;needs_reload_confirmation = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="810"><td class="num" id="LN810">810</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="811"><td class="num" id="LN811">811</td><td class="line"> eom_window_set_message_area (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="812"><td class="num" id="LN812">812</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="813"><td class="num" id="LN813">813</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="814"><td class="num" id="LN814">814</td><td class="line">image_file_changed_cb (EomImage *img, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="815"><td class="num" id="LN815">815</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="816"><td class="num" id="LN816">816</td><td class="line"> GtkWidget *info_bar;</td></tr>
+<tr class="codeline" data-linenumber="817"><td class="num" id="LN817">817</td><td class="line"> gchar *text, *markup;</td></tr>
+<tr class="codeline" data-linenumber="818"><td class="num" id="LN818">818</td><td class="line"> GtkWidget *image;</td></tr>
+<tr class="codeline" data-linenumber="819"><td class="num" id="LN819">819</td><td class="line"> GtkWidget *label;</td></tr>
+<tr class="codeline" data-linenumber="820"><td class="num" id="LN820">820</td><td class="line"> GtkWidget *hbox;</td></tr>
+<tr class="codeline" data-linenumber="821"><td class="num" id="LN821">821</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="822"><td class="num" id="LN822">822</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;needs_reload_confirmation == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="823"><td class="num" id="LN823">823</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="824"><td class="num" id="LN824">824</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="825"><td class="num" id="LN825">825</td><td class="line"> <span class='keyword'>if</span> (!eom_image_is_modified (img)) {</td></tr>
+<tr class="codeline" data-linenumber="826"><td class="num" id="LN826">826</td><td class="line"> <span class='comment'>/* Auto-reload when image is unmodified */</span></td></tr>
+<tr class="codeline" data-linenumber="827"><td class="num" id="LN827">827</td><td class="line"> eom_window_reload_image (window);</td></tr>
+<tr class="codeline" data-linenumber="828"><td class="num" id="LN828">828</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="829"><td class="num" id="LN829">829</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="830"><td class="num" id="LN830">830</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="831"><td class="num" id="LN831">831</td><td class="line"> window-&gt;priv-&gt;needs_reload_confirmation = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="832"><td class="num" id="LN832">832</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="833"><td class="num" id="LN833">833</td><td class="line"> info_bar = gtk_info_bar_new_with_buttons (<span class='macro'>_(<span class='string_literal'>"_Reload"</span>)<span class='macro_popup'>gettext ("_Reload")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="834"><td class="num" id="LN834">834</td><td class="line"> GTK_RESPONSE_YES,</td></tr>
+<tr class="codeline" data-linenumber="835"><td class="num" id="LN835">835</td><td class="line"> <span class='macro'>C_(<span class='string_literal'>"MessageArea"</span>, <span class='string_literal'>"Hi_de"</span>)<span class='macro_popup'>g_dpgettext (((void*)0), "MessageArea" "\004" "Hi_de", strlen<br> ("MessageArea") + 1)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="836"><td class="num" id="LN836">836</td><td class="line"> GTK_RESPONSE_NO, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="837"><td class="num" id="LN837">837</td><td class="line"> gtk_info_bar_set_message_type (<span class='macro'>GTK_INFO_BAR (info_bar)<span class='macro_popup'>((((GtkInfoBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((info_bar)), ((gtk_info_bar_get_type()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="838"><td class="num" id="LN838">838</td><td class="line"> GTK_MESSAGE_QUESTION);</td></tr>
+<tr class="codeline" data-linenumber="839"><td class="num" id="LN839">839</td><td class="line"> image = gtk_image_new_from_icon_name (<span class='string_literal'>"dialog-question"</span>,</td></tr>
+<tr class="codeline" data-linenumber="840"><td class="num" id="LN840">840</td><td class="line"> GTK_ICON_SIZE_DIALOG);</td></tr>
+<tr class="codeline" data-linenumber="841"><td class="num" id="LN841">841</td><td class="line"> label = gtk_label_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="842"><td class="num" id="LN842">842</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="843"><td class="num" id="LN843">843</td><td class="line"> <span class='comment'>/* The newline character is currently necessary due to a problem</span></td></tr>
+<tr class="codeline" data-linenumber="844"><td class="num" id="LN844">844</td><td class="line"> <span class='comment'>* with the automatic line break. */</span></td></tr>
+<tr class="codeline" data-linenumber="845"><td class="num" id="LN845">845</td><td class="line"> text = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"The image \"%s\" has been modified by an external application."<span class='macro_popup'>gettext ("The image \"%s\" has been modified by an external application."<br> "\nWould you like to reload it?")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="846"><td class="num" id="LN846">846</td><td class="line"> <span class='string_literal'><span class='macro'>"\nWould you like to reload it?"</span>)<span class='macro_popup'>gettext ("The image \"%s\" has been modified by an external application."<br> "\nWould you like to reload it?")</span></span>, eom_image_get_caption (img));</td></tr>
+<tr class="codeline" data-linenumber="847"><td class="num" id="LN847">847</td><td class="line"> markup = g_markup_printf_escaped (<span class='string_literal'>"&lt;b&gt;%s&lt;/b&gt;"</span>, text);</td></tr>
+<tr class="codeline" data-linenumber="848"><td class="num" id="LN848">848</td><td class="line"> gtk_label_set_markup (<span class='macro'>GTK_LABEL (label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((label)), ((gtk_label_get_type ()))))))</span></span>, markup);</td></tr>
+<tr class="codeline" data-linenumber="849"><td class="num" id="LN849">849</td><td class="line"> g_free (text);</td></tr>
+<tr class="codeline" data-linenumber="850"><td class="num" id="LN850">850</td><td class="line"> g_free (markup);</td></tr>
+<tr class="codeline" data-linenumber="851"><td class="num" id="LN851">851</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="852"><td class="num" id="LN852">852</td><td class="line"> hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);</td></tr>
+<tr class="codeline" data-linenumber="853"><td class="num" id="LN853">853</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, image, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="854"><td class="num" id="LN854">854</td><td class="line"> gtk_widget_set_halign (image, GTK_ALIGN_START);</td></tr>
+<tr class="codeline" data-linenumber="855"><td class="num" id="LN855">855</td><td class="line"> gtk_widget_set_valign (image, GTK_ALIGN_END);</td></tr>
+<tr class="codeline" data-linenumber="856"><td class="num" id="LN856">856</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, label, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="857"><td class="num" id="LN857">857</td><td class="line"> gtk_label_set_xalign (<span class='macro'>GTK_LABEL (label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((label)), ((gtk_label_get_type ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="858"><td class="num" id="LN858">858</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (gtk_info_bar_get_content_area (GTK_INFO_BAR (info_bar)))<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_info_bar_get_content_area (((((GtkInfoBar*) (void *)<br> g_type_check_instance_cast ((GTypeInstance*) ((info_bar)), (<br>(gtk_info_bar_get_type()))))))))), ((gtk_box_get_type ())))))<br>)</span></span>, hbox, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="859"><td class="num" id="LN859">859</td><td class="line"> gtk_widget_show_all (hbox);</td></tr>
+<tr class="codeline" data-linenumber="860"><td class="num" id="LN860">860</td><td class="line"> gtk_widget_show (info_bar);</td></tr>
+<tr class="codeline" data-linenumber="861"><td class="num" id="LN861">861</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="862"><td class="num" id="LN862">862</td><td class="line"> eom_window_set_message_area (window, info_bar);</td></tr>
+<tr class="codeline" data-linenumber="863"><td class="num" id="LN863">863</td><td class="line"> <span class='macro'>g_signal_connect (info_bar, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((info_bar), ("response"), (((GCallback<br>) (file_changed_info_bar_response))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="864"><td class="num" id="LN864">864</td><td class="line"> <span class='macro'>G_CALLBACK (file_changed_info_bar_response),<span class='macro_popup'>g_signal_connect_data ((info_bar), ("response"), (((GCallback<br>) (file_changed_info_bar_response))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="865"><td class="num" id="LN865">865</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((info_bar), ("response"), (((GCallback<br>) (file_changed_info_bar_response))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="866"><td class="num" id="LN866">866</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="867"><td class="num" id="LN867">867</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="868"><td class="num" id="LN868">868</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="869"><td class="num" id="LN869">869</td><td class="line">eom_window_display_image (EomWindow *window, EomImage *image)</td></tr>
+<tr class="codeline" data-linenumber="870"><td class="num" id="LN870">870</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="871"><td class="num" id="LN871">871</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="872"><td class="num" id="LN872">872</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="873"><td class="num" id="LN873">873</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="874"><td class="num" id="LN874">874</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="875"><td class="num" id="LN875">875</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (image))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((image)); GType __t = ((eom_image_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (image)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="876"><td class="num" id="LN876">876</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="877"><td class="num" id="LN877">877</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 877, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="878"><td class="num" id="LN878">878</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="879"><td class="num" id="LN879">879</td><td class="line"> <span class='macro'>g_assert (eom_image_has_data (image, EOM_IMAGE_DATA_IMAGE))<span class='macro_popup'>do { if (eom_image_has_data (image, EOM_IMAGE_DATA_IMAGE)) ; else<br> g_assertion_message_expr ("EOM", "eom-window.c", 879, ((const<br> char*) (__func__)), "eom_image_has_data (image, EOM_IMAGE_DATA_IMAGE)"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="880"><td class="num" id="LN880">880</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="881"><td class="num" id="LN881">881</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="882"><td class="num" id="LN882">882</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="883"><td class="num" id="LN883">883</td><td class="line"> <span class='keyword'>if</span> (image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="884"><td class="num" id="LN884">884</td><td class="line"> <span class='macro'>g_signal_connect (image, <span class='string_literal'>"thumbnail_changed"</span>,<span class='macro_popup'>g_signal_connect_data ((image), ("thumbnail_changed"), (((GCallback<br>) (image_thumb_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="885"><td class="num" id="LN885">885</td><td class="line"> <span class='macro'>G_CALLBACK (image_thumb_changed_cb),<span class='macro_popup'>g_signal_connect_data ((image), ("thumbnail_changed"), (((GCallback<br>) (image_thumb_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="886"><td class="num" id="LN886">886</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((image), ("thumbnail_changed"), (((GCallback<br>) (image_thumb_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="887"><td class="num" id="LN887">887</td><td class="line"> <span class='macro'>g_signal_connect (image, <span class='string_literal'>"file-changed"</span>,<span class='macro_popup'>g_signal_connect_data ((image), ("file-changed"), (((GCallback<br>) (image_file_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="888"><td class="num" id="LN888">888</td><td class="line"> <span class='macro'>G_CALLBACK (image_file_changed_cb),<span class='macro_popup'>g_signal_connect_data ((image), ("file-changed"), (((GCallback<br>) (image_file_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="889"><td class="num" id="LN889">889</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((image), ("file-changed"), (((GCallback<br>) (image_file_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="890"><td class="num" id="LN890">890</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="891"><td class="num" id="LN891">891</td><td class="line"> image_thumb_changed_cb (image, window);</td></tr>
+<tr class="codeline" data-linenumber="892"><td class="num" id="LN892">892</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="893"><td class="num" id="LN893">893</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="894"><td class="num" id="LN894">894</td><td class="line"> priv-&gt;needs_reload_confirmation = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="895"><td class="num" id="LN895">895</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="896"><td class="num" id="LN896">896</td><td class="line"> eom_scroll_view_set_image (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>, image);</td></tr>
+<tr class="codeline" data-linenumber="897"><td class="num" id="LN897">897</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="898"><td class="num" id="LN898">898</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, eom_image_get_caption (image));</td></tr>
+<tr class="codeline" data-linenumber="899"><td class="num" id="LN899">899</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="900"><td class="num" id="LN900">900</td><td class="line"> update_status_bar (window);</td></tr>
+<tr class="codeline" data-linenumber="901"><td class="num" id="LN901">901</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="902"><td class="num" id="LN902">902</td><td class="line"> file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="903"><td class="num" id="LN903">903</td><td class="line"> g_idle_add_full (<span class='macro'>G_PRIORITY_LOW<span class='macro_popup'>300</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="904"><td class="num" id="LN904">904</td><td class="line"> (GSourceFunc) add_file_to_recent_files,</td></tr>
+<tr class="codeline" data-linenumber="905"><td class="num" id="LN905">905</td><td class="line"> file,</td></tr>
+<tr class="codeline" data-linenumber="906"><td class="num" id="LN906">906</td><td class="line"> (GDestroyNotify) g_object_unref);</td></tr>
+<tr class="codeline" data-linenumber="907"><td class="num" id="LN907">907</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="908"><td class="num" id="LN908">908</td><td class="line"> eom_window_update_openwith_menu (window, image);</td></tr>
+<tr class="codeline" data-linenumber="909"><td class="num" id="LN909">909</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="910"><td class="num" id="LN910">910</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="911"><td class="num" id="LN911">911</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="912"><td class="num" id="LN912">912</td><td class="line">open_with_launch_application_cb (GtkAction *action, gpointer data) {</td></tr>
+<tr class="codeline" data-linenumber="913"><td class="num" id="LN913">913</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="914"><td class="num" id="LN914">914</td><td class="line"> GAppInfo *app;</td></tr>
+<tr class="codeline" data-linenumber="915"><td class="num" id="LN915">915</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="916"><td class="num" id="LN916">916</td><td class="line"> GList *files = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="917"><td class="num" id="LN917">917</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="918"><td class="num" id="LN918">918</td><td class="line"> image = <span class='macro'>EOM_IMAGE (data)<span class='macro_popup'>((((EomImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_image_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="919"><td class="num" id="LN919">919</td><td class="line"> file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="920"><td class="num" id="LN920">920</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="921"><td class="num" id="LN921">921</td><td class="line"> app = g_object_get_data (<span class='macro'>G_OBJECT (action)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"app"</span>);</td></tr>
+<tr class="codeline" data-linenumber="922"><td class="num" id="LN922">922</td><td class="line"> files = g_list_append (files, file);</td></tr>
+<tr class="codeline" data-linenumber="923"><td class="num" id="LN923">923</td><td class="line"> g_app_info_launch (app,</td></tr>
+<tr class="codeline" data-linenumber="924"><td class="num" id="LN924">924</td><td class="line"> files,</td></tr>
+<tr class="codeline" data-linenumber="925"><td class="num" id="LN925">925</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="926"><td class="num" id="LN926">926</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="927"><td class="num" id="LN927">927</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="928"><td class="num" id="LN928">928</td><td class="line"> g_list_free (files);</td></tr>
+<tr class="codeline" data-linenumber="929"><td class="num" id="LN929">929</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="930"><td class="num" id="LN930">930</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="931"><td class="num" id="LN931">931</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="932"><td class="num" id="LN932">932</td><td class="line">eom_window_update_openwith_menu (EomWindow *window, EomImage *image)</td></tr>
+<tr class="codeline" data-linenumber="933"><td class="num" id="LN933">933</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="934"><td class="num" id="LN934">934</td><td class="line"> gboolean edit_button_active;</td></tr>
+<tr class="codeline" data-linenumber="935"><td class="num" id="LN935">935</td><td class="line"> GAppInfo *editor_app;</td></tr>
+<tr class="codeline" data-linenumber="936"><td class="num" id="LN936">936</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="937"><td class="num" id="LN937">937</td><td class="line"> GFileInfo *file_info;</td></tr>
+<tr class="codeline" data-linenumber="938"><td class="num" id="LN938">938</td><td class="line"> GList *iter;</td></tr>
+<tr class="codeline" data-linenumber="939"><td class="num" id="LN939">939</td><td class="line"> gchar *label, *tip;</td></tr>
+<tr class="codeline" data-linenumber="940"><td class="num" id="LN940">940</td><td class="line"> <span class='keyword'>const</span> gchar *mime_type;</td></tr>
+<tr class="codeline" data-linenumber="941"><td class="num" id="LN941">941</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="942"><td class="num" id="LN942">942</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="943"><td class="num" id="LN943">943</td><td class="line"> GList *apps;</td></tr>
+<tr class="codeline" data-linenumber="944"><td class="num" id="LN944">944</td><td class="line"> guint action_id = 0;</td></tr>
+<tr class="codeline" data-linenumber="945"><td class="num" id="LN945">945</td><td class="line"> GIcon *app_icon;</td></tr>
+<tr class="codeline" data-linenumber="946"><td class="num" id="LN946">946</td><td class="line"> <span class='keyword'>char</span> *path;</td></tr>
+<tr class="codeline" data-linenumber="947"><td class="num" id="LN947">947</td><td class="line"> GtkWidget *menuitem;</td></tr>
+<tr class="codeline" data-linenumber="948"><td class="num" id="LN948">948</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="949"><td class="num" id="LN949">949</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="950"><td class="num" id="LN950">950</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="951"><td class="num" id="LN951">951</td><td class="line"> edit_button_active = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="952"><td class="num" id="LN952">952</td><td class="line"> editor_app = get_appinfo_for_editor (window);</td></tr>
+<tr class="codeline" data-linenumber="953"><td class="num" id="LN953">953</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="954"><td class="num" id="LN954">954</td><td class="line"> file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="955"><td class="num" id="LN955">955</td><td class="line"> file_info = g_file_query_info (file,</td></tr>
+<tr class="codeline" data-linenumber="956"><td class="num" id="LN956">956</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE<span class='macro_popup'>"standard::content-type"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="957"><td class="num" id="LN957">957</td><td class="line"> 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="958"><td class="num" id="LN958">958</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="959"><td class="num" id="LN959">959</td><td class="line"> <span class='keyword'>if</span> (file_info == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="960"><td class="num" id="LN960">960</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="961"><td class="num" id="LN961">961</td><td class="line"> <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="962"><td class="num" id="LN962">962</td><td class="line"> mime_type = g_file_info_get_content_type (file_info);</td></tr>
+<tr class="codeline" data-linenumber="963"><td class="num" id="LN963">963</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="964"><td class="num" id="LN964">964</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="965"><td class="num" id="LN965">965</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;open_with_menu_id != 0) {</td></tr>
+<tr class="codeline" data-linenumber="966"><td class="num" id="LN966">966</td><td class="line"> gtk_ui_manager_remove_ui (priv-&gt;ui_mgr, priv-&gt;open_with_menu_id);</td></tr>
+<tr class="codeline" data-linenumber="967"><td class="num" id="LN967">967</td><td class="line"> priv-&gt;open_with_menu_id = 0;</td></tr>
+<tr class="codeline" data-linenumber="968"><td class="num" id="LN968">968</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="969"><td class="num" id="LN969">969</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="970"><td class="num" id="LN970">970</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;actions_open_with != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="971"><td class="num" id="LN971">971</td><td class="line"> gtk_ui_manager_remove_action_group (priv-&gt;ui_mgr, priv-&gt;actions_open_with);</td></tr>
+<tr class="codeline" data-linenumber="972"><td class="num" id="LN972">972</td><td class="line"> g_object_unref (priv-&gt;actions_open_with);</td></tr>
+<tr class="codeline" data-linenumber="973"><td class="num" id="LN973">973</td><td class="line"> priv-&gt;actions_open_with = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="974"><td class="num" id="LN974">974</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="975"><td class="num" id="LN975">975</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="976"><td class="num" id="LN976">976</td><td class="line"> <span class='keyword'>if</span> (mime_type == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="977"><td class="num" id="LN977">977</td><td class="line"> g_object_unref (file_info);</td></tr>
+<tr class="codeline" data-linenumber="978"><td class="num" id="LN978">978</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="979"><td class="num" id="LN979">979</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="980"><td class="num" id="LN980">980</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="981"><td class="num" id="LN981">981</td><td class="line"> apps = g_app_info_get_all_for_type (mime_type);</td></tr>
+<tr class="codeline" data-linenumber="982"><td class="num" id="LN982">982</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="983"><td class="num" id="LN983">983</td><td class="line"> g_object_unref (file_info);</td></tr>
+<tr class="codeline" data-linenumber="984"><td class="num" id="LN984">984</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="985"><td class="num" id="LN985">985</td><td class="line"> <span class='keyword'>if</span> (!apps)</td></tr>
+<tr class="codeline" data-linenumber="986"><td class="num" id="LN986">986</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="987"><td class="num" id="LN987">987</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="988"><td class="num" id="LN988">988</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="989"><td class="num" id="LN989">989</td><td class="line"> priv-&gt;actions_open_with = gtk_action_group_new (<span class='string_literal'>"OpenWithActions"</span>);</td></tr>
+<tr class="codeline" data-linenumber="990"><td class="num" id="LN990">990</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="991"><td class="num" id="LN991">991</td><td class="line"> gtk_ui_manager_insert_action_group (priv-&gt;ui_mgr, priv-&gt;actions_open_with, -1);</td></tr>
+<tr class="codeline" data-linenumber="992"><td class="num" id="LN992">992</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="993"><td class="num" id="LN993">993</td><td class="line"> priv-&gt;open_with_menu_id = gtk_ui_manager_new_merge_id (priv-&gt;ui_mgr);</td></tr>
+<tr class="codeline" data-linenumber="994"><td class="num" id="LN994">994</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="995"><td class="num" id="LN995">995</td><td class="line"> <span class='keyword'>for</span> (iter = apps; iter; iter = iter-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="996"><td class="num" id="LN996">996</td><td class="line"> GAppInfo *app = iter-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="997"><td class="num" id="LN997">997</td><td class="line"> gchar name[64];</td></tr>
+<tr class="codeline" data-linenumber="998"><td class="num" id="LN998">998</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="999"><td class="num" id="LN999">999</td><td class="line"> <span class='keyword'>if</span> (editor_app != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; g_app_info_equal (editor_app, app)) {</td></tr>
+<tr class="codeline" data-linenumber="1000"><td class="num" id="LN1000">1000</td><td class="line"> edit_button_active = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1001"><td class="num" id="LN1001">1001</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1002"><td class="num" id="LN1002">1002</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1003"><td class="num" id="LN1003">1003</td><td class="line"> <span class='comment'>/* Do not include eom itself */</span></td></tr>
+<tr class="codeline" data-linenumber="1004"><td class="num" id="LN1004">1004</td><td class="line"> <span class='keyword'>if</span> (g_ascii_strcasecmp (g_app_info_get_executable (app),</td></tr>
+<tr class="codeline" data-linenumber="1005"><td class="num" id="LN1005">1005</td><td class="line"> g_get_prgname ()) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="1006"><td class="num" id="LN1006">1006</td><td class="line"> g_object_unref (app);</td></tr>
+<tr class="codeline" data-linenumber="1007"><td class="num" id="LN1007">1007</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="1008"><td class="num" id="LN1008">1008</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1009"><td class="num" id="LN1009">1009</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1010"><td class="num" id="LN1010">1010</td><td class="line"> g_snprintf (name, <span class='keyword'>sizeof</span> (name), <span class='string_literal'>"OpenWith%u"</span>, action_id++);</td></tr>
+<tr class="codeline" data-linenumber="1011"><td class="num" id="LN1011">1011</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1012"><td class="num" id="LN1012">1012</td><td class="line"> label = <span class='macro'>g_strdup (g_app_info_get_name (app))<span class='macro_popup'>g_strdup_inline (g_app_info_get_name (app))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1013"><td class="num" id="LN1013">1013</td><td class="line"> tip = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Use \"%s\" to open the selected image"</span>)<span class='macro_popup'>gettext ("Use \"%s\" to open the selected image")</span></span>, g_app_info_get_name (app));</td></tr>
+<tr class="codeline" data-linenumber="1014"><td class="num" id="LN1014">1014</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1015"><td class="num" id="LN1015">1015</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1016"><td class="num" id="LN1016">1016</td><td class="line"> action = gtk_action_new (name, label, tip, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1017"><td class="num" id="LN1017">1017</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1018"><td class="num" id="LN1018">1018</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1019"><td class="num" id="LN1019">1019</td><td class="line"> app_icon = g_app_info_get_icon (app);</td></tr>
+<tr class="codeline" data-linenumber="1020"><td class="num" id="LN1020">1020</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_LIKELY (app_icon != NULL)<span class='macro_popup'>(app_icon != ((void*)0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1021"><td class="num" id="LN1021">1021</td><td class="line"> <span class='macro'>g_object_ref (app_icon)<span class='macro_popup'>((__typeof__ (app_icon)) (g_object_ref) (app_icon))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1022"><td class="num" id="LN1022">1022</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1023"><td class="num" id="LN1023">1023</td><td class="line"> gtk_action_set_gicon (action, app_icon);</td></tr>
+<tr class="codeline" data-linenumber="1024"><td class="num" id="LN1024">1024</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1025"><td class="num" id="LN1025">1025</td><td class="line"> g_object_unref (app_icon);</td></tr>
+<tr class="codeline" data-linenumber="1026"><td class="num" id="LN1026">1026</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1027"><td class="num" id="LN1027">1027</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1028"><td class="num" id="LN1028">1028</td><td class="line"> g_free (label);</td></tr>
+<tr class="codeline" data-linenumber="1029"><td class="num" id="LN1029">1029</td><td class="line"> g_free (tip);</td></tr>
+<tr class="codeline" data-linenumber="1030"><td class="num" id="LN1030">1030</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1031"><td class="num" id="LN1031">1031</td><td class="line"> g_object_set_data_full (<span class='macro'>G_OBJECT (action)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"app"</span>, app,</td></tr>
+<tr class="codeline" data-linenumber="1032"><td class="num" id="LN1032">1032</td><td class="line"> (GDestroyNotify) g_object_unref);</td></tr>
+<tr class="codeline" data-linenumber="1033"><td class="num" id="LN1033">1033</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1034"><td class="num" id="LN1034">1034</td><td class="line"> <span class='macro'>g_signal_connect (action, <span class='string_literal'>"activate"</span>,<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>open_with_launch_application_cb))), (image), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1035"><td class="num" id="LN1035">1035</td><td class="line"> <span class='macro'>G_CALLBACK (open_with_launch_application_cb),<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>open_with_launch_application_cb))), (image), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1036"><td class="num" id="LN1036">1036</td><td class="line"> <span class='macro'>image)<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>open_with_launch_application_cb))), (image), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1037"><td class="num" id="LN1037">1037</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1038"><td class="num" id="LN1038">1038</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1039"><td class="num" id="LN1039">1039</td><td class="line"> gtk_action_group_add_action (priv-&gt;actions_open_with, action);</td></tr>
+<tr class="codeline" data-linenumber="1040"><td class="num" id="LN1040">1040</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1041"><td class="num" id="LN1041">1041</td><td class="line"> g_object_unref (action);</td></tr>
+<tr class="codeline" data-linenumber="1042"><td class="num" id="LN1042">1042</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1043"><td class="num" id="LN1043">1043</td><td class="line"> gtk_ui_manager_add_ui (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="1044"><td class="num" id="LN1044">1044</td><td class="line"> priv-&gt;open_with_menu_id,</td></tr>
+<tr class="codeline" data-linenumber="1045"><td class="num" id="LN1045">1045</td><td class="line"> <span class='string_literal'>"/MainMenu/Image/ImageOpenWith/Applications Placeholder"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1046"><td class="num" id="LN1046">1046</td><td class="line"> name,</td></tr>
+<tr class="codeline" data-linenumber="1047"><td class="num" id="LN1047">1047</td><td class="line"> name,</td></tr>
+<tr class="codeline" data-linenumber="1048"><td class="num" id="LN1048">1048</td><td class="line"> GTK_UI_MANAGER_MENUITEM,</td></tr>
+<tr class="codeline" data-linenumber="1049"><td class="num" id="LN1049">1049</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1050"><td class="num" id="LN1050">1050</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1051"><td class="num" id="LN1051">1051</td><td class="line"> gtk_ui_manager_add_ui (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="1052"><td class="num" id="LN1052">1052</td><td class="line"> priv-&gt;open_with_menu_id,</td></tr>
+<tr class="codeline" data-linenumber="1053"><td class="num" id="LN1053">1053</td><td class="line"> <span class='string_literal'>"/ThumbnailPopup/ImageOpenWith/Applications Placeholder"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1054"><td class="num" id="LN1054">1054</td><td class="line"> name,</td></tr>
+<tr class="codeline" data-linenumber="1055"><td class="num" id="LN1055">1055</td><td class="line"> name,</td></tr>
+<tr class="codeline" data-linenumber="1056"><td class="num" id="LN1056">1056</td><td class="line"> GTK_UI_MANAGER_MENUITEM,</td></tr>
+<tr class="codeline" data-linenumber="1057"><td class="num" id="LN1057">1057</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1058"><td class="num" id="LN1058">1058</td><td class="line"> gtk_ui_manager_add_ui (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="1059"><td class="num" id="LN1059">1059</td><td class="line"> priv-&gt;open_with_menu_id,</td></tr>
+<tr class="codeline" data-linenumber="1060"><td class="num" id="LN1060">1060</td><td class="line"> <span class='string_literal'>"/ViewPopup/ImageOpenWith/Applications Placeholder"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1061"><td class="num" id="LN1061">1061</td><td class="line"> name,</td></tr>
+<tr class="codeline" data-linenumber="1062"><td class="num" id="LN1062">1062</td><td class="line"> name,</td></tr>
+<tr class="codeline" data-linenumber="1063"><td class="num" id="LN1063">1063</td><td class="line"> GTK_UI_MANAGER_MENUITEM,</td></tr>
+<tr class="codeline" data-linenumber="1064"><td class="num" id="LN1064">1064</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1065"><td class="num" id="LN1065">1065</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1066"><td class="num" id="LN1066">1066</td><td class="line"> path = g_strdup_printf (<span class='string_literal'>"/MainMenu/Image/ImageOpenWith/Applications Placeholder/%s"</span>, name);</td></tr>
+<tr class="codeline" data-linenumber="1067"><td class="num" id="LN1067">1067</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1068"><td class="num" id="LN1068">1068</td><td class="line"> menuitem = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, path);</td></tr>
+<tr class="codeline" data-linenumber="1069"><td class="num" id="LN1069">1069</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1070"><td class="num" id="LN1070">1070</td><td class="line"> <span class='comment'>/* Only force displaying the icon if it is an application icon */</span></td></tr>
+<tr class="codeline" data-linenumber="1071"><td class="num" id="LN1071">1071</td><td class="line"> gtk_image_menu_item_set_always_show_image (<span class='macro'>GTK_IMAGE_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkImageMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_image_menu_item_get_type (<br>)))))))</span></span>, app_icon != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1072"><td class="num" id="LN1072">1072</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1073"><td class="num" id="LN1073">1073</td><td class="line"> g_free (path);</td></tr>
+<tr class="codeline" data-linenumber="1074"><td class="num" id="LN1074">1074</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1075"><td class="num" id="LN1075">1075</td><td class="line"> path = g_strdup_printf (<span class='string_literal'>"/ThumbnailPopup/ImageOpenWith/Applications Placeholder/%s"</span>, name);</td></tr>
+<tr class="codeline" data-linenumber="1076"><td class="num" id="LN1076">1076</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1077"><td class="num" id="LN1077">1077</td><td class="line"> menuitem = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, path);</td></tr>
+<tr class="codeline" data-linenumber="1078"><td class="num" id="LN1078">1078</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1079"><td class="num" id="LN1079">1079</td><td class="line"> <span class='comment'>/* Only force displaying the icon if it is an application icon */</span></td></tr>
+<tr class="codeline" data-linenumber="1080"><td class="num" id="LN1080">1080</td><td class="line"> gtk_image_menu_item_set_always_show_image (<span class='macro'>GTK_IMAGE_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkImageMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_image_menu_item_get_type (<br>)))))))</span></span>, app_icon != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1081"><td class="num" id="LN1081">1081</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1082"><td class="num" id="LN1082">1082</td><td class="line"> g_free (path);</td></tr>
+<tr class="codeline" data-linenumber="1083"><td class="num" id="LN1083">1083</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1084"><td class="num" id="LN1084">1084</td><td class="line"> path = g_strdup_printf (<span class='string_literal'>"/ViewPopup/ImageOpenWith/Applications Placeholder/%s"</span>, name);</td></tr>
+<tr class="codeline" data-linenumber="1085"><td class="num" id="LN1085">1085</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1086"><td class="num" id="LN1086">1086</td><td class="line"> menuitem = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, path);</td></tr>
+<tr class="codeline" data-linenumber="1087"><td class="num" id="LN1087">1087</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1088"><td class="num" id="LN1088">1088</td><td class="line"> <span class='comment'>/* Only force displaying the icon if it is an application icon */</span></td></tr>
+<tr class="codeline" data-linenumber="1089"><td class="num" id="LN1089">1089</td><td class="line"> gtk_image_menu_item_set_always_show_image (<span class='macro'>GTK_IMAGE_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkImageMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_image_menu_item_get_type (<br>)))))))</span></span>, app_icon != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1090"><td class="num" id="LN1090">1090</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1091"><td class="num" id="LN1091">1091</td><td class="line"> g_free (path);</td></tr>
+<tr class="codeline" data-linenumber="1092"><td class="num" id="LN1092">1092</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1093"><td class="num" id="LN1093">1093</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1094"><td class="num" id="LN1094">1094</td><td class="line"> g_list_free (apps);</td></tr>
+<tr class="codeline" data-linenumber="1095"><td class="num" id="LN1095">1095</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1096"><td class="num" id="LN1096">1096</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1097"><td class="num" id="LN1097">1097</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="1098"><td class="num" id="LN1098">1098</td><td class="line"> <span class='string_literal'>"OpenEditor"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1099"><td class="num" id="LN1099">1099</td><td class="line"> <span class='keyword'>if</span> (action != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1100"><td class="num" id="LN1100">1100</td><td class="line"> gtk_action_set_sensitive (action, edit_button_active);</td></tr>
+<tr class="codeline" data-linenumber="1101"><td class="num" id="LN1101">1101</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1102"><td class="num" id="LN1102">1102</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1103"><td class="num" id="LN1103">1103</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1104"><td class="num" id="LN1104">1104</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1105"><td class="num" id="LN1105">1105</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1106"><td class="num" id="LN1106">1106</td><td class="line">eom_window_clear_load_job (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1107"><td class="num" id="LN1107">1107</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1108"><td class="num" id="LN1108">1108</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1109"><td class="num" id="LN1109">1109</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1110"><td class="num" id="LN1110">1110</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;load_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1111"><td class="num" id="LN1111">1111</td><td class="line"> <span class='keyword'>if</span> (!priv-&gt;load_job-&gt;finished)</td></tr>
+<tr class="codeline" data-linenumber="1112"><td class="num" id="LN1112">1112</td><td class="line"> eom_job_queue_remove_job (priv-&gt;load_job);</td></tr>
+<tr class="codeline" data-linenumber="1113"><td class="num" id="LN1113">1113</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1114"><td class="num" id="LN1114">1114</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;load_job,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;load_job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_progress_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1115"><td class="num" id="LN1115">1115</td><td class="line"> <span class='macro'>eom_job_progress_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;load_job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_progress_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1116"><td class="num" id="LN1116">1116</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;load_job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_progress_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1117"><td class="num" id="LN1117">1117</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1118"><td class="num" id="LN1118">1118</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;load_job,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;load_job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_load_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1119"><td class="num" id="LN1119">1119</td><td class="line"> <span class='macro'>eom_job_load_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;load_job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_load_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1120"><td class="num" id="LN1120">1120</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;load_job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_load_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1121"><td class="num" id="LN1121">1121</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1122"><td class="num" id="LN1122">1122</td><td class="line"> eom_image_cancel_load (<span class='macro'>EOM_JOB_LOAD (priv-&gt;load_job)<span class='macro_popup'>((((EomJobLoad*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;load_job)), ((eom_job_load_get_type()))))))</span></span>-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="1123"><td class="num" id="LN1123">1123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1124"><td class="num" id="LN1124">1124</td><td class="line"> g_object_unref (priv-&gt;load_job);</td></tr>
+<tr class="codeline" data-linenumber="1125"><td class="num" id="LN1125">1125</td><td class="line"> priv-&gt;load_job = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1126"><td class="num" id="LN1126">1126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1127"><td class="num" id="LN1127">1127</td><td class="line"> <span class='comment'>/* Hide statusbar */</span></td></tr>
+<tr class="codeline" data-linenumber="1128"><td class="num" id="LN1128">1128</td><td class="line"> eom_statusbar_set_progress (<span class='macro'>EOM_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((EomStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((eom_statusbar_get_type ()))))))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="1129"><td class="num" id="LN1129">1129</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1130"><td class="num" id="LN1130">1130</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1131"><td class="num" id="LN1131">1131</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1132"><td class="num" id="LN1132">1132</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1133"><td class="num" id="LN1133">1133</td><td class="line">eom_job_progress_cb (EomJobLoad *job, <span class='keyword'>float</span> progress, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1134"><td class="num" id="LN1134">1134</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1135"><td class="num" id="LN1135">1135</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="1136"><td class="num" id="LN1136">1136</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1137"><td class="num" id="LN1137">1137</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1138"><td class="num" id="LN1138">1138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1139"><td class="num" id="LN1139">1139</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1140"><td class="num" id="LN1140">1140</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1141"><td class="num" id="LN1141">1141</td><td class="line"> eom_statusbar_set_progress (<span class='macro'>EOM_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((EomStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((eom_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1142"><td class="num" id="LN1142">1142</td><td class="line"> progress);</td></tr>
+<tr class="codeline" data-linenumber="1143"><td class="num" id="LN1143">1143</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1144"><td class="num" id="LN1144">1144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1145"><td class="num" id="LN1145">1145</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1146"><td class="num" id="LN1146">1146</td><td class="line">eom_job_save_progress_cb (EomJobSave *job, <span class='keyword'>float</span> progress, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1147"><td class="num" id="LN1147">1147</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1148"><td class="num" id="LN1148">1148</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1149"><td class="num" id="LN1149">1149</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="1150"><td class="num" id="LN1150">1150</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1151"><td class="num" id="LN1151">1151</td><td class="line"> <span class='keyword'>static</span> EomImage *image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1152"><td class="num" id="LN1152">1152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1153"><td class="num" id="LN1153">1153</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1154"><td class="num" id="LN1154">1154</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1155"><td class="num" id="LN1155">1155</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1156"><td class="num" id="LN1156">1156</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1157"><td class="num" id="LN1157">1157</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1158"><td class="num" id="LN1158">1158</td><td class="line"> eom_statusbar_set_progress (<span class='macro'>EOM_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((EomStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((eom_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1159"><td class="num" id="LN1159">1159</td><td class="line"> progress);</td></tr>
+<tr class="codeline" data-linenumber="1160"><td class="num" id="LN1160">1160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1161"><td class="num" id="LN1161">1161</td><td class="line"> <span class='keyword'>if</span> (image != job-&gt;current_image) {</td></tr>
+<tr class="codeline" data-linenumber="1162"><td class="num" id="LN1162">1162</td><td class="line"> gchar *str_image, *status_message;</td></tr>
+<tr class="codeline" data-linenumber="1163"><td class="num" id="LN1163">1163</td><td class="line"> guint n_images;</td></tr>
+<tr class="codeline" data-linenumber="1164"><td class="num" id="LN1164">1164</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1165"><td class="num" id="LN1165">1165</td><td class="line"> image = job-&gt;current_image;</td></tr>
+<tr class="codeline" data-linenumber="1166"><td class="num" id="LN1166">1166</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1167"><td class="num" id="LN1167">1167</td><td class="line"> n_images = g_list_length (job-&gt;images);</td></tr>
+<tr class="codeline" data-linenumber="1168"><td class="num" id="LN1168">1168</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1169"><td class="num" id="LN1169">1169</td><td class="line"> str_image = eom_image_get_uri_for_display (image);</td></tr>
+<tr class="codeline" data-linenumber="1170"><td class="num" id="LN1170">1170</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1171"><td class="num" id="LN1171">1171</td><td class="line"> <span class='comment'>/* Translators: This string is displayed in the statusbar</span></td></tr>
+<tr class="codeline" data-linenumber="1172"><td class="num" id="LN1172">1172</td><td class="line"> <span class='comment'>* while saving images. The tokens are from left to right:</span></td></tr>
+<tr class="codeline" data-linenumber="1173"><td class="num" id="LN1173">1173</td><td class="line"> <span class='comment'>* - the original filename</span></td></tr>
+<tr class="codeline" data-linenumber="1174"><td class="num" id="LN1174">1174</td><td class="line"> <span class='comment'>* - the current image's position in the queue</span></td></tr>
+<tr class="codeline" data-linenumber="1175"><td class="num" id="LN1175">1175</td><td class="line"> <span class='comment'>* - the total number of images queued for saving */</span></td></tr>
+<tr class="codeline" data-linenumber="1176"><td class="num" id="LN1176">1176</td><td class="line"> status_message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Saving image \"%s\" (%u/%u)"</span>)<span class='macro_popup'>gettext ("Saving image \"%s\" (%u/%u)")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1177"><td class="num" id="LN1177">1177</td><td class="line"> str_image,</td></tr>
+<tr class="codeline" data-linenumber="1178"><td class="num" id="LN1178">1178</td><td class="line"> job-&gt;current_pos + 1,</td></tr>
+<tr class="codeline" data-linenumber="1179"><td class="num" id="LN1179">1179</td><td class="line"> n_images);</td></tr>
+<tr class="codeline" data-linenumber="1180"><td class="num" id="LN1180">1180</td><td class="line"> g_free (str_image);</td></tr>
+<tr class="codeline" data-linenumber="1181"><td class="num" id="LN1181">1181</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1182"><td class="num" id="LN1182">1182</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1183"><td class="num" id="LN1183">1183</td><td class="line"> priv-&gt;image_info_message_cid);</td></tr>
+<tr class="codeline" data-linenumber="1184"><td class="num" id="LN1184">1184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1185"><td class="num" id="LN1185">1185</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1186"><td class="num" id="LN1186">1186</td><td class="line"> priv-&gt;image_info_message_cid,</td></tr>
+<tr class="codeline" data-linenumber="1187"><td class="num" id="LN1187">1187</td><td class="line"> status_message);</td></tr>
+<tr class="codeline" data-linenumber="1188"><td class="num" id="LN1188">1188</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1189"><td class="num" id="LN1189">1189</td><td class="line"> g_free (status_message);</td></tr>
+<tr class="codeline" data-linenumber="1190"><td class="num" id="LN1190">1190</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1191"><td class="num" id="LN1191">1191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1192"><td class="num" id="LN1192">1192</td><td class="line"> <span class='keyword'>if</span> (progress == 1.0)</td></tr>
+<tr class="codeline" data-linenumber="1193"><td class="num" id="LN1193">1193</td><td class="line"> image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1194"><td class="num" id="LN1194">1194</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1195"><td class="num" id="LN1195">1195</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1196"><td class="num" id="LN1196">1196</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1197"><td class="num" id="LN1197">1197</td><td class="line">eom_window_obtain_desired_size (EomImage *image,</td></tr>
+<tr class="codeline" data-linenumber="1198"><td class="num" id="LN1198">1198</td><td class="line"> gint width,</td></tr>
+<tr class="codeline" data-linenumber="1199"><td class="num" id="LN1199">1199</td><td class="line"> gint height,</td></tr>
+<tr class="codeline" data-linenumber="1200"><td class="num" id="LN1200">1200</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1201"><td class="num" id="LN1201">1201</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1202"><td class="num" id="LN1202">1202</td><td class="line"> GdkScreen *screen;</td></tr>
+<tr class="codeline" data-linenumber="1203"><td class="num" id="LN1203">1203</td><td class="line"> GdkDisplay *display;</td></tr>
+<tr class="codeline" data-linenumber="1204"><td class="num" id="LN1204">1204</td><td class="line"> GdkRectangle monitor;</td></tr>
+<tr class="codeline" data-linenumber="1205"><td class="num" id="LN1205">1205</td><td class="line"> GtkAllocation allocation;</td></tr>
+<tr class="codeline" data-linenumber="1206"><td class="num" id="LN1206">1206</td><td class="line"> gint final_width, final_height;</td></tr>
+<tr class="codeline" data-linenumber="1207"><td class="num" id="LN1207">1207</td><td class="line"> gint screen_width, screen_height;</td></tr>
+<tr class="codeline" data-linenumber="1208"><td class="num" id="LN1208">1208</td><td class="line"> gint window_width, window_height;</td></tr>
+<tr class="codeline" data-linenumber="1209"><td class="num" id="LN1209">1209</td><td class="line"> gint img_width, img_height;</td></tr>
+<tr class="codeline" data-linenumber="1210"><td class="num" id="LN1210">1210</td><td class="line"> gint view_width, view_height;</td></tr>
+<tr class="codeline" data-linenumber="1211"><td class="num" id="LN1211">1211</td><td class="line"> gint deco_width, deco_height;</td></tr>
+<tr class="codeline" data-linenumber="1212"><td class="num" id="LN1212">1212</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1213"><td class="num" id="LN1213">1213</td><td class="line"> update_action_groups_state (window);</td></tr>
+<tr class="codeline" data-linenumber="1214"><td class="num" id="LN1214">1214</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1215"><td class="num" id="LN1215">1215</td><td class="line"> img_width = width;</td></tr>
+<tr class="codeline" data-linenumber="1216"><td class="num" id="LN1216">1216</td><td class="line"> img_height = height;</td></tr>
+<tr class="codeline" data-linenumber="1217"><td class="num" id="LN1217">1217</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1218"><td class="num" id="LN1218">1218</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_realized (window-&gt;priv-&gt;view)) {</td></tr>
+<tr class="codeline" data-linenumber="1219"><td class="num" id="LN1219">1219</td><td class="line"> gtk_widget_realize (window-&gt;priv-&gt;view);</td></tr>
+<tr class="codeline" data-linenumber="1220"><td class="num" id="LN1220">1220</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1221"><td class="num" id="LN1221">1221</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1222"><td class="num" id="LN1222">1222</td><td class="line"> gtk_widget_get_allocation (window-&gt;priv-&gt;view, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="1223"><td class="num" id="LN1223">1223</td><td class="line"> view_width = allocation.width;</td></tr>
+<tr class="codeline" data-linenumber="1224"><td class="num" id="LN1224">1224</td><td class="line"> view_height = allocation.height;</td></tr>
+<tr class="codeline" data-linenumber="1225"><td class="num" id="LN1225">1225</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1226"><td class="num" id="LN1226">1226</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_realized (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="1227"><td class="num" id="LN1227">1227</td><td class="line"> gtk_widget_realize (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1228"><td class="num" id="LN1228">1228</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1229"><td class="num" id="LN1229">1229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1230"><td class="num" id="LN1230">1230</td><td class="line"> gtk_widget_get_allocation (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>, &amp;allocation);</td></tr>
+<tr class="codeline" data-linenumber="1231"><td class="num" id="LN1231">1231</td><td class="line"> window_width = allocation.width;</td></tr>
+<tr class="codeline" data-linenumber="1232"><td class="num" id="LN1232">1232</td><td class="line"> window_height = allocation.height;</td></tr>
+<tr class="codeline" data-linenumber="1233"><td class="num" id="LN1233">1233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1234"><td class="num" id="LN1234">1234</td><td class="line"> screen = gtk_window_get_screen (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1235"><td class="num" id="LN1235">1235</td><td class="line"> display = gdk_screen_get_display (screen);</td></tr>
+<tr class="codeline" data-linenumber="1236"><td class="num" id="LN1236">1236</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1237"><td class="num" id="LN1237">1237</td><td class="line"> gdk_monitor_get_geometry (gdk_display_get_monitor_at_window (display,</td></tr>
+<tr class="codeline" data-linenumber="1238"><td class="num" id="LN1238">1238</td><td class="line"> gtk_widget_get_window (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>)),</td></tr>
+<tr class="codeline" data-linenumber="1239"><td class="num" id="LN1239">1239</td><td class="line"> &amp;monitor);</td></tr>
+<tr class="codeline" data-linenumber="1240"><td class="num" id="LN1240">1240</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1241"><td class="num" id="LN1241">1241</td><td class="line"> screen_width = monitor.width;</td></tr>
+<tr class="codeline" data-linenumber="1242"><td class="num" id="LN1242">1242</td><td class="line"> screen_height = monitor.height;</td></tr>
+<tr class="codeline" data-linenumber="1243"><td class="num" id="LN1243">1243</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1244"><td class="num" id="LN1244">1244</td><td class="line"> deco_width = window_width - view_width;</td></tr>
+<tr class="codeline" data-linenumber="1245"><td class="num" id="LN1245">1245</td><td class="line"> deco_height = window_height - view_height;</td></tr>
+<tr class="codeline" data-linenumber="1246"><td class="num" id="LN1246">1246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1247"><td class="num" id="LN1247">1247</td><td class="line"> <span class='keyword'>if</span> (img_width &gt; 0 &amp;&amp; img_height &gt; 0) {</td></tr>
+<tr class="codeline" data-linenumber="1248"><td class="num" id="LN1248">1248</td><td class="line"> <span class='keyword'>if</span> ((img_width + deco_width &gt; screen_width) ||</td></tr>
+<tr class="codeline" data-linenumber="1249"><td class="num" id="LN1249">1249</td><td class="line"> (img_height + deco_height &gt; screen_height))</td></tr>
+<tr class="codeline" data-linenumber="1250"><td class="num" id="LN1250">1250</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1251"><td class="num" id="LN1251">1251</td><td class="line"> <span class='keyword'>double</span> factor;</td></tr>
+<tr class="codeline" data-linenumber="1252"><td class="num" id="LN1252">1252</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1253"><td class="num" id="LN1253">1253</td><td class="line"> <span class='keyword'>if</span> (img_width &gt; img_height) {</td></tr>
+<tr class="codeline" data-linenumber="1254"><td class="num" id="LN1254">1254</td><td class="line"> factor = (screen_width * 0.75 - deco_width) / (<span class='keyword'>double</span>) img_width;</td></tr>
+<tr class="codeline" data-linenumber="1255"><td class="num" id="LN1255">1255</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1256"><td class="num" id="LN1256">1256</td><td class="line"> factor = (screen_height * 0.75 - deco_height) / (<span class='keyword'>double</span>) img_height;</td></tr>
+<tr class="codeline" data-linenumber="1257"><td class="num" id="LN1257">1257</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1258"><td class="num" id="LN1258">1258</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1259"><td class="num" id="LN1259">1259</td><td class="line"> img_width = img_width * factor;</td></tr>
+<tr class="codeline" data-linenumber="1260"><td class="num" id="LN1260">1260</td><td class="line"> img_height = img_height * factor;</td></tr>
+<tr class="codeline" data-linenumber="1261"><td class="num" id="LN1261">1261</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1262"><td class="num" id="LN1262">1262</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1263"><td class="num" id="LN1263">1263</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1264"><td class="num" id="LN1264">1264</td><td class="line"> final_width = <span class='macro'>MAX (EOM_WINDOW_MIN_WIDTH, img_width + deco_width)<span class='macro_popup'>(((440) &gt; (img_width + deco_width)) ? (440) : (img_width +<br> deco_width))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1265"><td class="num" id="LN1265">1265</td><td class="line"> final_height = <span class='macro'>MAX (EOM_WINDOW_MIN_HEIGHT, img_height + deco_height)<span class='macro_popup'>(((350) &gt; (img_height + deco_height)) ? (350) : (img_height<br> + deco_height))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1266"><td class="num" id="LN1266">1266</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1267"><td class="num" id="LN1267">1267</td><td class="line"> eom_debug_message (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1267, ((const char*) (__func__<br>))</span></span>, <span class='string_literal'>"Setting window size: %d x %d"</span>, final_width, final_height);</td></tr>
+<tr class="codeline" data-linenumber="1268"><td class="num" id="LN1268">1268</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1269"><td class="num" id="LN1269">1269</td><td class="line"> gtk_window_set_default_size (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, final_width, final_height);</td></tr>
+<tr class="codeline" data-linenumber="1270"><td class="num" id="LN1270">1270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1271"><td class="num" id="LN1271">1271</td><td class="line"> g_signal_emit (window, signals[SIGNAL_PREPARED], 0);</td></tr>
+<tr class="codeline" data-linenumber="1272"><td class="num" id="LN1272">1272</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1273"><td class="num" id="LN1273">1273</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1274"><td class="num" id="LN1274">1274</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1275"><td class="num" id="LN1275">1275</td><td class="line">eom_window_error_message_area_response (GtkInfoBar *message_area,</td></tr>
+<tr class="codeline" data-linenumber="1276"><td class="num" id="LN1276">1276</td><td class="line"> gint response_id,</td></tr>
+<tr class="codeline" data-linenumber="1277"><td class="num" id="LN1277">1277</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1278"><td class="num" id="LN1278">1278</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1279"><td class="num" id="LN1279">1279</td><td class="line"> <span class='keyword'>if</span> (response_id != GTK_RESPONSE_OK) {</td></tr>
+<tr class="codeline" data-linenumber="1280"><td class="num" id="LN1280">1280</td><td class="line"> eom_window_set_message_area (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1281"><td class="num" id="LN1281">1281</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1282"><td class="num" id="LN1282">1282</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1283"><td class="num" id="LN1283">1283</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1284"><td class="num" id="LN1284">1284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1285"><td class="num" id="LN1285">1285</td><td class="line"> <span class='comment'>/* Trigger loading for current image again */</span></td></tr>
+<tr class="codeline" data-linenumber="1286"><td class="num" id="LN1286">1286</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (window-&gt;priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;thumbview)), ((eom_thumb_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1287"><td class="num" id="LN1287">1287</td><td class="line"> EOM_THUMB_VIEW_SELECT_CURRENT);</td></tr>
+<tr class="codeline" data-linenumber="1288"><td class="num" id="LN1288">1288</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1289"><td class="num" id="LN1289">1289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1290"><td class="num" id="LN1290">1290</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1291"><td class="num" id="LN1291">1291</td><td class="line">eom_job_load_cb (EomJobLoad *job, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1292"><td class="num" id="LN1292">1292</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1293"><td class="num" id="LN1293">1293</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="1294"><td class="num" id="LN1294">1294</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1295"><td class="num" id="LN1295">1295</td><td class="line"> GtkAction *action_undo, *action_save;</td></tr>
+<tr class="codeline" data-linenumber="1296"><td class="num" id="LN1296">1296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1297"><td class="num" id="LN1297">1297</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1298"><td class="num" id="LN1298">1298</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1299"><td class="num" id="LN1299">1299</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1299, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1300"><td class="num" id="LN1300">1300</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1301"><td class="num" id="LN1301">1301</td><td class="line"> window = <span class='macro'>EOM_WINDOW (data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1302"><td class="num" id="LN1302">1302</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1303"><td class="num" id="LN1303">1303</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1304"><td class="num" id="LN1304">1304</td><td class="line"> eom_statusbar_set_progress (<span class='macro'>EOM_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((EomStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((eom_statusbar_get_type ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="1305"><td class="num" id="LN1305">1305</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1306"><td class="num" id="LN1306">1306</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1307"><td class="num" id="LN1307">1307</td><td class="line"> priv-&gt;image_info_message_cid);</td></tr>
+<tr class="codeline" data-linenumber="1308"><td class="num" id="LN1308">1308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1309"><td class="num" id="LN1309">1309</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1310"><td class="num" id="LN1310">1310</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;image,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_thumb_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1311"><td class="num" id="LN1311">1311</td><td class="line"> <span class='macro'>image_thumb_changed_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_thumb_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1312"><td class="num" id="LN1312">1312</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_thumb_changed_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1313"><td class="num" id="LN1313">1313</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;image,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_file_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1314"><td class="num" id="LN1314">1314</td><td class="line"> <span class='macro'>image_file_changed_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_file_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1315"><td class="num" id="LN1315">1315</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_file_changed_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1316"><td class="num" id="LN1316">1316</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1317"><td class="num" id="LN1317">1317</td><td class="line"> g_object_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="1318"><td class="num" id="LN1318">1318</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1319"><td class="num" id="LN1319">1319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1320"><td class="num" id="LN1320">1320</td><td class="line"> priv-&gt;image = <span class='macro'>g_object_ref (job-&gt;image)<span class='macro_popup'>((__typeof__ (job-&gt;image)) (g_object_ref) (job-&gt;image))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1321"><td class="num" id="LN1321">1321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1322"><td class="num" id="LN1322">1322</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>EOM_JOB (job)<span class='macro_popup'>((((EomJob*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((job)), ((eom_job_get_type()))))))</span></span>-&gt;error == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1323"><td class="num" id="LN1323">1323</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="1324"><td class="num" id="LN1324">1324</td><td class="line"> eom_image_apply_display_profile (job-&gt;image,</td></tr>
+<tr class="codeline" data-linenumber="1325"><td class="num" id="LN1325">1325</td><td class="line"> priv-&gt;display_profile);</td></tr>
+<tr class="codeline" data-linenumber="1326"><td class="num" id="LN1326">1326</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="1327"><td class="num" id="LN1327">1327</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1328"><td class="num" id="LN1328">1328</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1329"><td class="num" id="LN1329">1329</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_image, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1330"><td class="num" id="LN1330">1330</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1331"><td class="num" id="LN1331">1331</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1332"><td class="num" id="LN1332">1332</td><td class="line"> eom_window_display_image (window, job-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="1333"><td class="num" id="LN1333">1333</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1334"><td class="num" id="LN1334">1334</td><td class="line"> GtkWidget *message_area;</td></tr>
+<tr class="codeline" data-linenumber="1335"><td class="num" id="LN1335">1335</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1336"><td class="num" id="LN1336">1336</td><td class="line"> message_area = eom_image_load_error_message_area_new (</td></tr>
+<tr class="codeline" data-linenumber="1337"><td class="num" id="LN1337">1337</td><td class="line"> eom_image_get_caption (job-&gt;image),</td></tr>
+<tr class="codeline" data-linenumber="1338"><td class="num" id="LN1338">1338</td><td class="line"> <span class='macro'>EOM_JOB (job)<span class='macro_popup'>((((EomJob*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((job)), ((eom_job_get_type()))))))</span></span>-&gt;error);</td></tr>
+<tr class="codeline" data-linenumber="1339"><td class="num" id="LN1339">1339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1340"><td class="num" id="LN1340">1340</td><td class="line"> <span class='macro'>g_signal_connect (message_area, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((message_area), ("response"), (((GCallback<br>) (eom_window_error_message_area_response))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1341"><td class="num" id="LN1341">1341</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_error_message_area_response),<span class='macro_popup'>g_signal_connect_data ((message_area), ("response"), (((GCallback<br>) (eom_window_error_message_area_response))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1342"><td class="num" id="LN1342">1342</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((message_area), ("response"), (((GCallback<br>) (eom_window_error_message_area_response))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1343"><td class="num" id="LN1343">1343</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1344"><td class="num" id="LN1344">1344</td><td class="line"> gtk_window_set_icon (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1345"><td class="num" id="LN1345">1345</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1346"><td class="num" id="LN1346">1346</td><td class="line"> eom_image_get_caption (job-&gt;image));</td></tr>
+<tr class="codeline" data-linenumber="1347"><td class="num" id="LN1347">1347</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1348"><td class="num" id="LN1348">1348</td><td class="line"> eom_window_set_message_area (window, message_area);</td></tr>
+<tr class="codeline" data-linenumber="1349"><td class="num" id="LN1349">1349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1350"><td class="num" id="LN1350">1350</td><td class="line"> gtk_info_bar_set_default_response (<span class='macro'>GTK_INFO_BAR (message_area)<span class='macro_popup'>((((GtkInfoBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((message_area)), ((gtk_info_bar_get_type()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1351"><td class="num" id="LN1351">1351</td><td class="line"> GTK_RESPONSE_CANCEL);</td></tr>
+<tr class="codeline" data-linenumber="1352"><td class="num" id="LN1352">1352</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1353"><td class="num" id="LN1353">1353</td><td class="line"> gtk_widget_show (message_area);</td></tr>
+<tr class="codeline" data-linenumber="1354"><td class="num" id="LN1354">1354</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1355"><td class="num" id="LN1355">1355</td><td class="line"> update_status_bar (window);</td></tr>
+<tr class="codeline" data-linenumber="1356"><td class="num" id="LN1356">1356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1357"><td class="num" id="LN1357">1357</td><td class="line"> eom_scroll_view_set_image (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1358"><td class="num" id="LN1358">1358</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1359"><td class="num" id="LN1359">1359</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;status == EOM_WINDOW_STATUS_INIT) {</td></tr>
+<tr class="codeline" data-linenumber="1360"><td class="num" id="LN1360">1360</td><td class="line"> update_action_groups_state (window);</td></tr>
+<tr class="codeline" data-linenumber="1361"><td class="num" id="LN1361">1361</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1362"><td class="num" id="LN1362">1362</td><td class="line"> g_signal_emit (window, signals[SIGNAL_PREPARED], 0);</td></tr>
+<tr class="codeline" data-linenumber="1363"><td class="num" id="LN1363">1363</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1364"><td class="num" id="LN1364">1364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1365"><td class="num" id="LN1365">1365</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1366"><td class="num" id="LN1366">1366</td><td class="line"> gtk_action_group_set_sensitive (priv-&gt;actions_image, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1367"><td class="num" id="LN1367">1367</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1368"><td class="num" id="LN1368">1368</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1369"><td class="num" id="LN1369">1369</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1370"><td class="num" id="LN1370">1370</td><td class="line"> eom_window_clear_load_job (window);</td></tr>
+<tr class="codeline" data-linenumber="1371"><td class="num" id="LN1371">1371</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1372"><td class="num" id="LN1372">1372</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;status == EOM_WINDOW_STATUS_INIT) {</td></tr>
+<tr class="codeline" data-linenumber="1373"><td class="num" id="LN1373">1373</td><td class="line"> window-&gt;priv-&gt;status = EOM_WINDOW_STATUS_NORMAL;</td></tr>
+<tr class="codeline" data-linenumber="1374"><td class="num" id="LN1374">1374</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1375"><td class="num" id="LN1375">1375</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (job-&gt;image,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_obtain_desired_size), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1376"><td class="num" id="LN1376">1376</td><td class="line"> <span class='macro'>eom_window_obtain_desired_size,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_obtain_desired_size), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1377"><td class="num" id="LN1377">1377</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_obtain_desired_size), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1378"><td class="num" id="LN1378">1378</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1379"><td class="num" id="LN1379">1379</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1380"><td class="num" id="LN1380">1380</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1381"><td class="num" id="LN1381">1381</td><td class="line"> action_save = gtk_action_group_get_action (priv-&gt;actions_image, <span class='string_literal'>"ImageSave"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1382"><td class="num" id="LN1382">1382</td><td class="line"> action_undo = gtk_action_group_get_action (priv-&gt;actions_image, <span class='string_literal'>"EditUndo"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1383"><td class="num" id="LN1383">1383</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1384"><td class="num" id="LN1384">1384</td><td class="line"> <span class='comment'>/* Set Save and Undo sensitive according to image state.</span></td></tr>
+<tr class="codeline" data-linenumber="1385"><td class="num" id="LN1385">1385</td><td class="line"> <span class='comment'>* Respect lockdown in case of Save.*/</span></td></tr>
+<tr class="codeline" data-linenumber="1386"><td class="num" id="LN1386">1386</td><td class="line"> gtk_action_set_sensitive (action_save, (!priv-&gt;save_disabled &amp;&amp; eom_image_is_modified (job-&gt;image)));</td></tr>
+<tr class="codeline" data-linenumber="1387"><td class="num" id="LN1387">1387</td><td class="line"> gtk_action_set_sensitive (action_undo, eom_image_is_modified (job-&gt;image));</td></tr>
+<tr class="codeline" data-linenumber="1388"><td class="num" id="LN1388">1388</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1389"><td class="num" id="LN1389">1389</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1390"><td class="num" id="LN1390">1390</td><td class="line"> g_object_unref (job-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="1391"><td class="num" id="LN1391">1391</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1392"><td class="num" id="LN1392">1392</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1393"><td class="num" id="LN1393">1393</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1394"><td class="num" id="LN1394">1394</td><td class="line">eom_window_clear_transform_job (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1395"><td class="num" id="LN1395">1395</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1396"><td class="num" id="LN1396">1396</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1397"><td class="num" id="LN1397">1397</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1398"><td class="num" id="LN1398">1398</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;transform_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1399"><td class="num" id="LN1399">1399</td><td class="line"> <span class='keyword'>if</span> (!priv-&gt;transform_job-&gt;finished)</td></tr>
+<tr class="codeline" data-linenumber="1400"><td class="num" id="LN1400">1400</td><td class="line"> eom_job_queue_remove_job (priv-&gt;transform_job);</td></tr>
+<tr class="codeline" data-linenumber="1401"><td class="num" id="LN1401">1401</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1402"><td class="num" id="LN1402">1402</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;transform_job,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;transform_job<br>), (GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA<br>), 0, 0, ((void*)0), (eom_job_transform_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1403"><td class="num" id="LN1403">1403</td><td class="line"> <span class='macro'>eom_job_transform_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;transform_job<br>), (GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA<br>), 0, 0, ((void*)0), (eom_job_transform_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1404"><td class="num" id="LN1404">1404</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;transform_job<br>), (GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA<br>), 0, 0, ((void*)0), (eom_job_transform_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1405"><td class="num" id="LN1405">1405</td><td class="line"> g_object_unref (priv-&gt;transform_job);</td></tr>
+<tr class="codeline" data-linenumber="1406"><td class="num" id="LN1406">1406</td><td class="line"> priv-&gt;transform_job = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1407"><td class="num" id="LN1407">1407</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1408"><td class="num" id="LN1408">1408</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1409"><td class="num" id="LN1409">1409</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1410"><td class="num" id="LN1410">1410</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1411"><td class="num" id="LN1411">1411</td><td class="line">eom_job_transform_cb (EomJobTransform *job, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1412"><td class="num" id="LN1412">1412</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1413"><td class="num" id="LN1413">1413</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="1414"><td class="num" id="LN1414">1414</td><td class="line"> GtkAction *action_undo, *action_save;</td></tr>
+<tr class="codeline" data-linenumber="1415"><td class="num" id="LN1415">1415</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="1416"><td class="num" id="LN1416">1416</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1417"><td class="num" id="LN1417">1417</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1418"><td class="num" id="LN1418">1418</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1419"><td class="num" id="LN1419">1419</td><td class="line"> window = <span class='macro'>EOM_WINDOW (data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1420"><td class="num" id="LN1420">1420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1421"><td class="num" id="LN1421">1421</td><td class="line"> eom_window_clear_transform_job (window);</td></tr>
+<tr class="codeline" data-linenumber="1422"><td class="num" id="LN1422">1422</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1423"><td class="num" id="LN1423">1423</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1424"><td class="num" id="LN1424">1424</td><td class="line"> action_undo =</td></tr>
+<tr class="codeline" data-linenumber="1425"><td class="num" id="LN1425">1425</td><td class="line"> gtk_action_group_get_action (window-&gt;priv-&gt;actions_image, <span class='string_literal'>"EditUndo"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1426"><td class="num" id="LN1426">1426</td><td class="line"> action_save =</td></tr>
+<tr class="codeline" data-linenumber="1427"><td class="num" id="LN1427">1427</td><td class="line"> gtk_action_group_get_action (window-&gt;priv-&gt;actions_image, <span class='string_literal'>"ImageSave"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1428"><td class="num" id="LN1428">1428</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1429"><td class="num" id="LN1429">1429</td><td class="line"> image = eom_window_get_image (window);</td></tr>
+<tr class="codeline" data-linenumber="1430"><td class="num" id="LN1430">1430</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1431"><td class="num" id="LN1431">1431</td><td class="line"> gtk_action_set_sensitive (action_undo, eom_image_is_modified (image));</td></tr>
+<tr class="codeline" data-linenumber="1432"><td class="num" id="LN1432">1432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1433"><td class="num" id="LN1433">1433</td><td class="line"> <span class='keyword'>if</span> (!window-&gt;priv-&gt;save_disabled)</td></tr>
+<tr class="codeline" data-linenumber="1434"><td class="num" id="LN1434">1434</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="1435"><td class="num" id="LN1435">1435</td><td class="line"> gtk_action_set_sensitive (action_save, eom_image_is_modified (image));</td></tr>
+<tr class="codeline" data-linenumber="1436"><td class="num" id="LN1436">1436</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1437"><td class="num" id="LN1437">1437</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1438"><td class="num" id="LN1438">1438</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1439"><td class="num" id="LN1439">1439</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1440"><td class="num" id="LN1440">1440</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1441"><td class="num" id="LN1441">1441</td><td class="line">apply_transformation (EomWindow *window, EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="1442"><td class="num" id="LN1442">1442</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1443"><td class="num" id="LN1443">1443</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1444"><td class="num" id="LN1444">1444</td><td class="line"> GList *images;</td></tr>
+<tr class="codeline" data-linenumber="1445"><td class="num" id="LN1445">1445</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1446"><td class="num" id="LN1446">1446</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1447"><td class="num" id="LN1447">1447</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1448"><td class="num" id="LN1448">1448</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1449"><td class="num" id="LN1449">1449</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1450"><td class="num" id="LN1450">1450</td><td class="line"> images = eom_thumb_view_get_selected_images (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1451"><td class="num" id="LN1451">1451</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1452"><td class="num" id="LN1452">1452</td><td class="line"> eom_window_clear_transform_job (window);</td></tr>
+<tr class="codeline" data-linenumber="1453"><td class="num" id="LN1453">1453</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1454"><td class="num" id="LN1454">1454</td><td class="line"> priv-&gt;transform_job = eom_job_transform_new (images, trans);</td></tr>
+<tr class="codeline" data-linenumber="1455"><td class="num" id="LN1455">1455</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1456"><td class="num" id="LN1456">1456</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;transform_job, <span class='string_literal'>"finished"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;transform_job), ("finished")<br>, (((GCallback) (eom_job_transform_cb))), (window), ((void*)0<br>), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1457"><td class="num" id="LN1457">1457</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_transform_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;transform_job), ("finished")<br>, (((GCallback) (eom_job_transform_cb))), (window), ((void*)0<br>), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1458"><td class="num" id="LN1458">1458</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;transform_job), ("finished")<br>, (((GCallback) (eom_job_transform_cb))), (window), ((void*)0<br>), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1459"><td class="num" id="LN1459">1459</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1460"><td class="num" id="LN1460">1460</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;transform_job, <span class='string_literal'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;transform_job), ("progress")<br>, (((GCallback) (eom_job_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1461"><td class="num" id="LN1461">1461</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_progress_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;transform_job), ("progress")<br>, (((GCallback) (eom_job_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1462"><td class="num" id="LN1462">1462</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;transform_job), ("progress")<br>, (((GCallback) (eom_job_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1463"><td class="num" id="LN1463">1463</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1464"><td class="num" id="LN1464">1464</td><td class="line"> eom_job_queue_add_job (priv-&gt;transform_job);</td></tr>
+<tr class="codeline" data-linenumber="1465"><td class="num" id="LN1465">1465</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1466"><td class="num" id="LN1466">1466</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1467"><td class="num" id="LN1467">1467</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1468"><td class="num" id="LN1468">1468</td><td class="line">handle_image_selection_changed_cb (EomThumbView *thumbview, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1469"><td class="num" id="LN1469">1469</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1470"><td class="num" id="LN1470">1470</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1471"><td class="num" id="LN1471">1471</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="1472"><td class="num" id="LN1472">1472</td><td class="line"> gchar *status_message;</td></tr>
+<tr class="codeline" data-linenumber="1473"><td class="num" id="LN1473">1473</td><td class="line"> gchar *str_image;</td></tr>
+<tr class="codeline" data-linenumber="1474"><td class="num" id="LN1474">1474</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1475"><td class="num" id="LN1475">1475</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1476"><td class="num" id="LN1476">1476</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1477"><td class="num" id="LN1477">1477</td><td class="line"> <span class='keyword'>if</span> (eom_list_store_length (<span class='macro'>EOM_LIST_STORE (priv-&gt;store)<span class='macro_popup'>((((EomListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), (eom_list_store_get_type())))))</span></span>) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="1478"><td class="num" id="LN1478">1478</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1479"><td class="num" id="LN1479">1479</td><td class="line"> g_get_application_name());</td></tr>
+<tr class="codeline" data-linenumber="1480"><td class="num" id="LN1480">1480</td><td class="line"> gtk_statusbar_remove_all (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1481"><td class="num" id="LN1481">1481</td><td class="line"> priv-&gt;image_info_message_cid);</td></tr>
+<tr class="codeline" data-linenumber="1482"><td class="num" id="LN1482">1482</td><td class="line"> eom_scroll_view_set_image (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1483"><td class="num" id="LN1483">1483</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1484"><td class="num" id="LN1484">1484</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1485"><td class="num" id="LN1485">1485</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1486"><td class="num" id="LN1486">1486</td><td class="line"> <span class='keyword'>if</span> (eom_thumb_view_get_n_selected (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>) == 0)</td></tr>
+<tr class="codeline" data-linenumber="1487"><td class="num" id="LN1487">1487</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1488"><td class="num" id="LN1488">1488</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1489"><td class="num" id="LN1489">1489</td><td class="line"> update_selection_ui_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="1490"><td class="num" id="LN1490">1490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1491"><td class="num" id="LN1491">1491</td><td class="line"> image = eom_thumb_view_get_first_selected_image (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1492"><td class="num" id="LN1492">1492</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1493"><td class="num" id="LN1493">1493</td><td class="line"> <span class='macro'>g_assert (EOM_IS_IMAGE (image))<span class='macro_popup'>do { if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((image)); GType __t = ((eom_image_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))) ; else<br> g_assertion_message_expr ("EOM", "eom-window.c", 1493, ((const<br> char*) (__func__)), "EOM_IS_IMAGE (image)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1494"><td class="num" id="LN1494">1494</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1495"><td class="num" id="LN1495">1495</td><td class="line"> eom_window_clear_load_job (window);</td></tr>
+<tr class="codeline" data-linenumber="1496"><td class="num" id="LN1496">1496</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1497"><td class="num" id="LN1497">1497</td><td class="line"> eom_window_set_message_area (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1498"><td class="num" id="LN1498">1498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1499"><td class="num" id="LN1499">1499</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1500"><td class="num" id="LN1500">1500</td><td class="line"> priv-&gt;image_info_message_cid);</td></tr>
+<tr class="codeline" data-linenumber="1501"><td class="num" id="LN1501">1501</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1502"><td class="num" id="LN1502">1502</td><td class="line"> <span class='keyword'>if</span> (image == priv-&gt;image) {</td></tr>
+<tr class="codeline" data-linenumber="1503"><td class="num" id="LN1503">1503</td><td class="line"> update_status_bar (window);</td></tr>
+<tr class="codeline" data-linenumber="1504"><td class="num" id="LN1504">1504</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1505"><td class="num" id="LN1505">1505</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1506"><td class="num" id="LN1506">1506</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1507"><td class="num" id="LN1507">1507</td><td class="line"> <span class='keyword'>if</span> (eom_image_has_data (image, EOM_IMAGE_DATA_IMAGE)) {</td></tr>
+<tr class="codeline" data-linenumber="1508"><td class="num" id="LN1508">1508</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="1509"><td class="num" id="LN1509">1509</td><td class="line"> g_object_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="1510"><td class="num" id="LN1510">1510</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1511"><td class="num" id="LN1511">1511</td><td class="line"> priv-&gt;image = image;</td></tr>
+<tr class="codeline" data-linenumber="1512"><td class="num" id="LN1512">1512</td><td class="line"> eom_window_display_image (window, image);</td></tr>
+<tr class="codeline" data-linenumber="1513"><td class="num" id="LN1513">1513</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1514"><td class="num" id="LN1514">1514</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1515"><td class="num" id="LN1515">1515</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1516"><td class="num" id="LN1516">1516</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;status == EOM_WINDOW_STATUS_INIT) {</td></tr>
+<tr class="codeline" data-linenumber="1517"><td class="num" id="LN1517">1517</td><td class="line"> <span class='macro'>g_signal_connect (image, <span class='string_literal'>"size-prepared"</span>,<span class='macro_popup'>g_signal_connect_data ((image), ("size-prepared"), (((GCallback<br>) (eom_window_obtain_desired_size))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1518"><td class="num" id="LN1518">1518</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_obtain_desired_size),<span class='macro_popup'>g_signal_connect_data ((image), ("size-prepared"), (((GCallback<br>) (eom_window_obtain_desired_size))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1519"><td class="num" id="LN1519">1519</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((image), ("size-prepared"), (((GCallback<br>) (eom_window_obtain_desired_size))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1520"><td class="num" id="LN1520">1520</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1521"><td class="num" id="LN1521">1521</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1522"><td class="num" id="LN1522">1522</td><td class="line"> priv-&gt;load_job = eom_job_load_new (image, <span class='macro'>EOM_IMAGE_DATA_ALL<span class='macro_popup'>(EOM_IMAGE_DATA_IMAGE | EOM_IMAGE_DATA_DIMENSION | EOM_IMAGE_DATA_EXIF<br> | EOM_IMAGE_DATA_XMP)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1523"><td class="num" id="LN1523">1523</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1524"><td class="num" id="LN1524">1524</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;load_job, <span class='string_literal'>"finished"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;load_job), ("finished"), (((<br>GCallback) (eom_job_load_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1525"><td class="num" id="LN1525">1525</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_load_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;load_job), ("finished"), (((<br>GCallback) (eom_job_load_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1526"><td class="num" id="LN1526">1526</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;load_job), ("finished"), (((<br>GCallback) (eom_job_load_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1527"><td class="num" id="LN1527">1527</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1528"><td class="num" id="LN1528">1528</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;load_job, <span class='string_literal'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;load_job), ("progress"), (((<br>GCallback) (eom_job_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1529"><td class="num" id="LN1529">1529</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_progress_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;load_job), ("progress"), (((<br>GCallback) (eom_job_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1530"><td class="num" id="LN1530">1530</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;load_job), ("progress"), (((<br>GCallback) (eom_job_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1531"><td class="num" id="LN1531">1531</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1532"><td class="num" id="LN1532">1532</td><td class="line"> eom_job_queue_add_job (priv-&gt;load_job);</td></tr>
+<tr class="codeline" data-linenumber="1533"><td class="num" id="LN1533">1533</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1534"><td class="num" id="LN1534">1534</td><td class="line"> str_image = eom_image_get_uri_for_display (image);</td></tr>
+<tr class="codeline" data-linenumber="1535"><td class="num" id="LN1535">1535</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1536"><td class="num" id="LN1536">1536</td><td class="line"> status_message = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Opening image \"%s\""</span>)<span class='macro_popup'>gettext ("Opening image \"%s\"")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1537"><td class="num" id="LN1537">1537</td><td class="line"> str_image);</td></tr>
+<tr class="codeline" data-linenumber="1538"><td class="num" id="LN1538">1538</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1539"><td class="num" id="LN1539">1539</td><td class="line"> g_free (str_image);</td></tr>
+<tr class="codeline" data-linenumber="1540"><td class="num" id="LN1540">1540</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1541"><td class="num" id="LN1541">1541</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1542"><td class="num" id="LN1542">1542</td><td class="line"> priv-&gt;image_info_message_cid, status_message);</td></tr>
+<tr class="codeline" data-linenumber="1543"><td class="num" id="LN1543">1543</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1544"><td class="num" id="LN1544">1544</td><td class="line"> g_free (status_message);</td></tr>
+<tr class="codeline" data-linenumber="1545"><td class="num" id="LN1545">1545</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1546"><td class="num" id="LN1546">1546</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1547"><td class="num" id="LN1547">1547</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1548"><td class="num" id="LN1548">1548</td><td class="line">view_zoom_changed_cb (GtkWidget *widget, <span class='keyword'>double</span> zoom, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1549"><td class="num" id="LN1549">1549</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1550"><td class="num" id="LN1550">1550</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="1551"><td class="num" id="LN1551">1551</td><td class="line"> GtkAction *action_zoom_in;</td></tr>
+<tr class="codeline" data-linenumber="1552"><td class="num" id="LN1552">1552</td><td class="line"> GtkAction *action_zoom_out;</td></tr>
+<tr class="codeline" data-linenumber="1553"><td class="num" id="LN1553">1553</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1554"><td class="num" id="LN1554">1554</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1555"><td class="num" id="LN1555">1555</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1556"><td class="num" id="LN1556">1556</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1557"><td class="num" id="LN1557">1557</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1558"><td class="num" id="LN1558">1558</td><td class="line"> update_status_bar (window);</td></tr>
+<tr class="codeline" data-linenumber="1559"><td class="num" id="LN1559">1559</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1560"><td class="num" id="LN1560">1560</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1561"><td class="num" id="LN1561">1561</td><td class="line"> action_zoom_in =</td></tr>
+<tr class="codeline" data-linenumber="1562"><td class="num" id="LN1562">1562</td><td class="line"> gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="1563"><td class="num" id="LN1563">1563</td><td class="line"> <span class='string_literal'>"ViewZoomIn"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1564"><td class="num" id="LN1564">1564</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1565"><td class="num" id="LN1565">1565</td><td class="line"> action_zoom_out =</td></tr>
+<tr class="codeline" data-linenumber="1566"><td class="num" id="LN1566">1566</td><td class="line"> gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="1567"><td class="num" id="LN1567">1567</td><td class="line"> <span class='string_literal'>"ViewZoomOut"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1568"><td class="num" id="LN1568">1568</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1569"><td class="num" id="LN1569">1569</td><td class="line"> gtk_action_set_sensitive (action_zoom_in,</td></tr>
+<tr class="codeline" data-linenumber="1570"><td class="num" id="LN1570">1570</td><td class="line"> !eom_scroll_view_get_zoom_is_max (<span class='macro'>EOM_SCROLL_VIEW (window-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;view)), ((eom_scroll_view_get_type (<br>)))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="1571"><td class="num" id="LN1571">1571</td><td class="line"> gtk_action_set_sensitive (action_zoom_out,</td></tr>
+<tr class="codeline" data-linenumber="1572"><td class="num" id="LN1572">1572</td><td class="line"> !eom_scroll_view_get_zoom_is_min (<span class='macro'>EOM_SCROLL_VIEW (window-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;view)), ((eom_scroll_view_get_type (<br>)))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="1573"><td class="num" id="LN1573">1573</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1574"><td class="num" id="LN1574">1574</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1575"><td class="num" id="LN1575">1575</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1576"><td class="num" id="LN1576">1576</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1577"><td class="num" id="LN1577">1577</td><td class="line">eom_window_open_recent_cb (GtkAction *action, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1578"><td class="num" id="LN1578">1578</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1579"><td class="num" id="LN1579">1579</td><td class="line"> GtkRecentInfo *info;</td></tr>
+<tr class="codeline" data-linenumber="1580"><td class="num" id="LN1580">1580</td><td class="line"> <span class='keyword'>const</span> gchar *uri;</td></tr>
+<tr class="codeline" data-linenumber="1581"><td class="num" id="LN1581">1581</td><td class="line"> GSList *list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1582"><td class="num" id="LN1582">1582</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1583"><td class="num" id="LN1583">1583</td><td class="line"> info = g_object_get_data (<span class='macro'>G_OBJECT (action)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"gtk-recent-info"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1584"><td class="num" id="LN1584">1584</td><td class="line"> <span class='macro'>g_return_if_fail (info != NULL)<span class='macro_popup'>do { if ((info != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "info != NULL"); return;<br> } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1585"><td class="num" id="LN1585">1585</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1586"><td class="num" id="LN1586">1586</td><td class="line"> uri = gtk_recent_info_get_uri (info);</td></tr>
+<tr class="codeline" data-linenumber="1587"><td class="num" id="LN1587">1587</td><td class="line"> list = g_slist_prepend (list, <span class='macro'>g_strdup (uri)<span class='macro_popup'>g_strdup_inline (uri)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1588"><td class="num" id="LN1588">1588</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1589"><td class="num" id="LN1589">1589</td><td class="line"> eom_application_open_uri_list (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1590"><td class="num" id="LN1590">1590</td><td class="line"> list,</td></tr>
+<tr class="codeline" data-linenumber="1591"><td class="num" id="LN1591">1591</td><td class="line"> <span class='macro'>GDK_CURRENT_TIME<span class='macro_popup'>0L</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1592"><td class="num" id="LN1592">1592</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="1593"><td class="num" id="LN1593">1593</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1594"><td class="num" id="LN1594">1594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1595"><td class="num" id="LN1595">1595</td><td class="line"> g_slist_free_full (list, g_free);</td></tr>
+<tr class="codeline" data-linenumber="1596"><td class="num" id="LN1596">1596</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1597"><td class="num" id="LN1597">1597</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1598"><td class="num" id="LN1598">1598</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1599"><td class="num" id="LN1599">1599</td><td class="line">file_open_dialog_response_cb (GtkWidget *chooser,</td></tr>
+<tr class="codeline" data-linenumber="1600"><td class="num" id="LN1600">1600</td><td class="line"> gint response_id,</td></tr>
+<tr class="codeline" data-linenumber="1601"><td class="num" id="LN1601">1601</td><td class="line"> EomWindow *ev_window)</td></tr>
+<tr class="codeline" data-linenumber="1602"><td class="num" id="LN1602">1602</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1603"><td class="num" id="LN1603">1603</td><td class="line"> <span class='keyword'>if</span> (response_id == GTK_RESPONSE_OK) {</td></tr>
+<tr class="codeline" data-linenumber="1604"><td class="num" id="LN1604">1604</td><td class="line"> GSList *uris;</td></tr>
+<tr class="codeline" data-linenumber="1605"><td class="num" id="LN1605">1605</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1606"><td class="num" id="LN1606">1606</td><td class="line"> uris = gtk_file_chooser_get_uris (<span class='macro'>GTK_FILE_CHOOSER (chooser)<span class='macro_popup'>((((GtkFileChooser*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((chooser)), ((gtk_file_chooser_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1607"><td class="num" id="LN1607">1607</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1608"><td class="num" id="LN1608">1608</td><td class="line"> eom_application_open_uri_list (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1609"><td class="num" id="LN1609">1609</td><td class="line"> uris,</td></tr>
+<tr class="codeline" data-linenumber="1610"><td class="num" id="LN1610">1610</td><td class="line"> <span class='macro'>GDK_CURRENT_TIME<span class='macro_popup'>0L</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1611"><td class="num" id="LN1611">1611</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="1612"><td class="num" id="LN1612">1612</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1613"><td class="num" id="LN1613">1613</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1614"><td class="num" id="LN1614">1614</td><td class="line"> g_slist_free_full (uris, g_free);</td></tr>
+<tr class="codeline" data-linenumber="1615"><td class="num" id="LN1615">1615</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1616"><td class="num" id="LN1616">1616</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1617"><td class="num" id="LN1617">1617</td><td class="line"> gtk_widget_destroy (chooser);</td></tr>
+<tr class="codeline" data-linenumber="1618"><td class="num" id="LN1618">1618</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1619"><td class="num" id="LN1619">1619</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1620"><td class="num" id="LN1620">1620</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1621"><td class="num" id="LN1621">1621</td><td class="line">eom_window_update_fullscreen_action (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1622"><td class="num" id="LN1622">1622</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1623"><td class="num" id="LN1623">1623</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="1624"><td class="num" id="LN1624">1624</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1625"><td class="num" id="LN1625">1625</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1626"><td class="num" id="LN1626">1626</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="1627"><td class="num" id="LN1627">1627</td><td class="line"> <span class='string_literal'>"ViewFullscreen"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1628"><td class="num" id="LN1628">1628</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1629"><td class="num" id="LN1629">1629</td><td class="line"> <span class='macro'>g_signal_handlers_block_by_func (action,<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_fullscreen), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1630"><td class="num" id="LN1630">1630</td><td class="line"> <span class='macro'>eom_window_cmd_fullscreen,<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_fullscreen), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1631"><td class="num" id="LN1631">1631</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_fullscreen), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1632"><td class="num" id="LN1632">1632</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1633"><td class="num" id="LN1633">1633</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1634"><td class="num" id="LN1634">1634</td><td class="line"> window-&gt;priv-&gt;mode == EOM_WINDOW_MODE_FULLSCREEN);</td></tr>
+<tr class="codeline" data-linenumber="1635"><td class="num" id="LN1635">1635</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1636"><td class="num" id="LN1636">1636</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1637"><td class="num" id="LN1637">1637</td><td class="line"> <span class='macro'>g_signal_handlers_unblock_by_func (action,<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_fullscreen), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1638"><td class="num" id="LN1638">1638</td><td class="line"> <span class='macro'>eom_window_cmd_fullscreen,<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_fullscreen), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1639"><td class="num" id="LN1639">1639</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_fullscreen), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1640"><td class="num" id="LN1640">1640</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1641"><td class="num" id="LN1641">1641</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1642"><td class="num" id="LN1642">1642</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1643"><td class="num" id="LN1643">1643</td><td class="line">eom_window_update_slideshow_action (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1644"><td class="num" id="LN1644">1644</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1645"><td class="num" id="LN1645">1645</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="1646"><td class="num" id="LN1646">1646</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1647"><td class="num" id="LN1647">1647</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1648"><td class="num" id="LN1648">1648</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="1649"><td class="num" id="LN1649">1649</td><td class="line"> <span class='string_literal'>"ViewSlideshow"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1650"><td class="num" id="LN1650">1650</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1651"><td class="num" id="LN1651">1651</td><td class="line"> <span class='macro'>g_signal_handlers_block_by_func (action,<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1652"><td class="num" id="LN1652">1652</td><td class="line"> <span class='macro'>eom_window_cmd_slideshow,<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1653"><td class="num" id="LN1653">1653</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_slideshow), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1654"><td class="num" id="LN1654">1654</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1655"><td class="num" id="LN1655">1655</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1656"><td class="num" id="LN1656">1656</td><td class="line"> window-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW);</td></tr>
+<tr class="codeline" data-linenumber="1657"><td class="num" id="LN1657">1657</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1658"><td class="num" id="LN1658">1658</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1659"><td class="num" id="LN1659">1659</td><td class="line"> <span class='macro'>g_signal_handlers_unblock_by_func (action,<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1660"><td class="num" id="LN1660">1660</td><td class="line"> <span class='macro'>eom_window_cmd_slideshow,<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1661"><td class="num" id="LN1661">1661</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_slideshow), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1662"><td class="num" id="LN1662">1662</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1663"><td class="num" id="LN1663">1663</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1664"><td class="num" id="LN1664">1664</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1665"><td class="num" id="LN1665">1665</td><td class="line">eom_window_update_pause_slideshow_action (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1666"><td class="num" id="LN1666">1666</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1667"><td class="num" id="LN1667">1667</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="1668"><td class="num" id="LN1668">1668</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1669"><td class="num" id="LN1669">1669</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1670"><td class="num" id="LN1670">1670</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="1671"><td class="num" id="LN1671">1671</td><td class="line"> <span class='string_literal'>"PauseSlideshow"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1672"><td class="num" id="LN1672">1672</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1673"><td class="num" id="LN1673">1673</td><td class="line"> <span class='macro'>g_signal_handlers_block_by_func (action,<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_pause_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1674"><td class="num" id="LN1674">1674</td><td class="line"> <span class='macro'>eom_window_cmd_pause_slideshow,<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_pause_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1675"><td class="num" id="LN1675">1675</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_block_matched ((action), (GSignalMatchType)<br> (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)0<br>), (eom_window_cmd_pause_slideshow), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1676"><td class="num" id="LN1676">1676</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1677"><td class="num" id="LN1677">1677</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1678"><td class="num" id="LN1678">1678</td><td class="line"> window-&gt;priv-&gt;mode != EOM_WINDOW_MODE_SLIDESHOW);</td></tr>
+<tr class="codeline" data-linenumber="1679"><td class="num" id="LN1679">1679</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1680"><td class="num" id="LN1680">1680</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1681"><td class="num" id="LN1681">1681</td><td class="line"> <span class='macro'>g_signal_handlers_unblock_by_func (action,<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_pause_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1682"><td class="num" id="LN1682">1682</td><td class="line"> <span class='macro'>eom_window_cmd_pause_slideshow,<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_pause_slideshow), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="1683"><td class="num" id="LN1683">1683</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_unblock_matched ((action), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_cmd_pause_slideshow), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1684"><td class="num" id="LN1684">1684</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1685"><td class="num" id="LN1685">1685</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1686"><td class="num" id="LN1686">1686</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1687"><td class="num" id="LN1687">1687</td><td class="line">eom_window_update_fullscreen_popup (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1688"><td class="num" id="LN1688">1688</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1689"><td class="num" id="LN1689">1689</td><td class="line"> GtkWidget *popup = window-&gt;priv-&gt;fullscreen_popup;</td></tr>
+<tr class="codeline" data-linenumber="1690"><td class="num" id="LN1690">1690</td><td class="line"> GdkRectangle screen_rect;</td></tr>
+<tr class="codeline" data-linenumber="1691"><td class="num" id="LN1691">1691</td><td class="line"> GdkScreen *screen;</td></tr>
+<tr class="codeline" data-linenumber="1692"><td class="num" id="LN1692">1692</td><td class="line"> GdkDisplay *display;</td></tr>
+<tr class="codeline" data-linenumber="1693"><td class="num" id="LN1693">1693</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1694"><td class="num" id="LN1694">1694</td><td class="line"> <span class='macro'>g_return_if_fail (popup != NULL)<span class='macro_popup'>do { if ((popup != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "popup != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1695"><td class="num" id="LN1695">1695</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1696"><td class="num" id="LN1696">1696</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_window (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>) == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1697"><td class="num" id="LN1697">1697</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1698"><td class="num" id="LN1698">1698</td><td class="line"> screen = gtk_widget_get_screen (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1699"><td class="num" id="LN1699">1699</td><td class="line"> display = gdk_screen_get_display (screen);</td></tr>
+<tr class="codeline" data-linenumber="1700"><td class="num" id="LN1700">1700</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1701"><td class="num" id="LN1701">1701</td><td class="line"> gdk_monitor_get_geometry (gdk_display_get_monitor_at_window (display,</td></tr>
+<tr class="codeline" data-linenumber="1702"><td class="num" id="LN1702">1702</td><td class="line"> gtk_widget_get_window (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>)),</td></tr>
+<tr class="codeline" data-linenumber="1703"><td class="num" id="LN1703">1703</td><td class="line"> &amp;screen_rect);</td></tr>
+<tr class="codeline" data-linenumber="1704"><td class="num" id="LN1704">1704</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1705"><td class="num" id="LN1705">1705</td><td class="line"> gtk_widget_set_size_request (popup,</td></tr>
+<tr class="codeline" data-linenumber="1706"><td class="num" id="LN1706">1706</td><td class="line"> screen_rect.width,</td></tr>
+<tr class="codeline" data-linenumber="1707"><td class="num" id="LN1707">1707</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="1708"><td class="num" id="LN1708">1708</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1709"><td class="num" id="LN1709">1709</td><td class="line"> gtk_window_move (<span class='macro'>GTK_WINDOW (popup)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((popup)), ((gtk_window_get_type ()))))))</span></span>, screen_rect.x, screen_rect.y);</td></tr>
+<tr class="codeline" data-linenumber="1710"><td class="num" id="LN1710">1710</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1711"><td class="num" id="LN1711">1711</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1712"><td class="num" id="LN1712">1712</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1713"><td class="num" id="LN1713">1713</td><td class="line">screen_size_changed_cb (GdkScreen *screen, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1714"><td class="num" id="LN1714">1714</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1715"><td class="num" id="LN1715">1715</td><td class="line"> eom_window_update_fullscreen_popup (window);</td></tr>
+<tr class="codeline" data-linenumber="1716"><td class="num" id="LN1716">1716</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1717"><td class="num" id="LN1717">1717</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1718"><td class="num" id="LN1718">1718</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1719"><td class="num" id="LN1719">1719</td><td class="line">fullscreen_timeout_cb (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1720"><td class="num" id="LN1720">1720</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1721"><td class="num" id="LN1721">1721</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1722"><td class="num" id="LN1722">1722</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1723"><td class="num" id="LN1723">1723</td><td class="line"> gtk_widget_hide (window-&gt;priv-&gt;fullscreen_popup);</td></tr>
+<tr class="codeline" data-linenumber="1724"><td class="num" id="LN1724">1724</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1725"><td class="num" id="LN1725">1725</td><td class="line"> eom_scroll_view_hide_cursor (<span class='macro'>EOM_SCROLL_VIEW (window-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;view)), ((eom_scroll_view_get_type (<br>)))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1726"><td class="num" id="LN1726">1726</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1727"><td class="num" id="LN1727">1727</td><td class="line"> fullscreen_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="1728"><td class="num" id="LN1728">1728</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1729"><td class="num" id="LN1729">1729</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1730"><td class="num" id="LN1730">1730</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1731"><td class="num" id="LN1731">1731</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1732"><td class="num" id="LN1732">1732</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1733"><td class="num" id="LN1733">1733</td><td class="line">slideshow_is_loop_end (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1734"><td class="num" id="LN1734">1734</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1735"><td class="num" id="LN1735">1735</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1736"><td class="num" id="LN1736">1736</td><td class="line"> EomImage *image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1737"><td class="num" id="LN1737">1737</td><td class="line"> gint pos;</td></tr>
+<tr class="codeline" data-linenumber="1738"><td class="num" id="LN1738">1738</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1739"><td class="num" id="LN1739">1739</td><td class="line"> image = eom_thumb_view_get_first_selected_image (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1740"><td class="num" id="LN1740">1740</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1741"><td class="num" id="LN1741">1741</td><td class="line"> pos = eom_list_store_get_pos_by_image (priv-&gt;store, image);</td></tr>
+<tr class="codeline" data-linenumber="1742"><td class="num" id="LN1742">1742</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1743"><td class="num" id="LN1743">1743</td><td class="line"> <span class='keyword'>return</span> (pos == (eom_list_store_length (priv-&gt;store) - 1));</td></tr>
+<tr class="codeline" data-linenumber="1744"><td class="num" id="LN1744">1744</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1745"><td class="num" id="LN1745">1745</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1746"><td class="num" id="LN1746">1746</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1747"><td class="num" id="LN1747">1747</td><td class="line">slideshow_switch_cb (gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="1748"><td class="num" id="LN1748">1748</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1749"><td class="num" id="LN1749">1749</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1750"><td class="num" id="LN1750">1750</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1751"><td class="num" id="LN1751">1751</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1752"><td class="num" id="LN1752">1752</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1752, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1753"><td class="num" id="LN1753">1753</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1754"><td class="num" id="LN1754">1754</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;slideshow_random) {</td></tr>
+<tr class="codeline" data-linenumber="1755"><td class="num" id="LN1755">1755</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1756"><td class="num" id="LN1756">1756</td><td class="line"> EOM_THUMB_VIEW_SELECT_RANDOM);</td></tr>
+<tr class="codeline" data-linenumber="1757"><td class="num" id="LN1757">1757</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1758"><td class="num" id="LN1758">1758</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1759"><td class="num" id="LN1759">1759</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1760"><td class="num" id="LN1760">1760</td><td class="line"> <span class='keyword'>if</span> (!priv-&gt;slideshow_loop &amp;&amp; slideshow_is_loop_end (window)) {</td></tr>
+<tr class="codeline" data-linenumber="1761"><td class="num" id="LN1761">1761</td><td class="line"> eom_window_stop_fullscreen (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1762"><td class="num" id="LN1762">1762</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1763"><td class="num" id="LN1763">1763</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1764"><td class="num" id="LN1764">1764</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1765"><td class="num" id="LN1765">1765</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1766"><td class="num" id="LN1766">1766</td><td class="line"> EOM_THUMB_VIEW_SELECT_RIGHT);</td></tr>
+<tr class="codeline" data-linenumber="1767"><td class="num" id="LN1767">1767</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1768"><td class="num" id="LN1768">1768</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1769"><td class="num" id="LN1769">1769</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1770"><td class="num" id="LN1770">1770</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1771"><td class="num" id="LN1771">1771</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1772"><td class="num" id="LN1772">1772</td><td class="line">fullscreen_clear_timeout (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1773"><td class="num" id="LN1773">1773</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1774"><td class="num" id="LN1774">1774</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1774, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1775"><td class="num" id="LN1775">1775</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1776"><td class="num" id="LN1776">1776</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;fullscreen_timeout_source != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1777"><td class="num" id="LN1777">1777</td><td class="line"> g_source_unref (window-&gt;priv-&gt;fullscreen_timeout_source);</td></tr>
+<tr class="codeline" data-linenumber="1778"><td class="num" id="LN1778">1778</td><td class="line"> g_source_destroy (window-&gt;priv-&gt;fullscreen_timeout_source);</td></tr>
+<tr class="codeline" data-linenumber="1779"><td class="num" id="LN1779">1779</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1780"><td class="num" id="LN1780">1780</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1781"><td class="num" id="LN1781">1781</td><td class="line"> window-&gt;priv-&gt;fullscreen_timeout_source = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1782"><td class="num" id="LN1782">1782</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1783"><td class="num" id="LN1783">1783</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1784"><td class="num" id="LN1784">1784</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1785"><td class="num" id="LN1785">1785</td><td class="line">fullscreen_set_timeout (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1786"><td class="num" id="LN1786">1786</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1787"><td class="num" id="LN1787">1787</td><td class="line"> GSource *source;</td></tr>
+<tr class="codeline" data-linenumber="1788"><td class="num" id="LN1788">1788</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1789"><td class="num" id="LN1789">1789</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1789, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1790"><td class="num" id="LN1790">1790</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1791"><td class="num" id="LN1791">1791</td><td class="line"> fullscreen_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="1792"><td class="num" id="LN1792">1792</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1793"><td class="num" id="LN1793">1793</td><td class="line"> source = g_timeout_source_new (<span class='macro'>EOM_WINDOW_FULLSCREEN_TIMEOUT<span class='macro_popup'>5 * 1000</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1794"><td class="num" id="LN1794">1794</td><td class="line"> g_source_set_callback (source, fullscreen_timeout_cb, window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1795"><td class="num" id="LN1795">1795</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1796"><td class="num" id="LN1796">1796</td><td class="line"> g_source_attach (source, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1797"><td class="num" id="LN1797">1797</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1798"><td class="num" id="LN1798">1798</td><td class="line"> window-&gt;priv-&gt;fullscreen_timeout_source = source;</td></tr>
+<tr class="codeline" data-linenumber="1799"><td class="num" id="LN1799">1799</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1800"><td class="num" id="LN1800">1800</td><td class="line"> eom_scroll_view_show_cursor (<span class='macro'>EOM_SCROLL_VIEW (window-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;view)), ((eom_scroll_view_get_type (<br>)))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1801"><td class="num" id="LN1801">1801</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1802"><td class="num" id="LN1802">1802</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1803"><td class="num" id="LN1803">1803</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1804"><td class="num" id="LN1804">1804</td><td class="line">slideshow_clear_timeout (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1805"><td class="num" id="LN1805">1805</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1806"><td class="num" id="LN1806">1806</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1806, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1807"><td class="num" id="LN1807">1807</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1808"><td class="num" id="LN1808">1808</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;slideshow_switch_source != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1809"><td class="num" id="LN1809">1809</td><td class="line"> g_source_unref (window-&gt;priv-&gt;slideshow_switch_source);</td></tr>
+<tr class="codeline" data-linenumber="1810"><td class="num" id="LN1810">1810</td><td class="line"> g_source_destroy (window-&gt;priv-&gt;slideshow_switch_source);</td></tr>
+<tr class="codeline" data-linenumber="1811"><td class="num" id="LN1811">1811</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1812"><td class="num" id="LN1812">1812</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1813"><td class="num" id="LN1813">1813</td><td class="line"> window-&gt;priv-&gt;slideshow_switch_source = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1814"><td class="num" id="LN1814">1814</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1815"><td class="num" id="LN1815">1815</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1816"><td class="num" id="LN1816">1816</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1817"><td class="num" id="LN1817">1817</td><td class="line">slideshow_set_timeout (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1818"><td class="num" id="LN1818">1818</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1819"><td class="num" id="LN1819">1819</td><td class="line"> GSource *source;</td></tr>
+<tr class="codeline" data-linenumber="1820"><td class="num" id="LN1820">1820</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1821"><td class="num" id="LN1821">1821</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1821, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1822"><td class="num" id="LN1822">1822</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1823"><td class="num" id="LN1823">1823</td><td class="line"> slideshow_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="1824"><td class="num" id="LN1824">1824</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1825"><td class="num" id="LN1825">1825</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;slideshow_switch_timeout &lt;= 0)</td></tr>
+<tr class="codeline" data-linenumber="1826"><td class="num" id="LN1826">1826</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="1827"><td class="num" id="LN1827">1827</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1828"><td class="num" id="LN1828">1828</td><td class="line"> source = g_timeout_source_new (window-&gt;priv-&gt;slideshow_switch_timeout * 1000);</td></tr>
+<tr class="codeline" data-linenumber="1829"><td class="num" id="LN1829">1829</td><td class="line"> g_source_set_callback (source, slideshow_switch_cb, window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1830"><td class="num" id="LN1830">1830</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1831"><td class="num" id="LN1831">1831</td><td class="line"> g_source_attach (source, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1832"><td class="num" id="LN1832">1832</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1833"><td class="num" id="LN1833">1833</td><td class="line"> window-&gt;priv-&gt;slideshow_switch_source = source;</td></tr>
+<tr class="codeline" data-linenumber="1834"><td class="num" id="LN1834">1834</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1835"><td class="num" id="LN1835">1835</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1836"><td class="num" id="LN1836">1836</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1837"><td class="num" id="LN1837">1837</td><td class="line">show_fullscreen_popup (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1838"><td class="num" id="LN1838">1838</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1839"><td class="num" id="LN1839">1839</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1839, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1840"><td class="num" id="LN1840">1840</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1841"><td class="num" id="LN1841">1841</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_visible (window-&gt;priv-&gt;fullscreen_popup)) {</td></tr>
+<tr class="codeline" data-linenumber="1842"><td class="num" id="LN1842">1842</td><td class="line"> gtk_widget_show_all (<span class='macro'>GTK_WIDGET (window-&gt;priv-&gt;fullscreen_popup)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;fullscreen_popup)), ((gtk_widget_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1843"><td class="num" id="LN1843">1843</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1844"><td class="num" id="LN1844">1844</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1845"><td class="num" id="LN1845">1845</td><td class="line"> fullscreen_set_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="1846"><td class="num" id="LN1846">1846</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1847"><td class="num" id="LN1847">1847</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1848"><td class="num" id="LN1848">1848</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1849"><td class="num" id="LN1849">1849</td><td class="line">fullscreen_motion_notify_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="1850"><td class="num" id="LN1850">1850</td><td class="line"> GdkEventMotion *event,</td></tr>
+<tr class="codeline" data-linenumber="1851"><td class="num" id="LN1851">1851</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1852"><td class="num" id="LN1852">1852</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1853"><td class="num" id="LN1853">1853</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1854"><td class="num" id="LN1854">1854</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1855"><td class="num" id="LN1855">1855</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1855, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1856"><td class="num" id="LN1856">1856</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1857"><td class="num" id="LN1857">1857</td><td class="line"> <span class='keyword'>if</span> (event-&gt;y &lt; <span class='macro'>EOM_WINDOW_FULLSCREEN_POPUP_THRESHOLD<span class='macro_popup'>5</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="1858"><td class="num" id="LN1858">1858</td><td class="line"> show_fullscreen_popup (window);</td></tr>
+<tr class="codeline" data-linenumber="1859"><td class="num" id="LN1859">1859</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1860"><td class="num" id="LN1860">1860</td><td class="line"> fullscreen_set_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="1861"><td class="num" id="LN1861">1861</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1862"><td class="num" id="LN1862">1862</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1863"><td class="num" id="LN1863">1863</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1864"><td class="num" id="LN1864">1864</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1865"><td class="num" id="LN1865">1865</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1866"><td class="num" id="LN1866">1866</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="1867"><td class="num" id="LN1867">1867</td><td class="line">fullscreen_leave_notify_cb (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="1868"><td class="num" id="LN1868">1868</td><td class="line"> GdkEventCrossing *event,</td></tr>
+<tr class="codeline" data-linenumber="1869"><td class="num" id="LN1869">1869</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="1870"><td class="num" id="LN1870">1870</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1871"><td class="num" id="LN1871">1871</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1872"><td class="num" id="LN1872">1872</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1873"><td class="num" id="LN1873">1873</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1873, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1874"><td class="num" id="LN1874">1874</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1875"><td class="num" id="LN1875">1875</td><td class="line"> fullscreen_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="1876"><td class="num" id="LN1876">1876</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1877"><td class="num" id="LN1877">1877</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1878"><td class="num" id="LN1878">1878</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1879"><td class="num" id="LN1879">1879</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1880"><td class="num" id="LN1880">1880</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1881"><td class="num" id="LN1881">1881</td><td class="line">exit_fullscreen_button_clicked_cb (GtkWidget *button, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1882"><td class="num" id="LN1882">1882</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1883"><td class="num" id="LN1883">1883</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="1884"><td class="num" id="LN1884">1884</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1885"><td class="num" id="LN1885">1885</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1885, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1886"><td class="num" id="LN1886">1886</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1887"><td class="num" id="LN1887">1887</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1888"><td class="num" id="LN1888">1888</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW) {</td></tr>
+<tr class="codeline" data-linenumber="1889"><td class="num" id="LN1889">1889</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="1890"><td class="num" id="LN1890">1890</td><td class="line"> <span class='string_literal'>"ViewSlideshow"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1891"><td class="num" id="LN1891">1891</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="1892"><td class="num" id="LN1892">1892</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="1893"><td class="num" id="LN1893">1893</td><td class="line"> <span class='string_literal'>"ViewFullscreen"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1894"><td class="num" id="LN1894">1894</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="1895"><td class="num" id="LN1895">1895</td><td class="line"> <span class='macro'>g_return_if_fail (action != NULL)<span class='macro_popup'>do { if ((action != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "action != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1896"><td class="num" id="LN1896">1896</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1897"><td class="num" id="LN1897">1897</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1898"><td class="num" id="LN1898">1898</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1899"><td class="num" id="LN1899">1899</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1900"><td class="num" id="LN1900">1900</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1901"><td class="num" id="LN1901">1901</td><td class="line"><span class='keyword'>static</span> GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="1902"><td class="num" id="LN1902">1902</td><td class="line">eom_window_get_exit_fullscreen_button (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1903"><td class="num" id="LN1903">1903</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1904"><td class="num" id="LN1904">1904</td><td class="line"> GtkWidget *button;</td></tr>
+<tr class="codeline" data-linenumber="1905"><td class="num" id="LN1905">1905</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1906"><td class="num" id="LN1906">1906</td><td class="line"> button = gtk_button_new_with_mnemonic (<span class='macro'>_(<span class='string_literal'>"Leave Fullscreen"</span>)<span class='macro_popup'>gettext ("Leave Fullscreen")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1907"><td class="num" id="LN1907">1907</td><td class="line"> gtk_button_set_image (<span class='macro'>GTK_BUTTON (button)<span class='macro_popup'>((((GtkButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((button)), ((gtk_button_get_type ()))))))</span></span>, gtk_image_new_from_icon_name (<span class='string_literal'>"view-restore"</span>, GTK_ICON_SIZE_BUTTON));</td></tr>
+<tr class="codeline" data-linenumber="1908"><td class="num" id="LN1908">1908</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1909"><td class="num" id="LN1909">1909</td><td class="line"> <span class='macro'>g_signal_connect (button, <span class='string_literal'>"clicked"</span>,<span class='macro_popup'>g_signal_connect_data ((button), ("clicked"), (((GCallback) (<br>exit_fullscreen_button_clicked_cb))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1910"><td class="num" id="LN1910">1910</td><td class="line"> <span class='macro'>G_CALLBACK (exit_fullscreen_button_clicked_cb),<span class='macro_popup'>g_signal_connect_data ((button), ("clicked"), (((GCallback) (<br>exit_fullscreen_button_clicked_cb))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1911"><td class="num" id="LN1911">1911</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((button), ("clicked"), (((GCallback) (<br>exit_fullscreen_button_clicked_cb))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1912"><td class="num" id="LN1912">1912</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1913"><td class="num" id="LN1913">1913</td><td class="line"> <span class='keyword'>return</span> button;</td></tr>
+<tr class="codeline" data-linenumber="1914"><td class="num" id="LN1914">1914</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1915"><td class="num" id="LN1915">1915</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1916"><td class="num" id="LN1916">1916</td><td class="line"><span class='keyword'>static</span> GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="1917"><td class="num" id="LN1917">1917</td><td class="line">eom_window_create_fullscreen_popup (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1918"><td class="num" id="LN1918">1918</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1919"><td class="num" id="LN1919">1919</td><td class="line"> GtkWidget *popup;</td></tr>
+<tr class="codeline" data-linenumber="1920"><td class="num" id="LN1920">1920</td><td class="line"> GtkWidget *hbox;</td></tr>
+<tr class="codeline" data-linenumber="1921"><td class="num" id="LN1921">1921</td><td class="line"> GtkWidget *button;</td></tr>
+<tr class="codeline" data-linenumber="1922"><td class="num" id="LN1922">1922</td><td class="line"> GtkWidget *toolbar;</td></tr>
+<tr class="codeline" data-linenumber="1923"><td class="num" id="LN1923">1923</td><td class="line"> GdkScreen *screen;</td></tr>
+<tr class="codeline" data-linenumber="1924"><td class="num" id="LN1924">1924</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1925"><td class="num" id="LN1925">1925</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1925, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1926"><td class="num" id="LN1926">1926</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1927"><td class="num" id="LN1927">1927</td><td class="line"> popup = gtk_window_new (GTK_WINDOW_POPUP);</td></tr>
+<tr class="codeline" data-linenumber="1928"><td class="num" id="LN1928">1928</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1929"><td class="num" id="LN1929">1929</td><td class="line"> hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 0);</td></tr>
+<tr class="codeline" data-linenumber="1930"><td class="num" id="LN1930">1930</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (popup)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((popup)), ((gtk_container_get_type ()))))))</span></span>, hbox);</td></tr>
+<tr class="codeline" data-linenumber="1931"><td class="num" id="LN1931">1931</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1932"><td class="num" id="LN1932">1932</td><td class="line"> toolbar = gtk_ui_manager_get_widget (window-&gt;priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="1933"><td class="num" id="LN1933">1933</td><td class="line"> <span class='string_literal'>"/FullscreenToolbar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1934"><td class="num" id="LN1934">1934</td><td class="line"> <span class='macro'>g_assert (GTK_IS_WIDGET (toolbar))<span class='macro_popup'>do { if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((toolbar)); GType __t = ((gtk_widget_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))) ; else<br> g_assertion_message_expr ("EOM", "eom-window.c", 1934, ((const<br> char*) (__func__)), "GTK_IS_WIDGET (toolbar)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1935"><td class="num" id="LN1935">1935</td><td class="line"> gtk_toolbar_set_style (<span class='macro'>GTK_TOOLBAR (toolbar)<span class='macro_popup'>((((GtkToolbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((toolbar)), ((gtk_toolbar_get_type ()))))))</span></span>, GTK_TOOLBAR_ICONS);</td></tr>
+<tr class="codeline" data-linenumber="1936"><td class="num" id="LN1936">1936</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, toolbar, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="1937"><td class="num" id="LN1937">1937</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1938"><td class="num" id="LN1938">1938</td><td class="line"> button = eom_window_get_exit_fullscreen_button (window);</td></tr>
+<tr class="codeline" data-linenumber="1939"><td class="num" id="LN1939">1939</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, button, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="1940"><td class="num" id="LN1940">1940</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1941"><td class="num" id="LN1941">1941</td><td class="line"> gtk_window_set_resizable (<span class='macro'>GTK_WINDOW (popup)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((popup)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1942"><td class="num" id="LN1942">1942</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1943"><td class="num" id="LN1943">1943</td><td class="line"> screen = gtk_widget_get_screen (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1944"><td class="num" id="LN1944">1944</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1945"><td class="num" id="LN1945">1945</td><td class="line"> g_signal_connect_object (screen, <span class='string_literal'>"size-changed"</span>,</td></tr>
+<tr class="codeline" data-linenumber="1946"><td class="num" id="LN1946">1946</td><td class="line"> <span class='macro'>G_CALLBACK (screen_size_changed_cb)<span class='macro_popup'>((GCallback) (screen_size_changed_cb))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="1947"><td class="num" id="LN1947">1947</td><td class="line"> window, 0);</td></tr>
+<tr class="codeline" data-linenumber="1948"><td class="num" id="LN1948">1948</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1949"><td class="num" id="LN1949">1949</td><td class="line"> <span class='macro'>g_signal_connect (popup, <span class='string_literal'>"enter-notify-event"</span>,<span class='macro_popup'>g_signal_connect_data ((popup), ("enter-notify-event"), (((GCallback<br>) (fullscreen_leave_notify_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1950"><td class="num" id="LN1950">1950</td><td class="line"> <span class='macro'>G_CALLBACK (fullscreen_leave_notify_cb),<span class='macro_popup'>g_signal_connect_data ((popup), ("enter-notify-event"), (((GCallback<br>) (fullscreen_leave_notify_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="1951"><td class="num" id="LN1951">1951</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((popup), ("enter-notify-event"), (((GCallback<br>) (fullscreen_leave_notify_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1952"><td class="num" id="LN1952">1952</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1953"><td class="num" id="LN1953">1953</td><td class="line"> gtk_window_set_screen (<span class='macro'>GTK_WINDOW (popup)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((popup)), ((gtk_window_get_type ()))))))</span></span>, screen);</td></tr>
+<tr class="codeline" data-linenumber="1954"><td class="num" id="LN1954">1954</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1955"><td class="num" id="LN1955">1955</td><td class="line"> <span class='keyword'>return</span> popup;</td></tr>
+<tr class="codeline" data-linenumber="1956"><td class="num" id="LN1956">1956</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="1957"><td class="num" id="LN1957">1957</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1958"><td class="num" id="LN1958">1958</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="1959"><td class="num" id="LN1959">1959</td><td class="line">update_ui_visibility (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="1960"><td class="num" id="LN1960">1960</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="1961"><td class="num" id="LN1961">1961</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="1962"><td class="num" id="LN1962">1962</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1963"><td class="num" id="LN1963">1963</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="1964"><td class="num" id="LN1964">1964</td><td class="line"> GtkWidget *menubar;</td></tr>
+<tr class="codeline" data-linenumber="1965"><td class="num" id="LN1965">1965</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1966"><td class="num" id="LN1966">1966</td><td class="line"> gboolean fullscreen_mode, visible;</td></tr>
+<tr class="codeline" data-linenumber="1967"><td class="num" id="LN1967">1967</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1968"><td class="num" id="LN1968">1968</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1969"><td class="num" id="LN1969">1969</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1970"><td class="num" id="LN1970">1970</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 1970, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1971"><td class="num" id="LN1971">1971</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1972"><td class="num" id="LN1972">1972</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="1973"><td class="num" id="LN1973">1973</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1974"><td class="num" id="LN1974">1974</td><td class="line"> fullscreen_mode = priv-&gt;mode == EOM_WINDOW_MODE_FULLSCREEN ||</td></tr>
+<tr class="codeline" data-linenumber="1975"><td class="num" id="LN1975">1975</td><td class="line"> priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW;</td></tr>
+<tr class="codeline" data-linenumber="1976"><td class="num" id="LN1976">1976</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1977"><td class="num" id="LN1977">1977</td><td class="line"> menubar = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1978"><td class="num" id="LN1978">1978</td><td class="line"> <span class='macro'>g_assert (GTK_IS_WIDGET (menubar))<span class='macro_popup'>do { if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((menubar)); GType __t = ((gtk_widget_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))) ; else<br> g_assertion_message_expr ("EOM", "eom-window.c", 1978, ((const<br> char*) (__func__)), "GTK_IS_WIDGET (menubar)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1979"><td class="num" id="LN1979">1979</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1980"><td class="num" id="LN1980">1980</td><td class="line"> visible = g_settings_get_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_TOOLBAR<span class='macro_popup'>"toolbar"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1981"><td class="num" id="LN1981">1981</td><td class="line"> visible = visible &amp;&amp; !fullscreen_mode;</td></tr>
+<tr class="codeline" data-linenumber="1982"><td class="num" id="LN1982">1982</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1983"><td class="num" id="LN1983">1983</td><td class="line"> action = gtk_ui_manager_get_action (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu/View/ToolbarToggle"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1984"><td class="num" id="LN1984">1984</td><td class="line"> <span class='macro'>g_assert (action != NULL)<span class='macro_popup'>do { if (action != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 1984, ((const char*) (__func__)), "action != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1985"><td class="num" id="LN1985">1985</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1986"><td class="num" id="LN1986">1986</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="1987"><td class="num" id="LN1987">1987</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1988"><td class="num" id="LN1988">1988</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (priv-&gt;toolbar)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;toolbar)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"visible"</span>, visible, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1989"><td class="num" id="LN1989">1989</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1990"><td class="num" id="LN1990">1990</td><td class="line"> visible = g_settings_get_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_STATUSBAR<span class='macro_popup'>"statusbar"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1991"><td class="num" id="LN1991">1991</td><td class="line"> visible = visible &amp;&amp; !fullscreen_mode;</td></tr>
+<tr class="codeline" data-linenumber="1992"><td class="num" id="LN1992">1992</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="1993"><td class="num" id="LN1993">1993</td><td class="line"> action = gtk_ui_manager_get_action (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu/View/StatusbarToggle"</span>);</td></tr>
+<tr class="codeline" data-linenumber="1994"><td class="num" id="LN1994">1994</td><td class="line"> <span class='macro'>g_assert (action != NULL)<span class='macro_popup'>do { if (action != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 1994, ((const char*) (__func__)), "action != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1995"><td class="num" id="LN1995">1995</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1996"><td class="num" id="LN1996">1996</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="1997"><td class="num" id="LN1997">1997</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="1998"><td class="num" id="LN1998">1998</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (priv-&gt;statusbar)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), (((GType) ((20) &lt;&lt; (2)))))))<br>)</span></span>, <span class='string_literal'>"visible"</span>, visible, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="1999"><td class="num" id="LN1999">1999</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2000"><td class="num" id="LN2000">2000</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;status != EOM_WINDOW_STATUS_INIT) {</td></tr>
+<tr class="codeline" data-linenumber="2001"><td class="num" id="LN2001">2001</td><td class="line"> visible = g_settings_get_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_IMAGE_COLLECTION<span class='macro_popup'>"image-collection"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2002"><td class="num" id="LN2002">2002</td><td class="line"> visible = visible &amp;&amp; priv-&gt;mode != EOM_WINDOW_MODE_SLIDESHOW;</td></tr>
+<tr class="codeline" data-linenumber="2003"><td class="num" id="LN2003">2003</td><td class="line"> action = gtk_ui_manager_get_action (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu/View/ImageCollectionToggle"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2004"><td class="num" id="LN2004">2004</td><td class="line"> <span class='macro'>g_assert (action != NULL)<span class='macro_popup'>do { if (action != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 2004, ((const char*) (__func__)), "action != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2005"><td class="num" id="LN2005">2005</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2006"><td class="num" id="LN2006">2006</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="2007"><td class="num" id="LN2007">2007</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2008"><td class="num" id="LN2008">2008</td><td class="line"> <span class='keyword'>if</span> (visible) {</td></tr>
+<tr class="codeline" data-linenumber="2009"><td class="num" id="LN2009">2009</td><td class="line"> gtk_widget_show (priv-&gt;nav);</td></tr>
+<tr class="codeline" data-linenumber="2010"><td class="num" id="LN2010">2010</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2011"><td class="num" id="LN2011">2011</td><td class="line"> gtk_widget_hide (priv-&gt;nav);</td></tr>
+<tr class="codeline" data-linenumber="2012"><td class="num" id="LN2012">2012</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2013"><td class="num" id="LN2013">2013</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2014"><td class="num" id="LN2014">2014</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2015"><td class="num" id="LN2015">2015</td><td class="line"> visible = g_settings_get_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_SIDEBAR<span class='macro_popup'>"sidebar"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2016"><td class="num" id="LN2016">2016</td><td class="line"> visible = visible &amp;&amp; !fullscreen_mode;</td></tr>
+<tr class="codeline" data-linenumber="2017"><td class="num" id="LN2017">2017</td><td class="line"> action = gtk_ui_manager_get_action (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu/View/SidebarToggle"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2018"><td class="num" id="LN2018">2018</td><td class="line"> <span class='macro'>g_assert (action != NULL)<span class='macro_popup'>do { if (action != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 2018, ((const char*) (__func__)), "action != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2019"><td class="num" id="LN2019">2019</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2020"><td class="num" id="LN2020">2020</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="2021"><td class="num" id="LN2021">2021</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2022"><td class="num" id="LN2022">2022</td><td class="line"> <span class='keyword'>if</span> (visible) {</td></tr>
+<tr class="codeline" data-linenumber="2023"><td class="num" id="LN2023">2023</td><td class="line"> gtk_widget_show (priv-&gt;sidebar);</td></tr>
+<tr class="codeline" data-linenumber="2024"><td class="num" id="LN2024">2024</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2025"><td class="num" id="LN2025">2025</td><td class="line"> gtk_widget_hide (priv-&gt;sidebar);</td></tr>
+<tr class="codeline" data-linenumber="2026"><td class="num" id="LN2026">2026</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2027"><td class="num" id="LN2027">2027</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2028"><td class="num" id="LN2028">2028</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;fullscreen_popup != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2029"><td class="num" id="LN2029">2029</td><td class="line"> gtk_widget_hide (priv-&gt;fullscreen_popup);</td></tr>
+<tr class="codeline" data-linenumber="2030"><td class="num" id="LN2030">2030</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2031"><td class="num" id="LN2031">2031</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2032"><td class="num" id="LN2032">2032</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2033"><td class="num" id="LN2033">2033</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2034"><td class="num" id="LN2034">2034</td><td class="line">eom_window_inhibit_screensaver (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2035"><td class="num" id="LN2035">2035</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2036"><td class="num" id="LN2036">2036</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2037"><td class="num" id="LN2037">2037</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2038"><td class="num" id="LN2038">2038</td><td class="line"> <span class='macro'>g_return_if_fail (priv-&gt;fullscreen_idle_inhibit_cookie == 0)<span class='macro_popup'>do { if ((priv-&gt;fullscreen_idle_inhibit_cookie == 0)) { } else<br> { g_return_if_fail_warning ("EOM", ((const char*) (__func__)<br>), "priv-&gt;fullscreen_idle_inhibit_cookie == 0"); return; }<br> } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2039"><td class="num" id="LN2039">2039</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2040"><td class="num" id="LN2040">2040</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 2040, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2041"><td class="num" id="LN2041">2041</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2042"><td class="num" id="LN2042">2042</td><td class="line"> window-&gt;priv-&gt;fullscreen_idle_inhibit_cookie =</td></tr>
+<tr class="codeline" data-linenumber="2043"><td class="num" id="LN2043">2043</td><td class="line"> gtk_application_inhibit (<span class='macro'>GTK_APPLICATION (EOM_APP)<span class='macro_popup'>((((GtkApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ()))), ((gtk_application_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2044"><td class="num" id="LN2044">2044</td><td class="line"> <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2045"><td class="num" id="LN2045">2045</td><td class="line"> GTK_APPLICATION_INHIBIT_IDLE,</td></tr>
+<tr class="codeline" data-linenumber="2046"><td class="num" id="LN2046">2046</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Viewing a slideshow"</span>)<span class='macro_popup'>gettext ("Viewing a slideshow")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2047"><td class="num" id="LN2047">2047</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2048"><td class="num" id="LN2048">2048</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2049"><td class="num" id="LN2049">2049</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2050"><td class="num" id="LN2050">2050</td><td class="line">eom_window_uninhibit_screensaver (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2051"><td class="num" id="LN2051">2051</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2052"><td class="num" id="LN2052">2052</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2053"><td class="num" id="LN2053">2053</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2054"><td class="num" id="LN2054">2054</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>G_UNLIKELY (priv-&gt;fullscreen_idle_inhibit_cookie == 0)<span class='macro_popup'>(priv-&gt;fullscreen_idle_inhibit_cookie == 0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2055"><td class="num" id="LN2055">2055</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2056"><td class="num" id="LN2056">2056</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2057"><td class="num" id="LN2057">2057</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 2057, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2058"><td class="num" id="LN2058">2058</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2059"><td class="num" id="LN2059">2059</td><td class="line"> gtk_application_uninhibit (<span class='macro'>GTK_APPLICATION (EOM_APP)<span class='macro_popup'>((((GtkApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ()))), ((gtk_application_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2060"><td class="num" id="LN2060">2060</td><td class="line"> priv-&gt;fullscreen_idle_inhibit_cookie);</td></tr>
+<tr class="codeline" data-linenumber="2061"><td class="num" id="LN2061">2061</td><td class="line"> priv-&gt;fullscreen_idle_inhibit_cookie = 0;</td></tr>
+<tr class="codeline" data-linenumber="2062"><td class="num" id="LN2062">2062</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2063"><td class="num" id="LN2063">2063</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2064"><td class="num" id="LN2064">2064</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2065"><td class="num" id="LN2065">2065</td><td class="line">eom_window_run_fullscreen (EomWindow *window, gboolean slideshow)</td></tr>
+<tr class="codeline" data-linenumber="2066"><td class="num" id="LN2066">2066</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2067"><td class="num" id="LN2067">2067</td><td class="line"> <span class='keyword'>static</span> <span class='keyword'>const</span> GdkRGBA black = { 0., 0., 0., 1.};</td></tr>
+<tr class="codeline" data-linenumber="2068"><td class="num" id="LN2068">2068</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2069"><td class="num" id="LN2069">2069</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2070"><td class="num" id="LN2070">2070</td><td class="line"> GtkWidget *menubar;</td></tr>
+<tr class="codeline" data-linenumber="2071"><td class="num" id="LN2071">2071</td><td class="line"> gboolean upscale;</td></tr>
+<tr class="codeline" data-linenumber="2072"><td class="num" id="LN2072">2072</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2073"><td class="num" id="LN2073">2073</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 2073, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2074"><td class="num" id="LN2074">2074</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2075"><td class="num" id="LN2075">2075</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2076"><td class="num" id="LN2076">2076</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2077"><td class="num" id="LN2077">2077</td><td class="line"> <span class='keyword'>if</span> (slideshow) {</td></tr>
+<tr class="codeline" data-linenumber="2078"><td class="num" id="LN2078">2078</td><td class="line"> priv-&gt;mode = EOM_WINDOW_MODE_SLIDESHOW;</td></tr>
+<tr class="codeline" data-linenumber="2079"><td class="num" id="LN2079">2079</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2080"><td class="num" id="LN2080">2080</td><td class="line"> <span class='comment'>/* Stop the timer if we come from slideshowing */</span></td></tr>
+<tr class="codeline" data-linenumber="2081"><td class="num" id="LN2081">2081</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW)</td></tr>
+<tr class="codeline" data-linenumber="2082"><td class="num" id="LN2082">2082</td><td class="line"> slideshow_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="2083"><td class="num" id="LN2083">2083</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2084"><td class="num" id="LN2084">2084</td><td class="line"> priv-&gt;mode = EOM_WINDOW_MODE_FULLSCREEN;</td></tr>
+<tr class="codeline" data-linenumber="2085"><td class="num" id="LN2085">2085</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2086"><td class="num" id="LN2086">2086</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2087"><td class="num" id="LN2087">2087</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;fullscreen_popup == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2088"><td class="num" id="LN2088">2088</td><td class="line"> priv-&gt;fullscreen_popup</td></tr>
+<tr class="codeline" data-linenumber="2089"><td class="num" id="LN2089">2089</td><td class="line"> = eom_window_create_fullscreen_popup (window);</td></tr>
+<tr class="codeline" data-linenumber="2090"><td class="num" id="LN2090">2090</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2091"><td class="num" id="LN2091">2091</td><td class="line"> update_ui_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="2092"><td class="num" id="LN2092">2092</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2093"><td class="num" id="LN2093">2093</td><td class="line"> menubar = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2094"><td class="num" id="LN2094">2094</td><td class="line"> <span class='macro'>g_assert (GTK_IS_WIDGET (menubar))<span class='macro_popup'>do { if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((menubar)); GType __t = ((gtk_widget_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))) ; else<br> g_assertion_message_expr ("EOM", "eom-window.c", 2094, ((const<br> char*) (__func__)), "GTK_IS_WIDGET (menubar)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2095"><td class="num" id="LN2095">2095</td><td class="line"> gtk_widget_hide (menubar);</td></tr>
+<tr class="codeline" data-linenumber="2096"><td class="num" id="LN2096">2096</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2097"><td class="num" id="LN2097">2097</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;view, <span class='string_literal'>"motion-notify-event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("motion-notify-event"<br>), (((GCallback) (fullscreen_motion_notify_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2098"><td class="num" id="LN2098">2098</td><td class="line"> <span class='macro'>G_CALLBACK (fullscreen_motion_notify_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("motion-notify-event"<br>), (((GCallback) (fullscreen_motion_notify_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2099"><td class="num" id="LN2099">2099</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("motion-notify-event"<br>), (((GCallback) (fullscreen_motion_notify_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2100"><td class="num" id="LN2100">2100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2101"><td class="num" id="LN2101">2101</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;view, <span class='string_literal'>"leave-notify-event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("leave-notify-event"<br>), (((GCallback) (fullscreen_leave_notify_cb))), (window), ((<br>void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2102"><td class="num" id="LN2102">2102</td><td class="line"> <span class='macro'>G_CALLBACK (fullscreen_leave_notify_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("leave-notify-event"<br>), (((GCallback) (fullscreen_leave_notify_cb))), (window), ((<br>void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2103"><td class="num" id="LN2103">2103</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("leave-notify-event"<br>), (((GCallback) (fullscreen_leave_notify_cb))), (window), ((<br>void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2104"><td class="num" id="LN2104">2104</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2105"><td class="num" id="LN2105">2105</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;thumbview, <span class='string_literal'>"motion-notify-event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("motion-notify-event"<br>), (((GCallback) (fullscreen_motion_notify_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2106"><td class="num" id="LN2106">2106</td><td class="line"> <span class='macro'>G_CALLBACK (fullscreen_motion_notify_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("motion-notify-event"<br>), (((GCallback) (fullscreen_motion_notify_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2107"><td class="num" id="LN2107">2107</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("motion-notify-event"<br>), (((GCallback) (fullscreen_motion_notify_cb))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2108"><td class="num" id="LN2108">2108</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2109"><td class="num" id="LN2109">2109</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;thumbview, <span class='string_literal'>"leave-notify-event"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("leave-notify-event"<br>), (((GCallback) (fullscreen_leave_notify_cb))), (window), ((<br>void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2110"><td class="num" id="LN2110">2110</td><td class="line"> <span class='macro'>G_CALLBACK (fullscreen_leave_notify_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("leave-notify-event"<br>), (((GCallback) (fullscreen_leave_notify_cb))), (window), ((<br>void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2111"><td class="num" id="LN2111">2111</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("leave-notify-event"<br>), (((GCallback) (fullscreen_leave_notify_cb))), (window), ((<br>void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2112"><td class="num" id="LN2112">2112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2113"><td class="num" id="LN2113">2113</td><td class="line"> fullscreen_set_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="2114"><td class="num" id="LN2114">2114</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2115"><td class="num" id="LN2115">2115</td><td class="line"> <span class='keyword'>if</span> (slideshow) {</td></tr>
+<tr class="codeline" data-linenumber="2116"><td class="num" id="LN2116">2116</td><td class="line"> priv-&gt;slideshow_random =</td></tr>
+<tr class="codeline" data-linenumber="2117"><td class="num" id="LN2117">2117</td><td class="line"> g_settings_get_boolean (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="2118"><td class="num" id="LN2118">2118</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_RANDOM<span class='macro_popup'>"random"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2119"><td class="num" id="LN2119">2119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2120"><td class="num" id="LN2120">2120</td><td class="line"> priv-&gt;slideshow_loop =</td></tr>
+<tr class="codeline" data-linenumber="2121"><td class="num" id="LN2121">2121</td><td class="line"> g_settings_get_boolean (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="2122"><td class="num" id="LN2122">2122</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_LOOP<span class='macro_popup'>"loop"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2123"><td class="num" id="LN2123">2123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2124"><td class="num" id="LN2124">2124</td><td class="line"> priv-&gt;slideshow_switch_timeout =</td></tr>
+<tr class="codeline" data-linenumber="2125"><td class="num" id="LN2125">2125</td><td class="line"> g_settings_get_int (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="2126"><td class="num" id="LN2126">2126</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_SECONDS<span class='macro_popup'>"seconds"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2127"><td class="num" id="LN2127">2127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2128"><td class="num" id="LN2128">2128</td><td class="line"> slideshow_set_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="2129"><td class="num" id="LN2129">2129</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2130"><td class="num" id="LN2130">2130</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2131"><td class="num" id="LN2131">2131</td><td class="line"> upscale = g_settings_get_boolean (priv-&gt;fullscreen_settings,</td></tr>
+<tr class="codeline" data-linenumber="2132"><td class="num" id="LN2132">2132</td><td class="line"> <span class='macro'>EOM_CONF_FULLSCREEN_UPSCALE<span class='macro_popup'>"upscale"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2133"><td class="num" id="LN2133">2133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2134"><td class="num" id="LN2134">2134</td><td class="line"> eom_scroll_view_set_zoom_upscale (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2135"><td class="num" id="LN2135">2135</td><td class="line"> upscale);</td></tr>
+<tr class="codeline" data-linenumber="2136"><td class="num" id="LN2136">2136</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2137"><td class="num" id="LN2137">2137</td><td class="line"> gtk_widget_grab_focus (priv-&gt;view);</td></tr>
+<tr class="codeline" data-linenumber="2138"><td class="num" id="LN2138">2138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2139"><td class="num" id="LN2139">2139</td><td class="line"> eom_scroll_view_override_bg_color (<span class='macro'>EOM_SCROLL_VIEW (window-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;view)), ((eom_scroll_view_get_type (<br>)))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2140"><td class="num" id="LN2140">2140</td><td class="line"> &amp;black);</td></tr>
+<tr class="codeline" data-linenumber="2141"><td class="num" id="LN2141">2141</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2142"><td class="num" id="LN2142">2142</td><td class="line"> gtk_window_fullscreen (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2143"><td class="num" id="LN2143">2143</td><td class="line"> eom_window_update_fullscreen_popup (window);</td></tr>
+<tr class="codeline" data-linenumber="2144"><td class="num" id="LN2144">2144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2145"><td class="num" id="LN2145">2145</td><td class="line"> eom_window_inhibit_screensaver (window);</td></tr>
+<tr class="codeline" data-linenumber="2146"><td class="num" id="LN2146">2146</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2147"><td class="num" id="LN2147">2147</td><td class="line"> <span class='comment'>/* Update both actions as we could've already been in one those modes */</span></td></tr>
+<tr class="codeline" data-linenumber="2148"><td class="num" id="LN2148">2148</td><td class="line"> eom_window_update_slideshow_action (window);</td></tr>
+<tr class="codeline" data-linenumber="2149"><td class="num" id="LN2149">2149</td><td class="line"> eom_window_update_fullscreen_action (window);</td></tr>
+<tr class="codeline" data-linenumber="2150"><td class="num" id="LN2150">2150</td><td class="line"> eom_window_update_pause_slideshow_action (window);</td></tr>
+<tr class="codeline" data-linenumber="2151"><td class="num" id="LN2151">2151</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2152"><td class="num" id="LN2152">2152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2153"><td class="num" id="LN2153">2153</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2154"><td class="num" id="LN2154">2154</td><td class="line">eom_window_stop_fullscreen (EomWindow *window, gboolean slideshow)</td></tr>
+<tr class="codeline" data-linenumber="2155"><td class="num" id="LN2155">2155</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2156"><td class="num" id="LN2156">2156</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2157"><td class="num" id="LN2157">2157</td><td class="line"> GtkWidget *menubar;</td></tr>
+<tr class="codeline" data-linenumber="2158"><td class="num" id="LN2158">2158</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2159"><td class="num" id="LN2159">2159</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 2159, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2160"><td class="num" id="LN2160">2160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2161"><td class="num" id="LN2161">2161</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2162"><td class="num" id="LN2162">2162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2163"><td class="num" id="LN2163">2163</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;mode != EOM_WINDOW_MODE_SLIDESHOW &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="2164"><td class="num" id="LN2164">2164</td><td class="line"> priv-&gt;mode != EOM_WINDOW_MODE_FULLSCREEN) <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2165"><td class="num" id="LN2165">2165</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2166"><td class="num" id="LN2166">2166</td><td class="line"> priv-&gt;mode = EOM_WINDOW_MODE_NORMAL;</td></tr>
+<tr class="codeline" data-linenumber="2167"><td class="num" id="LN2167">2167</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2168"><td class="num" id="LN2168">2168</td><td class="line"> fullscreen_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="2169"><td class="num" id="LN2169">2169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2170"><td class="num" id="LN2170">2170</td><td class="line"> <span class='keyword'>if</span> (slideshow) {</td></tr>
+<tr class="codeline" data-linenumber="2171"><td class="num" id="LN2171">2171</td><td class="line"> slideshow_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="2172"><td class="num" id="LN2172">2172</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2173"><td class="num" id="LN2173">2173</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2174"><td class="num" id="LN2174">2174</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;view,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;view), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (fullscreen_motion_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2175"><td class="num" id="LN2175">2175</td><td class="line"> <span class='macro'>fullscreen_motion_notify_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;view), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (fullscreen_motion_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2176"><td class="num" id="LN2176">2176</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;view), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (fullscreen_motion_notify_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2177"><td class="num" id="LN2177">2177</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2178"><td class="num" id="LN2178">2178</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;view,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;view), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (fullscreen_leave_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2179"><td class="num" id="LN2179">2179</td><td class="line"> <span class='macro'>fullscreen_leave_notify_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;view), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (fullscreen_leave_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2180"><td class="num" id="LN2180">2180</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;view), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (fullscreen_leave_notify_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2181"><td class="num" id="LN2181">2181</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2182"><td class="num" id="LN2182">2182</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;thumbview,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (fullscreen_motion_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2183"><td class="num" id="LN2183">2183</td><td class="line"> <span class='macro'>fullscreen_motion_notify_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (fullscreen_motion_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2184"><td class="num" id="LN2184">2184</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (fullscreen_motion_notify_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2185"><td class="num" id="LN2185">2185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2186"><td class="num" id="LN2186">2186</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;thumbview,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (fullscreen_leave_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2187"><td class="num" id="LN2187">2187</td><td class="line"> <span class='macro'>fullscreen_leave_notify_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (fullscreen_leave_notify_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2188"><td class="num" id="LN2188">2188</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (fullscreen_leave_notify_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2189"><td class="num" id="LN2189">2189</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2190"><td class="num" id="LN2190">2190</td><td class="line"> update_ui_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="2191"><td class="num" id="LN2191">2191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2192"><td class="num" id="LN2192">2192</td><td class="line"> menubar = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2193"><td class="num" id="LN2193">2193</td><td class="line"> <span class='macro'>g_assert (GTK_IS_WIDGET (menubar))<span class='macro_popup'>do { if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((menubar)); GType __t = ((gtk_widget_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))) ; else<br> g_assertion_message_expr ("EOM", "eom-window.c", 2193, ((const<br> char*) (__func__)), "GTK_IS_WIDGET (menubar)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2194"><td class="num" id="LN2194">2194</td><td class="line"> gtk_widget_show (menubar);</td></tr>
+<tr class="codeline" data-linenumber="2195"><td class="num" id="LN2195">2195</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2196"><td class="num" id="LN2196">2196</td><td class="line"> eom_scroll_view_set_zoom_upscale (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2197"><td class="num" id="LN2197">2197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2198"><td class="num" id="LN2198">2198</td><td class="line"> eom_scroll_view_override_bg_color (<span class='macro'>EOM_SCROLL_VIEW (window-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;view)), ((eom_scroll_view_get_type (<br>)))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2199"><td class="num" id="LN2199">2199</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2200"><td class="num" id="LN2200">2200</td><td class="line"> gtk_window_unfullscreen (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2201"><td class="num" id="LN2201">2201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2202"><td class="num" id="LN2202">2202</td><td class="line"> <span class='keyword'>if</span> (slideshow) {</td></tr>
+<tr class="codeline" data-linenumber="2203"><td class="num" id="LN2203">2203</td><td class="line"> eom_window_update_slideshow_action (window);</td></tr>
+<tr class="codeline" data-linenumber="2204"><td class="num" id="LN2204">2204</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2205"><td class="num" id="LN2205">2205</td><td class="line"> eom_window_update_fullscreen_action (window);</td></tr>
+<tr class="codeline" data-linenumber="2206"><td class="num" id="LN2206">2206</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2207"><td class="num" id="LN2207">2207</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2208"><td class="num" id="LN2208">2208</td><td class="line"> eom_scroll_view_show_cursor (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2209"><td class="num" id="LN2209">2209</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2210"><td class="num" id="LN2210">2210</td><td class="line"> eom_window_uninhibit_screensaver (window);</td></tr>
+<tr class="codeline" data-linenumber="2211"><td class="num" id="LN2211">2211</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2212"><td class="num" id="LN2212">2212</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2213"><td class="num" id="LN2213">2213</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2214"><td class="num" id="LN2214">2214</td><td class="line">eom_window_print (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2215"><td class="num" id="LN2215">2215</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2216"><td class="num" id="LN2216">2216</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="2217"><td class="num" id="LN2217">2217</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2218"><td class="num" id="LN2218">2218</td><td class="line"> GtkPrintOperation *print;</td></tr>
+<tr class="codeline" data-linenumber="2219"><td class="num" id="LN2219">2219</td><td class="line"> GtkPrintOperationResult res;</td></tr>
+<tr class="codeline" data-linenumber="2220"><td class="num" id="LN2220">2220</td><td class="line"> GtkPageSetup *page_setup;</td></tr>
+<tr class="codeline" data-linenumber="2221"><td class="num" id="LN2221">2221</td><td class="line"> GtkPrintSettings *print_settings;</td></tr>
+<tr class="codeline" data-linenumber="2222"><td class="num" id="LN2222">2222</td><td class="line"> gboolean page_setup_disabled = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2223"><td class="num" id="LN2223">2223</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2224"><td class="num" id="LN2224">2224</td><td class="line"> eom_debug (<span class='macro'>DEBUG_PRINTING<span class='macro_popup'>EOM_DEBUG_PRINTING, "eom-window.c", 2224, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2225"><td class="num" id="LN2225">2225</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2226"><td class="num" id="LN2226">2226</td><td class="line"> print_settings = eom_print_get_print_settings ();</td></tr>
+<tr class="codeline" data-linenumber="2227"><td class="num" id="LN2227">2227</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2228"><td class="num" id="LN2228">2228</td><td class="line"> <span class='comment'>/* Make sure the window stays valid while printing */</span></td></tr>
+<tr class="codeline" data-linenumber="2229"><td class="num" id="LN2229">2229</td><td class="line"> <span class='macro'>g_object_ref (window)<span class='macro_popup'>((__typeof__ (window)) (g_object_ref) (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2230"><td class="num" id="LN2230">2230</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2231"><td class="num" id="LN2231">2231</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;page_setup != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2232"><td class="num" id="LN2232">2232</td><td class="line"> page_setup = <span class='macro'>g_object_ref (window-&gt;priv-&gt;page_setup)<span class='macro_popup'>((__typeof__ (window-&gt;priv-&gt;page_setup)) (g_object_ref)<br> (window-&gt;priv-&gt;page_setup))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2233"><td class="num" id="LN2233">2233</td><td class="line"> <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="2234"><td class="num" id="LN2234">2234</td><td class="line"> page_setup = eom_print_get_page_setup ();</td></tr>
+<tr class="codeline" data-linenumber="2235"><td class="num" id="LN2235">2235</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2236"><td class="num" id="LN2236">2236</td><td class="line"> print = eom_print_operation_new (window-&gt;priv-&gt;image,</td></tr>
+<tr class="codeline" data-linenumber="2237"><td class="num" id="LN2237">2237</td><td class="line"> print_settings,</td></tr>
+<tr class="codeline" data-linenumber="2238"><td class="num" id="LN2238">2238</td><td class="line"> page_setup);</td></tr>
+<tr class="codeline" data-linenumber="2239"><td class="num" id="LN2239">2239</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2240"><td class="num" id="LN2240">2240</td><td class="line"> <span class='comment'>// Disable page setup options if they are locked down</span></td></tr>
+<tr class="codeline" data-linenumber="2241"><td class="num" id="LN2241">2241</td><td class="line"> page_setup_disabled = g_settings_get_boolean (window-&gt;priv-&gt;lockdown_settings,</td></tr>
+<tr class="codeline" data-linenumber="2242"><td class="num" id="LN2242">2242</td><td class="line"> <span class='macro'>EOM_CONF_LOCKDOWN_CAN_SETUP_PAGE<span class='macro_popup'>"disable-print-setup"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2243"><td class="num" id="LN2243">2243</td><td class="line"> <span class='keyword'>if</span> (page_setup_disabled)</td></tr>
+<tr class="codeline" data-linenumber="2244"><td class="num" id="LN2244">2244</td><td class="line"> gtk_print_operation_set_embed_page_setup (print, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2245"><td class="num" id="LN2245">2245</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2246"><td class="num" id="LN2246">2246</td><td class="line"> res = gtk_print_operation_run (print,</td></tr>
+<tr class="codeline" data-linenumber="2247"><td class="num" id="LN2247">2247</td><td class="line"> GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG,</td></tr>
+<tr class="codeline" data-linenumber="2248"><td class="num" id="LN2248">2248</td><td class="line"> <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="2249"><td class="num" id="LN2249">2249</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2250"><td class="num" id="LN2250">2250</td><td class="line"> <span class='keyword'>if</span> (res == GTK_PRINT_OPERATION_RESULT_ERROR) {</td></tr>
+<tr class="codeline" data-linenumber="2251"><td class="num" id="LN2251">2251</td><td class="line"> dialog = gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2252"><td class="num" id="LN2252">2252</td><td class="line"> GTK_DIALOG_DESTROY_WITH_PARENT,</td></tr>
+<tr class="codeline" data-linenumber="2253"><td class="num" id="LN2253">2253</td><td class="line"> GTK_MESSAGE_ERROR,</td></tr>
+<tr class="codeline" data-linenumber="2254"><td class="num" id="LN2254">2254</td><td class="line"> GTK_BUTTONS_CLOSE,</td></tr>
+<tr class="codeline" data-linenumber="2255"><td class="num" id="LN2255">2255</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Error printing file:\n%s"</span>)<span class='macro_popup'>gettext ("Error printing file:\n%s")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2256"><td class="num" id="LN2256">2256</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="2257"><td class="num" id="LN2257">2257</td><td class="line"> <span class='macro'>g_signal_connect (dialog, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>gtk_widget_destroy))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2258"><td class="num" id="LN2258">2258</td><td class="line"> <span class='macro'>G_CALLBACK (gtk_widget_destroy),<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>gtk_widget_destroy))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2259"><td class="num" id="LN2259">2259</td><td class="line"> <span class='macro'>NULL)<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>gtk_widget_destroy))), (((void*)0)), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2260"><td class="num" id="LN2260">2260</td><td class="line"> gtk_widget_show (dialog);</td></tr>
+<tr class="codeline" data-linenumber="2261"><td class="num" id="LN2261">2261</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="2262"><td class="num" id="LN2262">2262</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (res == GTK_PRINT_OPERATION_RESULT_APPLY) {</td></tr>
+<tr class="codeline" data-linenumber="2263"><td class="num" id="LN2263">2263</td><td class="line"> GtkPageSetup *new_page_setup;</td></tr>
+<tr class="codeline" data-linenumber="2264"><td class="num" id="LN2264">2264</td><td class="line"> eom_print_set_print_settings (gtk_print_operation_get_print_settings (print));</td></tr>
+<tr class="codeline" data-linenumber="2265"><td class="num" id="LN2265">2265</td><td class="line"> new_page_setup = gtk_print_operation_get_default_page_setup (print);</td></tr>
+<tr class="codeline" data-linenumber="2266"><td class="num" id="LN2266">2266</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;page_setup != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2267"><td class="num" id="LN2267">2267</td><td class="line"> g_object_unref (window-&gt;priv-&gt;page_setup);</td></tr>
+<tr class="codeline" data-linenumber="2268"><td class="num" id="LN2268">2268</td><td class="line"> window-&gt;priv-&gt;page_setup = <span class='macro'>g_object_ref (new_page_setup)<span class='macro_popup'>((__typeof__ (new_page_setup)) (g_object_ref) (new_page_setup<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2269"><td class="num" id="LN2269">2269</td><td class="line"> eom_print_set_page_setup (window-&gt;priv-&gt;page_setup);</td></tr>
+<tr class="codeline" data-linenumber="2270"><td class="num" id="LN2270">2270</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2271"><td class="num" id="LN2271">2271</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2272"><td class="num" id="LN2272">2272</td><td class="line"> <span class='keyword'>if</span> (page_setup != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2273"><td class="num" id="LN2273">2273</td><td class="line"> g_object_unref (page_setup);</td></tr>
+<tr class="codeline" data-linenumber="2274"><td class="num" id="LN2274">2274</td><td class="line"> g_object_unref (print_settings);</td></tr>
+<tr class="codeline" data-linenumber="2275"><td class="num" id="LN2275">2275</td><td class="line"> g_object_unref (window);</td></tr>
+<tr class="codeline" data-linenumber="2276"><td class="num" id="LN2276">2276</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2277"><td class="num" id="LN2277">2277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2278"><td class="num" id="LN2278">2278</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2279"><td class="num" id="LN2279">2279</td><td class="line">eom_window_cmd_file_open (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2280"><td class="num" id="LN2280">2280</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2281"><td class="num" id="LN2281">2281</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2282"><td class="num" id="LN2282">2282</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2283"><td class="num" id="LN2283">2283</td><td class="line"> EomImage *current;</td></tr>
+<tr class="codeline" data-linenumber="2284"><td class="num" id="LN2284">2284</td><td class="line"> GtkWidget *dlg;</td></tr>
+<tr class="codeline" data-linenumber="2285"><td class="num" id="LN2285">2285</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2286"><td class="num" id="LN2286">2286</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2287"><td class="num" id="LN2287">2287</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2288"><td class="num" id="LN2288">2288</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2289"><td class="num" id="LN2289">2289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2290"><td class="num" id="LN2290">2290</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2291"><td class="num" id="LN2291">2291</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2292"><td class="num" id="LN2292">2292</td><td class="line"> dlg = eom_file_chooser_new (GTK_FILE_CHOOSER_ACTION_OPEN);</td></tr>
+<tr class="codeline" data-linenumber="2293"><td class="num" id="LN2293">2293</td><td class="line"> gtk_window_set_transient_for (<span class='macro'>GTK_WINDOW (dlg)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2294"><td class="num" id="LN2294">2294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2295"><td class="num" id="LN2295">2295</td><td class="line"> current = eom_thumb_view_get_first_selected_image (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2296"><td class="num" id="LN2296">2296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2297"><td class="num" id="LN2297">2297</td><td class="line"> <span class='keyword'>if</span> (current != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2298"><td class="num" id="LN2298">2298</td><td class="line"> gchar *dir_uri, *file_uri;</td></tr>
+<tr class="codeline" data-linenumber="2299"><td class="num" id="LN2299">2299</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2300"><td class="num" id="LN2300">2300</td><td class="line"> file_uri = eom_image_get_uri_for_display (current);</td></tr>
+<tr class="codeline" data-linenumber="2301"><td class="num" id="LN2301">2301</td><td class="line"> dir_uri = g_path_get_dirname (file_uri);</td></tr>
+<tr class="codeline" data-linenumber="2302"><td class="num" id="LN2302">2302</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2303"><td class="num" id="LN2303">2303</td><td class="line"> gtk_file_chooser_set_current_folder_uri (<span class='macro'>GTK_FILE_CHOOSER (dlg)<span class='macro_popup'>((((GtkFileChooser*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_file_chooser_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2304"><td class="num" id="LN2304">2304</td><td class="line"> dir_uri);</td></tr>
+<tr class="codeline" data-linenumber="2305"><td class="num" id="LN2305">2305</td><td class="line"> g_free (file_uri);</td></tr>
+<tr class="codeline" data-linenumber="2306"><td class="num" id="LN2306">2306</td><td class="line"> g_free (dir_uri);</td></tr>
+<tr class="codeline" data-linenumber="2307"><td class="num" id="LN2307">2307</td><td class="line"> g_object_unref (current);</td></tr>
+<tr class="codeline" data-linenumber="2308"><td class="num" id="LN2308">2308</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2309"><td class="num" id="LN2309">2309</td><td class="line"> <span class='comment'>/* If desired by the user,</span></td></tr>
+<tr class="codeline" data-linenumber="2310"><td class="num" id="LN2310">2310</td><td class="line"> <span class='comment'>fallback to the XDG_PICTURES_DIR (if available) */</span></td></tr>
+<tr class="codeline" data-linenumber="2311"><td class="num" id="LN2311">2311</td><td class="line"> <span class='keyword'>const</span> gchar *pics_dir;</td></tr>
+<tr class="codeline" data-linenumber="2312"><td class="num" id="LN2312">2312</td><td class="line"> gboolean use_fallback;</td></tr>
+<tr class="codeline" data-linenumber="2313"><td class="num" id="LN2313">2313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2314"><td class="num" id="LN2314">2314</td><td class="line"> use_fallback = g_settings_get_boolean (priv-&gt;ui_settings,</td></tr>
+<tr class="codeline" data-linenumber="2315"><td class="num" id="LN2315">2315</td><td class="line"> <span class='macro'>EOM_CONF_UI_FILECHOOSER_XDG_FALLBACK<span class='macro_popup'>"filechooser-xdg-fallback"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2316"><td class="num" id="LN2316">2316</td><td class="line"> pics_dir = g_get_user_special_dir (G_USER_DIRECTORY_PICTURES);</td></tr>
+<tr class="codeline" data-linenumber="2317"><td class="num" id="LN2317">2317</td><td class="line"> <span class='keyword'>if</span> (use_fallback &amp;&amp; pics_dir) {</td></tr>
+<tr class="codeline" data-linenumber="2318"><td class="num" id="LN2318">2318</td><td class="line"> gtk_file_chooser_set_current_folder (<span class='macro'>GTK_FILE_CHOOSER (dlg)<span class='macro_popup'>((((GtkFileChooser*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_file_chooser_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2319"><td class="num" id="LN2319">2319</td><td class="line"> pics_dir);</td></tr>
+<tr class="codeline" data-linenumber="2320"><td class="num" id="LN2320">2320</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2321"><td class="num" id="LN2321">2321</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2322"><td class="num" id="LN2322">2322</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2323"><td class="num" id="LN2323">2323</td><td class="line"> <span class='macro'>g_signal_connect (dlg, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((dlg), ("response"), (((GCallback) (file_open_dialog_response_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2324"><td class="num" id="LN2324">2324</td><td class="line"> <span class='macro'>G_CALLBACK (file_open_dialog_response_cb),<span class='macro_popup'>g_signal_connect_data ((dlg), ("response"), (((GCallback) (file_open_dialog_response_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2325"><td class="num" id="LN2325">2325</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((dlg), ("response"), (((GCallback) (file_open_dialog_response_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2326"><td class="num" id="LN2326">2326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2327"><td class="num" id="LN2327">2327</td><td class="line"> gtk_widget_show_all (dlg);</td></tr>
+<tr class="codeline" data-linenumber="2328"><td class="num" id="LN2328">2328</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2329"><td class="num" id="LN2329">2329</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2330"><td class="num" id="LN2330">2330</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2331"><td class="num" id="LN2331">2331</td><td class="line">eom_job_close_save_cb (EomJobSave *job, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2332"><td class="num" id="LN2332">2332</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2333"><td class="num" id="LN2333">2333</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2334"><td class="num" id="LN2334">2334</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2335"><td class="num" id="LN2335">2335</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (job,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_close_save_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2336"><td class="num" id="LN2336">2336</td><td class="line"> <span class='macro'>eom_job_close_save_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_close_save_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2337"><td class="num" id="LN2337">2337</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_close_save_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2338"><td class="num" id="LN2338">2338</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2339"><td class="num" id="LN2339">2339</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2340"><td class="num" id="LN2340">2340</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2341"><td class="num" id="LN2341">2341</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2342"><td class="num" id="LN2342">2342</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2343"><td class="num" id="LN2343">2343</td><td class="line">close_confirmation_dialog_response_handler (EomCloseConfirmationDialog *dlg,</td></tr>
+<tr class="codeline" data-linenumber="2344"><td class="num" id="LN2344">2344</td><td class="line"> gint response_id,</td></tr>
+<tr class="codeline" data-linenumber="2345"><td class="num" id="LN2345">2345</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2346"><td class="num" id="LN2346">2346</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2347"><td class="num" id="LN2347">2347</td><td class="line"> GList *selected_images;</td></tr>
+<tr class="codeline" data-linenumber="2348"><td class="num" id="LN2348">2348</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2349"><td class="num" id="LN2349">2349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2350"><td class="num" id="LN2350">2350</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2351"><td class="num" id="LN2351">2351</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2352"><td class="num" id="LN2352">2352</td><td class="line"> <span class='keyword'>switch</span> (response_id)</td></tr>
+<tr class="codeline" data-linenumber="2353"><td class="num" id="LN2353">2353</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="2354"><td class="num" id="LN2354">2354</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_YES:</td></tr>
+<tr class="codeline" data-linenumber="2355"><td class="num" id="LN2355">2355</td><td class="line"> <span class='comment'>/* save selected images */</span></td></tr>
+<tr class="codeline" data-linenumber="2356"><td class="num" id="LN2356">2356</td><td class="line"> selected_images = eom_close_confirmation_dialog_get_selected_images (dlg);</td></tr>
+<tr class="codeline" data-linenumber="2357"><td class="num" id="LN2357">2357</td><td class="line"> <span class='keyword'>if</span> (eom_window_save_images (window, selected_images)) {</td></tr>
+<tr class="codeline" data-linenumber="2358"><td class="num" id="LN2358">2358</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;save_job, <span class='string_literal'>"finished"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_close_save_cb))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2359"><td class="num" id="LN2359">2359</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_close_save_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_close_save_cb))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2360"><td class="num" id="LN2360">2360</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_close_save_cb))), (window), ((void*)0), (<br>GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2361"><td class="num" id="LN2361">2361</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2362"><td class="num" id="LN2362">2362</td><td class="line"> eom_job_queue_add_job (priv-&gt;save_job);</td></tr>
+<tr class="codeline" data-linenumber="2363"><td class="num" id="LN2363">2363</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2364"><td class="num" id="LN2364">2364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2365"><td class="num" id="LN2365">2365</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2366"><td class="num" id="LN2366">2366</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2367"><td class="num" id="LN2367">2367</td><td class="line"> <span class='keyword'>case</span> GTK_RESPONSE_NO:</td></tr>
+<tr class="codeline" data-linenumber="2368"><td class="num" id="LN2368">2368</td><td class="line"> <span class='comment'>/* dont save */</span></td></tr>
+<tr class="codeline" data-linenumber="2369"><td class="num" id="LN2369">2369</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2370"><td class="num" id="LN2370">2370</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2371"><td class="num" id="LN2371">2371</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2372"><td class="num" id="LN2372">2372</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="2373"><td class="num" id="LN2373">2373</td><td class="line"> <span class='comment'>/* Cancel */</span></td></tr>
+<tr class="codeline" data-linenumber="2374"><td class="num" id="LN2374">2374</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (dlg)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2375"><td class="num" id="LN2375">2375</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="2376"><td class="num" id="LN2376">2376</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2377"><td class="num" id="LN2377">2377</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2378"><td class="num" id="LN2378">2378</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2379"><td class="num" id="LN2379">2379</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2380"><td class="num" id="LN2380">2380</td><td class="line">eom_window_unsaved_images_confirm (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2381"><td class="num" id="LN2381">2381</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2382"><td class="num" id="LN2382">2382</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2383"><td class="num" id="LN2383">2383</td><td class="line"> gboolean disabled;</td></tr>
+<tr class="codeline" data-linenumber="2384"><td class="num" id="LN2384">2384</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="2385"><td class="num" id="LN2385">2385</td><td class="line"> GList *list;</td></tr>
+<tr class="codeline" data-linenumber="2386"><td class="num" id="LN2386">2386</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="2387"><td class="num" id="LN2387">2387</td><td class="line"> GtkTreeIter iter;</td></tr>
+<tr class="codeline" data-linenumber="2388"><td class="num" id="LN2388">2388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2389"><td class="num" id="LN2389">2389</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2390"><td class="num" id="LN2390">2390</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2391"><td class="num" id="LN2391">2391</td><td class="line"> disabled = g_settings_get_boolean(priv-&gt;ui_settings,</td></tr>
+<tr class="codeline" data-linenumber="2392"><td class="num" id="LN2392">2392</td><td class="line"> <span class='macro'>EOM_CONF_UI_DISABLE_CLOSE_CONFIRMATION<span class='macro_popup'>"disable-close-confirmation"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2393"><td class="num" id="LN2393">2393</td><td class="line"> disabled |= window-&gt;priv-&gt;save_disabled;</td></tr>
+<tr class="codeline" data-linenumber="2394"><td class="num" id="LN2394">2394</td><td class="line"> <span class='keyword'>if</span> (disabled || !priv-&gt;store) {</td></tr>
+<tr class="codeline" data-linenumber="2395"><td class="num" id="LN2395">2395</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2396"><td class="num" id="LN2396">2396</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2397"><td class="num" id="LN2397">2397</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2398"><td class="num" id="LN2398">2398</td><td class="line"> list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2399"><td class="num" id="LN2399">2399</td><td class="line"> <span class='keyword'>if</span> (gtk_tree_model_get_iter_first (<span class='macro'>GTK_TREE_MODEL (priv-&gt;store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), ((gtk_tree_model_get_type ()))))))</span></span>, &amp;iter)) {</td></tr>
+<tr class="codeline" data-linenumber="2400"><td class="num" id="LN2400">2400</td><td class="line"> <span class='keyword'>do</span> {</td></tr>
+<tr class="codeline" data-linenumber="2401"><td class="num" id="LN2401">2401</td><td class="line"> gtk_tree_model_get (<span class='macro'>GTK_TREE_MODEL (priv-&gt;store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), ((gtk_tree_model_get_type ()))))))</span></span>, &amp;iter,</td></tr>
+<tr class="codeline" data-linenumber="2402"><td class="num" id="LN2402">2402</td><td class="line"> EOM_LIST_STORE_EOM_IMAGE, &amp;image,</td></tr>
+<tr class="codeline" data-linenumber="2403"><td class="num" id="LN2403">2403</td><td class="line"> -1);</td></tr>
+<tr class="codeline" data-linenumber="2404"><td class="num" id="LN2404">2404</td><td class="line"> <span class='keyword'>if</span> (!image)</td></tr>
+<tr class="codeline" data-linenumber="2405"><td class="num" id="LN2405">2405</td><td class="line"> <span class='keyword'>continue</span>;</td></tr>
+<tr class="codeline" data-linenumber="2406"><td class="num" id="LN2406">2406</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2407"><td class="num" id="LN2407">2407</td><td class="line"> <span class='keyword'>if</span> (eom_image_is_modified (image)) {</td></tr>
+<tr class="codeline" data-linenumber="2408"><td class="num" id="LN2408">2408</td><td class="line"> list = g_list_prepend (list, image);</td></tr>
+<tr class="codeline" data-linenumber="2409"><td class="num" id="LN2409">2409</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2410"><td class="num" id="LN2410">2410</td><td class="line"> } <span class='keyword'>while</span> (gtk_tree_model_iter_next (<span class='macro'>GTK_TREE_MODEL (priv-&gt;store)<span class='macro_popup'>((((GtkTreeModel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), ((gtk_tree_model_get_type ()))))))</span></span>, &amp;iter));</td></tr>
+<tr class="codeline" data-linenumber="2411"><td class="num" id="LN2411">2411</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2412"><td class="num" id="LN2412">2412</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2413"><td class="num" id="LN2413">2413</td><td class="line"> <span class='keyword'>if</span> (list) {</td></tr>
+<tr class="codeline" data-linenumber="2414"><td class="num" id="LN2414">2414</td><td class="line"> list = g_list_reverse (list);</td></tr>
+<tr class="codeline" data-linenumber="2415"><td class="num" id="LN2415">2415</td><td class="line"> dialog = eom_close_confirmation_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2416"><td class="num" id="LN2416">2416</td><td class="line"> list);</td></tr>
+<tr class="codeline" data-linenumber="2417"><td class="num" id="LN2417">2417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2418"><td class="num" id="LN2418">2418</td><td class="line"> g_list_free (list);</td></tr>
+<tr class="codeline" data-linenumber="2419"><td class="num" id="LN2419">2419</td><td class="line"> <span class='macro'>g_signal_connect (dialog, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>close_confirmation_dialog_response_handler))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2420"><td class="num" id="LN2420">2420</td><td class="line"> <span class='macro'>G_CALLBACK (close_confirmation_dialog_response_handler),<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>close_confirmation_dialog_response_handler))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2421"><td class="num" id="LN2421">2421</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>close_confirmation_dialog_response_handler))), (window), ((void<br>*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2422"><td class="num" id="LN2422">2422</td><td class="line"> gtk_window_set_destroy_with_parent (<span class='macro'>GTK_WINDOW (dialog)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2423"><td class="num" id="LN2423">2423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2424"><td class="num" id="LN2424">2424</td><td class="line"> gtk_widget_show (dialog);</td></tr>
+<tr class="codeline" data-linenumber="2425"><td class="num" id="LN2425">2425</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2426"><td class="num" id="LN2426">2426</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2427"><td class="num" id="LN2427">2427</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2428"><td class="num" id="LN2428">2428</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2429"><td class="num" id="LN2429">2429</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2430"><td class="num" id="LN2430">2430</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2431"><td class="num" id="LN2431">2431</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2432"><td class="num" id="LN2432">2432</td><td class="line">eom_window_cmd_close_window (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2433"><td class="num" id="LN2433">2433</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2434"><td class="num" id="LN2434">2434</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2435"><td class="num" id="LN2435">2435</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2436"><td class="num" id="LN2436">2436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2437"><td class="num" id="LN2437">2437</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2438"><td class="num" id="LN2438">2438</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2439"><td class="num" id="LN2439">2439</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2440"><td class="num" id="LN2440">2440</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2441"><td class="num" id="LN2441">2441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2442"><td class="num" id="LN2442">2442</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;save_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2443"><td class="num" id="LN2443">2443</td><td class="line"> eom_window_finish_saving (window);</td></tr>
+<tr class="codeline" data-linenumber="2444"><td class="num" id="LN2444">2444</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2445"><td class="num" id="LN2445">2445</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2446"><td class="num" id="LN2446">2446</td><td class="line"> <span class='keyword'>if</span> (!eom_window_unsaved_images_confirm (window)) {</td></tr>
+<tr class="codeline" data-linenumber="2447"><td class="num" id="LN2447">2447</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (user_data)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2448"><td class="num" id="LN2448">2448</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2449"><td class="num" id="LN2449">2449</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2450"><td class="num" id="LN2450">2450</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2451"><td class="num" id="LN2451">2451</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2452"><td class="num" id="LN2452">2452</td><td class="line">eom_window_cmd_preferences (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2453"><td class="num" id="LN2453">2453</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2454"><td class="num" id="LN2454">2454</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2455"><td class="num" id="LN2455">2455</td><td class="line"> GtkWidget *pref_dlg;</td></tr>
+<tr class="codeline" data-linenumber="2456"><td class="num" id="LN2456">2456</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2457"><td class="num" id="LN2457">2457</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2458"><td class="num" id="LN2458">2458</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2459"><td class="num" id="LN2459">2459</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2460"><td class="num" id="LN2460">2460</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2461"><td class="num" id="LN2461">2461</td><td class="line"> pref_dlg = eom_preferences_dialog_get_instance (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2462"><td class="num" id="LN2462">2462</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2463"><td class="num" id="LN2463">2463</td><td class="line"> gtk_widget_show (pref_dlg);</td></tr>
+<tr class="codeline" data-linenumber="2464"><td class="num" id="LN2464">2464</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2465"><td class="num" id="LN2465">2465</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2466"><td class="num" id="LN2466">2466</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_TB_EDITOR_DLG_RESET_RESPONSE<span class='macro_popup'>128</span></span> 128</span></td></tr>
+<tr class="codeline" data-linenumber="2467"><td class="num" id="LN2467">2467</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2468"><td class="num" id="LN2468">2468</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2469"><td class="num" id="LN2469">2469</td><td class="line">eom_window_cmd_edit_toolbar_cb (GtkDialog *dialog, gint response, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="2470"><td class="num" id="LN2470">2470</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2471"><td class="num" id="LN2471">2471</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2472"><td class="num" id="LN2472">2472</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2473"><td class="num" id="LN2473">2473</td><td class="line"> <span class='keyword'>if</span> (response == <span class='macro'>EOM_TB_EDITOR_DLG_RESET_RESPONSE<span class='macro_popup'>128</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2474"><td class="num" id="LN2474">2474</td><td class="line"> EggToolbarsModel *model;</td></tr>
+<tr class="codeline" data-linenumber="2475"><td class="num" id="LN2475">2475</td><td class="line"> EggToolbarEditor *editor;</td></tr>
+<tr class="codeline" data-linenumber="2476"><td class="num" id="LN2476">2476</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2477"><td class="num" id="LN2477">2477</td><td class="line"> editor = g_object_get_data (<span class='macro'>G_OBJECT (dialog)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2478"><td class="num" id="LN2478">2478</td><td class="line"> <span class='string_literal'>"EggToolbarEditor"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2479"><td class="num" id="LN2479">2479</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2480"><td class="num" id="LN2480">2480</td><td class="line"> <span class='macro'>g_return_if_fail (editor != NULL)<span class='macro_popup'>do { if ((editor != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "editor != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2481"><td class="num" id="LN2481">2481</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2482"><td class="num" id="LN2482">2482</td><td class="line"> egg_editable_toolbar_set_edit_mode</td></tr>
+<tr class="codeline" data-linenumber="2483"><td class="num" id="LN2483">2483</td><td class="line"> (<span class='macro'>EGG_EDITABLE_TOOLBAR (window-&gt;priv-&gt;toolbar)<span class='macro_popup'>((((EggEditableToolbar*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((window-&gt;priv-&gt;toolbar)), ((egg_editable_toolbar_get_type<br> ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2484"><td class="num" id="LN2484">2484</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2485"><td class="num" id="LN2485">2485</td><td class="line"> eom_application_reset_toolbars_model (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2486"><td class="num" id="LN2486">2486</td><td class="line"> model = eom_application_get_toolbars_model (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2487"><td class="num" id="LN2487">2487</td><td class="line"> egg_editable_toolbar_set_model</td></tr>
+<tr class="codeline" data-linenumber="2488"><td class="num" id="LN2488">2488</td><td class="line"> (<span class='macro'>EGG_EDITABLE_TOOLBAR (window-&gt;priv-&gt;toolbar)<span class='macro_popup'>((((EggEditableToolbar*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((window-&gt;priv-&gt;toolbar)), ((egg_editable_toolbar_get_type<br> ()))))))</span></span>, model);</td></tr>
+<tr class="codeline" data-linenumber="2489"><td class="num" id="LN2489">2489</td><td class="line"> egg_toolbar_editor_set_model (editor, model);</td></tr>
+<tr class="codeline" data-linenumber="2490"><td class="num" id="LN2490">2490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2491"><td class="num" id="LN2491">2491</td><td class="line"> <span class='comment'>/* Toolbar would be uneditable now otherwise */</span></td></tr>
+<tr class="codeline" data-linenumber="2492"><td class="num" id="LN2492">2492</td><td class="line"> egg_editable_toolbar_set_edit_mode</td></tr>
+<tr class="codeline" data-linenumber="2493"><td class="num" id="LN2493">2493</td><td class="line"> (<span class='macro'>EGG_EDITABLE_TOOLBAR (window-&gt;priv-&gt;toolbar)<span class='macro_popup'>((((EggEditableToolbar*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((window-&gt;priv-&gt;toolbar)), ((egg_editable_toolbar_get_type<br> ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2494"><td class="num" id="LN2494">2494</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (response == GTK_RESPONSE_HELP) {</td></tr>
+<tr class="codeline" data-linenumber="2495"><td class="num" id="LN2495">2495</td><td class="line"> eom_util_show_help (<span class='string_literal'>"eom-toolbareditor"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2496"><td class="num" id="LN2496">2496</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2497"><td class="num" id="LN2497">2497</td><td class="line"> egg_editable_toolbar_set_edit_mode</td></tr>
+<tr class="codeline" data-linenumber="2498"><td class="num" id="LN2498">2498</td><td class="line"> (<span class='macro'>EGG_EDITABLE_TOOLBAR (window-&gt;priv-&gt;toolbar)<span class='macro_popup'>((((EggEditableToolbar*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((window-&gt;priv-&gt;toolbar)), ((egg_editable_toolbar_get_type<br> ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2499"><td class="num" id="LN2499">2499</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2500"><td class="num" id="LN2500">2500</td><td class="line"> eom_application_save_toolbars_model (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2501"><td class="num" id="LN2501">2501</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2502"><td class="num" id="LN2502">2502</td><td class="line"> gtk_widget_destroy (<span class='macro'>GTK_WIDGET (dialog)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2503"><td class="num" id="LN2503">2503</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2504"><td class="num" id="LN2504">2504</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2505"><td class="num" id="LN2505">2505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2506"><td class="num" id="LN2506">2506</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2507"><td class="num" id="LN2507">2507</td><td class="line">eom_window_cmd_edit_toolbar (GtkAction *action, gpointer *user_data)</td></tr>
+<tr class="codeline" data-linenumber="2508"><td class="num" id="LN2508">2508</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2509"><td class="num" id="LN2509">2509</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2510"><td class="num" id="LN2510">2510</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="2511"><td class="num" id="LN2511">2511</td><td class="line"> GtkWidget *editor;</td></tr>
+<tr class="codeline" data-linenumber="2512"><td class="num" id="LN2512">2512</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2513"><td class="num" id="LN2513">2513</td><td class="line"> <span class="mrange"><span class="mrange"><span class='macro'>g_return_if_fail</span></span> (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:9ex; max-width:31em">Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption</div></td></tr>
+<tr class="codeline" data-linenumber="2514"><td class="num" id="LN2514">2514</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2515"><td class="num" id="LN2515">2515</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2516"><td class="num" id="LN2516">2516</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2517"><td class="num" id="LN2517">2517</td><td class="line"> dialog = gtk_dialog_new_with_buttons (<span class='macro'>_(<span class='string_literal'>"Toolbar Editor"</span>)<span class='macro_popup'>gettext ("Toolbar Editor")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2518"><td class="num" id="LN2518">2518</td><td class="line"> <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2519"><td class="num" id="LN2519">2519</td><td class="line"> GTK_DIALOG_DESTROY_WITH_PARENT,</td></tr>
+<tr class="codeline" data-linenumber="2520"><td class="num" id="LN2520">2520</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"_Reset to Default"</span>)<span class='macro_popup'>gettext ("_Reset to Default")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2521"><td class="num" id="LN2521">2521</td><td class="line"> <span class='macro'>EOM_TB_EDITOR_DLG_RESET_RESPONSE<span class='macro_popup'>128</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2522"><td class="num" id="LN2522">2522</td><td class="line"> <span class='string_literal'>"gtk-close"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2523"><td class="num" id="LN2523">2523</td><td class="line"> GTK_RESPONSE_CLOSE,</td></tr>
+<tr class="codeline" data-linenumber="2524"><td class="num" id="LN2524">2524</td><td class="line"> <span class='string_literal'>"gtk-help"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2525"><td class="num" id="LN2525">2525</td><td class="line"> GTK_RESPONSE_HELP,</td></tr>
+<tr class="codeline" data-linenumber="2526"><td class="num" id="LN2526">2526</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2527"><td class="num" id="LN2527">2527</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2528"><td class="num" id="LN2528">2528</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_dialog_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2529"><td class="num" id="LN2529">2529</td><td class="line"> GTK_RESPONSE_CLOSE);</td></tr>
+<tr class="codeline" data-linenumber="2530"><td class="num" id="LN2530">2530</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2531"><td class="num" id="LN2531">2531</td><td class="line"> gtk_container_set_border_width (<span class='macro'>GTK_CONTAINER (dialog)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_container_get_type ()))))))</span></span>, 5);</td></tr>
+<tr class="codeline" data-linenumber="2532"><td class="num" id="LN2532">2532</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2533"><td class="num" id="LN2533">2533</td><td class="line"> gtk_box_set_spacing (<span class='macro'>GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dialog)))<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_dialog_get_content_area (((((GtkDialog*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), ((gtk_dialog_get_type ()))))))<br>))), ((gtk_box_get_type ()))))))</span></span>, 2);</td></tr>
+<tr class="codeline" data-linenumber="2534"><td class="num" id="LN2534">2534</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2535"><td class="num" id="LN2535">2535</td><td class="line"> gtk_window_set_default_size (<span class='macro'>GTK_WINDOW (dialog)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_window_get_type ()))))))</span></span>, 500, 400);</td></tr>
+<tr class="codeline" data-linenumber="2536"><td class="num" id="LN2536">2536</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2537"><td class="num" id="LN2537">2537</td><td class="line"> editor = egg_toolbar_editor_new (window-&gt;priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="2538"><td class="num" id="LN2538">2538</td><td class="line"> eom_application_get_toolbars_model (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="2539"><td class="num" id="LN2539">2539</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2540"><td class="num" id="LN2540">2540</td><td class="line"> gtk_container_set_border_width (<span class='macro'>GTK_CONTAINER (editor)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((editor)), ((gtk_container_get_type ()))))))</span></span>, 5);</td></tr>
+<tr class="codeline" data-linenumber="2541"><td class="num" id="LN2541">2541</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2542"><td class="num" id="LN2542">2542</td><td class="line"> <span class='comment'>// Use as much vertical space as available</span></td></tr>
+<tr class="codeline" data-linenumber="2543"><td class="num" id="LN2543">2543</td><td class="line"> gtk_widget_set_vexpand (<span class='macro'>GTK_WIDGET (editor)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((editor)), ((gtk_widget_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2544"><td class="num" id="LN2544">2544</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2545"><td class="num" id="LN2545">2545</td><td class="line"> gtk_box_set_spacing (<span class='macro'>GTK_BOX (EGG_TOOLBAR_EDITOR (editor))<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EggToolbarEditor*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((editor)), ((egg_toolbar_editor_get_type (<br>))))))))), ((gtk_box_get_type ()))))))</span></span>, 5);</td></tr>
+<tr class="codeline" data-linenumber="2546"><td class="num" id="LN2546">2546</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2547"><td class="num" id="LN2547">2547</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (dialog)))<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_dialog_get_content_area (((((GtkDialog*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dialog)), ((gtk_dialog_get_type ()))))))<br>))), ((gtk_container_get_type ()))))))</span></span>, editor);</td></tr>
+<tr class="codeline" data-linenumber="2548"><td class="num" id="LN2548">2548</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2549"><td class="num" id="LN2549">2549</td><td class="line"> egg_editable_toolbar_set_edit_mode</td></tr>
+<tr class="codeline" data-linenumber="2550"><td class="num" id="LN2550">2550</td><td class="line"> (<span class='macro'>EGG_EDITABLE_TOOLBAR (window-&gt;priv-&gt;toolbar)<span class='macro_popup'>((((EggEditableToolbar*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((window-&gt;priv-&gt;toolbar)), ((egg_editable_toolbar_get_type<br> ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2551"><td class="num" id="LN2551">2551</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2552"><td class="num" id="LN2552">2552</td><td class="line"> g_object_set_data (<span class='macro'>G_OBJECT (dialog)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"EggToolbarEditor"</span>, editor);</td></tr>
+<tr class="codeline" data-linenumber="2553"><td class="num" id="LN2553">2553</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2554"><td class="num" id="LN2554">2554</td><td class="line"> <span class='macro'>g_signal_connect (dialog, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>eom_window_cmd_edit_toolbar_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2555"><td class="num" id="LN2555">2555</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_edit_toolbar_cb),<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>eom_window_cmd_edit_toolbar_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2556"><td class="num" id="LN2556">2556</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((dialog), ("response"), (((GCallback) (<br>eom_window_cmd_edit_toolbar_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2557"><td class="num" id="LN2557">2557</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2558"><td class="num" id="LN2558">2558</td><td class="line"> gtk_widget_show_all (dialog);</td></tr>
+<tr class="codeline" data-linenumber="2559"><td class="num" id="LN2559">2559</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2560"><td class="num" id="LN2560">2560</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2561"><td class="num" id="LN2561">2561</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2562"><td class="num" id="LN2562">2562</td><td class="line">eom_window_cmd_help (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2563"><td class="num" id="LN2563">2563</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2564"><td class="num" id="LN2564">2564</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2565"><td class="num" id="LN2565">2565</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2566"><td class="num" id="LN2566">2566</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2567"><td class="num" id="LN2567">2567</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2568"><td class="num" id="LN2568">2568</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2569"><td class="num" id="LN2569">2569</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2570"><td class="num" id="LN2570">2570</td><td class="line"> eom_util_show_help (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2571"><td class="num" id="LN2571">2571</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2572"><td class="num" id="LN2572">2572</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2573"><td class="num" id="LN2573">2573</td><td class="line"><span class='directive'>#define <span class='macro'>ABOUT_GROUP<span class='macro_popup'>"About"</span></span> "About"</span></td></tr>
+<tr class="codeline" data-linenumber="2574"><td class="num" id="LN2574">2574</td><td class="line"><span class='directive'>#define <span class='macro'>EMAILIFY(string)<span class='macro_popup'>(g_strdelimit ((string), "%", '@'))</span></span> (g_strdelimit ((string), "%", '@'))</span></td></tr>
+<tr class="codeline" data-linenumber="2575"><td class="num" id="LN2575">2575</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2576"><td class="num" id="LN2576">2576</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2577"><td class="num" id="LN2577">2577</td><td class="line">eom_window_cmd_about (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2578"><td class="num" id="LN2578">2578</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2579"><td class="num" id="LN2579">2579</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2580"><td class="num" id="LN2580">2580</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2581"><td class="num" id="LN2581">2581</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2582"><td class="num" id="LN2582">2582</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2583"><td class="num" id="LN2583">2583</td><td class="line"> <span class='keyword'>const</span> <span class='keyword'>char</span> *license[] = {</td></tr>
+<tr class="codeline" data-linenumber="2584"><td class="num" id="LN2584">2584</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"This program is free software; you can redistribute it and/or modify "<span class='macro_popup'>("This program is free software; you can redistribute it and/or modify "<br> "it under the terms of the GNU General Public License as published by "<br> "the Free Software Foundation; either version 2 of the License, or "<br> "(at your option) any later version.\n")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2585"><td class="num" id="LN2585">2585</td><td class="line"> <span class='string_literal'><span class='macro'>"it under the terms of the GNU General Public License as published by "<span class='macro_popup'>("This program is free software; you can redistribute it and/or modify "<br> "it under the terms of the GNU General Public License as published by "<br> "the Free Software Foundation; either version 2 of the License, or "<br> "(at your option) any later version.\n")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2586"><td class="num" id="LN2586">2586</td><td class="line"> <span class='string_literal'><span class='macro'>"the Free Software Foundation; either version 2 of the License, or "<span class='macro_popup'>("This program is free software; you can redistribute it and/or modify "<br> "it under the terms of the GNU General Public License as published by "<br> "the Free Software Foundation; either version 2 of the License, or "<br> "(at your option) any later version.\n")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2587"><td class="num" id="LN2587">2587</td><td class="line"> <span class='string_literal'><span class='macro'>"(at your option) any later version.\n"</span>)<span class='macro_popup'>("This program is free software; you can redistribute it and/or modify "<br> "it under the terms of the GNU General Public License as published by "<br> "the Free Software Foundation; either version 2 of the License, or "<br> "(at your option) any later version.\n")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2588"><td class="num" id="LN2588">2588</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"This program is distributed in the hope that it will be useful, "<span class='macro_popup'>("This program is distributed in the hope that it will be useful, "<br> "but WITHOUT ANY WARRANTY; without even the implied warranty of "<br> "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "<br> "GNU General Public License for more details.\n")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2589"><td class="num" id="LN2589">2589</td><td class="line"> <span class='string_literal'><span class='macro'>"but WITHOUT ANY WARRANTY; without even the implied warranty of "<span class='macro_popup'>("This program is distributed in the hope that it will be useful, "<br> "but WITHOUT ANY WARRANTY; without even the implied warranty of "<br> "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "<br> "GNU General Public License for more details.\n")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2590"><td class="num" id="LN2590">2590</td><td class="line"> <span class='string_literal'><span class='macro'>"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "<span class='macro_popup'>("This program is distributed in the hope that it will be useful, "<br> "but WITHOUT ANY WARRANTY; without even the implied warranty of "<br> "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "<br> "GNU General Public License for more details.\n")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2591"><td class="num" id="LN2591">2591</td><td class="line"> <span class='string_literal'><span class='macro'>"GNU General Public License for more details.\n"</span>)<span class='macro_popup'>("This program is distributed in the hope that it will be useful, "<br> "but WITHOUT ANY WARRANTY; without even the implied warranty of "<br> "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the "<br> "GNU General Public License for more details.\n")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2592"><td class="num" id="LN2592">2592</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"You should have received a copy of the GNU General Public License "<span class='macro_popup'>("You should have received a copy of the GNU General Public License "<br> "along with this program; if not, write to the Free Software "<br> "Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA."<br>)</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2593"><td class="num" id="LN2593">2593</td><td class="line"> <span class='string_literal'><span class='macro'>"along with this program; if not, write to the Free Software "<span class='macro_popup'>("You should have received a copy of the GNU General Public License "<br> "along with this program; if not, write to the Free Software "<br> "Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA."<br>)</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2594"><td class="num" id="LN2594">2594</td><td class="line"> <span class='string_literal'><span class='macro'>"Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA."</span>)<span class='macro_popup'>("You should have received a copy of the GNU General Public License "<br> "along with this program; if not, write to the Free Software "<br> "Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA."<br>)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2595"><td class="num" id="LN2595">2595</td><td class="line"> };</td></tr>
+<tr class="codeline" data-linenumber="2596"><td class="num" id="LN2596">2596</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2597"><td class="num" id="LN2597">2597</td><td class="line"> <span class='keyword'>char</span> *license_trans;</td></tr>
+<tr class="codeline" data-linenumber="2598"><td class="num" id="LN2598">2598</td><td class="line"> GKeyFile *key_file;</td></tr>
+<tr class="codeline" data-linenumber="2599"><td class="num" id="LN2599">2599</td><td class="line"> GBytes *bytes;</td></tr>
+<tr class="codeline" data-linenumber="2600"><td class="num" id="LN2600">2600</td><td class="line"> <span class='keyword'>const</span> guint8 *data;</td></tr>
+<tr class="codeline" data-linenumber="2601"><td class="num" id="LN2601">2601</td><td class="line"> gsize data_len;</td></tr>
+<tr class="codeline" data-linenumber="2602"><td class="num" id="LN2602">2602</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2603"><td class="num" id="LN2603">2603</td><td class="line"> <span class='keyword'>char</span> **authors, **documenters;</td></tr>
+<tr class="codeline" data-linenumber="2604"><td class="num" id="LN2604">2604</td><td class="line"> gsize n_authors = 0, n_documenters = 0 , i;</td></tr>
+<tr class="codeline" data-linenumber="2605"><td class="num" id="LN2605">2605</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2606"><td class="num" id="LN2606">2606</td><td class="line"> bytes = g_resources_lookup_data (<span class='string_literal'>"/org/mate/eom/ui/eom.about"</span>, G_RESOURCE_LOOKUP_FLAGS_NONE, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="2607"><td class="num" id="LN2607">2607</td><td class="line"> <span class='macro'>g_assert_no_error (error)<span class='macro_popup'>do { if (error) g_assertion_message_error ("EOM", "eom-window.c"<br>, 2607, ((const char*) (__func__)), "error", error, 0, 0); } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2608"><td class="num" id="LN2608">2608</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2609"><td class="num" id="LN2609">2609</td><td class="line"> data = g_bytes_get_data (bytes, &amp;data_len);</td></tr>
+<tr class="codeline" data-linenumber="2610"><td class="num" id="LN2610">2610</td><td class="line"> key_file = g_key_file_new ();</td></tr>
+<tr class="codeline" data-linenumber="2611"><td class="num" id="LN2611">2611</td><td class="line"> g_key_file_load_from_data (key_file, (<span class='keyword'>const</span> <span class='keyword'>char</span> *) data, data_len, 0, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="2612"><td class="num" id="LN2612">2612</td><td class="line"> <span class='macro'>g_assert_no_error (error)<span class='macro_popup'>do { if (error) g_assertion_message_error ("EOM", "eom-window.c"<br>, 2612, ((const char*) (__func__)), "error", error, 0, 0); } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2613"><td class="num" id="LN2613">2613</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2614"><td class="num" id="LN2614">2614</td><td class="line"> authors = g_key_file_get_string_list (key_file, <span class='macro'>ABOUT_GROUP<span class='macro_popup'>"About"</span></span>, <span class='string_literal'>"Authors"</span>, &amp;n_authors, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2615"><td class="num" id="LN2615">2615</td><td class="line"> documenters = g_key_file_get_string_list (key_file, <span class='macro'>ABOUT_GROUP<span class='macro_popup'>"About"</span></span>, <span class='string_literal'>"Documenters"</span>, &amp;n_documenters, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2616"><td class="num" id="LN2616">2616</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2617"><td class="num" id="LN2617">2617</td><td class="line"> g_key_file_free (key_file);</td></tr>
+<tr class="codeline" data-linenumber="2618"><td class="num" id="LN2618">2618</td><td class="line"> g_bytes_unref (bytes);</td></tr>
+<tr class="codeline" data-linenumber="2619"><td class="num" id="LN2619">2619</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2620"><td class="num" id="LN2620">2620</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; n_authors; ++i)</td></tr>
+<tr class="codeline" data-linenumber="2621"><td class="num" id="LN2621">2621</td><td class="line"> authors[i] = <span class='macro'>EMAILIFY (authors[i])<span class='macro_popup'>(g_strdelimit ((authors[i]), "%", '@'))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2622"><td class="num" id="LN2622">2622</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; n_documenters; ++i)</td></tr>
+<tr class="codeline" data-linenumber="2623"><td class="num" id="LN2623">2623</td><td class="line"> documenters[i] = <span class='macro'>EMAILIFY (documenters[i])<span class='macro_popup'>(g_strdelimit ((documenters[i]), "%", '@'))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2624"><td class="num" id="LN2624">2624</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2625"><td class="num" id="LN2625">2625</td><td class="line"> license_trans = g_strconcat (<span class='macro'>_(license[0])<span class='macro_popup'>gettext (license[0])</span></span>, <span class='string_literal'>"\n"</span>, <span class='macro'>_(license[1])<span class='macro_popup'>gettext (license[1])</span></span>, <span class='string_literal'>"\n"</span>, <span class='macro'>_(license[2])<span class='macro_popup'>gettext (license[2])</span></span>, <span class='string_literal'>"\n"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2626"><td class="num" id="LN2626">2626</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2627"><td class="num" id="LN2627">2627</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2628"><td class="num" id="LN2628">2628</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2629"><td class="num" id="LN2629">2629</td><td class="line"> gtk_show_about_dialog (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2630"><td class="num" id="LN2630">2630</td><td class="line"> <span class='string_literal'>"program-name"</span>, <span class='macro'>_(<span class='string_literal'>"Eye of MATE"</span>)<span class='macro_popup'>gettext ("Eye of MATE")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2631"><td class="num" id="LN2631">2631</td><td class="line"> <span class='string_literal'>"title"</span>, <span class='macro'>_(<span class='string_literal'>"About Eye of MATE"</span>)<span class='macro_popup'>gettext ("About Eye of MATE")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2632"><td class="num" id="LN2632">2632</td><td class="line"> <span class='string_literal'>"version"</span>, <span class='macro'>VERSION<span class='macro_popup'>"1.27.1"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2633"><td class="num" id="LN2633">2633</td><td class="line"> <span class='string_literal'>"copyright"</span>, <span class='macro'>_(<span class='string_literal'>"Copyright \xc2\xa9 2000-2010 Free Software Foundation, Inc.\n"<span class='macro_popup'>gettext ("Copyright \xc2\xa9 2000-2010 Free Software Foundation, Inc.\n"<br> "Copyright \xc2\xa9 2011 Perberos\n" "Copyright \xc2\xa9 2012-2021 MATE developers"<br>)</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2634"><td class="num" id="LN2634">2634</td><td class="line"> <span class='string_literal'><span class='macro'>"Copyright \xc2\xa9 2011 Perberos\n"<span class='macro_popup'>gettext ("Copyright \xc2\xa9 2000-2010 Free Software Foundation, Inc.\n"<br> "Copyright \xc2\xa9 2011 Perberos\n" "Copyright \xc2\xa9 2012-2021 MATE developers"<br>)</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2635"><td class="num" id="LN2635">2635</td><td class="line"> <span class='string_literal'><span class='macro'>"Copyright \xc2\xa9 2012-2021 MATE developers"</span>)<span class='macro_popup'>gettext ("Copyright \xc2\xa9 2000-2010 Free Software Foundation, Inc.\n"<br> "Copyright \xc2\xa9 2011 Perberos\n" "Copyright \xc2\xa9 2012-2021 MATE developers"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2636"><td class="num" id="LN2636">2636</td><td class="line"> <span class='string_literal'>"comments"</span>,<span class='macro'>_(<span class='string_literal'>"Eye of MATE is a simple graphics viewer for the MATE Desktop Environment."</span>)<span class='macro_popup'>gettext ("Eye of MATE is a simple graphics viewer for the MATE Desktop Environment."<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2637"><td class="num" id="LN2637">2637</td><td class="line"> <span class='string_literal'>"authors"</span>, authors,</td></tr>
+<tr class="codeline" data-linenumber="2638"><td class="num" id="LN2638">2638</td><td class="line"> <span class='string_literal'>"documenters"</span>, documenters,</td></tr>
+<tr class="codeline" data-linenumber="2639"><td class="num" id="LN2639">2639</td><td class="line"> <span class='string_literal'>"translator-credits"</span>, <span class='macro'>_(<span class='string_literal'>"translator-credits"</span>)<span class='macro_popup'>gettext ("translator-credits")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2640"><td class="num" id="LN2640">2640</td><td class="line"> <span class='string_literal'>"website"</span>, <span class='macro'>PACKAGE_URL<span class='macro_popup'>"https://mate-desktop.org"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2641"><td class="num" id="LN2641">2641</td><td class="line"> <span class='string_literal'>"logo-icon-name"</span>, <span class='string_literal'>"eom"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2642"><td class="num" id="LN2642">2642</td><td class="line"> <span class='string_literal'>"wrap-license"</span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2643"><td class="num" id="LN2643">2643</td><td class="line"> <span class='string_literal'>"license"</span>, license_trans,</td></tr>
+<tr class="codeline" data-linenumber="2644"><td class="num" id="LN2644">2644</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2645"><td class="num" id="LN2645">2645</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2646"><td class="num" id="LN2646">2646</td><td class="line"> g_strfreev (authors);</td></tr>
+<tr class="codeline" data-linenumber="2647"><td class="num" id="LN2647">2647</td><td class="line"> g_strfreev (documenters);</td></tr>
+<tr class="codeline" data-linenumber="2648"><td class="num" id="LN2648">2648</td><td class="line"> g_free (license_trans);</td></tr>
+<tr class="codeline" data-linenumber="2649"><td class="num" id="LN2649">2649</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2650"><td class="num" id="LN2650">2650</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2651"><td class="num" id="LN2651">2651</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2652"><td class="num" id="LN2652">2652</td><td class="line">eom_window_cmd_show_hide_bar (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2653"><td class="num" id="LN2653">2653</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2654"><td class="num" id="LN2654">2654</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2655"><td class="num" id="LN2655">2655</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2656"><td class="num" id="LN2656">2656</td><td class="line"> gboolean visible;</td></tr>
+<tr class="codeline" data-linenumber="2657"><td class="num" id="LN2657">2657</td><td class="line"> <span class='keyword'>const</span> gchar *action_name;</td></tr>
+<tr class="codeline" data-linenumber="2658"><td class="num" id="LN2658">2658</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2659"><td class="num" id="LN2659">2659</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2660"><td class="num" id="LN2660">2660</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2661"><td class="num" id="LN2661">2661</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2662"><td class="num" id="LN2662">2662</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2663"><td class="num" id="LN2663">2663</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2664"><td class="num" id="LN2664">2664</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;mode != EOM_WINDOW_MODE_NORMAL &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="2665"><td class="num" id="LN2665">2665</td><td class="line"> priv-&gt;mode != EOM_WINDOW_MODE_FULLSCREEN) <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2666"><td class="num" id="LN2666">2666</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2667"><td class="num" id="LN2667">2667</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2668"><td class="num" id="LN2668">2668</td><td class="line"> visible = gtk_toggle_action_get_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2669"><td class="num" id="LN2669">2669</td><td class="line"> action_name = gtk_action_get_name (action);</td></tr>
+<tr class="codeline" data-linenumber="2670"><td class="num" id="LN2670">2670</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2671"><td class="num" id="LN2671">2671</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2672"><td class="num" id="LN2672">2672</td><td class="line"> <span class='keyword'>if</span> (g_ascii_strcasecmp (action_name, <span class='string_literal'>"ViewToolbar"</span>) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="2673"><td class="num" id="LN2673">2673</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (priv-&gt;toolbar)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;toolbar)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"visible"</span>, visible, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2674"><td class="num" id="LN2674">2674</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2675"><td class="num" id="LN2675">2675</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;mode == EOM_WINDOW_MODE_NORMAL)</td></tr>
+<tr class="codeline" data-linenumber="2676"><td class="num" id="LN2676">2676</td><td class="line"> g_settings_set_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_TOOLBAR<span class='macro_popup'>"toolbar"</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="2677"><td class="num" id="LN2677">2677</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2678"><td class="num" id="LN2678">2678</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (g_ascii_strcasecmp (action_name, <span class='string_literal'>"ViewStatusbar"</span>) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="2679"><td class="num" id="LN2679">2679</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (priv-&gt;statusbar)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), (((GType) ((20) &lt;&lt; (2)))))))<br>)</span></span>, <span class='string_literal'>"visible"</span>, visible, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2680"><td class="num" id="LN2680">2680</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2681"><td class="num" id="LN2681">2681</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;mode == EOM_WINDOW_MODE_NORMAL)</td></tr>
+<tr class="codeline" data-linenumber="2682"><td class="num" id="LN2682">2682</td><td class="line"> g_settings_set_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_STATUSBAR<span class='macro_popup'>"statusbar"</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="2683"><td class="num" id="LN2683">2683</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2684"><td class="num" id="LN2684">2684</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (g_ascii_strcasecmp (action_name, <span class='string_literal'>"ViewImageCollection"</span>) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="2685"><td class="num" id="LN2685">2685</td><td class="line"> <span class='keyword'>if</span> (visible) {</td></tr>
+<tr class="codeline" data-linenumber="2686"><td class="num" id="LN2686">2686</td><td class="line"> <span class='comment'>/* Make sure the focus widget is realized to</span></td></tr>
+<tr class="codeline" data-linenumber="2687"><td class="num" id="LN2687">2687</td><td class="line"> <span class='comment'>* avoid warnings on keypress events */</span></td></tr>
+<tr class="codeline" data-linenumber="2688"><td class="num" id="LN2688">2688</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_realized (window-&gt;priv-&gt;thumbview))</td></tr>
+<tr class="codeline" data-linenumber="2689"><td class="num" id="LN2689">2689</td><td class="line"> gtk_widget_realize (window-&gt;priv-&gt;thumbview);</td></tr>
+<tr class="codeline" data-linenumber="2690"><td class="num" id="LN2690">2690</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2691"><td class="num" id="LN2691">2691</td><td class="line"> gtk_widget_show (priv-&gt;nav);</td></tr>
+<tr class="codeline" data-linenumber="2692"><td class="num" id="LN2692">2692</td><td class="line"> gtk_widget_grab_focus (priv-&gt;thumbview);</td></tr>
+<tr class="codeline" data-linenumber="2693"><td class="num" id="LN2693">2693</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2694"><td class="num" id="LN2694">2694</td><td class="line"> <span class='comment'>/* Make sure the focus widget is realized to</span></td></tr>
+<tr class="codeline" data-linenumber="2695"><td class="num" id="LN2695">2695</td><td class="line"> <span class='comment'>* avoid warnings on keypress events.</span></td></tr>
+<tr class="codeline" data-linenumber="2696"><td class="num" id="LN2696">2696</td><td class="line"> <span class='comment'>* Don't do it during init phase or the view</span></td></tr>
+<tr class="codeline" data-linenumber="2697"><td class="num" id="LN2697">2697</td><td class="line"> <span class='comment'>* will get a bogus allocation. */</span></td></tr>
+<tr class="codeline" data-linenumber="2698"><td class="num" id="LN2698">2698</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_realized (priv-&gt;view)</td></tr>
+<tr class="codeline" data-linenumber="2699"><td class="num" id="LN2699">2699</td><td class="line"> &amp;&amp; priv-&gt;status == EOM_WINDOW_STATUS_NORMAL)</td></tr>
+<tr class="codeline" data-linenumber="2700"><td class="num" id="LN2700">2700</td><td class="line"> gtk_widget_realize (priv-&gt;view);</td></tr>
+<tr class="codeline" data-linenumber="2701"><td class="num" id="LN2701">2701</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2702"><td class="num" id="LN2702">2702</td><td class="line"> gtk_widget_hide (priv-&gt;nav);</td></tr>
+<tr class="codeline" data-linenumber="2703"><td class="num" id="LN2703">2703</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2704"><td class="num" id="LN2704">2704</td><td class="line"> <span class='keyword'>if</span> (gtk_widget_get_realized (priv-&gt;view))</td></tr>
+<tr class="codeline" data-linenumber="2705"><td class="num" id="LN2705">2705</td><td class="line"> gtk_widget_grab_focus (priv-&gt;view);</td></tr>
+<tr class="codeline" data-linenumber="2706"><td class="num" id="LN2706">2706</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2707"><td class="num" id="LN2707">2707</td><td class="line"> g_settings_set_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_IMAGE_COLLECTION<span class='macro_popup'>"image-collection"</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="2708"><td class="num" id="LN2708">2708</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2709"><td class="num" id="LN2709">2709</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (g_ascii_strcasecmp (action_name, <span class='string_literal'>"ViewSidebar"</span>) == 0) {</td></tr>
+<tr class="codeline" data-linenumber="2710"><td class="num" id="LN2710">2710</td><td class="line"> <span class='keyword'>if</span> (visible) {</td></tr>
+<tr class="codeline" data-linenumber="2711"><td class="num" id="LN2711">2711</td><td class="line"> gtk_widget_show (priv-&gt;sidebar);</td></tr>
+<tr class="codeline" data-linenumber="2712"><td class="num" id="LN2712">2712</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2713"><td class="num" id="LN2713">2713</td><td class="line"> gtk_widget_hide (priv-&gt;sidebar);</td></tr>
+<tr class="codeline" data-linenumber="2714"><td class="num" id="LN2714">2714</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2715"><td class="num" id="LN2715">2715</td><td class="line"> g_settings_set_boolean (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_SIDEBAR<span class='macro_popup'>"sidebar"</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="2716"><td class="num" id="LN2716">2716</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2717"><td class="num" id="LN2717">2717</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2718"><td class="num" id="LN2718">2718</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2719"><td class="num" id="LN2719">2719</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2720"><td class="num" id="LN2720">2720</td><td class="line">wallpaper_info_bar_response (GtkInfoBar *bar, gint response, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="2721"><td class="num" id="LN2721">2721</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2722"><td class="num" id="LN2722">2722</td><td class="line"> <span class='keyword'>if</span> (response == GTK_RESPONSE_YES) {</td></tr>
+<tr class="codeline" data-linenumber="2723"><td class="num" id="LN2723">2723</td><td class="line"> GAppInfo *app_info;</td></tr>
+<tr class="codeline" data-linenumber="2724"><td class="num" id="LN2724">2724</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2725"><td class="num" id="LN2725">2725</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2726"><td class="num" id="LN2726">2726</td><td class="line"> app_info = g_app_info_create_from_commandline (<span class='string_literal'>"mate-appearance-properties --show-page=background"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2727"><td class="num" id="LN2727">2727</td><td class="line"> <span class='string_literal'>"mate-appearance-properties"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2728"><td class="num" id="LN2728">2728</td><td class="line"> G_APP_INFO_CREATE_NONE,</td></tr>
+<tr class="codeline" data-linenumber="2729"><td class="num" id="LN2729">2729</td><td class="line"> &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="2730"><td class="num" id="LN2730">2730</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2731"><td class="num" id="LN2731">2731</td><td class="line"> <span class='keyword'>if</span> (error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2732"><td class="num" id="LN2732">2732</td><td class="line"> g_warning (<span class='string_literal'>"%s%s"</span>, <span class='macro'>_(<span class='string_literal'>"Error launching appearance preferences dialog: "</span>)<span class='macro_popup'>gettext ("Error launching appearance preferences dialog: ")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2733"><td class="num" id="LN2733">2733</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="2734"><td class="num" id="LN2734">2734</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="2735"><td class="num" id="LN2735">2735</td><td class="line"> error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2736"><td class="num" id="LN2736">2736</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2737"><td class="num" id="LN2737">2737</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2738"><td class="num" id="LN2738">2738</td><td class="line"> <span class='keyword'>if</span> (app_info != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2739"><td class="num" id="LN2739">2739</td><td class="line"> GdkAppLaunchContext *context;</td></tr>
+<tr class="codeline" data-linenumber="2740"><td class="num" id="LN2740">2740</td><td class="line"> GdkDisplay *display;</td></tr>
+<tr class="codeline" data-linenumber="2741"><td class="num" id="LN2741">2741</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2742"><td class="num" id="LN2742">2742</td><td class="line"> display = gtk_widget_get_display (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2743"><td class="num" id="LN2743">2743</td><td class="line"> context = gdk_display_get_app_launch_context (display);</td></tr>
+<tr class="codeline" data-linenumber="2744"><td class="num" id="LN2744">2744</td><td class="line"> g_app_info_launch (app_info, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>G_APP_LAUNCH_CONTEXT (context)<span class='macro_popup'>((((GAppLaunchContext*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((context)), ((g_app_launch_context_get_type<br> ()))))))</span></span>, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="2745"><td class="num" id="LN2745">2745</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2746"><td class="num" id="LN2746">2746</td><td class="line"> <span class='keyword'>if</span> (error != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="2747"><td class="num" id="LN2747">2747</td><td class="line"> g_warning (<span class='string_literal'>"%s%s"</span>, <span class='macro'>_(<span class='string_literal'>"Error launching appearance preferences dialog: "</span>)<span class='macro_popup'>gettext ("Error launching appearance preferences dialog: ")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2748"><td class="num" id="LN2748">2748</td><td class="line"> error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="2749"><td class="num" id="LN2749">2749</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="2750"><td class="num" id="LN2750">2750</td><td class="line"> error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2751"><td class="num" id="LN2751">2751</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2752"><td class="num" id="LN2752">2752</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2753"><td class="num" id="LN2753">2753</td><td class="line"> g_object_unref (context);</td></tr>
+<tr class="codeline" data-linenumber="2754"><td class="num" id="LN2754">2754</td><td class="line"> g_object_unref (app_info);</td></tr>
+<tr class="codeline" data-linenumber="2755"><td class="num" id="LN2755">2755</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2756"><td class="num" id="LN2756">2756</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2757"><td class="num" id="LN2757">2757</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2758"><td class="num" id="LN2758">2758</td><td class="line"> <span class='comment'>/* Close message area on every response */</span></td></tr>
+<tr class="codeline" data-linenumber="2759"><td class="num" id="LN2759">2759</td><td class="line"> eom_window_set_message_area (window, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2760"><td class="num" id="LN2760">2760</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2761"><td class="num" id="LN2761">2761</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2762"><td class="num" id="LN2762">2762</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2763"><td class="num" id="LN2763">2763</td><td class="line">eom_window_set_wallpaper (EomWindow *window, <span class='keyword'>const</span> gchar *filename, <span class='keyword'>const</span> gchar *visible_filename)</td></tr>
+<tr class="codeline" data-linenumber="2764"><td class="num" id="LN2764">2764</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2765"><td class="num" id="LN2765">2765</td><td class="line"> GtkWidget *info_bar;</td></tr>
+<tr class="codeline" data-linenumber="2766"><td class="num" id="LN2766">2766</td><td class="line"> GtkWidget *image;</td></tr>
+<tr class="codeline" data-linenumber="2767"><td class="num" id="LN2767">2767</td><td class="line"> GtkWidget *label;</td></tr>
+<tr class="codeline" data-linenumber="2768"><td class="num" id="LN2768">2768</td><td class="line"> GtkWidget *hbox;</td></tr>
+<tr class="codeline" data-linenumber="2769"><td class="num" id="LN2769">2769</td><td class="line"> gchar *markup;</td></tr>
+<tr class="codeline" data-linenumber="2770"><td class="num" id="LN2770">2770</td><td class="line"> gchar *text;</td></tr>
+<tr class="codeline" data-linenumber="2771"><td class="num" id="LN2771">2771</td><td class="line"> gchar *basename;</td></tr>
+<tr class="codeline" data-linenumber="2772"><td class="num" id="LN2772">2772</td><td class="line"> GSettings *wallpaper_settings;</td></tr>
+<tr class="codeline" data-linenumber="2773"><td class="num" id="LN2773">2773</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2774"><td class="num" id="LN2774">2774</td><td class="line"> wallpaper_settings = g_settings_new (<span class='macro'>EOM_CONF_BACKGROUND_SCHEMA<span class='macro_popup'>"org.mate.background"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2775"><td class="num" id="LN2775">2775</td><td class="line"> g_settings_set_string (wallpaper_settings,</td></tr>
+<tr class="codeline" data-linenumber="2776"><td class="num" id="LN2776">2776</td><td class="line"> <span class='macro'>EOM_CONF_BACKGROUND_FILE<span class='macro_popup'>"picture-filename"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2777"><td class="num" id="LN2777">2777</td><td class="line"> filename);</td></tr>
+<tr class="codeline" data-linenumber="2778"><td class="num" id="LN2778">2778</td><td class="line"> g_object_unref (wallpaper_settings);</td></tr>
+<tr class="codeline" data-linenumber="2779"><td class="num" id="LN2779">2779</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2780"><td class="num" id="LN2780">2780</td><td class="line"> <span class='comment'>/* I18N: When setting mnemonics for these strings, watch out to not</span></td></tr>
+<tr class="codeline" data-linenumber="2781"><td class="num" id="LN2781">2781</td><td class="line"> <span class='comment'>clash with mnemonics from eom's menubar */</span></td></tr>
+<tr class="codeline" data-linenumber="2782"><td class="num" id="LN2782">2782</td><td class="line"> info_bar = gtk_info_bar_new_with_buttons (<span class='macro'>_(<span class='string_literal'>"_Open Background Preferences"</span>)<span class='macro_popup'>gettext ("_Open Background Preferences")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2783"><td class="num" id="LN2783">2783</td><td class="line"> GTK_RESPONSE_YES,</td></tr>
+<tr class="codeline" data-linenumber="2784"><td class="num" id="LN2784">2784</td><td class="line"> <span class='macro'>C_(<span class='string_literal'>"MessageArea"</span>,<span class='string_literal'>"Hi_de"</span>)<span class='macro_popup'>g_dpgettext (((void*)0), "MessageArea" "\004" "Hi_de", strlen<br> ("MessageArea") + 1)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2785"><td class="num" id="LN2785">2785</td><td class="line"> GTK_RESPONSE_NO, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2786"><td class="num" id="LN2786">2786</td><td class="line"> gtk_info_bar_set_message_type (<span class='macro'>GTK_INFO_BAR (info_bar)<span class='macro_popup'>((((GtkInfoBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((info_bar)), ((gtk_info_bar_get_type()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2787"><td class="num" id="LN2787">2787</td><td class="line"> GTK_MESSAGE_QUESTION);</td></tr>
+<tr class="codeline" data-linenumber="2788"><td class="num" id="LN2788">2788</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2789"><td class="num" id="LN2789">2789</td><td class="line"> image = gtk_image_new_from_icon_name (<span class='string_literal'>"dialog-question"</span>,</td></tr>
+<tr class="codeline" data-linenumber="2790"><td class="num" id="LN2790">2790</td><td class="line"> GTK_ICON_SIZE_DIALOG);</td></tr>
+<tr class="codeline" data-linenumber="2791"><td class="num" id="LN2791">2791</td><td class="line"> label = gtk_label_new (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2792"><td class="num" id="LN2792">2792</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2793"><td class="num" id="LN2793">2793</td><td class="line"> <span class='keyword'>if</span> (!visible_filename)</td></tr>
+<tr class="codeline" data-linenumber="2794"><td class="num" id="LN2794">2794</td><td class="line"> basename = g_path_get_basename (filename);</td></tr>
+<tr class="codeline" data-linenumber="2795"><td class="num" id="LN2795">2795</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2796"><td class="num" id="LN2796">2796</td><td class="line"> <span class='comment'>/* The newline character is currently necessary due to a problem</span></td></tr>
+<tr class="codeline" data-linenumber="2797"><td class="num" id="LN2797">2797</td><td class="line"> <span class='comment'>* with the automatic line break. */</span></td></tr>
+<tr class="codeline" data-linenumber="2798"><td class="num" id="LN2798">2798</td><td class="line"> text = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"The image \"%s\" has been set as Desktop Background."<span class='macro_popup'>gettext ("The image \"%s\" has been set as Desktop Background."<br> "\nWould you like to modify its appearance?")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="2799"><td class="num" id="LN2799">2799</td><td class="line"> <span class='string_literal'><span class='macro'>"\nWould you like to modify its appearance?"</span>)<span class='macro_popup'>gettext ("The image \"%s\" has been set as Desktop Background."<br> "\nWould you like to modify its appearance?")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2800"><td class="num" id="LN2800">2800</td><td class="line"> visible_filename ? visible_filename : basename);</td></tr>
+<tr class="codeline" data-linenumber="2801"><td class="num" id="LN2801">2801</td><td class="line"> markup = g_markup_printf_escaped (<span class='string_literal'>"&lt;b&gt;%s&lt;/b&gt;"</span>, text);</td></tr>
+<tr class="codeline" data-linenumber="2802"><td class="num" id="LN2802">2802</td><td class="line"> gtk_label_set_markup (<span class='macro'>GTK_LABEL (label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((label)), ((gtk_label_get_type ()))))))</span></span>, markup);</td></tr>
+<tr class="codeline" data-linenumber="2803"><td class="num" id="LN2803">2803</td><td class="line"> g_free (markup);</td></tr>
+<tr class="codeline" data-linenumber="2804"><td class="num" id="LN2804">2804</td><td class="line"> g_free (text);</td></tr>
+<tr class="codeline" data-linenumber="2805"><td class="num" id="LN2805">2805</td><td class="line"> <span class='keyword'>if</span> (!visible_filename)</td></tr>
+<tr class="codeline" data-linenumber="2806"><td class="num" id="LN2806">2806</td><td class="line"> g_free (basename);</td></tr>
+<tr class="codeline" data-linenumber="2807"><td class="num" id="LN2807">2807</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2808"><td class="num" id="LN2808">2808</td><td class="line"> hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 8);</td></tr>
+<tr class="codeline" data-linenumber="2809"><td class="num" id="LN2809">2809</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, image, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2810"><td class="num" id="LN2810">2810</td><td class="line"> gtk_widget_set_halign (image, GTK_ALIGN_START);</td></tr>
+<tr class="codeline" data-linenumber="2811"><td class="num" id="LN2811">2811</td><td class="line"> gtk_widget_set_valign (image, GTK_ALIGN_END);</td></tr>
+<tr class="codeline" data-linenumber="2812"><td class="num" id="LN2812">2812</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (hbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hbox)), ((gtk_box_get_type ()))))))</span></span>, label, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2813"><td class="num" id="LN2813">2813</td><td class="line"> gtk_label_set_xalign (<span class='macro'>GTK_LABEL (label)<span class='macro_popup'>((((GtkLabel*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((label)), ((gtk_label_get_type ()))))))</span></span>, 0.0);</td></tr>
+<tr class="codeline" data-linenumber="2814"><td class="num" id="LN2814">2814</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (gtk_info_bar_get_content_area (GTK_INFO_BAR (info_bar)))<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_info_bar_get_content_area (((((GtkInfoBar*) (void *)<br> g_type_check_instance_cast ((GTypeInstance*) ((info_bar)), (<br>(gtk_info_bar_get_type()))))))))), ((gtk_box_get_type ())))))<br>)</span></span>, hbox, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="2815"><td class="num" id="LN2815">2815</td><td class="line"> gtk_widget_show_all (hbox);</td></tr>
+<tr class="codeline" data-linenumber="2816"><td class="num" id="LN2816">2816</td><td class="line"> gtk_widget_show (info_bar);</td></tr>
+<tr class="codeline" data-linenumber="2817"><td class="num" id="LN2817">2817</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2818"><td class="num" id="LN2818">2818</td><td class="line"> eom_window_set_message_area (window, info_bar);</td></tr>
+<tr class="codeline" data-linenumber="2819"><td class="num" id="LN2819">2819</td><td class="line"> gtk_info_bar_set_default_response (<span class='macro'>GTK_INFO_BAR (info_bar)<span class='macro_popup'>((((GtkInfoBar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((info_bar)), ((gtk_info_bar_get_type()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2820"><td class="num" id="LN2820">2820</td><td class="line"> GTK_RESPONSE_YES);</td></tr>
+<tr class="codeline" data-linenumber="2821"><td class="num" id="LN2821">2821</td><td class="line"> <span class='macro'>g_signal_connect (info_bar, <span class='string_literal'>"response"</span>,<span class='macro_popup'>g_signal_connect_data ((info_bar), ("response"), (((GCallback<br>) (wallpaper_info_bar_response))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2822"><td class="num" id="LN2822">2822</td><td class="line"> <span class='macro'>G_CALLBACK (wallpaper_info_bar_response),<span class='macro_popup'>g_signal_connect_data ((info_bar), ("response"), (((GCallback<br>) (wallpaper_info_bar_response))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2823"><td class="num" id="LN2823">2823</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((info_bar), ("response"), (((GCallback<br>) (wallpaper_info_bar_response))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2824"><td class="num" id="LN2824">2824</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2825"><td class="num" id="LN2825">2825</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2826"><td class="num" id="LN2826">2826</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2827"><td class="num" id="LN2827">2827</td><td class="line">eom_job_save_cb (EomJobSave *job, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2828"><td class="num" id="LN2828">2828</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2829"><td class="num" id="LN2829">2829</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2830"><td class="num" id="LN2830">2830</td><td class="line"> GtkAction *action_save;</td></tr>
+<tr class="codeline" data-linenumber="2831"><td class="num" id="LN2831">2831</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2832"><td class="num" id="LN2832">2832</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (job,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_save_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2833"><td class="num" id="LN2833">2833</td><td class="line"> <span class='macro'>eom_job_save_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_save_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2834"><td class="num" id="LN2834">2834</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_save_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2835"><td class="num" id="LN2835">2835</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2836"><td class="num" id="LN2836">2836</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (job,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_save_progress_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2837"><td class="num" id="LN2837">2837</td><td class="line"> <span class='macro'>eom_job_save_progress_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_save_progress_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="2838"><td class="num" id="LN2838">2838</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((job), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_job_save_progress_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2839"><td class="num" id="LN2839">2839</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2840"><td class="num" id="LN2840">2840</td><td class="line"> g_object_unref (window-&gt;priv-&gt;save_job);</td></tr>
+<tr class="codeline" data-linenumber="2841"><td class="num" id="LN2841">2841</td><td class="line"> window-&gt;priv-&gt;save_job = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2842"><td class="num" id="LN2842">2842</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2843"><td class="num" id="LN2843">2843</td><td class="line"> update_status_bar (window);</td></tr>
+<tr class="codeline" data-linenumber="2844"><td class="num" id="LN2844">2844</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2845"><td class="num" id="LN2845">2845</td><td class="line"> action_save = gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="2846"><td class="num" id="LN2846">2846</td><td class="line"> <span class='string_literal'>"ImageSave"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2847"><td class="num" id="LN2847">2847</td><td class="line"> gtk_action_set_sensitive (action_save, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2848"><td class="num" id="LN2848">2848</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2849"><td class="num" id="LN2849">2849</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2850"><td class="num" id="LN2850">2850</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2851"><td class="num" id="LN2851">2851</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2852"><td class="num" id="LN2852">2852</td><td class="line">eom_job_copy_cb (EomJobCopy *job, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2853"><td class="num" id="LN2853">2853</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2854"><td class="num" id="LN2854">2854</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2855"><td class="num" id="LN2855">2855</td><td class="line"> gchar *filepath, *basename, *filename, *extension;</td></tr>
+<tr class="codeline" data-linenumber="2856"><td class="num" id="LN2856">2856</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="2857"><td class="num" id="LN2857">2857</td><td class="line"> GFile *source_file, *dest_file;</td></tr>
+<tr class="codeline" data-linenumber="2858"><td class="num" id="LN2858">2858</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2859"><td class="num" id="LN2859">2859</td><td class="line"> <span class='comment'>/* Create source GFile */</span></td></tr>
+<tr class="codeline" data-linenumber="2860"><td class="num" id="LN2860">2860</td><td class="line"> basename = g_file_get_basename (job-&gt;images-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="2861"><td class="num" id="LN2861">2861</td><td class="line"> filepath = g_build_filename (job-&gt;dest, basename, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2862"><td class="num" id="LN2862">2862</td><td class="line"> source_file = g_file_new_for_path (filepath);</td></tr>
+<tr class="codeline" data-linenumber="2863"><td class="num" id="LN2863">2863</td><td class="line"> g_free (filepath);</td></tr>
+<tr class="codeline" data-linenumber="2864"><td class="num" id="LN2864">2864</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2865"><td class="num" id="LN2865">2865</td><td class="line"> <span class='comment'>/* Create destination GFile */</span></td></tr>
+<tr class="codeline" data-linenumber="2866"><td class="num" id="LN2866">2866</td><td class="line"> extension = eom_util_filename_get_extension (basename);</td></tr>
+<tr class="codeline" data-linenumber="2867"><td class="num" id="LN2867">2867</td><td class="line"> filename = g_strdup_printf (<span class='string_literal'>"%s.%s"</span>, <span class='macro'>EOM_WALLPAPER_FILENAME<span class='macro_popup'>"eom-wallpaper"</span></span>, extension);</td></tr>
+<tr class="codeline" data-linenumber="2868"><td class="num" id="LN2868">2868</td><td class="line"> filepath = g_build_filename (job-&gt;dest, filename, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2869"><td class="num" id="LN2869">2869</td><td class="line"> dest_file = g_file_new_for_path (filepath);</td></tr>
+<tr class="codeline" data-linenumber="2870"><td class="num" id="LN2870">2870</td><td class="line"> g_free (filename);</td></tr>
+<tr class="codeline" data-linenumber="2871"><td class="num" id="LN2871">2871</td><td class="line"> g_free (extension);</td></tr>
+<tr class="codeline" data-linenumber="2872"><td class="num" id="LN2872">2872</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2873"><td class="num" id="LN2873">2873</td><td class="line"> <span class='comment'>/* Move the file */</span></td></tr>
+<tr class="codeline" data-linenumber="2874"><td class="num" id="LN2874">2874</td><td class="line"> g_file_move (source_file, dest_file, G_FILE_COPY_OVERWRITE,</td></tr>
+<tr class="codeline" data-linenumber="2875"><td class="num" id="LN2875">2875</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2876"><td class="num" id="LN2876">2876</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2877"><td class="num" id="LN2877">2877</td><td class="line"> <span class='comment'>/* Set the wallpaper */</span></td></tr>
+<tr class="codeline" data-linenumber="2878"><td class="num" id="LN2878">2878</td><td class="line"> eom_window_set_wallpaper (window, filepath, basename);</td></tr>
+<tr class="codeline" data-linenumber="2879"><td class="num" id="LN2879">2879</td><td class="line"> g_free (basename);</td></tr>
+<tr class="codeline" data-linenumber="2880"><td class="num" id="LN2880">2880</td><td class="line"> g_free (filepath);</td></tr>
+<tr class="codeline" data-linenumber="2881"><td class="num" id="LN2881">2881</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2882"><td class="num" id="LN2882">2882</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2883"><td class="num" id="LN2883">2883</td><td class="line"> window-&gt;priv-&gt;copy_file_cid);</td></tr>
+<tr class="codeline" data-linenumber="2884"><td class="num" id="LN2884">2884</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2885"><td class="num" id="LN2885">2885</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="2886"><td class="num" id="LN2886">2886</td><td class="line"> <span class='string_literal'>"ImageSetAsWallpaper"</span>);</td></tr>
+<tr class="codeline" data-linenumber="2887"><td class="num" id="LN2887">2887</td><td class="line"> gtk_action_set_sensitive (action, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2888"><td class="num" id="LN2888">2888</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2889"><td class="num" id="LN2889">2889</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2890"><td class="num" id="LN2890">2890</td><td class="line"> window-&gt;priv-&gt;copy_job = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2891"><td class="num" id="LN2891">2891</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2892"><td class="num" id="LN2892">2892</td><td class="line"> g_object_unref (source_file);</td></tr>
+<tr class="codeline" data-linenumber="2893"><td class="num" id="LN2893">2893</td><td class="line"> g_object_unref (dest_file);</td></tr>
+<tr class="codeline" data-linenumber="2894"><td class="num" id="LN2894">2894</td><td class="line"> g_object_unref (<span class='macro'>G_OBJECT (job-&gt;images-&gt;data)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((job-&gt;images-&gt;data)), (((GType) ((20) &lt;&lt; (2))<br>))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2895"><td class="num" id="LN2895">2895</td><td class="line"> g_list_free (job-&gt;images);</td></tr>
+<tr class="codeline" data-linenumber="2896"><td class="num" id="LN2896">2896</td><td class="line"> g_object_unref (job);</td></tr>
+<tr class="codeline" data-linenumber="2897"><td class="num" id="LN2897">2897</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2898"><td class="num" id="LN2898">2898</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2899"><td class="num" id="LN2899">2899</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="2900"><td class="num" id="LN2900">2900</td><td class="line">eom_window_save_images (EomWindow *window, GList *images)</td></tr>
+<tr class="codeline" data-linenumber="2901"><td class="num" id="LN2901">2901</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2902"><td class="num" id="LN2902">2902</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2903"><td class="num" id="LN2903">2903</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2904"><td class="num" id="LN2904">2904</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2905"><td class="num" id="LN2905">2905</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2906"><td class="num" id="LN2906">2906</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;save_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2907"><td class="num" id="LN2907">2907</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2908"><td class="num" id="LN2908">2908</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2909"><td class="num" id="LN2909">2909</td><td class="line"> priv-&gt;save_job = eom_job_save_new (images);</td></tr>
+<tr class="codeline" data-linenumber="2910"><td class="num" id="LN2910">2910</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2911"><td class="num" id="LN2911">2911</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;save_job, <span class='string_literal'>"finished"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_save_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2912"><td class="num" id="LN2912">2912</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_save_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_save_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2913"><td class="num" id="LN2913">2913</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_save_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2914"><td class="num" id="LN2914">2914</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2915"><td class="num" id="LN2915">2915</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;save_job, <span class='string_literal'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("progress"), (((<br>GCallback) (eom_job_save_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2916"><td class="num" id="LN2916">2916</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_save_progress_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("progress"), (((<br>GCallback) (eom_job_save_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="2917"><td class="num" id="LN2917">2917</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("progress"), (((<br>GCallback) (eom_job_save_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2918"><td class="num" id="LN2918">2918</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2919"><td class="num" id="LN2919">2919</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2920"><td class="num" id="LN2920">2920</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2921"><td class="num" id="LN2921">2921</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2922"><td class="num" id="LN2922">2922</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2923"><td class="num" id="LN2923">2923</td><td class="line">eom_window_cmd_save (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2924"><td class="num" id="LN2924">2924</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2925"><td class="num" id="LN2925">2925</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2926"><td class="num" id="LN2926">2926</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2927"><td class="num" id="LN2927">2927</td><td class="line"> GList *images;</td></tr>
+<tr class="codeline" data-linenumber="2928"><td class="num" id="LN2928">2928</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2929"><td class="num" id="LN2929">2929</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2930"><td class="num" id="LN2930">2930</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2931"><td class="num" id="LN2931">2931</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2932"><td class="num" id="LN2932">2932</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;save_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2933"><td class="num" id="LN2933">2933</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2934"><td class="num" id="LN2934">2934</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2935"><td class="num" id="LN2935">2935</td><td class="line"> images = eom_thumb_view_get_selected_images (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2936"><td class="num" id="LN2936">2936</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2937"><td class="num" id="LN2937">2937</td><td class="line"> <span class='keyword'>if</span> (eom_window_save_images (window, images)) {</td></tr>
+<tr class="codeline" data-linenumber="2938"><td class="num" id="LN2938">2938</td><td class="line"> eom_job_queue_add_job (priv-&gt;save_job);</td></tr>
+<tr class="codeline" data-linenumber="2939"><td class="num" id="LN2939">2939</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2940"><td class="num" id="LN2940">2940</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2941"><td class="num" id="LN2941">2941</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2942"><td class="num" id="LN2942">2942</td><td class="line"><span class='keyword'>static</span> GFile*</td></tr>
+<tr class="codeline" data-linenumber="2943"><td class="num" id="LN2943">2943</td><td class="line">eom_window_retrieve_save_as_file (EomWindow *window, EomImage *image)</td></tr>
+<tr class="codeline" data-linenumber="2944"><td class="num" id="LN2944">2944</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2945"><td class="num" id="LN2945">2945</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="2946"><td class="num" id="LN2946">2946</td><td class="line"> GFile *save_file = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2947"><td class="num" id="LN2947">2947</td><td class="line"> GFile *last_dest_folder;</td></tr>
+<tr class="codeline" data-linenumber="2948"><td class="num" id="LN2948">2948</td><td class="line"> gint response;</td></tr>
+<tr class="codeline" data-linenumber="2949"><td class="num" id="LN2949">2949</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2950"><td class="num" id="LN2950">2950</td><td class="line"> <span class='macro'>g_assert (image != NULL)<span class='macro_popup'>do { if (image != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 2950, ((const char*) (__func__)), "image != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2951"><td class="num" id="LN2951">2951</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2952"><td class="num" id="LN2952">2952</td><td class="line"> dialog = eom_file_chooser_new (GTK_FILE_CHOOSER_ACTION_SAVE);</td></tr>
+<tr class="codeline" data-linenumber="2953"><td class="num" id="LN2953">2953</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2954"><td class="num" id="LN2954">2954</td><td class="line"> last_dest_folder = window-&gt;priv-&gt;last_save_as_folder;</td></tr>
+<tr class="codeline" data-linenumber="2955"><td class="num" id="LN2955">2955</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2956"><td class="num" id="LN2956">2956</td><td class="line"> <span class='keyword'>if</span> (last_dest_folder &amp;&amp; g_file_query_exists (last_dest_folder, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="2957"><td class="num" id="LN2957">2957</td><td class="line"> gtk_file_chooser_set_current_folder_file (<span class='macro'>GTK_FILE_CHOOSER (dialog)<span class='macro_popup'>((((GtkFileChooser*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_file_chooser_get_type ()))))))</span></span>, last_dest_folder, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2958"><td class="num" id="LN2958">2958</td><td class="line"> gtk_file_chooser_set_current_name (<span class='macro'>GTK_FILE_CHOOSER (dialog)<span class='macro_popup'>((((GtkFileChooser*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_file_chooser_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2959"><td class="num" id="LN2959">2959</td><td class="line"> eom_image_get_caption (image));</td></tr>
+<tr class="codeline" data-linenumber="2960"><td class="num" id="LN2960">2960</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="2961"><td class="num" id="LN2961">2961</td><td class="line"> GFile *image_file;</td></tr>
+<tr class="codeline" data-linenumber="2962"><td class="num" id="LN2962">2962</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2963"><td class="num" id="LN2963">2963</td><td class="line"> image_file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="2964"><td class="num" id="LN2964">2964</td><td class="line"> <span class='comment'>/* Setting the file will also navigate to its parent folder */</span></td></tr>
+<tr class="codeline" data-linenumber="2965"><td class="num" id="LN2965">2965</td><td class="line"> gtk_file_chooser_set_file (<span class='macro'>GTK_FILE_CHOOSER (dialog)<span class='macro_popup'>((((GtkFileChooser*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_file_chooser_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="2966"><td class="num" id="LN2966">2966</td><td class="line"> image_file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2967"><td class="num" id="LN2967">2967</td><td class="line"> g_object_unref (image_file);</td></tr>
+<tr class="codeline" data-linenumber="2968"><td class="num" id="LN2968">2968</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2969"><td class="num" id="LN2969">2969</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2970"><td class="num" id="LN2970">2970</td><td class="line"> response = gtk_dialog_run (<span class='macro'>GTK_DIALOG (dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2971"><td class="num" id="LN2971">2971</td><td class="line"> gtk_widget_hide (dialog);</td></tr>
+<tr class="codeline" data-linenumber="2972"><td class="num" id="LN2972">2972</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2973"><td class="num" id="LN2973">2973</td><td class="line"> <span class='keyword'>if</span> (response == GTK_RESPONSE_OK) {</td></tr>
+<tr class="codeline" data-linenumber="2974"><td class="num" id="LN2974">2974</td><td class="line"> save_file = gtk_file_chooser_get_file (<span class='macro'>GTK_FILE_CHOOSER (dialog)<span class='macro_popup'>((((GtkFileChooser*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_file_chooser_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2975"><td class="num" id="LN2975">2975</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;last_save_as_folder)</td></tr>
+<tr class="codeline" data-linenumber="2976"><td class="num" id="LN2976">2976</td><td class="line"> g_object_unref (window-&gt;priv-&gt;last_save_as_folder);</td></tr>
+<tr class="codeline" data-linenumber="2977"><td class="num" id="LN2977">2977</td><td class="line"> window-&gt;priv-&gt;last_save_as_folder = g_file_get_parent (save_file);</td></tr>
+<tr class="codeline" data-linenumber="2978"><td class="num" id="LN2978">2978</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="2979"><td class="num" id="LN2979">2979</td><td class="line"> gtk_widget_destroy (dialog);</td></tr>
+<tr class="codeline" data-linenumber="2980"><td class="num" id="LN2980">2980</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2981"><td class="num" id="LN2981">2981</td><td class="line"> <span class='keyword'>return</span> save_file;</td></tr>
+<tr class="codeline" data-linenumber="2982"><td class="num" id="LN2982">2982</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="2983"><td class="num" id="LN2983">2983</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2984"><td class="num" id="LN2984">2984</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="2985"><td class="num" id="LN2985">2985</td><td class="line">eom_window_cmd_save_as (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="2986"><td class="num" id="LN2986">2986</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="2987"><td class="num" id="LN2987">2987</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="2988"><td class="num" id="LN2988">2988</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="2989"><td class="num" id="LN2989">2989</td><td class="line"> GList *images;</td></tr>
+<tr class="codeline" data-linenumber="2990"><td class="num" id="LN2990">2990</td><td class="line"> guint n_images;</td></tr>
+<tr class="codeline" data-linenumber="2991"><td class="num" id="LN2991">2991</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2992"><td class="num" id="LN2992">2992</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="2993"><td class="num" id="LN2993">2993</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="2994"><td class="num" id="LN2994">2994</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2995"><td class="num" id="LN2995">2995</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;save_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="2996"><td class="num" id="LN2996">2996</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="2997"><td class="num" id="LN2997">2997</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="2998"><td class="num" id="LN2998">2998</td><td class="line"> images = eom_thumb_view_get_selected_images (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="2999"><td class="num" id="LN2999">2999</td><td class="line"> n_images = g_list_length (images);</td></tr>
+<tr class="codeline" data-linenumber="3000"><td class="num" id="LN3000">3000</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3001"><td class="num" id="LN3001">3001</td><td class="line"> <span class='keyword'>if</span> (n_images == 1) {</td></tr>
+<tr class="codeline" data-linenumber="3002"><td class="num" id="LN3002">3002</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="3003"><td class="num" id="LN3003">3003</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3004"><td class="num" id="LN3004">3004</td><td class="line"> file = eom_window_retrieve_save_as_file (window, images-&gt;data);</td></tr>
+<tr class="codeline" data-linenumber="3005"><td class="num" id="LN3005">3005</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3006"><td class="num" id="LN3006">3006</td><td class="line"> <span class='keyword'>if</span> (!file) {</td></tr>
+<tr class="codeline" data-linenumber="3007"><td class="num" id="LN3007">3007</td><td class="line"> g_list_free (images);</td></tr>
+<tr class="codeline" data-linenumber="3008"><td class="num" id="LN3008">3008</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3009"><td class="num" id="LN3009">3009</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3010"><td class="num" id="LN3010">3010</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3011"><td class="num" id="LN3011">3011</td><td class="line"> priv-&gt;save_job = eom_job_save_as_new (images, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, file);</td></tr>
+<tr class="codeline" data-linenumber="3012"><td class="num" id="LN3012">3012</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3013"><td class="num" id="LN3013">3013</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="3014"><td class="num" id="LN3014">3014</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (n_images &gt; 1) {</td></tr>
+<tr class="codeline" data-linenumber="3015"><td class="num" id="LN3015">3015</td><td class="line"> GFile *base_file;</td></tr>
+<tr class="codeline" data-linenumber="3016"><td class="num" id="LN3016">3016</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="3017"><td class="num" id="LN3017">3017</td><td class="line"> gchar *basedir;</td></tr>
+<tr class="codeline" data-linenumber="3018"><td class="num" id="LN3018">3018</td><td class="line"> EomURIConverter *converter;</td></tr>
+<tr class="codeline" data-linenumber="3019"><td class="num" id="LN3019">3019</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3020"><td class="num" id="LN3020">3020</td><td class="line"> basedir = g_get_current_dir ();</td></tr>
+<tr class="codeline" data-linenumber="3021"><td class="num" id="LN3021">3021</td><td class="line"> base_file = g_file_new_for_path (basedir);</td></tr>
+<tr class="codeline" data-linenumber="3022"><td class="num" id="LN3022">3022</td><td class="line"> g_free (basedir);</td></tr>
+<tr class="codeline" data-linenumber="3023"><td class="num" id="LN3023">3023</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3024"><td class="num" id="LN3024">3024</td><td class="line"> dialog = eom_save_as_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3025"><td class="num" id="LN3025">3025</td><td class="line"> images,</td></tr>
+<tr class="codeline" data-linenumber="3026"><td class="num" id="LN3026">3026</td><td class="line"> base_file);</td></tr>
+<tr class="codeline" data-linenumber="3027"><td class="num" id="LN3027">3027</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3028"><td class="num" id="LN3028">3028</td><td class="line"> gtk_widget_show_all (dialog);</td></tr>
+<tr class="codeline" data-linenumber="3029"><td class="num" id="LN3029">3029</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3030"><td class="num" id="LN3030">3030</td><td class="line"> <span class='keyword'>if</span> (gtk_dialog_run (<span class='macro'>GTK_DIALOG (dialog)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dialog)), ((gtk_dialog_get_type ()))))))</span></span>) != GTK_RESPONSE_OK) {</td></tr>
+<tr class="codeline" data-linenumber="3031"><td class="num" id="LN3031">3031</td><td class="line"> g_object_unref (base_file);</td></tr>
+<tr class="codeline" data-linenumber="3032"><td class="num" id="LN3032">3032</td><td class="line"> g_list_free (images);</td></tr>
+<tr class="codeline" data-linenumber="3033"><td class="num" id="LN3033">3033</td><td class="line"> gtk_widget_destroy (dialog);</td></tr>
+<tr class="codeline" data-linenumber="3034"><td class="num" id="LN3034">3034</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3035"><td class="num" id="LN3035">3035</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3036"><td class="num" id="LN3036">3036</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3037"><td class="num" id="LN3037">3037</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3038"><td class="num" id="LN3038">3038</td><td class="line"> converter = eom_save_as_dialog_get_converter (dialog);</td></tr>
+<tr class="codeline" data-linenumber="3039"><td class="num" id="LN3039">3039</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3040"><td class="num" id="LN3040">3040</td><td class="line"> <span class='macro'>g_assert (converter != NULL)<span class='macro_popup'>do { if (converter != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 3040, ((const char*) (__func__)), "converter != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3041"><td class="num" id="LN3041">3041</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3042"><td class="num" id="LN3042">3042</td><td class="line"> priv-&gt;save_job = eom_job_save_as_new (images, converter, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3043"><td class="num" id="LN3043">3043</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3044"><td class="num" id="LN3044">3044</td><td class="line"> gtk_widget_destroy (dialog);</td></tr>
+<tr class="codeline" data-linenumber="3045"><td class="num" id="LN3045">3045</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3046"><td class="num" id="LN3046">3046</td><td class="line"> g_object_unref (converter);</td></tr>
+<tr class="codeline" data-linenumber="3047"><td class="num" id="LN3047">3047</td><td class="line"> g_object_unref (base_file);</td></tr>
+<tr class="codeline" data-linenumber="3048"><td class="num" id="LN3048">3048</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3049"><td class="num" id="LN3049">3049</td><td class="line"> <span class='comment'>/* n_images = 0 -- No Image selected */</span></td></tr>
+<tr class="codeline" data-linenumber="3050"><td class="num" id="LN3050">3050</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3051"><td class="num" id="LN3051">3051</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3052"><td class="num" id="LN3052">3052</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3053"><td class="num" id="LN3053">3053</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;save_job, <span class='string_literal'>"finished"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_save_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3054"><td class="num" id="LN3054">3054</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_save_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_save_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3055"><td class="num" id="LN3055">3055</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("finished"), (((<br>GCallback) (eom_job_save_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3056"><td class="num" id="LN3056">3056</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3057"><td class="num" id="LN3057">3057</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;save_job, <span class='string_literal'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("progress"), (((<br>GCallback) (eom_job_save_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3058"><td class="num" id="LN3058">3058</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_save_progress_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("progress"), (((<br>GCallback) (eom_job_save_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3059"><td class="num" id="LN3059">3059</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;save_job), ("progress"), (((<br>GCallback) (eom_job_save_progress_cb))), (window), ((void*)0)<br>, (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3060"><td class="num" id="LN3060">3060</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3061"><td class="num" id="LN3061">3061</td><td class="line"> eom_job_queue_add_job (priv-&gt;save_job);</td></tr>
+<tr class="codeline" data-linenumber="3062"><td class="num" id="LN3062">3062</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3063"><td class="num" id="LN3063">3063</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3064"><td class="num" id="LN3064">3064</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3065"><td class="num" id="LN3065">3065</td><td class="line">eom_window_cmd_open_containing_folder (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3066"><td class="num" id="LN3066">3066</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3067"><td class="num" id="LN3067">3067</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3068"><td class="num" id="LN3068">3068</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3069"><td class="num" id="LN3069">3069</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="3070"><td class="num" id="LN3070">3070</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3071"><td class="num" id="LN3071">3071</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3072"><td class="num" id="LN3072">3072</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3073"><td class="num" id="LN3073">3073</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3074"><td class="num" id="LN3074">3074</td><td class="line"> <span class='macro'>g_return_if_fail (priv-&gt;image != NULL)<span class='macro_popup'>do { if ((priv-&gt;image != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "priv-&gt;image != NULL"<br>); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3075"><td class="num" id="LN3075">3075</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3076"><td class="num" id="LN3076">3076</td><td class="line"> file = eom_image_get_file (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="3077"><td class="num" id="LN3077">3077</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3078"><td class="num" id="LN3078">3078</td><td class="line"> <span class='macro'>g_return_if_fail (file != NULL)<span class='macro_popup'>do { if ((file != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "file != NULL"); return;<br> } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3079"><td class="num" id="LN3079">3079</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3080"><td class="num" id="LN3080">3080</td><td class="line"> eom_util_show_file_in_filemanager (file,</td></tr>
+<tr class="codeline" data-linenumber="3081"><td class="num" id="LN3081">3081</td><td class="line"> <span class='macro'>GTK_WINDOW (user_data)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((gtk_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3082"><td class="num" id="LN3082">3082</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3083"><td class="num" id="LN3083">3083</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3084"><td class="num" id="LN3084">3084</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3085"><td class="num" id="LN3085">3085</td><td class="line">eom_window_cmd_print (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3086"><td class="num" id="LN3086">3086</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3087"><td class="num" id="LN3087">3087</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3088"><td class="num" id="LN3088">3088</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3089"><td class="num" id="LN3089">3089</td><td class="line"> eom_window_print (window);</td></tr>
+<tr class="codeline" data-linenumber="3090"><td class="num" id="LN3090">3090</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3091"><td class="num" id="LN3091">3091</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3092"><td class="num" id="LN3092">3092</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="3093"><td class="num" id="LN3093">3093</td><td class="line"> <span class='comment'>* eom_window_get_properties_dialog:</span></td></tr>
+<tr class="codeline" data-linenumber="3094"><td class="num" id="LN3094">3094</td><td class="line"> <span class='comment'>* @window: a #EomWindow</span></td></tr>
+<tr class="codeline" data-linenumber="3095"><td class="num" id="LN3095">3095</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3096"><td class="num" id="LN3096">3096</td><td class="line"> <span class='comment'>* Gets the @window property dialog. The widget will be built on the first call to this function.</span></td></tr>
+<tr class="codeline" data-linenumber="3097"><td class="num" id="LN3097">3097</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3098"><td class="num" id="LN3098">3098</td><td class="line"> <span class='comment'>* Returns: (transfer none): a #GtkDialog.</span></td></tr>
+<tr class="codeline" data-linenumber="3099"><td class="num" id="LN3099">3099</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="3100"><td class="num" id="LN3100">3100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3101"><td class="num" id="LN3101">3101</td><td class="line">GtkWidget*</td></tr>
+<tr class="codeline" data-linenumber="3102"><td class="num" id="LN3102">3102</td><td class="line">eom_window_get_properties_dialog (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3103"><td class="num" id="LN3103">3103</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3104"><td class="num" id="LN3104">3104</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3105"><td class="num" id="LN3105">3105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3106"><td class="num" id="LN3106">3106</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3107"><td class="num" id="LN3107">3107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3108"><td class="num" id="LN3108">3108</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3109"><td class="num" id="LN3109">3109</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3110"><td class="num" id="LN3110">3110</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;properties_dlg == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3111"><td class="num" id="LN3111">3111</td><td class="line"> GtkAction *next_image_action, *previous_image_action;</td></tr>
+<tr class="codeline" data-linenumber="3112"><td class="num" id="LN3112">3112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3113"><td class="num" id="LN3113">3113</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3114"><td class="num" id="LN3114">3114</td><td class="line"> next_image_action =</td></tr>
+<tr class="codeline" data-linenumber="3115"><td class="num" id="LN3115">3115</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="3116"><td class="num" id="LN3116">3116</td><td class="line"> <span class='string_literal'>"GoNext"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3117"><td class="num" id="LN3117">3117</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3118"><td class="num" id="LN3118">3118</td><td class="line"> previous_image_action =</td></tr>
+<tr class="codeline" data-linenumber="3119"><td class="num" id="LN3119">3119</td><td class="line"> gtk_action_group_get_action (priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="3120"><td class="num" id="LN3120">3120</td><td class="line"> <span class='string_literal'>"GoPrevious"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3121"><td class="num" id="LN3121">3121</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3122"><td class="num" id="LN3122">3122</td><td class="line"> priv-&gt;properties_dlg =</td></tr>
+<tr class="codeline" data-linenumber="3123"><td class="num" id="LN3123">3123</td><td class="line"> eom_properties_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3124"><td class="num" id="LN3124">3124</td><td class="line"> <span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3125"><td class="num" id="LN3125">3125</td><td class="line"> next_image_action,</td></tr>
+<tr class="codeline" data-linenumber="3126"><td class="num" id="LN3126">3126</td><td class="line"> previous_image_action);</td></tr>
+<tr class="codeline" data-linenumber="3127"><td class="num" id="LN3127">3127</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3128"><td class="num" id="LN3128">3128</td><td class="line"> eom_properties_dialog_update (<span class='macro'>EOM_PROPERTIES_DIALOG (priv-&gt;properties_dlg)<span class='macro_popup'>((((EomPropertiesDialog*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((priv-&gt;properties_dlg)), ((eom_properties_dialog_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3129"><td class="num" id="LN3129">3129</td><td class="line"> priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="3130"><td class="num" id="LN3130">3130</td><td class="line"> g_settings_bind (priv-&gt;ui_settings,</td></tr>
+<tr class="codeline" data-linenumber="3131"><td class="num" id="LN3131">3131</td><td class="line"> <span class='macro'>EOM_CONF_UI_PROPSDIALOG_NETBOOK_MODE<span class='macro_popup'>"propsdialog-netbook-mode"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3132"><td class="num" id="LN3132">3132</td><td class="line"> priv-&gt;properties_dlg, <span class='string_literal'>"netbook-mode"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3133"><td class="num" id="LN3133">3133</td><td class="line"> G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="3134"><td class="num" id="LN3134">3134</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3135"><td class="num" id="LN3135">3135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3136"><td class="num" id="LN3136">3136</td><td class="line"> <span class='keyword'>return</span> priv-&gt;properties_dlg;</td></tr>
+<tr class="codeline" data-linenumber="3137"><td class="num" id="LN3137">3137</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3138"><td class="num" id="LN3138">3138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3139"><td class="num" id="LN3139">3139</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3140"><td class="num" id="LN3140">3140</td><td class="line">eom_window_cmd_properties (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3141"><td class="num" id="LN3141">3141</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3142"><td class="num" id="LN3142">3142</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3143"><td class="num" id="LN3143">3143</td><td class="line"> GtkWidget *dialog;</td></tr>
+<tr class="codeline" data-linenumber="3144"><td class="num" id="LN3144">3144</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3145"><td class="num" id="LN3145">3145</td><td class="line"> dialog = eom_window_get_properties_dialog (window);</td></tr>
+<tr class="codeline" data-linenumber="3146"><td class="num" id="LN3146">3146</td><td class="line"> gtk_widget_show (dialog);</td></tr>
+<tr class="codeline" data-linenumber="3147"><td class="num" id="LN3147">3147</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3148"><td class="num" id="LN3148">3148</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3149"><td class="num" id="LN3149">3149</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3150"><td class="num" id="LN3150">3150</td><td class="line">eom_window_cmd_undo (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3151"><td class="num" id="LN3151">3151</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3152"><td class="num" id="LN3152">3152</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3153"><td class="num" id="LN3153">3153</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3154"><td class="num" id="LN3154">3154</td><td class="line"> apply_transformation (<span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3155"><td class="num" id="LN3155">3155</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3156"><td class="num" id="LN3156">3156</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3157"><td class="num" id="LN3157">3157</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3158"><td class="num" id="LN3158">3158</td><td class="line">eom_window_cmd_flip_horizontal (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3159"><td class="num" id="LN3159">3159</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3160"><td class="num" id="LN3160">3160</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3161"><td class="num" id="LN3161">3161</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3162"><td class="num" id="LN3162">3162</td><td class="line"> apply_transformation (<span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3163"><td class="num" id="LN3163">3163</td><td class="line"> eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL));</td></tr>
+<tr class="codeline" data-linenumber="3164"><td class="num" id="LN3164">3164</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3165"><td class="num" id="LN3165">3165</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3166"><td class="num" id="LN3166">3166</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3167"><td class="num" id="LN3167">3167</td><td class="line">eom_window_cmd_flip_vertical (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3168"><td class="num" id="LN3168">3168</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3169"><td class="num" id="LN3169">3169</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3170"><td class="num" id="LN3170">3170</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3171"><td class="num" id="LN3171">3171</td><td class="line"> apply_transformation (<span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3172"><td class="num" id="LN3172">3172</td><td class="line"> eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL));</td></tr>
+<tr class="codeline" data-linenumber="3173"><td class="num" id="LN3173">3173</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3174"><td class="num" id="LN3174">3174</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3175"><td class="num" id="LN3175">3175</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3176"><td class="num" id="LN3176">3176</td><td class="line">eom_window_cmd_rotate_90 (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3177"><td class="num" id="LN3177">3177</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3178"><td class="num" id="LN3178">3178</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3179"><td class="num" id="LN3179">3179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3180"><td class="num" id="LN3180">3180</td><td class="line"> apply_transformation (<span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3181"><td class="num" id="LN3181">3181</td><td class="line"> eom_transform_rotate_new (90));</td></tr>
+<tr class="codeline" data-linenumber="3182"><td class="num" id="LN3182">3182</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3183"><td class="num" id="LN3183">3183</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3184"><td class="num" id="LN3184">3184</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3185"><td class="num" id="LN3185">3185</td><td class="line">eom_window_cmd_rotate_270 (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3186"><td class="num" id="LN3186">3186</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3187"><td class="num" id="LN3187">3187</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3188"><td class="num" id="LN3188">3188</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3189"><td class="num" id="LN3189">3189</td><td class="line"> apply_transformation (<span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3190"><td class="num" id="LN3190">3190</td><td class="line"> eom_transform_rotate_new (270));</td></tr>
+<tr class="codeline" data-linenumber="3191"><td class="num" id="LN3191">3191</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3192"><td class="num" id="LN3192">3192</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3193"><td class="num" id="LN3193">3193</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3194"><td class="num" id="LN3194">3194</td><td class="line">eom_window_cmd_wallpaper (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3195"><td class="num" id="LN3195">3195</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3196"><td class="num" id="LN3196">3196</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="3197"><td class="num" id="LN3197">3197</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3198"><td class="num" id="LN3198">3198</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="3199"><td class="num" id="LN3199">3199</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="3200"><td class="num" id="LN3200">3200</td><td class="line"> <span class='keyword'>char</span> *filename = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3201"><td class="num" id="LN3201">3201</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3202"><td class="num" id="LN3202">3202</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3203"><td class="num" id="LN3203">3203</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3204"><td class="num" id="LN3204">3204</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3205"><td class="num" id="LN3205">3205</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3206"><td class="num" id="LN3206">3206</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3207"><td class="num" id="LN3207">3207</td><td class="line"> <span class='comment'>/* If currently copying an image to set it as wallpaper, return. */</span></td></tr>
+<tr class="codeline" data-linenumber="3208"><td class="num" id="LN3208">3208</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;copy_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3209"><td class="num" id="LN3209">3209</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3210"><td class="num" id="LN3210">3210</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3211"><td class="num" id="LN3211">3211</td><td class="line"> image = eom_thumb_view_get_first_selected_image (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3212"><td class="num" id="LN3212">3212</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3213"><td class="num" id="LN3213">3213</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (image))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((image)); GType __t = ((eom_image_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (image)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3214"><td class="num" id="LN3214">3214</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3215"><td class="num" id="LN3215">3215</td><td class="line"> file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="3216"><td class="num" id="LN3216">3216</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3217"><td class="num" id="LN3217">3217</td><td class="line"> filename = g_file_get_path (file);</td></tr>
+<tr class="codeline" data-linenumber="3218"><td class="num" id="LN3218">3218</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3219"><td class="num" id="LN3219">3219</td><td class="line"> <span class='comment'>/* Currently only local files can be set as wallpaper */</span></td></tr>
+<tr class="codeline" data-linenumber="3220"><td class="num" id="LN3220">3220</td><td class="line"> <span class='keyword'>if</span> (filename == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> || !eom_util_file_is_persistent (file))</td></tr>
+<tr class="codeline" data-linenumber="3221"><td class="num" id="LN3221">3221</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="3222"><td class="num" id="LN3222">3222</td><td class="line"> GList *files = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3223"><td class="num" id="LN3223">3223</td><td class="line"> GtkAction *action_set_as_wp;</td></tr>
+<tr class="codeline" data-linenumber="3224"><td class="num" id="LN3224">3224</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3225"><td class="num" id="LN3225">3225</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3226"><td class="num" id="LN3226">3226</td><td class="line"> action_set_as_wp = gtk_action_group_get_action (window-&gt;priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="3227"><td class="num" id="LN3227">3227</td><td class="line"> <span class='string_literal'>"ImageSetAsWallpaper"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3228"><td class="num" id="LN3228">3228</td><td class="line"> gtk_action_set_sensitive (action_set_as_wp, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3229"><td class="num" id="LN3229">3229</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3230"><td class="num" id="LN3230">3230</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3231"><td class="num" id="LN3231">3231</td><td class="line"> priv-&gt;copy_file_cid = gtk_statusbar_get_context_id (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3232"><td class="num" id="LN3232">3232</td><td class="line"> <span class='string_literal'>"copy_file_cid"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3233"><td class="num" id="LN3233">3233</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3234"><td class="num" id="LN3234">3234</td><td class="line"> priv-&gt;copy_file_cid,</td></tr>
+<tr class="codeline" data-linenumber="3235"><td class="num" id="LN3235">3235</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Saving image locally…"</span>)<span class='macro_popup'>gettext ("Saving image locally…")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3236"><td class="num" id="LN3236">3236</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3237"><td class="num" id="LN3237">3237</td><td class="line"> files = g_list_append (files, eom_image_get_file (image));</td></tr>
+<tr class="codeline" data-linenumber="3238"><td class="num" id="LN3238">3238</td><td class="line"> priv-&gt;copy_job = eom_job_copy_new (files, g_get_user_data_dir ());</td></tr>
+<tr class="codeline" data-linenumber="3239"><td class="num" id="LN3239">3239</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;copy_job, <span class='string_literal'>"finished"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;copy_job), ("finished"), (((<br>GCallback) (eom_job_copy_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3240"><td class="num" id="LN3240">3240</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_copy_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;copy_job), ("finished"), (((<br>GCallback) (eom_job_copy_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3241"><td class="num" id="LN3241">3241</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;copy_job), ("finished"), (((<br>GCallback) (eom_job_copy_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3242"><td class="num" id="LN3242">3242</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;copy_job, <span class='string_literal'>"progress"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;copy_job), ("progress"), (((<br>GCallback) (eom_job_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3243"><td class="num" id="LN3243">3243</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_progress_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;copy_job), ("progress"), (((<br>GCallback) (eom_job_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3244"><td class="num" id="LN3244">3244</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;copy_job), ("progress"), (((<br>GCallback) (eom_job_progress_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3245"><td class="num" id="LN3245">3245</td><td class="line"> eom_job_queue_add_job (priv-&gt;copy_job);</td></tr>
+<tr class="codeline" data-linenumber="3246"><td class="num" id="LN3246">3246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3247"><td class="num" id="LN3247">3247</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="3248"><td class="num" id="LN3248">3248</td><td class="line"> g_free (filename);</td></tr>
+<tr class="codeline" data-linenumber="3249"><td class="num" id="LN3249">3249</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3250"><td class="num" id="LN3250">3250</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3251"><td class="num" id="LN3251">3251</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3252"><td class="num" id="LN3252">3252</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="3253"><td class="num" id="LN3253">3253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3254"><td class="num" id="LN3254">3254</td><td class="line"> eom_window_set_wallpaper (window, filename, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3255"><td class="num" id="LN3255">3255</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3256"><td class="num" id="LN3256">3256</td><td class="line"> g_free (filename);</td></tr>
+<tr class="codeline" data-linenumber="3257"><td class="num" id="LN3257">3257</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3258"><td class="num" id="LN3258">3258</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3259"><td class="num" id="LN3259">3259</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="3260"><td class="num" id="LN3260">3260</td><td class="line">eom_window_all_images_trasheable (GList *images)</td></tr>
+<tr class="codeline" data-linenumber="3261"><td class="num" id="LN3261">3261</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3262"><td class="num" id="LN3262">3262</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="3263"><td class="num" id="LN3263">3263</td><td class="line"> GFileInfo *file_info;</td></tr>
+<tr class="codeline" data-linenumber="3264"><td class="num" id="LN3264">3264</td><td class="line"> GList *iter;</td></tr>
+<tr class="codeline" data-linenumber="3265"><td class="num" id="LN3265">3265</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="3266"><td class="num" id="LN3266">3266</td><td class="line"> gboolean can_trash = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3267"><td class="num" id="LN3267">3267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3268"><td class="num" id="LN3268">3268</td><td class="line"> <span class='keyword'>for</span> (iter = images; iter != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; iter = <span class='macro'>g_list_next (iter)<span class='macro_popup'>((iter) ? (((GList *)(iter))-&gt;next) : ((void*)0))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3269"><td class="num" id="LN3269">3269</td><td class="line"> image = (EomImage *) iter-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="3270"><td class="num" id="LN3270">3270</td><td class="line"> file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="3271"><td class="num" id="LN3271">3271</td><td class="line"> file_info = g_file_query_info (file,</td></tr>
+<tr class="codeline" data-linenumber="3272"><td class="num" id="LN3272">3272</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH<span class='macro_popup'>"access::can-trash"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3273"><td class="num" id="LN3273">3273</td><td class="line"> 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3274"><td class="num" id="LN3274">3274</td><td class="line"> can_trash = g_file_info_get_attribute_boolean (file_info,</td></tr>
+<tr class="codeline" data-linenumber="3275"><td class="num" id="LN3275">3275</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH<span class='macro_popup'>"access::can-trash"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3276"><td class="num" id="LN3276">3276</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3277"><td class="num" id="LN3277">3277</td><td class="line"> g_object_unref (file_info);</td></tr>
+<tr class="codeline" data-linenumber="3278"><td class="num" id="LN3278">3278</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="3279"><td class="num" id="LN3279">3279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3280"><td class="num" id="LN3280">3280</td><td class="line"> <span class='keyword'>if</span> (can_trash == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="3281"><td class="num" id="LN3281">3281</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="3282"><td class="num" id="LN3282">3282</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3283"><td class="num" id="LN3283">3283</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3284"><td class="num" id="LN3284">3284</td><td class="line"> <span class='keyword'>return</span> can_trash;</td></tr>
+<tr class="codeline" data-linenumber="3285"><td class="num" id="LN3285">3285</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3286"><td class="num" id="LN3286">3286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3287"><td class="num" id="LN3287">3287</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>int</span></td></tr>
+<tr class="codeline" data-linenumber="3288"><td class="num" id="LN3288">3288</td><td class="line">show_move_to_trash_confirm_dialog (EomWindow *window, GList *images, gboolean can_trash)</td></tr>
+<tr class="codeline" data-linenumber="3289"><td class="num" id="LN3289">3289</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3290"><td class="num" id="LN3290">3290</td><td class="line"> GtkWidget *dlg;</td></tr>
+<tr class="codeline" data-linenumber="3291"><td class="num" id="LN3291">3291</td><td class="line"> <span class='keyword'>char</span> *prompt;</td></tr>
+<tr class="codeline" data-linenumber="3292"><td class="num" id="LN3292">3292</td><td class="line"> <span class='keyword'>int</span> response;</td></tr>
+<tr class="codeline" data-linenumber="3293"><td class="num" id="LN3293">3293</td><td class="line"> <span class='keyword'>int</span> n_images;</td></tr>
+<tr class="codeline" data-linenumber="3294"><td class="num" id="LN3294">3294</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="3295"><td class="num" id="LN3295">3295</td><td class="line"> <span class='keyword'>static</span> gboolean dontaskagain = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3296"><td class="num" id="LN3296">3296</td><td class="line"> gboolean neverask = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3297"><td class="num" id="LN3297">3297</td><td class="line"> GtkWidget* dontask_cbutton = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3298"><td class="num" id="LN3298">3298</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3299"><td class="num" id="LN3299">3299</td><td class="line"> <span class='comment'>/* Check if the user never wants to be bugged. */</span></td></tr>
+<tr class="codeline" data-linenumber="3300"><td class="num" id="LN3300">3300</td><td class="line"> neverask = g_settings_get_boolean (window-&gt;priv-&gt;ui_settings,</td></tr>
+<tr class="codeline" data-linenumber="3301"><td class="num" id="LN3301">3301</td><td class="line"> <span class='macro'>EOM_CONF_UI_DISABLE_TRASH_CONFIRMATION<span class='macro_popup'>"disable-trash-confirmation"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3302"><td class="num" id="LN3302">3302</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3303"><td class="num" id="LN3303">3303</td><td class="line"> <span class='comment'>/* Assume agreement, if the user doesn't want to be</span></td></tr>
+<tr class="codeline" data-linenumber="3304"><td class="num" id="LN3304">3304</td><td class="line"> <span class='comment'>* asked and the trash is available */</span></td></tr>
+<tr class="codeline" data-linenumber="3305"><td class="num" id="LN3305">3305</td><td class="line"> <span class='keyword'>if</span> (can_trash &amp;&amp; (dontaskagain || neverask))</td></tr>
+<tr class="codeline" data-linenumber="3306"><td class="num" id="LN3306">3306</td><td class="line"> <span class='keyword'>return</span> GTK_RESPONSE_OK;</td></tr>
+<tr class="codeline" data-linenumber="3307"><td class="num" id="LN3307">3307</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3308"><td class="num" id="LN3308">3308</td><td class="line"> n_images = g_list_length (images);</td></tr>
+<tr class="codeline" data-linenumber="3309"><td class="num" id="LN3309">3309</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3310"><td class="num" id="LN3310">3310</td><td class="line"> <span class='keyword'>if</span> (n_images == 1) {</td></tr>
+<tr class="codeline" data-linenumber="3311"><td class="num" id="LN3311">3311</td><td class="line"> image = <span class='macro'>EOM_IMAGE (images-&gt;data)<span class='macro_popup'>((((EomImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((images-&gt;data)), ((eom_image_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3312"><td class="num" id="LN3312">3312</td><td class="line"> <span class='keyword'>if</span> (can_trash) {</td></tr>
+<tr class="codeline" data-linenumber="3313"><td class="num" id="LN3313">3313</td><td class="line"> prompt = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Are you sure you want to move\n\"%s\" to the trash?"</span>)<span class='macro_popup'>gettext ("Are you sure you want to move\n\"%s\" to the trash?"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3314"><td class="num" id="LN3314">3314</td><td class="line"> eom_image_get_caption (image));</td></tr>
+<tr class="codeline" data-linenumber="3315"><td class="num" id="LN3315">3315</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3316"><td class="num" id="LN3316">3316</td><td class="line"> prompt = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"A trash for \"%s\" couldn't be found. Do you want to remove "<span class='macro_popup'>gettext ("A trash for \"%s\" couldn't be found. Do you want to remove "<br> "this image permanently?")</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="3317"><td class="num" id="LN3317">3317</td><td class="line"> <span class='string_literal'><span class='macro'>"this image permanently?"</span>)<span class='macro_popup'>gettext ("A trash for \"%s\" couldn't be found. Do you want to remove "<br> "this image permanently?")</span></span>, eom_image_get_caption (image));</td></tr>
+<tr class="codeline" data-linenumber="3318"><td class="num" id="LN3318">3318</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3319"><td class="num" id="LN3319">3319</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3320"><td class="num" id="LN3320">3320</td><td class="line"> <span class='keyword'>if</span> (can_trash) {</td></tr>
+<tr class="codeline" data-linenumber="3321"><td class="num" id="LN3321">3321</td><td class="line"> prompt = g_strdup_printf (ngettext(<span class='string_literal'>"Are you sure you want to move\n"</span></td></tr>
+<tr class="codeline" data-linenumber="3322"><td class="num" id="LN3322">3322</td><td class="line"> <span class='string_literal'>"the %d selected image to the trash?"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3323"><td class="num" id="LN3323">3323</td><td class="line"> <span class='string_literal'>"Are you sure you want to move\n"</span></td></tr>
+<tr class="codeline" data-linenumber="3324"><td class="num" id="LN3324">3324</td><td class="line"> <span class='string_literal'>"the %d selected images to the trash?"</span>, n_images), n_images);</td></tr>
+<tr class="codeline" data-linenumber="3325"><td class="num" id="LN3325">3325</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3326"><td class="num" id="LN3326">3326</td><td class="line"> prompt = <span class='macro'>g_strdup (_(<span class='string_literal'>"Some of the selected images can't be moved to the trash "<span class='macro_popup'>g_strdup_inline (gettext ("Some of the selected images can't be moved to the trash "<br> "and will be removed permanently. Are you sure you want " "to proceed?"<br>))</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="3327"><td class="num" id="LN3327">3327</td><td class="line"> <span class='string_literal'><span class='macro'>"and will be removed permanently. Are you sure you want "<span class='macro_popup'>g_strdup_inline (gettext ("Some of the selected images can't be moved to the trash "<br> "and will be removed permanently. Are you sure you want " "to proceed?"<br>))</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="3328"><td class="num" id="LN3328">3328</td><td class="line"> <span class='string_literal'><span class='macro'>"to proceed?"</span>))<span class='macro_popup'>g_strdup_inline (gettext ("Some of the selected images can't be moved to the trash "<br> "and will be removed permanently. Are you sure you want " "to proceed?"<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3329"><td class="num" id="LN3329">3329</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3330"><td class="num" id="LN3330">3330</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3331"><td class="num" id="LN3331">3331</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3332"><td class="num" id="LN3332">3332</td><td class="line"> dlg = gtk_message_dialog_new_with_markup (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3333"><td class="num" id="LN3333">3333</td><td class="line"> GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,</td></tr>
+<tr class="codeline" data-linenumber="3334"><td class="num" id="LN3334">3334</td><td class="line"> GTK_MESSAGE_WARNING,</td></tr>
+<tr class="codeline" data-linenumber="3335"><td class="num" id="LN3335">3335</td><td class="line"> GTK_BUTTONS_NONE,</td></tr>
+<tr class="codeline" data-linenumber="3336"><td class="num" id="LN3336">3336</td><td class="line"> <span class='string_literal'>"&lt;span weight=\"bold\" size=\"larger\"&gt;%s&lt;/span&gt;"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3337"><td class="num" id="LN3337">3337</td><td class="line"> prompt);</td></tr>
+<tr class="codeline" data-linenumber="3338"><td class="num" id="LN3338">3338</td><td class="line"> g_free (prompt);</td></tr>
+<tr class="codeline" data-linenumber="3339"><td class="num" id="LN3339">3339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3340"><td class="num" id="LN3340">3340</td><td class="line"> gtk_dialog_add_button (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>, <span class='string_literal'>"gtk-cancel"</span>, GTK_RESPONSE_CANCEL);</td></tr>
+<tr class="codeline" data-linenumber="3341"><td class="num" id="LN3341">3341</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3342"><td class="num" id="LN3342">3342</td><td class="line"> <span class='keyword'>if</span> (can_trash) {</td></tr>
+<tr class="codeline" data-linenumber="3343"><td class="num" id="LN3343">3343</td><td class="line"> gtk_dialog_add_button (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>, <span class='macro'>_(<span class='string_literal'>"Move to _Trash"</span>)<span class='macro_popup'>gettext ("Move to _Trash")</span></span>, GTK_RESPONSE_OK);</td></tr>
+<tr class="codeline" data-linenumber="3344"><td class="num" id="LN3344">3344</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3345"><td class="num" id="LN3345">3345</td><td class="line"> dontask_cbutton = gtk_check_button_new_with_mnemonic (<span class='macro'>_(<span class='string_literal'>"_Do not ask again during this session"</span>)<span class='macro_popup'>gettext ("_Do not ask again during this session")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3346"><td class="num" id="LN3346">3346</td><td class="line"> gtk_toggle_button_set_active (<span class='macro'>GTK_TOGGLE_BUTTON (dontask_cbutton)<span class='macro_popup'>((((GtkToggleButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dontask_cbutton)), ((gtk_toggle_button_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3347"><td class="num" id="LN3347">3347</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3348"><td class="num" id="LN3348">3348</td><td class="line"> gtk_box_pack_end (<span class='macro'>GTK_BOX (gtk_dialog_get_content_area (GTK_DIALOG (dlg)))<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((gtk_dialog_get_content_area (((((GtkDialog*) (void *) g_type_check_instance_cast<br> ((GTypeInstance*) ((dlg)), ((gtk_dialog_get_type ())))))))))<br>, ((gtk_box_get_type ()))))))</span></span>, dontask_cbutton, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="3349"><td class="num" id="LN3349">3349</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3350"><td class="num" id="LN3350">3350</td><td class="line"> <span class='keyword'>if</span> (n_images == 1) {</td></tr>
+<tr class="codeline" data-linenumber="3351"><td class="num" id="LN3351">3351</td><td class="line"> gtk_dialog_add_button (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>, <span class='string_literal'>"gtk-delete"</span>, GTK_RESPONSE_OK);</td></tr>
+<tr class="codeline" data-linenumber="3352"><td class="num" id="LN3352">3352</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3353"><td class="num" id="LN3353">3353</td><td class="line"> gtk_dialog_add_button (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>, <span class='string_literal'>"gtk-yes"</span>, GTK_RESPONSE_OK);</td></tr>
+<tr class="codeline" data-linenumber="3354"><td class="num" id="LN3354">3354</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3355"><td class="num" id="LN3355">3355</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3356"><td class="num" id="LN3356">3356</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3357"><td class="num" id="LN3357">3357</td><td class="line"> gtk_dialog_set_default_response (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>, GTK_RESPONSE_OK);</td></tr>
+<tr class="codeline" data-linenumber="3358"><td class="num" id="LN3358">3358</td><td class="line"> gtk_window_set_title (<span class='macro'>GTK_WINDOW (dlg)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_window_get_type ()))))))</span></span>, <span class='string_literal'>""</span>);</td></tr>
+<tr class="codeline" data-linenumber="3359"><td class="num" id="LN3359">3359</td><td class="line"> gtk_widget_show_all (dlg);</td></tr>
+<tr class="codeline" data-linenumber="3360"><td class="num" id="LN3360">3360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3361"><td class="num" id="LN3361">3361</td><td class="line"> response = gtk_dialog_run (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3362"><td class="num" id="LN3362">3362</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3363"><td class="num" id="LN3363">3363</td><td class="line"> <span class='comment'>/* Only update the property if the user has accepted */</span></td></tr>
+<tr class="codeline" data-linenumber="3364"><td class="num" id="LN3364">3364</td><td class="line"> <span class='keyword'>if</span> (can_trash &amp;&amp; response == GTK_RESPONSE_OK)</td></tr>
+<tr class="codeline" data-linenumber="3365"><td class="num" id="LN3365">3365</td><td class="line"> dontaskagain = gtk_toggle_button_get_active (<span class='macro'>GTK_TOGGLE_BUTTON (dontask_cbutton)<span class='macro_popup'>((((GtkToggleButton*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dontask_cbutton)), ((gtk_toggle_button_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3366"><td class="num" id="LN3366">3366</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3367"><td class="num" id="LN3367">3367</td><td class="line"> <span class='comment'>/* The checkbutton is destroyed together with the dialog */</span></td></tr>
+<tr class="codeline" data-linenumber="3368"><td class="num" id="LN3368">3368</td><td class="line"> gtk_widget_destroy (dlg);</td></tr>
+<tr class="codeline" data-linenumber="3369"><td class="num" id="LN3369">3369</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3370"><td class="num" id="LN3370">3370</td><td class="line"> <span class='keyword'>return</span> response;</td></tr>
+<tr class="codeline" data-linenumber="3371"><td class="num" id="LN3371">3371</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3372"><td class="num" id="LN3372">3372</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3373"><td class="num" id="LN3373">3373</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="3374"><td class="num" id="LN3374">3374</td><td class="line">move_to_trash_real (EomImage *image, GError **error)</td></tr>
+<tr class="codeline" data-linenumber="3375"><td class="num" id="LN3375">3375</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3376"><td class="num" id="LN3376">3376</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="3377"><td class="num" id="LN3377">3377</td><td class="line"> GFileInfo *file_info;</td></tr>
+<tr class="codeline" data-linenumber="3378"><td class="num" id="LN3378">3378</td><td class="line"> gboolean can_trash, result;</td></tr>
+<tr class="codeline" data-linenumber="3379"><td class="num" id="LN3379">3379</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3380"><td class="num" id="LN3380">3380</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_IMAGE (image), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((image)); GType __t = ((eom_image_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (image)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3381"><td class="num" id="LN3381">3381</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3382"><td class="num" id="LN3382">3382</td><td class="line"> file = eom_image_get_file (image);</td></tr>
+<tr class="codeline" data-linenumber="3383"><td class="num" id="LN3383">3383</td><td class="line"> file_info = g_file_query_info (file,</td></tr>
+<tr class="codeline" data-linenumber="3384"><td class="num" id="LN3384">3384</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH<span class='macro_popup'>"access::can-trash"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3385"><td class="num" id="LN3385">3385</td><td class="line"> 0, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3386"><td class="num" id="LN3386">3386</td><td class="line"> <span class='keyword'>if</span> (file_info == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3387"><td class="num" id="LN3387">3387</td><td class="line"> g_set_error (error,</td></tr>
+<tr class="codeline" data-linenumber="3388"><td class="num" id="LN3388">3388</td><td class="line"> <span class='macro'>EOM_WINDOW_ERROR<span class='macro_popup'>(eom_window_error_quark ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3389"><td class="num" id="LN3389">3389</td><td class="line"> EOM_WINDOW_ERROR_TRASH_NOT_FOUND,</td></tr>
+<tr class="codeline" data-linenumber="3390"><td class="num" id="LN3390">3390</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Couldn't access trash."</span>)<span class='macro_popup'>gettext ("Couldn't access trash.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3391"><td class="num" id="LN3391">3391</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3392"><td class="num" id="LN3392">3392</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3393"><td class="num" id="LN3393">3393</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3394"><td class="num" id="LN3394">3394</td><td class="line"> can_trash = g_file_info_get_attribute_boolean (file_info,</td></tr>
+<tr class="codeline" data-linenumber="3395"><td class="num" id="LN3395">3395</td><td class="line"> <span class='macro'>G_FILE_ATTRIBUTE_ACCESS_CAN_TRASH<span class='macro_popup'>"access::can-trash"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3396"><td class="num" id="LN3396">3396</td><td class="line"> g_object_unref (file_info);</td></tr>
+<tr class="codeline" data-linenumber="3397"><td class="num" id="LN3397">3397</td><td class="line"> <span class='keyword'>if</span> (can_trash)</td></tr>
+<tr class="codeline" data-linenumber="3398"><td class="num" id="LN3398">3398</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="3399"><td class="num" id="LN3399">3399</td><td class="line"> result = g_file_trash (file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3400"><td class="num" id="LN3400">3400</td><td class="line"> <span class='keyword'>if</span> (result == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3401"><td class="num" id="LN3401">3401</td><td class="line"> g_set_error (error,</td></tr>
+<tr class="codeline" data-linenumber="3402"><td class="num" id="LN3402">3402</td><td class="line"> <span class='macro'>EOM_WINDOW_ERROR<span class='macro_popup'>(eom_window_error_quark ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3403"><td class="num" id="LN3403">3403</td><td class="line"> EOM_WINDOW_ERROR_TRASH_NOT_FOUND,</td></tr>
+<tr class="codeline" data-linenumber="3404"><td class="num" id="LN3404">3404</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Couldn't access trash."</span>)<span class='macro_popup'>gettext ("Couldn't access trash.")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3405"><td class="num" id="LN3405">3405</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3406"><td class="num" id="LN3406">3406</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3407"><td class="num" id="LN3407">3407</td><td class="line"> result = g_file_delete (file, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3408"><td class="num" id="LN3408">3408</td><td class="line"> <span class='keyword'>if</span> (result == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3409"><td class="num" id="LN3409">3409</td><td class="line"> g_set_error (error,</td></tr>
+<tr class="codeline" data-linenumber="3410"><td class="num" id="LN3410">3410</td><td class="line"> <span class='macro'>EOM_WINDOW_ERROR<span class='macro_popup'>(eom_window_error_quark ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3411"><td class="num" id="LN3411">3411</td><td class="line"> EOM_WINDOW_ERROR_IO,</td></tr>
+<tr class="codeline" data-linenumber="3412"><td class="num" id="LN3412">3412</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Couldn't delete file"</span>)<span class='macro_popup'>gettext ("Couldn't delete file")</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3413"><td class="num" id="LN3413">3413</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3414"><td class="num" id="LN3414">3414</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3415"><td class="num" id="LN3415">3415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3416"><td class="num" id="LN3416">3416</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="3417"><td class="num" id="LN3417">3417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3418"><td class="num" id="LN3418">3418</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="3419"><td class="num" id="LN3419">3419</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3420"><td class="num" id="LN3420">3420</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3421"><td class="num" id="LN3421">3421</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3422"><td class="num" id="LN3422">3422</td><td class="line">eom_window_cmd_copy_image (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3423"><td class="num" id="LN3423">3423</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3424"><td class="num" id="LN3424">3424</td><td class="line"> GtkClipboard *clipboard;</td></tr>
+<tr class="codeline" data-linenumber="3425"><td class="num" id="LN3425">3425</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="3426"><td class="num" id="LN3426">3426</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3427"><td class="num" id="LN3427">3427</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="3428"><td class="num" id="LN3428">3428</td><td class="line"> EomClipboardHandler *cbhandler;</td></tr>
+<tr class="codeline" data-linenumber="3429"><td class="num" id="LN3429">3429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3430"><td class="num" id="LN3430">3430</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3431"><td class="num" id="LN3431">3431</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3432"><td class="num" id="LN3432">3432</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3433"><td class="num" id="LN3433">3433</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3434"><td class="num" id="LN3434">3434</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3435"><td class="num" id="LN3435">3435</td><td class="line"> image = eom_thumb_view_get_first_selected_image (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3436"><td class="num" id="LN3436">3436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3437"><td class="num" id="LN3437">3437</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_IMAGE (image))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((image)); GType __t = ((eom_image_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_IMAGE (image)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3438"><td class="num" id="LN3438">3438</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3439"><td class="num" id="LN3439">3439</td><td class="line"> clipboard = gtk_clipboard_get (<span class='macro'>GDK_SELECTION_CLIPBOARD<span class='macro_popup'>((GdkAtom)((gpointer) (gulong) (69)))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3440"><td class="num" id="LN3440">3440</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3441"><td class="num" id="LN3441">3441</td><td class="line"> cbhandler = eom_clipboard_handler_new (image);</td></tr>
+<tr class="codeline" data-linenumber="3442"><td class="num" id="LN3442">3442</td><td class="line"> <span class='comment'>// cbhandler will self-destruct when it's not needed anymore</span></td></tr>
+<tr class="codeline" data-linenumber="3443"><td class="num" id="LN3443">3443</td><td class="line"> eom_clipboard_handler_copy_to_clipboard (cbhandler, clipboard);</td></tr>
+<tr class="codeline" data-linenumber="3444"><td class="num" id="LN3444">3444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3445"><td class="num" id="LN3445">3445</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3446"><td class="num" id="LN3446">3446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3447"><td class="num" id="LN3447">3447</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3448"><td class="num" id="LN3448">3448</td><td class="line">eom_window_cmd_move_to_trash (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3449"><td class="num" id="LN3449">3449</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3450"><td class="num" id="LN3450">3450</td><td class="line"> GList *images;</td></tr>
+<tr class="codeline" data-linenumber="3451"><td class="num" id="LN3451">3451</td><td class="line"> GList *it;</td></tr>
+<tr class="codeline" data-linenumber="3452"><td class="num" id="LN3452">3452</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3453"><td class="num" id="LN3453">3453</td><td class="line"> EomListStore *list;</td></tr>
+<tr class="codeline" data-linenumber="3454"><td class="num" id="LN3454">3454</td><td class="line"> <span class='keyword'>int</span> pos;</td></tr>
+<tr class="codeline" data-linenumber="3455"><td class="num" id="LN3455">3455</td><td class="line"> EomImage *img;</td></tr>
+<tr class="codeline" data-linenumber="3456"><td class="num" id="LN3456">3456</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="3457"><td class="num" id="LN3457">3457</td><td class="line"> <span class='keyword'>int</span> response;</td></tr>
+<tr class="codeline" data-linenumber="3458"><td class="num" id="LN3458">3458</td><td class="line"> <span class='keyword'>int</span> n_images;</td></tr>
+<tr class="codeline" data-linenumber="3459"><td class="num" id="LN3459">3459</td><td class="line"> gboolean success;</td></tr>
+<tr class="codeline" data-linenumber="3460"><td class="num" id="LN3460">3460</td><td class="line"> gboolean can_trash;</td></tr>
+<tr class="codeline" data-linenumber="3461"><td class="num" id="LN3461">3461</td><td class="line"> <span class='keyword'>const</span> gchar *action_name;</td></tr>
+<tr class="codeline" data-linenumber="3462"><td class="num" id="LN3462">3462</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3463"><td class="num" id="LN3463">3463</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3464"><td class="num" id="LN3464">3464</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3465"><td class="num" id="LN3465">3465</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3466"><td class="num" id="LN3466">3466</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3467"><td class="num" id="LN3467">3467</td><td class="line"> list = priv-&gt;store;</td></tr>
+<tr class="codeline" data-linenumber="3468"><td class="num" id="LN3468">3468</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3469"><td class="num" id="LN3469">3469</td><td class="line"> n_images = eom_thumb_view_get_n_selected (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3470"><td class="num" id="LN3470">3470</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3471"><td class="num" id="LN3471">3471</td><td class="line"> <span class='keyword'>if</span> (n_images &lt; 1) <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3472"><td class="num" id="LN3472">3472</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3473"><td class="num" id="LN3473">3473</td><td class="line"> <span class='comment'>/* save position of selected image after the deletion */</span></td></tr>
+<tr class="codeline" data-linenumber="3474"><td class="num" id="LN3474">3474</td><td class="line"> images = eom_thumb_view_get_selected_images (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3475"><td class="num" id="LN3475">3475</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3476"><td class="num" id="LN3476">3476</td><td class="line"> <span class='macro'>g_assert (images != NULL)<span class='macro_popup'>do { if (images != ((void*)0)) ; else g_assertion_message_expr<br> ("EOM", "eom-window.c", 3476, ((const char*) (__func__)), "images != NULL"<br>); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3477"><td class="num" id="LN3477">3477</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3478"><td class="num" id="LN3478">3478</td><td class="line"> <span class='comment'>/* HACK: eom_list_store_get_n_selected return list in reverse order */</span></td></tr>
+<tr class="codeline" data-linenumber="3479"><td class="num" id="LN3479">3479</td><td class="line"> images = g_list_reverse (images);</td></tr>
+<tr class="codeline" data-linenumber="3480"><td class="num" id="LN3480">3480</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3481"><td class="num" id="LN3481">3481</td><td class="line"> can_trash = eom_window_all_images_trasheable (images);</td></tr>
+<tr class="codeline" data-linenumber="3482"><td class="num" id="LN3482">3482</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3483"><td class="num" id="LN3483">3483</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3484"><td class="num" id="LN3484">3484</td><td class="line"> action_name = gtk_action_get_name (action);</td></tr>
+<tr class="codeline" data-linenumber="3485"><td class="num" id="LN3485">3485</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3486"><td class="num" id="LN3486">3486</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3487"><td class="num" id="LN3487">3487</td><td class="line"> <span class='keyword'>if</span> (g_ascii_strcasecmp (action_name, <span class='string_literal'>"Delete"</span>) == 0 ||</td></tr>
+<tr class="codeline" data-linenumber="3488"><td class="num" id="LN3488">3488</td><td class="line"> can_trash == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3489"><td class="num" id="LN3489">3489</td><td class="line"> response = show_move_to_trash_confirm_dialog (window, images, can_trash);</td></tr>
+<tr class="codeline" data-linenumber="3490"><td class="num" id="LN3490">3490</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3491"><td class="num" id="LN3491">3491</td><td class="line"> <span class='keyword'>if</span> (response != GTK_RESPONSE_OK) <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3492"><td class="num" id="LN3492">3492</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3493"><td class="num" id="LN3493">3493</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3494"><td class="num" id="LN3494">3494</td><td class="line"> pos = eom_list_store_get_pos_by_image (list, <span class='macro'>EOM_IMAGE (images-&gt;data)<span class='macro_popup'>((((EomImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((images-&gt;data)), ((eom_image_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3495"><td class="num" id="LN3495">3495</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3496"><td class="num" id="LN3496">3496</td><td class="line"> <span class='comment'>/* FIXME: make a nice progress dialog */</span></td></tr>
+<tr class="codeline" data-linenumber="3497"><td class="num" id="LN3497">3497</td><td class="line"> <span class='comment'>/* Do the work actually. First try to delete the image from the disk. If this</span></td></tr>
+<tr class="codeline" data-linenumber="3498"><td class="num" id="LN3498">3498</td><td class="line"> <span class='comment'>* is successful, remove it from the screen. Otherwise show error dialog.</span></td></tr>
+<tr class="codeline" data-linenumber="3499"><td class="num" id="LN3499">3499</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="3500"><td class="num" id="LN3500">3500</td><td class="line"> <span class='keyword'>for</span> (it = images; it != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; it = it-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="3501"><td class="num" id="LN3501">3501</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3502"><td class="num" id="LN3502">3502</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="3503"><td class="num" id="LN3503">3503</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3504"><td class="num" id="LN3504">3504</td><td class="line"> image = <span class='macro'>EOM_IMAGE (it-&gt;data)<span class='macro_popup'>((((EomImage*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((it-&gt;data)), ((eom_image_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3505"><td class="num" id="LN3505">3505</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3506"><td class="num" id="LN3506">3506</td><td class="line"> success = move_to_trash_real (image, &amp;error);</td></tr>
+<tr class="codeline" data-linenumber="3507"><td class="num" id="LN3507">3507</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3508"><td class="num" id="LN3508">3508</td><td class="line"> <span class='keyword'>if</span> (success) {</td></tr>
+<tr class="codeline" data-linenumber="3509"><td class="num" id="LN3509">3509</td><td class="line"> eom_list_store_remove_image (list, image);</td></tr>
+<tr class="codeline" data-linenumber="3510"><td class="num" id="LN3510">3510</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3511"><td class="num" id="LN3511">3511</td><td class="line"> <span class='keyword'>char</span> *header;</td></tr>
+<tr class="codeline" data-linenumber="3512"><td class="num" id="LN3512">3512</td><td class="line"> GtkWidget *dlg;</td></tr>
+<tr class="codeline" data-linenumber="3513"><td class="num" id="LN3513">3513</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3514"><td class="num" id="LN3514">3514</td><td class="line"> header = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Error on deleting image %s"</span>)<span class='macro_popup'>gettext ("Error on deleting image %s")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3515"><td class="num" id="LN3515">3515</td><td class="line"> eom_image_get_caption (image));</td></tr>
+<tr class="codeline" data-linenumber="3516"><td class="num" id="LN3516">3516</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3517"><td class="num" id="LN3517">3517</td><td class="line"> dlg = gtk_message_dialog_new (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3518"><td class="num" id="LN3518">3518</td><td class="line"> GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,</td></tr>
+<tr class="codeline" data-linenumber="3519"><td class="num" id="LN3519">3519</td><td class="line"> GTK_MESSAGE_ERROR,</td></tr>
+<tr class="codeline" data-linenumber="3520"><td class="num" id="LN3520">3520</td><td class="line"> GTK_BUTTONS_OK,</td></tr>
+<tr class="codeline" data-linenumber="3521"><td class="num" id="LN3521">3521</td><td class="line"> <span class='string_literal'>"%s"</span>, header);</td></tr>
+<tr class="codeline" data-linenumber="3522"><td class="num" id="LN3522">3522</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3523"><td class="num" id="LN3523">3523</td><td class="line"> gtk_message_dialog_format_secondary_text (<span class='macro'>GTK_MESSAGE_DIALOG (dlg)<span class='macro_popup'>((((GtkMessageDialog*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((dlg)), ((gtk_message_dialog_get_type ()))))<br>))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3524"><td class="num" id="LN3524">3524</td><td class="line"> <span class='string_literal'>"%s"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="3525"><td class="num" id="LN3525">3525</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3526"><td class="num" id="LN3526">3526</td><td class="line"> gtk_dialog_run (<span class='macro'>GTK_DIALOG (dlg)<span class='macro_popup'>((((GtkDialog*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((dlg)), ((gtk_dialog_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3527"><td class="num" id="LN3527">3527</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3528"><td class="num" id="LN3528">3528</td><td class="line"> gtk_widget_destroy (dlg);</td></tr>
+<tr class="codeline" data-linenumber="3529"><td class="num" id="LN3529">3529</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3530"><td class="num" id="LN3530">3530</td><td class="line"> g_free (header);</td></tr>
+<tr class="codeline" data-linenumber="3531"><td class="num" id="LN3531">3531</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3532"><td class="num" id="LN3532">3532</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3533"><td class="num" id="LN3533">3533</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3534"><td class="num" id="LN3534">3534</td><td class="line"> <span class='comment'>/* free list */</span></td></tr>
+<tr class="codeline" data-linenumber="3535"><td class="num" id="LN3535">3535</td><td class="line"> g_list_free_full (images, g_object_unref);</td></tr>
+<tr class="codeline" data-linenumber="3536"><td class="num" id="LN3536">3536</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3537"><td class="num" id="LN3537">3537</td><td class="line"> <span class='comment'>/* select image at previously saved position */</span></td></tr>
+<tr class="codeline" data-linenumber="3538"><td class="num" id="LN3538">3538</td><td class="line"> pos = <span class='macro'>MIN (pos, eom_list_store_length (list) - 1)<span class='macro_popup'>(((pos) &lt; (eom_list_store_length (list) - 1)) ? (pos) : (eom_list_store_length<br> (list) - 1))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3539"><td class="num" id="LN3539">3539</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3540"><td class="num" id="LN3540">3540</td><td class="line"> <span class='keyword'>if</span> (pos &gt;= 0) {</td></tr>
+<tr class="codeline" data-linenumber="3541"><td class="num" id="LN3541">3541</td><td class="line"> img = eom_list_store_get_image_by_pos (list, pos);</td></tr>
+<tr class="codeline" data-linenumber="3542"><td class="num" id="LN3542">3542</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3543"><td class="num" id="LN3543">3543</td><td class="line"> eom_thumb_view_set_current_image (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3544"><td class="num" id="LN3544">3544</td><td class="line"> img,</td></tr>
+<tr class="codeline" data-linenumber="3545"><td class="num" id="LN3545">3545</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3546"><td class="num" id="LN3546">3546</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3547"><td class="num" id="LN3547">3547</td><td class="line"> <span class='keyword'>if</span> (img != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3548"><td class="num" id="LN3548">3548</td><td class="line"> g_object_unref (img);</td></tr>
+<tr class="codeline" data-linenumber="3549"><td class="num" id="LN3549">3549</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3550"><td class="num" id="LN3550">3550</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3551"><td class="num" id="LN3551">3551</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3552"><td class="num" id="LN3552">3552</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3553"><td class="num" id="LN3553">3553</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3554"><td class="num" id="LN3554">3554</td><td class="line">eom_window_cmd_fullscreen (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3555"><td class="num" id="LN3555">3555</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3556"><td class="num" id="LN3556">3556</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="3557"><td class="num" id="LN3557">3557</td><td class="line"> gboolean fullscreen;</td></tr>
+<tr class="codeline" data-linenumber="3558"><td class="num" id="LN3558">3558</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3559"><td class="num" id="LN3559">3559</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3560"><td class="num" id="LN3560">3560</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3561"><td class="num" id="LN3561">3561</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3561, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3562"><td class="num" id="LN3562">3562</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3563"><td class="num" id="LN3563">3563</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3564"><td class="num" id="LN3564">3564</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3565"><td class="num" id="LN3565">3565</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3566"><td class="num" id="LN3566">3566</td><td class="line"> fullscreen = gtk_toggle_action_get_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3567"><td class="num" id="LN3567">3567</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3568"><td class="num" id="LN3568">3568</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3569"><td class="num" id="LN3569">3569</td><td class="line"> <span class='keyword'>if</span> (fullscreen) {</td></tr>
+<tr class="codeline" data-linenumber="3570"><td class="num" id="LN3570">3570</td><td class="line"> eom_window_run_fullscreen (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3571"><td class="num" id="LN3571">3571</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3572"><td class="num" id="LN3572">3572</td><td class="line"> eom_window_stop_fullscreen (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3573"><td class="num" id="LN3573">3573</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3574"><td class="num" id="LN3574">3574</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3575"><td class="num" id="LN3575">3575</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3576"><td class="num" id="LN3576">3576</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3577"><td class="num" id="LN3577">3577</td><td class="line">eom_window_cmd_slideshow (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3578"><td class="num" id="LN3578">3578</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3579"><td class="num" id="LN3579">3579</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="3580"><td class="num" id="LN3580">3580</td><td class="line"> gboolean slideshow;</td></tr>
+<tr class="codeline" data-linenumber="3581"><td class="num" id="LN3581">3581</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3582"><td class="num" id="LN3582">3582</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3583"><td class="num" id="LN3583">3583</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3584"><td class="num" id="LN3584">3584</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3584, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3585"><td class="num" id="LN3585">3585</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3586"><td class="num" id="LN3586">3586</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3587"><td class="num" id="LN3587">3587</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3588"><td class="num" id="LN3588">3588</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3589"><td class="num" id="LN3589">3589</td><td class="line"> slideshow = gtk_toggle_action_get_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3590"><td class="num" id="LN3590">3590</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3591"><td class="num" id="LN3591">3591</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3592"><td class="num" id="LN3592">3592</td><td class="line"> <span class='keyword'>if</span> (slideshow) {</td></tr>
+<tr class="codeline" data-linenumber="3593"><td class="num" id="LN3593">3593</td><td class="line"> eom_window_run_fullscreen (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3594"><td class="num" id="LN3594">3594</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="3595"><td class="num" id="LN3595">3595</td><td class="line"> eom_window_stop_fullscreen (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3596"><td class="num" id="LN3596">3596</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3597"><td class="num" id="LN3597">3597</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3598"><td class="num" id="LN3598">3598</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3599"><td class="num" id="LN3599">3599</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3600"><td class="num" id="LN3600">3600</td><td class="line">eom_window_cmd_pause_slideshow (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3601"><td class="num" id="LN3601">3601</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3602"><td class="num" id="LN3602">3602</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="3603"><td class="num" id="LN3603">3603</td><td class="line"> gboolean slideshow;</td></tr>
+<tr class="codeline" data-linenumber="3604"><td class="num" id="LN3604">3604</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3605"><td class="num" id="LN3605">3605</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3606"><td class="num" id="LN3606">3606</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3607"><td class="num" id="LN3607">3607</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3607, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3608"><td class="num" id="LN3608">3608</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3609"><td class="num" id="LN3609">3609</td><td class="line"> window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3610"><td class="num" id="LN3610">3610</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3611"><td class="num" id="LN3611">3611</td><td class="line"> slideshow = window-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW;</td></tr>
+<tr class="codeline" data-linenumber="3612"><td class="num" id="LN3612">3612</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3613"><td class="num" id="LN3613">3613</td><td class="line"> <span class='keyword'>if</span> (!slideshow &amp;&amp; window-&gt;priv-&gt;mode != EOM_WINDOW_MODE_FULLSCREEN)</td></tr>
+<tr class="codeline" data-linenumber="3614"><td class="num" id="LN3614">3614</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="3615"><td class="num" id="LN3615">3615</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3616"><td class="num" id="LN3616">3616</td><td class="line"> eom_window_run_fullscreen (window, !slideshow);</td></tr>
+<tr class="codeline" data-linenumber="3617"><td class="num" id="LN3617">3617</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3618"><td class="num" id="LN3618">3618</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3619"><td class="num" id="LN3619">3619</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3620"><td class="num" id="LN3620">3620</td><td class="line">eom_window_cmd_zoom_in (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3621"><td class="num" id="LN3621">3621</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3622"><td class="num" id="LN3622">3622</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3623"><td class="num" id="LN3623">3623</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3624"><td class="num" id="LN3624">3624</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3625"><td class="num" id="LN3625">3625</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3626"><td class="num" id="LN3626">3626</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3626, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3627"><td class="num" id="LN3627">3627</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3628"><td class="num" id="LN3628">3628</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3629"><td class="num" id="LN3629">3629</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3630"><td class="num" id="LN3630">3630</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;view) {</td></tr>
+<tr class="codeline" data-linenumber="3631"><td class="num" id="LN3631">3631</td><td class="line"> eom_scroll_view_zoom_in (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3632"><td class="num" id="LN3632">3632</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3633"><td class="num" id="LN3633">3633</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3634"><td class="num" id="LN3634">3634</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3635"><td class="num" id="LN3635">3635</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3636"><td class="num" id="LN3636">3636</td><td class="line">eom_window_cmd_zoom_out (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3637"><td class="num" id="LN3637">3637</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3638"><td class="num" id="LN3638">3638</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3639"><td class="num" id="LN3639">3639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3640"><td class="num" id="LN3640">3640</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3641"><td class="num" id="LN3641">3641</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3642"><td class="num" id="LN3642">3642</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3642, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3643"><td class="num" id="LN3643">3643</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3644"><td class="num" id="LN3644">3644</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3645"><td class="num" id="LN3645">3645</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3646"><td class="num" id="LN3646">3646</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;view) {</td></tr>
+<tr class="codeline" data-linenumber="3647"><td class="num" id="LN3647">3647</td><td class="line"> eom_scroll_view_zoom_out (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3648"><td class="num" id="LN3648">3648</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3649"><td class="num" id="LN3649">3649</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3650"><td class="num" id="LN3650">3650</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3651"><td class="num" id="LN3651">3651</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3652"><td class="num" id="LN3652">3652</td><td class="line">eom_window_cmd_zoom_normal (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3653"><td class="num" id="LN3653">3653</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3654"><td class="num" id="LN3654">3654</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3655"><td class="num" id="LN3655">3655</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3656"><td class="num" id="LN3656">3656</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3657"><td class="num" id="LN3657">3657</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3658"><td class="num" id="LN3658">3658</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3658, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3659"><td class="num" id="LN3659">3659</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3660"><td class="num" id="LN3660">3660</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3661"><td class="num" id="LN3661">3661</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3662"><td class="num" id="LN3662">3662</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;view) {</td></tr>
+<tr class="codeline" data-linenumber="3663"><td class="num" id="LN3663">3663</td><td class="line"> eom_scroll_view_set_zoom (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>, 1.0);</td></tr>
+<tr class="codeline" data-linenumber="3664"><td class="num" id="LN3664">3664</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3665"><td class="num" id="LN3665">3665</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3666"><td class="num" id="LN3666">3666</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3667"><td class="num" id="LN3667">3667</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3668"><td class="num" id="LN3668">3668</td><td class="line">eom_window_cmd_zoom_fit (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3669"><td class="num" id="LN3669">3669</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3670"><td class="num" id="LN3670">3670</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3671"><td class="num" id="LN3671">3671</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3672"><td class="num" id="LN3672">3672</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3673"><td class="num" id="LN3673">3673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3674"><td class="num" id="LN3674">3674</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3674, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3675"><td class="num" id="LN3675">3675</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3676"><td class="num" id="LN3676">3676</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3677"><td class="num" id="LN3677">3677</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3678"><td class="num" id="LN3678">3678</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;view) {</td></tr>
+<tr class="codeline" data-linenumber="3679"><td class="num" id="LN3679">3679</td><td class="line"> eom_scroll_view_zoom_fit (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3680"><td class="num" id="LN3680">3680</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3681"><td class="num" id="LN3681">3681</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3682"><td class="num" id="LN3682">3682</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3683"><td class="num" id="LN3683">3683</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3684"><td class="num" id="LN3684">3684</td><td class="line">eom_window_cmd_go_prev (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3685"><td class="num" id="LN3685">3685</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3686"><td class="num" id="LN3686">3686</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3687"><td class="num" id="LN3687">3687</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3688"><td class="num" id="LN3688">3688</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3689"><td class="num" id="LN3689">3689</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3690"><td class="num" id="LN3690">3690</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3690, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3691"><td class="num" id="LN3691">3691</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3692"><td class="num" id="LN3692">3692</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3693"><td class="num" id="LN3693">3693</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3694"><td class="num" id="LN3694">3694</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3695"><td class="num" id="LN3695">3695</td><td class="line"> EOM_THUMB_VIEW_SELECT_LEFT);</td></tr>
+<tr class="codeline" data-linenumber="3696"><td class="num" id="LN3696">3696</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3697"><td class="num" id="LN3697">3697</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3698"><td class="num" id="LN3698">3698</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3699"><td class="num" id="LN3699">3699</td><td class="line">eom_window_cmd_go_next (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3700"><td class="num" id="LN3700">3700</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3701"><td class="num" id="LN3701">3701</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3702"><td class="num" id="LN3702">3702</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3703"><td class="num" id="LN3703">3703</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3704"><td class="num" id="LN3704">3704</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3705"><td class="num" id="LN3705">3705</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3705, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3706"><td class="num" id="LN3706">3706</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3707"><td class="num" id="LN3707">3707</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3708"><td class="num" id="LN3708">3708</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3709"><td class="num" id="LN3709">3709</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3710"><td class="num" id="LN3710">3710</td><td class="line"> EOM_THUMB_VIEW_SELECT_RIGHT);</td></tr>
+<tr class="codeline" data-linenumber="3711"><td class="num" id="LN3711">3711</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3712"><td class="num" id="LN3712">3712</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3713"><td class="num" id="LN3713">3713</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3714"><td class="num" id="LN3714">3714</td><td class="line">eom_window_cmd_go_first (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3715"><td class="num" id="LN3715">3715</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3716"><td class="num" id="LN3716">3716</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3717"><td class="num" id="LN3717">3717</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3718"><td class="num" id="LN3718">3718</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3719"><td class="num" id="LN3719">3719</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3720"><td class="num" id="LN3720">3720</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3720, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3721"><td class="num" id="LN3721">3721</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3722"><td class="num" id="LN3722">3722</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3723"><td class="num" id="LN3723">3723</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3724"><td class="num" id="LN3724">3724</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3725"><td class="num" id="LN3725">3725</td><td class="line"> EOM_THUMB_VIEW_SELECT_FIRST);</td></tr>
+<tr class="codeline" data-linenumber="3726"><td class="num" id="LN3726">3726</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3727"><td class="num" id="LN3727">3727</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3728"><td class="num" id="LN3728">3728</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3729"><td class="num" id="LN3729">3729</td><td class="line">eom_window_cmd_go_last (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3730"><td class="num" id="LN3730">3730</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3731"><td class="num" id="LN3731">3731</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3732"><td class="num" id="LN3732">3732</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3733"><td class="num" id="LN3733">3733</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3734"><td class="num" id="LN3734">3734</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3735"><td class="num" id="LN3735">3735</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3735, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3736"><td class="num" id="LN3736">3736</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3737"><td class="num" id="LN3737">3737</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3738"><td class="num" id="LN3738">3738</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3739"><td class="num" id="LN3739">3739</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3740"><td class="num" id="LN3740">3740</td><td class="line"> EOM_THUMB_VIEW_SELECT_LAST);</td></tr>
+<tr class="codeline" data-linenumber="3741"><td class="num" id="LN3741">3741</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3742"><td class="num" id="LN3742">3742</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3743"><td class="num" id="LN3743">3743</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3744"><td class="num" id="LN3744">3744</td><td class="line">eom_window_cmd_go_random (GtkAction *action, gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="3745"><td class="num" id="LN3745">3745</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3746"><td class="num" id="LN3746">3746</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="3747"><td class="num" id="LN3747">3747</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3748"><td class="num" id="LN3748">3748</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (user_data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((user_data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (user_data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3749"><td class="num" id="LN3749">3749</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3750"><td class="num" id="LN3750">3750</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 3750, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3751"><td class="num" id="LN3751">3751</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3752"><td class="num" id="LN3752">3752</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="3753"><td class="num" id="LN3753">3753</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3754"><td class="num" id="LN3754">3754</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3755"><td class="num" id="LN3755">3755</td><td class="line"> EOM_THUMB_VIEW_SELECT_RANDOM);</td></tr>
+<tr class="codeline" data-linenumber="3756"><td class="num" id="LN3756">3756</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3757"><td class="num" id="LN3757">3757</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3758"><td class="num" id="LN3758">3758</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GtkActionEntry action_entries_window[] = {</td></tr>
+<tr class="codeline" data-linenumber="3759"><td class="num" id="LN3759">3759</td><td class="line"> { <span class='string_literal'>"Image"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Image"</span>)<span class='macro_popup'>("_Image")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3760"><td class="num" id="LN3760">3760</td><td class="line"> { <span class='string_literal'>"Edit"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Edit"</span>)<span class='macro_popup'>("_Edit")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3761"><td class="num" id="LN3761">3761</td><td class="line"> { <span class='string_literal'>"View"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_View"</span>)<span class='macro_popup'>("_View")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3762"><td class="num" id="LN3762">3762</td><td class="line"> { <span class='string_literal'>"Go"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Go"</span>)<span class='macro_popup'>("_Go")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3763"><td class="num" id="LN3763">3763</td><td class="line"> { <span class='string_literal'>"Tools"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Tools"</span>)<span class='macro_popup'>("_Tools")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3764"><td class="num" id="LN3764">3764</td><td class="line"> { <span class='string_literal'>"Help"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Help"</span>)<span class='macro_popup'>("_Help")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3765"><td class="num" id="LN3765">3765</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3766"><td class="num" id="LN3766">3766</td><td class="line"> { <span class='string_literal'>"ImageOpen"</span>, <span class='string_literal'>"document-open"</span>, <span class='macro'>N_(<span class='string_literal'>"_Open…"</span>)<span class='macro_popup'>("_Open…")</span></span>, <span class='string_literal'>"&lt;control&gt;O"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3767"><td class="num" id="LN3767">3767</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Open a file"</span>)<span class='macro_popup'>("Open a file")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3768"><td class="num" id="LN3768">3768</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_file_open)<span class='macro_popup'>((GCallback) (eom_window_cmd_file_open))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3769"><td class="num" id="LN3769">3769</td><td class="line"> { <span class='string_literal'>"ImageClose"</span>, <span class='string_literal'>"window-close"</span>, <span class='macro'>N_(<span class='string_literal'>"_Close"</span>)<span class='macro_popup'>("_Close")</span></span>, <span class='string_literal'>"&lt;control&gt;W"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3770"><td class="num" id="LN3770">3770</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Close window"</span>)<span class='macro_popup'>("Close window")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3771"><td class="num" id="LN3771">3771</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_close_window)<span class='macro_popup'>((GCallback) (eom_window_cmd_close_window))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3772"><td class="num" id="LN3772">3772</td><td class="line"> { <span class='string_literal'>"EditToolbar"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"T_oolbar"</span>)<span class='macro_popup'>("T_oolbar")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3773"><td class="num" id="LN3773">3773</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Edit the application toolbar"</span>)<span class='macro_popup'>("Edit the application toolbar")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3774"><td class="num" id="LN3774">3774</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_edit_toolbar)<span class='macro_popup'>((GCallback) (eom_window_cmd_edit_toolbar))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3775"><td class="num" id="LN3775">3775</td><td class="line"> { <span class='string_literal'>"EditPreferences"</span>, <span class='string_literal'>"preferences-desktop"</span>, <span class='macro'>N_(<span class='string_literal'>"Prefere_nces"</span>)<span class='macro_popup'>("Prefere_nces")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3776"><td class="num" id="LN3776">3776</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Preferences for Eye of MATE"</span>)<span class='macro_popup'>("Preferences for Eye of MATE")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3777"><td class="num" id="LN3777">3777</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_preferences)<span class='macro_popup'>((GCallback) (eom_window_cmd_preferences))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3778"><td class="num" id="LN3778">3778</td><td class="line"> { <span class='string_literal'>"HelpManual"</span>, <span class='string_literal'>"help-browser"</span>, <span class='macro'>N_(<span class='string_literal'>"_Contents"</span>)<span class='macro_popup'>("_Contents")</span></span>, <span class='string_literal'>"F1"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3779"><td class="num" id="LN3779">3779</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Help on this application"</span>)<span class='macro_popup'>("Help on this application")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3780"><td class="num" id="LN3780">3780</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_help)<span class='macro_popup'>((GCallback) (eom_window_cmd_help))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3781"><td class="num" id="LN3781">3781</td><td class="line"> { <span class='string_literal'>"HelpAbout"</span>, <span class='string_literal'>"help-about"</span>, <span class='macro'>N_(<span class='string_literal'>"_About"</span>)<span class='macro_popup'>("_About")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3782"><td class="num" id="LN3782">3782</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"About this application"</span>)<span class='macro_popup'>("About this application")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3783"><td class="num" id="LN3783">3783</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_about)<span class='macro_popup'>((GCallback) (eom_window_cmd_about))</span></span> }</td></tr>
+<tr class="codeline" data-linenumber="3784"><td class="num" id="LN3784">3784</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="3785"><td class="num" id="LN3785">3785</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3786"><td class="num" id="LN3786">3786</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GtkToggleActionEntry toggle_entries_window[] = {</td></tr>
+<tr class="codeline" data-linenumber="3787"><td class="num" id="LN3787">3787</td><td class="line"> { <span class='string_literal'>"ViewToolbar"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Toolbar"</span>)<span class='macro_popup'>("_Toolbar")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3788"><td class="num" id="LN3788">3788</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Changes the visibility of the toolbar in the current window"</span>)<span class='macro_popup'>("Changes the visibility of the toolbar in the current window"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3789"><td class="num" id="LN3789">3789</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_show_hide_bar)<span class='macro_popup'>((GCallback) (eom_window_cmd_show_hide_bar))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3790"><td class="num" id="LN3790">3790</td><td class="line"> { <span class='string_literal'>"ViewStatusbar"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Statusbar"</span>)<span class='macro_popup'>("_Statusbar")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3791"><td class="num" id="LN3791">3791</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Changes the visibility of the statusbar in the current window"</span>)<span class='macro_popup'>("Changes the visibility of the statusbar in the current window"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3792"><td class="num" id="LN3792">3792</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_show_hide_bar)<span class='macro_popup'>((GCallback) (eom_window_cmd_show_hide_bar))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3793"><td class="num" id="LN3793">3793</td><td class="line"> { <span class='string_literal'>"ViewImageCollection"</span>, <span class='string_literal'>"eom-image-collection"</span>, <span class='macro'>N_(<span class='string_literal'>"_Image Collection"</span>)<span class='macro_popup'>("_Image Collection")</span></span>, <span class='string_literal'>"&lt;control&gt;F9"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3794"><td class="num" id="LN3794">3794</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Changes the visibility of the image collection pane in the current window"</span>)<span class='macro_popup'>("Changes the visibility of the image collection pane in the current window"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3795"><td class="num" id="LN3795">3795</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_show_hide_bar)<span class='macro_popup'>((GCallback) (eom_window_cmd_show_hide_bar))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3796"><td class="num" id="LN3796">3796</td><td class="line"> { <span class='string_literal'>"ViewSidebar"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"Side _Pane"</span>)<span class='macro_popup'>("Side _Pane")</span></span>, <span class='string_literal'>"F9"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3797"><td class="num" id="LN3797">3797</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Changes the visibility of the side pane in the current window"</span>)<span class='macro_popup'>("Changes the visibility of the side pane in the current window"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3798"><td class="num" id="LN3798">3798</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_show_hide_bar)<span class='macro_popup'>((GCallback) (eom_window_cmd_show_hide_bar))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3799"><td class="num" id="LN3799">3799</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="3800"><td class="num" id="LN3800">3800</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3801"><td class="num" id="LN3801">3801</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GtkActionEntry action_entries_image[] = {</td></tr>
+<tr class="codeline" data-linenumber="3802"><td class="num" id="LN3802">3802</td><td class="line"> { <span class='string_literal'>"ImageSave"</span>, <span class='string_literal'>"document-save"</span>, <span class='macro'>N_(<span class='string_literal'>"_Save"</span>)<span class='macro_popup'>("_Save")</span></span>, <span class='string_literal'>"&lt;control&gt;s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3803"><td class="num" id="LN3803">3803</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Save changes in currently selected images"</span>)<span class='macro_popup'>("Save changes in currently selected images")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3804"><td class="num" id="LN3804">3804</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_save)<span class='macro_popup'>((GCallback) (eom_window_cmd_save))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3805"><td class="num" id="LN3805">3805</td><td class="line"> { <span class='string_literal'>"ImageOpenWith"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"Open _with"</span>)<span class='macro_popup'>("Open _with")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3806"><td class="num" id="LN3806">3806</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Open the selected image with a different application"</span>)<span class='macro_popup'>("Open the selected image with a different application")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3807"><td class="num" id="LN3807">3807</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>},</td></tr>
+<tr class="codeline" data-linenumber="3808"><td class="num" id="LN3808">3808</td><td class="line"> { <span class='string_literal'>"ImageSaveAs"</span>, <span class='string_literal'>"document-save-as"</span>, <span class='macro'>N_(<span class='string_literal'>"Save _As…"</span>)<span class='macro_popup'>("Save _As…")</span></span>, <span class='string_literal'>"&lt;control&gt;&lt;shift&gt;s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3809"><td class="num" id="LN3809">3809</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Save the selected images with a different name"</span>)<span class='macro_popup'>("Save the selected images with a different name")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3810"><td class="num" id="LN3810">3810</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_save_as)<span class='macro_popup'>((GCallback) (eom_window_cmd_save_as))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3811"><td class="num" id="LN3811">3811</td><td class="line"> { <span class='string_literal'>"ImageOpenContainingFolder"</span>, <span class='string_literal'>"folder"</span>, <span class='macro'>N_(<span class='string_literal'>"Open Containing _Folder"</span>)<span class='macro_popup'>("Open Containing _Folder")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3812"><td class="num" id="LN3812">3812</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Show the folder which contains this file in the file manager"</span>)<span class='macro_popup'>("Show the folder which contains this file in the file manager"<br>)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3813"><td class="num" id="LN3813">3813</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_open_containing_folder)<span class='macro_popup'>((GCallback) (eom_window_cmd_open_containing_folder))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3814"><td class="num" id="LN3814">3814</td><td class="line"> { <span class='string_literal'>"ImagePrint"</span>, <span class='string_literal'>"document-print"</span>, <span class='macro'>N_(<span class='string_literal'>"_Print…"</span>)<span class='macro_popup'>("_Print…")</span></span>, <span class='string_literal'>"&lt;control&gt;p"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3815"><td class="num" id="LN3815">3815</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Print the selected image"</span>)<span class='macro_popup'>("Print the selected image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3816"><td class="num" id="LN3816">3816</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_print)<span class='macro_popup'>((GCallback) (eom_window_cmd_print))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3817"><td class="num" id="LN3817">3817</td><td class="line"> { <span class='string_literal'>"ImageProperties"</span>, <span class='string_literal'>"document-properties"</span>, <span class='macro'>N_(<span class='string_literal'>"Prope_rties"</span>)<span class='macro_popup'>("Prope_rties")</span></span>, <span class='string_literal'>"&lt;alt&gt;Return"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3818"><td class="num" id="LN3818">3818</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Show the properties and metadata of the selected image"</span>)<span class='macro_popup'>("Show the properties and metadata of the selected image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3819"><td class="num" id="LN3819">3819</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_properties)<span class='macro_popup'>((GCallback) (eom_window_cmd_properties))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3820"><td class="num" id="LN3820">3820</td><td class="line"> { <span class='string_literal'>"EditUndo"</span>, <span class='string_literal'>"edit-undo"</span>, <span class='macro'>N_(<span class='string_literal'>"_Undo"</span>)<span class='macro_popup'>("_Undo")</span></span>, <span class='string_literal'>"&lt;control&gt;z"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3821"><td class="num" id="LN3821">3821</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Undo the last change in the image"</span>)<span class='macro_popup'>("Undo the last change in the image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3822"><td class="num" id="LN3822">3822</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_undo)<span class='macro_popup'>((GCallback) (eom_window_cmd_undo))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3823"><td class="num" id="LN3823">3823</td><td class="line"> { <span class='string_literal'>"EditFlipHorizontal"</span>, <span class='string_literal'>"object-flip-horizontal"</span>, <span class='macro'>N_(<span class='string_literal'>"Flip _Horizontal"</span>)<span class='macro_popup'>("Flip _Horizontal")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3824"><td class="num" id="LN3824">3824</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Mirror the image horizontally"</span>)<span class='macro_popup'>("Mirror the image horizontally")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3825"><td class="num" id="LN3825">3825</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_flip_horizontal)<span class='macro_popup'>((GCallback) (eom_window_cmd_flip_horizontal))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3826"><td class="num" id="LN3826">3826</td><td class="line"> { <span class='string_literal'>"EditFlipVertical"</span>, <span class='string_literal'>"object-flip-vertical"</span>, <span class='macro'>N_(<span class='string_literal'>"Flip _Vertical"</span>)<span class='macro_popup'>("Flip _Vertical")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3827"><td class="num" id="LN3827">3827</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Mirror the image vertically"</span>)<span class='macro_popup'>("Mirror the image vertically")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3828"><td class="num" id="LN3828">3828</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_flip_vertical)<span class='macro_popup'>((GCallback) (eom_window_cmd_flip_vertical))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3829"><td class="num" id="LN3829">3829</td><td class="line"> { <span class='string_literal'>"EditRotate90"</span>, <span class='string_literal'>"object-rotate-right"</span>, <span class='macro'>N_(<span class='string_literal'>"_Rotate Clockwise"</span>)<span class='macro_popup'>("_Rotate Clockwise")</span></span>, <span class='string_literal'>"&lt;control&gt;r"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3830"><td class="num" id="LN3830">3830</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Rotate the image 90 degrees to the right"</span>)<span class='macro_popup'>("Rotate the image 90 degrees to the right")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3831"><td class="num" id="LN3831">3831</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_rotate_90)<span class='macro_popup'>((GCallback) (eom_window_cmd_rotate_90))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3832"><td class="num" id="LN3832">3832</td><td class="line"> { <span class='string_literal'>"EditRotate270"</span>, <span class='string_literal'>"object-rotate-left"</span>, <span class='macro'>N_(<span class='string_literal'>"Rotate Counterc_lockwise"</span>)<span class='macro_popup'>("Rotate Counterc_lockwise")</span></span>, <span class='string_literal'>"&lt;ctrl&gt;&lt;shift&gt;r"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3833"><td class="num" id="LN3833">3833</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Rotate the image 90 degrees to the left"</span>)<span class='macro_popup'>("Rotate the image 90 degrees to the left")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3834"><td class="num" id="LN3834">3834</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_rotate_270)<span class='macro_popup'>((GCallback) (eom_window_cmd_rotate_270))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3835"><td class="num" id="LN3835">3835</td><td class="line"> { <span class='string_literal'>"ImageSetAsWallpaper"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"Set as _Desktop Background"</span>)<span class='macro_popup'>("Set as _Desktop Background")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3836"><td class="num" id="LN3836">3836</td><td class="line"> <span class='string_literal'>"&lt;control&gt;F8"</span>, <span class='macro'>N_(<span class='string_literal'>"Set the selected image as the desktop background"</span>)<span class='macro_popup'>("Set the selected image as the desktop background")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3837"><td class="num" id="LN3837">3837</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_wallpaper)<span class='macro_popup'>((GCallback) (eom_window_cmd_wallpaper))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3838"><td class="num" id="LN3838">3838</td><td class="line"> { <span class='string_literal'>"EditMoveToTrash"</span>, <span class='string_literal'>"user-trash"</span>, <span class='macro'>N_(<span class='string_literal'>"Move to _Trash"</span>)<span class='macro_popup'>("Move to _Trash")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3839"><td class="num" id="LN3839">3839</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Move the selected image to the trash folder"</span>)<span class='macro_popup'>("Move the selected image to the trash folder")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3840"><td class="num" id="LN3840">3840</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_move_to_trash)<span class='macro_popup'>((GCallback) (eom_window_cmd_move_to_trash))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3841"><td class="num" id="LN3841">3841</td><td class="line"> { <span class='string_literal'>"EditCopyImage"</span>, <span class='string_literal'>"edit-copy"</span>, <span class='macro'>N_(<span class='string_literal'>"_Copy"</span>)<span class='macro_popup'>("_Copy")</span></span>, <span class='string_literal'>"&lt;control&gt;C"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3842"><td class="num" id="LN3842">3842</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Copy the selected image to the clipboard"</span>)<span class='macro_popup'>("Copy the selected image to the clipboard")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3843"><td class="num" id="LN3843">3843</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_copy_image)<span class='macro_popup'>((GCallback) (eom_window_cmd_copy_image))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3844"><td class="num" id="LN3844">3844</td><td class="line"> { <span class='string_literal'>"ViewZoomIn"</span>, <span class='string_literal'>"zoom-in"</span>, <span class='macro'>N_(<span class='string_literal'>"_Zoom In"</span>)<span class='macro_popup'>("_Zoom In")</span></span>, <span class='string_literal'>"&lt;control&gt;plus"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3845"><td class="num" id="LN3845">3845</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Enlarge the image"</span>)<span class='macro_popup'>("Enlarge the image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3846"><td class="num" id="LN3846">3846</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_zoom_in)<span class='macro_popup'>((GCallback) (eom_window_cmd_zoom_in))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3847"><td class="num" id="LN3847">3847</td><td class="line"> { <span class='string_literal'>"ViewZoomOut"</span>, <span class='string_literal'>"zoom-out"</span>, <span class='macro'>N_(<span class='string_literal'>"Zoom _Out"</span>)<span class='macro_popup'>("Zoom _Out")</span></span>, <span class='string_literal'>"&lt;control&gt;minus"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3848"><td class="num" id="LN3848">3848</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Shrink the image"</span>)<span class='macro_popup'>("Shrink the image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3849"><td class="num" id="LN3849">3849</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_zoom_out)<span class='macro_popup'>((GCallback) (eom_window_cmd_zoom_out))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3850"><td class="num" id="LN3850">3850</td><td class="line"> { <span class='string_literal'>"ViewZoomNormal"</span>, <span class='string_literal'>"zoom-original"</span>, <span class='macro'>N_(<span class='string_literal'>"_Normal Size"</span>)<span class='macro_popup'>("_Normal Size")</span></span>, <span class='string_literal'>"&lt;control&gt;0"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3851"><td class="num" id="LN3851">3851</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Show the image at its normal size"</span>)<span class='macro_popup'>("Show the image at its normal size")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3852"><td class="num" id="LN3852">3852</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_zoom_normal)<span class='macro_popup'>((GCallback) (eom_window_cmd_zoom_normal))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3853"><td class="num" id="LN3853">3853</td><td class="line"> { <span class='string_literal'>"ViewZoomFit"</span>, <span class='string_literal'>"zoom-fit-best"</span>, <span class='macro'>N_(<span class='string_literal'>"_Best Fit"</span>)<span class='macro_popup'>("_Best Fit")</span></span>, <span class='string_literal'>"F"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3854"><td class="num" id="LN3854">3854</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Fit the image to the window"</span>)<span class='macro_popup'>("Fit the image to the window")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3855"><td class="num" id="LN3855">3855</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_zoom_fit)<span class='macro_popup'>((GCallback) (eom_window_cmd_zoom_fit))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3856"><td class="num" id="LN3856">3856</td><td class="line"> { <span class='string_literal'>"ControlEqual"</span>, <span class='string_literal'>"zoom-in"</span>, <span class='macro'>N_(<span class='string_literal'>"_Zoom In"</span>)<span class='macro_popup'>("_Zoom In")</span></span>, <span class='string_literal'>"&lt;control&gt;equal"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3857"><td class="num" id="LN3857">3857</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Enlarge the image"</span>)<span class='macro_popup'>("Enlarge the image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3858"><td class="num" id="LN3858">3858</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_zoom_in)<span class='macro_popup'>((GCallback) (eom_window_cmd_zoom_in))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3859"><td class="num" id="LN3859">3859</td><td class="line"> { <span class='string_literal'>"ControlKpAdd"</span>, <span class='string_literal'>"zoom-in"</span>, <span class='macro'>N_(<span class='string_literal'>"_Zoom In"</span>)<span class='macro_popup'>("_Zoom In")</span></span>, <span class='string_literal'>"&lt;control&gt;KP_Add"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3860"><td class="num" id="LN3860">3860</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Shrink the image"</span>)<span class='macro_popup'>("Shrink the image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3861"><td class="num" id="LN3861">3861</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_zoom_in)<span class='macro_popup'>((GCallback) (eom_window_cmd_zoom_in))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3862"><td class="num" id="LN3862">3862</td><td class="line"> { <span class='string_literal'>"ControlKpSub"</span>, <span class='string_literal'>"zoom-out"</span>, <span class='macro'>N_(<span class='string_literal'>"Zoom _Out"</span>)<span class='macro_popup'>("Zoom _Out")</span></span>, <span class='string_literal'>"&lt;control&gt;KP_Subtract"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3863"><td class="num" id="LN3863">3863</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Shrink the image"</span>)<span class='macro_popup'>("Shrink the image")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3864"><td class="num" id="LN3864">3864</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_zoom_out)<span class='macro_popup'>((GCallback) (eom_window_cmd_zoom_out))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3865"><td class="num" id="LN3865">3865</td><td class="line"> { <span class='string_literal'>"Delete"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"Move to _Trash"</span>)<span class='macro_popup'>("Move to _Trash")</span></span>, <span class='string_literal'>"Delete"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3866"><td class="num" id="LN3866">3866</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3867"><td class="num" id="LN3867">3867</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_move_to_trash)<span class='macro_popup'>((GCallback) (eom_window_cmd_move_to_trash))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3868"><td class="num" id="LN3868">3868</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="3869"><td class="num" id="LN3869">3869</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3870"><td class="num" id="LN3870">3870</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GtkToggleActionEntry toggle_entries_image[] = {</td></tr>
+<tr class="codeline" data-linenumber="3871"><td class="num" id="LN3871">3871</td><td class="line"> { <span class='string_literal'>"ViewFullscreen"</span>, <span class='string_literal'>"view-fullscreen"</span>, <span class='macro'>N_(<span class='string_literal'>"_Fullscreen"</span>)<span class='macro_popup'>("_Fullscreen")</span></span>, <span class='string_literal'>"F11"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3872"><td class="num" id="LN3872">3872</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Show the current image in fullscreen mode"</span>)<span class='macro_popup'>("Show the current image in fullscreen mode")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3873"><td class="num" id="LN3873">3873</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_fullscreen)<span class='macro_popup'>((GCallback) (eom_window_cmd_fullscreen))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3874"><td class="num" id="LN3874">3874</td><td class="line"> { <span class='string_literal'>"PauseSlideshow"</span>, <span class='string_literal'>"media-playback-pause"</span>, <span class='macro'>N_(<span class='string_literal'>"Pause Slideshow"</span>)<span class='macro_popup'>("Pause Slideshow")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3875"><td class="num" id="LN3875">3875</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"Pause or resume the slideshow"</span>)<span class='macro_popup'>("Pause or resume the slideshow")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3876"><td class="num" id="LN3876">3876</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_pause_slideshow)<span class='macro_popup'>((GCallback) (eom_window_cmd_pause_slideshow))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3877"><td class="num" id="LN3877">3877</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="3878"><td class="num" id="LN3878">3878</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3879"><td class="num" id="LN3879">3879</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GtkActionEntry action_entries_collection[] = {</td></tr>
+<tr class="codeline" data-linenumber="3880"><td class="num" id="LN3880">3880</td><td class="line"> { <span class='string_literal'>"GoPrevious"</span>, <span class='string_literal'>"go-previous"</span>, <span class='macro'>N_(<span class='string_literal'>"_Previous Image"</span>)<span class='macro_popup'>("_Previous Image")</span></span>, <span class='string_literal'>"&lt;Alt&gt;Left"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3881"><td class="num" id="LN3881">3881</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Go to the previous image of the collection"</span>)<span class='macro_popup'>("Go to the previous image of the collection")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3882"><td class="num" id="LN3882">3882</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_prev)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_prev))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3883"><td class="num" id="LN3883">3883</td><td class="line"> { <span class='string_literal'>"GoNext"</span>, <span class='string_literal'>"go-next"</span>, <span class='macro'>N_(<span class='string_literal'>"_Next Image"</span>)<span class='macro_popup'>("_Next Image")</span></span>, <span class='string_literal'>"&lt;Alt&gt;Right"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3884"><td class="num" id="LN3884">3884</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Go to the next image of the collection"</span>)<span class='macro_popup'>("Go to the next image of the collection")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3885"><td class="num" id="LN3885">3885</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_next)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_next))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3886"><td class="num" id="LN3886">3886</td><td class="line"> { <span class='string_literal'>"GoFirst"</span>, <span class='string_literal'>"go-first"</span>, <span class='macro'>N_(<span class='string_literal'>"_First Image"</span>)<span class='macro_popup'>("_First Image")</span></span>, <span class='string_literal'>"&lt;Alt&gt;Home"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3887"><td class="num" id="LN3887">3887</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Go to the first image of the collection"</span>)<span class='macro_popup'>("Go to the first image of the collection")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3888"><td class="num" id="LN3888">3888</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_first)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_first))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3889"><td class="num" id="LN3889">3889</td><td class="line"> { <span class='string_literal'>"GoLast"</span>, <span class='string_literal'>"go-last"</span>, <span class='macro'>N_(<span class='string_literal'>"_Last Image"</span>)<span class='macro_popup'>("_Last Image")</span></span>, <span class='string_literal'>"&lt;Alt&gt;End"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3890"><td class="num" id="LN3890">3890</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Go to the last image of the collection"</span>)<span class='macro_popup'>("Go to the last image of the collection")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3891"><td class="num" id="LN3891">3891</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_last)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_last))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3892"><td class="num" id="LN3892">3892</td><td class="line"> { <span class='string_literal'>"GoRandom"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Random Image"</span>)<span class='macro_popup'>("_Random Image")</span></span>, <span class='string_literal'>"&lt;control&gt;M"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3893"><td class="num" id="LN3893">3893</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Go to a random image of the collection"</span>)<span class='macro_popup'>("Go to a random image of the collection")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3894"><td class="num" id="LN3894">3894</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_random)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_random))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3895"><td class="num" id="LN3895">3895</td><td class="line"> { <span class='string_literal'>"BackSpace"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Previous Image"</span>)<span class='macro_popup'>("_Previous Image")</span></span>, <span class='string_literal'>"BackSpace"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3896"><td class="num" id="LN3896">3896</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3897"><td class="num" id="LN3897">3897</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_prev)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_prev))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3898"><td class="num" id="LN3898">3898</td><td class="line"> { <span class='string_literal'>"Home"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_First Image"</span>)<span class='macro_popup'>("_First Image")</span></span>, <span class='string_literal'>"Home"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3899"><td class="num" id="LN3899">3899</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3900"><td class="num" id="LN3900">3900</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_first)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_first))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3901"><td class="num" id="LN3901">3901</td><td class="line"> { <span class='string_literal'>"End"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>N_(<span class='string_literal'>"_Last Image"</span>)<span class='macro_popup'>("_Last Image")</span></span>, <span class='string_literal'>"End"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3902"><td class="num" id="LN3902">3902</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3903"><td class="num" id="LN3903">3903</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_go_last)<span class='macro_popup'>((GCallback) (eom_window_cmd_go_last))</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3904"><td class="num" id="LN3904">3904</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="3905"><td class="num" id="LN3905">3905</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3906"><td class="num" id="LN3906">3906</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>const</span> GtkToggleActionEntry toggle_entries_collection[] = {</td></tr>
+<tr class="codeline" data-linenumber="3907"><td class="num" id="LN3907">3907</td><td class="line"> { <span class='string_literal'>"ViewSlideshow"</span>, <span class='string_literal'>"slideshow-play"</span>, <span class='macro'>N_(<span class='string_literal'>"S_lideshow"</span>)<span class='macro_popup'>("S_lideshow")</span></span>, <span class='string_literal'>"F5"</span>,</td></tr>
+<tr class="codeline" data-linenumber="3908"><td class="num" id="LN3908">3908</td><td class="line"> <span class='macro'>N_(<span class='string_literal'>"Start a slideshow view of the images"</span>)<span class='macro_popup'>("Start a slideshow view of the images")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3909"><td class="num" id="LN3909">3909</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_cmd_slideshow)<span class='macro_popup'>((GCallback) (eom_window_cmd_slideshow))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span> },</td></tr>
+<tr class="codeline" data-linenumber="3910"><td class="num" id="LN3910">3910</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="3911"><td class="num" id="LN3911">3911</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3912"><td class="num" id="LN3912">3912</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3913"><td class="num" id="LN3913">3913</td><td class="line">menu_item_select_cb (GtkMenuItem *proxy, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3914"><td class="num" id="LN3914">3914</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3915"><td class="num" id="LN3915">3915</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="3916"><td class="num" id="LN3916">3916</td><td class="line"> <span class='keyword'>char</span> *message;</td></tr>
+<tr class="codeline" data-linenumber="3917"><td class="num" id="LN3917">3917</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3918"><td class="num" id="LN3918">3918</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3919"><td class="num" id="LN3919">3919</td><td class="line"> action = gtk_activatable_get_related_action (<span class='macro'>GTK_ACTIVATABLE (proxy)<span class='macro_popup'>((((GtkActivatable*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((proxy)), ((gtk_activatable_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3920"><td class="num" id="LN3920">3920</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3921"><td class="num" id="LN3921">3921</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3922"><td class="num" id="LN3922">3922</td><td class="line"> <span class='macro'>g_return_if_fail (action != NULL)<span class='macro_popup'>do { if ((action != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "action != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3923"><td class="num" id="LN3923">3923</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3924"><td class="num" id="LN3924">3924</td><td class="line"> g_object_get (<span class='macro'>G_OBJECT (action)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"tooltip"</span>, &amp;message, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3925"><td class="num" id="LN3925">3925</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3926"><td class="num" id="LN3926">3926</td><td class="line"> <span class='keyword'>if</span> (message) {</td></tr>
+<tr class="codeline" data-linenumber="3927"><td class="num" id="LN3927">3927</td><td class="line"> gtk_statusbar_push (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3928"><td class="num" id="LN3928">3928</td><td class="line"> window-&gt;priv-&gt;tip_message_cid, message);</td></tr>
+<tr class="codeline" data-linenumber="3929"><td class="num" id="LN3929">3929</td><td class="line"> g_free (message);</td></tr>
+<tr class="codeline" data-linenumber="3930"><td class="num" id="LN3930">3930</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3931"><td class="num" id="LN3931">3931</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3932"><td class="num" id="LN3932">3932</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3933"><td class="num" id="LN3933">3933</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3934"><td class="num" id="LN3934">3934</td><td class="line">menu_item_deselect_cb (GtkMenuItem *proxy, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3935"><td class="num" id="LN3935">3935</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3936"><td class="num" id="LN3936">3936</td><td class="line"> gtk_statusbar_pop (<span class='macro'>GTK_STATUSBAR (window-&gt;priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;statusbar)), ((gtk_statusbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="3937"><td class="num" id="LN3937">3937</td><td class="line"> window-&gt;priv-&gt;tip_message_cid);</td></tr>
+<tr class="codeline" data-linenumber="3938"><td class="num" id="LN3938">3938</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3939"><td class="num" id="LN3939">3939</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3940"><td class="num" id="LN3940">3940</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3941"><td class="num" id="LN3941">3941</td><td class="line">connect_proxy_cb (GtkUIManager *manager,</td></tr>
+<tr class="codeline" data-linenumber="3942"><td class="num" id="LN3942">3942</td><td class="line"> GtkAction *action,</td></tr>
+<tr class="codeline" data-linenumber="3943"><td class="num" id="LN3943">3943</td><td class="line"> GtkWidget *proxy,</td></tr>
+<tr class="codeline" data-linenumber="3944"><td class="num" id="LN3944">3944</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3945"><td class="num" id="LN3945">3945</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3946"><td class="num" id="LN3946">3946</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>GTK_IS_MENU_ITEM (proxy)<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(proxy)); GType __t = ((gtk_menu_item_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3947"><td class="num" id="LN3947">3947</td><td class="line"> disconnect_proxy_cb (manager, action, proxy, window);</td></tr>
+<tr class="codeline" data-linenumber="3948"><td class="num" id="LN3948">3948</td><td class="line"> <span class='macro'>g_signal_connect (proxy, <span class='string_literal'>"select"</span>,<span class='macro_popup'>g_signal_connect_data ((proxy), ("select"), (((GCallback) (menu_item_select_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3949"><td class="num" id="LN3949">3949</td><td class="line"> <span class='macro'>G_CALLBACK (menu_item_select_cb),<span class='macro_popup'>g_signal_connect_data ((proxy), ("select"), (((GCallback) (menu_item_select_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3950"><td class="num" id="LN3950">3950</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((proxy), ("select"), (((GCallback) (menu_item_select_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3951"><td class="num" id="LN3951">3951</td><td class="line"> <span class='macro'>g_signal_connect (proxy, <span class='string_literal'>"deselect"</span>,<span class='macro_popup'>g_signal_connect_data ((proxy), ("deselect"), (((GCallback) (<br>menu_item_deselect_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3952"><td class="num" id="LN3952">3952</td><td class="line"> <span class='macro'>G_CALLBACK (menu_item_deselect_cb),<span class='macro_popup'>g_signal_connect_data ((proxy), ("deselect"), (((GCallback) (<br>menu_item_deselect_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="3953"><td class="num" id="LN3953">3953</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((proxy), ("deselect"), (((GCallback) (<br>menu_item_deselect_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3954"><td class="num" id="LN3954">3954</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3955"><td class="num" id="LN3955">3955</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3956"><td class="num" id="LN3956">3956</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3957"><td class="num" id="LN3957">3957</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3958"><td class="num" id="LN3958">3958</td><td class="line">disconnect_proxy_cb (GtkUIManager *manager,</td></tr>
+<tr class="codeline" data-linenumber="3959"><td class="num" id="LN3959">3959</td><td class="line"> GtkAction *action,</td></tr>
+<tr class="codeline" data-linenumber="3960"><td class="num" id="LN3960">3960</td><td class="line"> GtkWidget *proxy,</td></tr>
+<tr class="codeline" data-linenumber="3961"><td class="num" id="LN3961">3961</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="3962"><td class="num" id="LN3962">3962</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3963"><td class="num" id="LN3963">3963</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>GTK_IS_MENU_ITEM (proxy)<span class='macro_popup'>(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) (<br>(proxy)); GType __t = ((gtk_menu_item_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="3964"><td class="num" id="LN3964">3964</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (proxy,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((proxy), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (menu_item_select_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="3965"><td class="num" id="LN3965">3965</td><td class="line"> <span class='macro'>menu_item_select_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((proxy), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (menu_item_select_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="3966"><td class="num" id="LN3966">3966</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((proxy), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (menu_item_select_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3967"><td class="num" id="LN3967">3967</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (proxy,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((proxy), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (menu_item_deselect_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="3968"><td class="num" id="LN3968">3968</td><td class="line"> <span class='macro'>menu_item_deselect_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((proxy), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (menu_item_deselect_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="3969"><td class="num" id="LN3969">3969</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((proxy), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (menu_item_deselect_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3970"><td class="num" id="LN3970">3970</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="3971"><td class="num" id="LN3971">3971</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="3972"><td class="num" id="LN3972">3972</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3973"><td class="num" id="LN3973">3973</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="3974"><td class="num" id="LN3974">3974</td><td class="line">set_action_properties (GtkActionGroup *window_group,</td></tr>
+<tr class="codeline" data-linenumber="3975"><td class="num" id="LN3975">3975</td><td class="line"> GtkActionGroup *image_group,</td></tr>
+<tr class="codeline" data-linenumber="3976"><td class="num" id="LN3976">3976</td><td class="line"> GtkActionGroup *collection_group)</td></tr>
+<tr class="codeline" data-linenumber="3977"><td class="num" id="LN3977">3977</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="3978"><td class="num" id="LN3978">3978</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="3979"><td class="num" id="LN3979">3979</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3980"><td class="num" id="LN3980">3980</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="3981"><td class="num" id="LN3981">3981</td><td class="line"> action = gtk_action_group_get_action (collection_group, <span class='string_literal'>"GoPrevious"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3982"><td class="num" id="LN3982">3982</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"_Previous"</span>)<span class='macro_popup'>gettext ("_Previous")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3983"><td class="num" id="LN3983">3983</td><td class="line"> g_object_set (action, <span class='string_literal'>"is-important"</span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3984"><td class="num" id="LN3984">3984</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3985"><td class="num" id="LN3985">3985</td><td class="line"> action = gtk_action_group_get_action (collection_group, <span class='string_literal'>"GoNext"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3986"><td class="num" id="LN3986">3986</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"_Next"</span>)<span class='macro_popup'>gettext ("_Next")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3987"><td class="num" id="LN3987">3987</td><td class="line"> g_object_set (action, <span class='string_literal'>"is-important"</span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3988"><td class="num" id="LN3988">3988</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3989"><td class="num" id="LN3989">3989</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"EditRotate90"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3990"><td class="num" id="LN3990">3990</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"Right"</span>)<span class='macro_popup'>gettext ("Right")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3991"><td class="num" id="LN3991">3991</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3992"><td class="num" id="LN3992">3992</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"EditRotate270"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3993"><td class="num" id="LN3993">3993</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"Left"</span>)<span class='macro_popup'>gettext ("Left")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3994"><td class="num" id="LN3994">3994</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3995"><td class="num" id="LN3995">3995</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"ImageOpenContainingFolder"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3996"><td class="num" id="LN3996">3996</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"Open Folder"</span>)<span class='macro_popup'>gettext ("Open Folder")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="3997"><td class="num" id="LN3997">3997</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="3998"><td class="num" id="LN3998">3998</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"ViewZoomIn"</span>);</td></tr>
+<tr class="codeline" data-linenumber="3999"><td class="num" id="LN3999">3999</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"In"</span>)<span class='macro_popup'>gettext ("In")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4000"><td class="num" id="LN4000">4000</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4001"><td class="num" id="LN4001">4001</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"ViewZoomOut"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4002"><td class="num" id="LN4002">4002</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"Out"</span>)<span class='macro_popup'>gettext ("Out")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4003"><td class="num" id="LN4003">4003</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4004"><td class="num" id="LN4004">4004</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"ViewZoomNormal"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4005"><td class="num" id="LN4005">4005</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"Normal"</span>)<span class='macro_popup'>gettext ("Normal")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4006"><td class="num" id="LN4006">4006</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4007"><td class="num" id="LN4007">4007</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"ViewZoomFit"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4008"><td class="num" id="LN4008">4008</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"Fit"</span>)<span class='macro_popup'>gettext ("Fit")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4009"><td class="num" id="LN4009">4009</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4010"><td class="num" id="LN4010">4010</td><td class="line"> action = gtk_action_group_get_action (window_group, <span class='string_literal'>"ViewImageCollection"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4011"><td class="num" id="LN4011">4011</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>_(<span class='string_literal'>"Collection"</span>)<span class='macro_popup'>gettext ("Collection")</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4012"><td class="num" id="LN4012">4012</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4013"><td class="num" id="LN4013">4013</td><td class="line"> action = gtk_action_group_get_action (image_group, <span class='string_literal'>"EditMoveToTrash"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4014"><td class="num" id="LN4014">4014</td><td class="line"> g_object_set (action, <span class='string_literal'>"short_label"</span>, <span class='macro'>C_(<span class='string_literal'>"action (to trash)"</span>, <span class='string_literal'>"Trash"</span>)<span class='macro_popup'>g_dpgettext (((void*)0), "action (to trash)" "\004" "Trash", strlen<br> ("action (to trash)") + 1)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4015"><td class="num" id="LN4015">4015</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4016"><td class="num" id="LN4016">4016</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4017"><td class="num" id="LN4017">4017</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4018"><td class="num" id="LN4018">4018</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="4019"><td class="num" id="LN4019">4019</td><td class="line">sort_recents_mru (GtkRecentInfo *a, GtkRecentInfo *b)</td></tr>
+<tr class="codeline" data-linenumber="4020"><td class="num" id="LN4020">4020</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4021"><td class="num" id="LN4021">4021</td><td class="line"> gboolean has_eom_a, has_eom_b;</td></tr>
+<tr class="codeline" data-linenumber="4022"><td class="num" id="LN4022">4022</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4023"><td class="num" id="LN4023">4023</td><td class="line"> <span class='comment'>/* We need to check this first as gtk_recent_info_get_application_info</span></td></tr>
+<tr class="codeline" data-linenumber="4024"><td class="num" id="LN4024">4024</td><td class="line"> <span class='comment'>* will treat it as a non-fatal error when the GtkRecentInfo doesn't</span></td></tr>
+<tr class="codeline" data-linenumber="4025"><td class="num" id="LN4025">4025</td><td class="line"> <span class='comment'>* have the application registered. */</span></td></tr>
+<tr class="codeline" data-linenumber="4026"><td class="num" id="LN4026">4026</td><td class="line"> has_eom_a = gtk_recent_info_has_application (a,</td></tr>
+<tr class="codeline" data-linenumber="4027"><td class="num" id="LN4027">4027</td><td class="line"> <span class='macro'>EOM_RECENT_FILES_APP_NAME<span class='macro_popup'>"Eye of MATE Image Viewer"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4028"><td class="num" id="LN4028">4028</td><td class="line"> has_eom_b = gtk_recent_info_has_application (b,</td></tr>
+<tr class="codeline" data-linenumber="4029"><td class="num" id="LN4029">4029</td><td class="line"> <span class='macro'>EOM_RECENT_FILES_APP_NAME<span class='macro_popup'>"Eye of MATE Image Viewer"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4030"><td class="num" id="LN4030">4030</td><td class="line"> <span class='keyword'>if</span> (has_eom_a &amp;&amp; has_eom_b) {</td></tr>
+<tr class="codeline" data-linenumber="4031"><td class="num" id="LN4031">4031</td><td class="line"> time_t time_a, time_b;</td></tr>
+<tr class="codeline" data-linenumber="4032"><td class="num" id="LN4032">4032</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4033"><td class="num" id="LN4033">4033</td><td class="line"> <span class='comment'>/* These should not fail as we already checked that</span></td></tr>
+<tr class="codeline" data-linenumber="4034"><td class="num" id="LN4034">4034</td><td class="line"> <span class='comment'>* the application is registered with the info objects */</span></td></tr>
+<tr class="codeline" data-linenumber="4035"><td class="num" id="LN4035">4035</td><td class="line"> gtk_recent_info_get_application_info (a,</td></tr>
+<tr class="codeline" data-linenumber="4036"><td class="num" id="LN4036">4036</td><td class="line"> <span class='macro'>EOM_RECENT_FILES_APP_NAME<span class='macro_popup'>"Eye of MATE Image Viewer"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4037"><td class="num" id="LN4037">4037</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4038"><td class="num" id="LN4038">4038</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4039"><td class="num" id="LN4039">4039</td><td class="line"> &amp;time_a);</td></tr>
+<tr class="codeline" data-linenumber="4040"><td class="num" id="LN4040">4040</td><td class="line"> gtk_recent_info_get_application_info (b,</td></tr>
+<tr class="codeline" data-linenumber="4041"><td class="num" id="LN4041">4041</td><td class="line"> <span class='macro'>EOM_RECENT_FILES_APP_NAME<span class='macro_popup'>"Eye of MATE Image Viewer"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4042"><td class="num" id="LN4042">4042</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4043"><td class="num" id="LN4043">4043</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4044"><td class="num" id="LN4044">4044</td><td class="line"> &amp;time_b);</td></tr>
+<tr class="codeline" data-linenumber="4045"><td class="num" id="LN4045">4045</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4046"><td class="num" id="LN4046">4046</td><td class="line"> <span class='keyword'>return</span> (time_b - time_a);</td></tr>
+<tr class="codeline" data-linenumber="4047"><td class="num" id="LN4047">4047</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (has_eom_a) {</td></tr>
+<tr class="codeline" data-linenumber="4048"><td class="num" id="LN4048">4048</td><td class="line"> <span class='keyword'>return</span> -1;</td></tr>
+<tr class="codeline" data-linenumber="4049"><td class="num" id="LN4049">4049</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (has_eom_b) {</td></tr>
+<tr class="codeline" data-linenumber="4050"><td class="num" id="LN4050">4050</td><td class="line"> <span class='keyword'>return</span> 1;</td></tr>
+<tr class="codeline" data-linenumber="4051"><td class="num" id="LN4051">4051</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4052"><td class="num" id="LN4052">4052</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4053"><td class="num" id="LN4053">4053</td><td class="line"> <span class='keyword'>return</span> 0;</td></tr>
+<tr class="codeline" data-linenumber="4054"><td class="num" id="LN4054">4054</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4055"><td class="num" id="LN4055">4055</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4056"><td class="num" id="LN4056">4056</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4057"><td class="num" id="LN4057">4057</td><td class="line">eom_window_update_recent_files_menu (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4058"><td class="num" id="LN4058">4058</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4059"><td class="num" id="LN4059">4059</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="4060"><td class="num" id="LN4060">4060</td><td class="line"> GList *actions = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *li = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *items = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4061"><td class="num" id="LN4061">4061</td><td class="line"> guint count_recent = 0;</td></tr>
+<tr class="codeline" data-linenumber="4062"><td class="num" id="LN4062">4062</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4063"><td class="num" id="LN4063">4063</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="4064"><td class="num" id="LN4064">4064</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4065"><td class="num" id="LN4065">4065</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;recent_menu_id != 0)</td></tr>
+<tr class="codeline" data-linenumber="4066"><td class="num" id="LN4066">4066</td><td class="line"> gtk_ui_manager_remove_ui (priv-&gt;ui_mgr, priv-&gt;recent_menu_id);</td></tr>
+<tr class="codeline" data-linenumber="4067"><td class="num" id="LN4067">4067</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4068"><td class="num" id="LN4068">4068</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4069"><td class="num" id="LN4069">4069</td><td class="line"> actions = gtk_action_group_list_actions (priv-&gt;actions_recent);</td></tr>
+<tr class="codeline" data-linenumber="4070"><td class="num" id="LN4070">4070</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4071"><td class="num" id="LN4071">4071</td><td class="line"> <span class='keyword'>for</span> (li = actions; li != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>; li = li-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="4072"><td class="num" id="LN4072">4072</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (li-&gt;data,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((li-&gt;data), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_open_recent_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4073"><td class="num" id="LN4073">4073</td><td class="line"> <span class='macro'>eom_window_open_recent_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((li-&gt;data), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_open_recent_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4074"><td class="num" id="LN4074">4074</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((li-&gt;data), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_open_recent_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4075"><td class="num" id="LN4075">4075</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4076"><td class="num" id="LN4076">4076</td><td class="line"> gtk_action_group_remove_action (priv-&gt;actions_recent,</td></tr>
+<tr class="codeline" data-linenumber="4077"><td class="num" id="LN4077">4077</td><td class="line"> <span class='macro'>GTK_ACTION (li-&gt;data)<span class='macro_popup'>((((GtkAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((li-&gt;data)), ((gtk_action_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4078"><td class="num" id="LN4078">4078</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4079"><td class="num" id="LN4079">4079</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4080"><td class="num" id="LN4080">4080</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4081"><td class="num" id="LN4081">4081</td><td class="line"> g_list_free (actions);</td></tr>
+<tr class="codeline" data-linenumber="4082"><td class="num" id="LN4082">4082</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4083"><td class="num" id="LN4083">4083</td><td class="line"> priv-&gt;recent_menu_id = gtk_ui_manager_new_merge_id (priv-&gt;ui_mgr);</td></tr>
+<tr class="codeline" data-linenumber="4084"><td class="num" id="LN4084">4084</td><td class="line"> items = gtk_recent_manager_get_items (gtk_recent_manager_get_default());</td></tr>
+<tr class="codeline" data-linenumber="4085"><td class="num" id="LN4085">4085</td><td class="line"> items = g_list_sort (items, (GCompareFunc) sort_recents_mru);</td></tr>
+<tr class="codeline" data-linenumber="4086"><td class="num" id="LN4086">4086</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4087"><td class="num" id="LN4087">4087</td><td class="line"> <span class='keyword'>for</span> (li = items; li != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; count_recent &lt; <span class='macro'>EOM_RECENT_FILES_LIMIT<span class='macro_popup'>5</span></span>; li = li-&gt;next) {</td></tr>
+<tr class="codeline" data-linenumber="4088"><td class="num" id="LN4088">4088</td><td class="line"> gchar *action_name;</td></tr>
+<tr class="codeline" data-linenumber="4089"><td class="num" id="LN4089">4089</td><td class="line"> gchar *label;</td></tr>
+<tr class="codeline" data-linenumber="4090"><td class="num" id="LN4090">4090</td><td class="line"> gchar *tip;</td></tr>
+<tr class="codeline" data-linenumber="4091"><td class="num" id="LN4091">4091</td><td class="line"> gchar **display_name;</td></tr>
+<tr class="codeline" data-linenumber="4092"><td class="num" id="LN4092">4092</td><td class="line"> gchar *label_filename;</td></tr>
+<tr class="codeline" data-linenumber="4093"><td class="num" id="LN4093">4093</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="4094"><td class="num" id="LN4094">4094</td><td class="line"> GtkRecentInfo *info = li-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="4095"><td class="num" id="LN4095">4095</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4096"><td class="num" id="LN4096">4096</td><td class="line"> <span class='comment'>/* Sorting moves non-EOM files to the end of the list.</span></td></tr>
+<tr class="codeline" data-linenumber="4097"><td class="num" id="LN4097">4097</td><td class="line"> <span class='comment'>* So no file of interest will follow if this test fails */</span></td></tr>
+<tr class="codeline" data-linenumber="4098"><td class="num" id="LN4098">4098</td><td class="line"> <span class='keyword'>if</span> (!gtk_recent_info_has_application (info, <span class='macro'>EOM_RECENT_FILES_APP_NAME<span class='macro_popup'>"Eye of MATE Image Viewer"</span></span>))</td></tr>
+<tr class="codeline" data-linenumber="4099"><td class="num" id="LN4099">4099</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4100"><td class="num" id="LN4100">4100</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4101"><td class="num" id="LN4101">4101</td><td class="line"> count_recent++;</td></tr>
+<tr class="codeline" data-linenumber="4102"><td class="num" id="LN4102">4102</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4103"><td class="num" id="LN4103">4103</td><td class="line"> action_name = g_strdup_printf (<span class='string_literal'>"recent-info-%d"</span>, count_recent);</td></tr>
+<tr class="codeline" data-linenumber="4104"><td class="num" id="LN4104">4104</td><td class="line"> display_name = g_strsplit (gtk_recent_info_get_display_name (info), <span class='string_literal'>"_"</span>, -1);</td></tr>
+<tr class="codeline" data-linenumber="4105"><td class="num" id="LN4105">4105</td><td class="line"> label_filename = g_strjoinv (<span class='string_literal'>"__"</span>, display_name);</td></tr>
+<tr class="codeline" data-linenumber="4106"><td class="num" id="LN4106">4106</td><td class="line"> label = g_strdup_printf (<span class='string_literal'>"%s_%d. %s"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4107"><td class="num" id="LN4107">4107</td><td class="line"> (<span class='macro'>is_rtl<span class='macro_popup'>(gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL)</span></span> ? <span class='string_literal'>"\xE2\x80\x8F"</span> : <span class='string_literal'>""</span>), count_recent, label_filename);</td></tr>
+<tr class="codeline" data-linenumber="4108"><td class="num" id="LN4108">4108</td><td class="line"> g_free (label_filename);</td></tr>
+<tr class="codeline" data-linenumber="4109"><td class="num" id="LN4109">4109</td><td class="line"> g_strfreev (display_name);</td></tr>
+<tr class="codeline" data-linenumber="4110"><td class="num" id="LN4110">4110</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4111"><td class="num" id="LN4111">4111</td><td class="line"> tip = gtk_recent_info_get_uri_display (info);</td></tr>
+<tr class="codeline" data-linenumber="4112"><td class="num" id="LN4112">4112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4113"><td class="num" id="LN4113">4113</td><td class="line"> <span class='comment'>/* This is a workaround for a bug (#351945) regarding</span></td></tr>
+<tr class="codeline" data-linenumber="4114"><td class="num" id="LN4114">4114</td><td class="line"> <span class='comment'>* gtk_recent_info_get_uri_display() and remote URIs.</span></td></tr>
+<tr class="codeline" data-linenumber="4115"><td class="num" id="LN4115">4115</td><td class="line"> <span class='comment'>* mate_vfs_format_uri_for_display is sufficient here</span></td></tr>
+<tr class="codeline" data-linenumber="4116"><td class="num" id="LN4116">4116</td><td class="line"> <span class='comment'>* since the password gets stripped when adding the</span></td></tr>
+<tr class="codeline" data-linenumber="4117"><td class="num" id="LN4117">4117</td><td class="line"> <span class='comment'>* file to the recently used list. */</span></td></tr>
+<tr class="codeline" data-linenumber="4118"><td class="num" id="LN4118">4118</td><td class="line"> <span class='keyword'>if</span> (tip == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4119"><td class="num" id="LN4119">4119</td><td class="line"> tip = g_uri_unescape_string (gtk_recent_info_get_uri (info), <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4120"><td class="num" id="LN4120">4120</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4121"><td class="num" id="LN4121">4121</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4122"><td class="num" id="LN4122">4122</td><td class="line"> action = gtk_action_new (action_name, label, tip, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4123"><td class="num" id="LN4123">4123</td><td class="line"> gtk_action_set_always_show_image (action, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4124"><td class="num" id="LN4124">4124</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4125"><td class="num" id="LN4125">4125</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4126"><td class="num" id="LN4126">4126</td><td class="line"> g_object_set_data_full (<span class='macro'>G_OBJECT (action)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"gtk-recent-info"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4127"><td class="num" id="LN4127">4127</td><td class="line"> gtk_recent_info_ref (info),</td></tr>
+<tr class="codeline" data-linenumber="4128"><td class="num" id="LN4128">4128</td><td class="line"> (GDestroyNotify) gtk_recent_info_unref);</td></tr>
+<tr class="codeline" data-linenumber="4129"><td class="num" id="LN4129">4129</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4130"><td class="num" id="LN4130">4130</td><td class="line"> g_object_set (<span class='macro'>G_OBJECT (action)<span class='macro_popup'>((((GObject*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), (((GType) ((20) &lt;&lt; (2))))))))</span></span>, <span class='string_literal'>"icon-name"</span>, <span class='string_literal'>"image-x-generic"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4131"><td class="num" id="LN4131">4131</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4132"><td class="num" id="LN4132">4132</td><td class="line"> <span class='macro'>g_signal_connect (action, <span class='string_literal'>"activate"</span>,<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>eom_window_open_recent_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4133"><td class="num" id="LN4133">4133</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_open_recent_cb),<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>eom_window_open_recent_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4134"><td class="num" id="LN4134">4134</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>eom_window_open_recent_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4135"><td class="num" id="LN4135">4135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4136"><td class="num" id="LN4136">4136</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4137"><td class="num" id="LN4137">4137</td><td class="line"> gtk_action_group_add_action (priv-&gt;actions_recent, action);</td></tr>
+<tr class="codeline" data-linenumber="4138"><td class="num" id="LN4138">4138</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4139"><td class="num" id="LN4139">4139</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4140"><td class="num" id="LN4140">4140</td><td class="line"> g_object_unref (action);</td></tr>
+<tr class="codeline" data-linenumber="4141"><td class="num" id="LN4141">4141</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4142"><td class="num" id="LN4142">4142</td><td class="line"> gtk_ui_manager_add_ui (priv-&gt;ui_mgr, priv-&gt;recent_menu_id,</td></tr>
+<tr class="codeline" data-linenumber="4143"><td class="num" id="LN4143">4143</td><td class="line"> <span class='string_literal'>"/MainMenu/Image/RecentDocuments"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4144"><td class="num" id="LN4144">4144</td><td class="line"> action_name, action_name,</td></tr>
+<tr class="codeline" data-linenumber="4145"><td class="num" id="LN4145">4145</td><td class="line"> GTK_UI_MANAGER_AUTO, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4146"><td class="num" id="LN4146">4146</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4147"><td class="num" id="LN4147">4147</td><td class="line"> g_free (action_name);</td></tr>
+<tr class="codeline" data-linenumber="4148"><td class="num" id="LN4148">4148</td><td class="line"> g_free (label);</td></tr>
+<tr class="codeline" data-linenumber="4149"><td class="num" id="LN4149">4149</td><td class="line"> g_free (tip);</td></tr>
+<tr class="codeline" data-linenumber="4150"><td class="num" id="LN4150">4150</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4151"><td class="num" id="LN4151">4151</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4152"><td class="num" id="LN4152">4152</td><td class="line"> g_list_free_full (items, (GDestroyNotify) gtk_recent_info_unref);</td></tr>
+<tr class="codeline" data-linenumber="4153"><td class="num" id="LN4153">4153</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4154"><td class="num" id="LN4154">4154</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4155"><td class="num" id="LN4155">4155</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4156"><td class="num" id="LN4156">4156</td><td class="line">eom_window_recent_manager_changed_cb (GtkRecentManager *manager, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4157"><td class="num" id="LN4157">4157</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4158"><td class="num" id="LN4158">4158</td><td class="line"> eom_window_update_recent_files_menu (window);</td></tr>
+<tr class="codeline" data-linenumber="4159"><td class="num" id="LN4159">4159</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4160"><td class="num" id="LN4160">4160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4161"><td class="num" id="LN4161">4161</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4162"><td class="num" id="LN4162">4162</td><td class="line">eom_window_drag_data_received (GtkWidget *widget,</td></tr>
+<tr class="codeline" data-linenumber="4163"><td class="num" id="LN4163">4163</td><td class="line"> GdkDragContext *context,</td></tr>
+<tr class="codeline" data-linenumber="4164"><td class="num" id="LN4164">4164</td><td class="line"> gint x, gint y,</td></tr>
+<tr class="codeline" data-linenumber="4165"><td class="num" id="LN4165">4165</td><td class="line"> GtkSelectionData *selection_data,</td></tr>
+<tr class="codeline" data-linenumber="4166"><td class="num" id="LN4166">4166</td><td class="line"> guint info, guint time)</td></tr>
+<tr class="codeline" data-linenumber="4167"><td class="num" id="LN4167">4167</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4168"><td class="num" id="LN4168">4168</td><td class="line"> GSList *file_list;</td></tr>
+<tr class="codeline" data-linenumber="4169"><td class="num" id="LN4169">4169</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="4170"><td class="num" id="LN4170">4170</td><td class="line"> GdkAtom target;</td></tr>
+<tr class="codeline" data-linenumber="4171"><td class="num" id="LN4171">4171</td><td class="line"> GtkWidget *src;</td></tr>
+<tr class="codeline" data-linenumber="4172"><td class="num" id="LN4172">4172</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4173"><td class="num" id="LN4173">4173</td><td class="line"> target = gtk_selection_data_get_target (selection_data);</td></tr>
+<tr class="codeline" data-linenumber="4174"><td class="num" id="LN4174">4174</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4175"><td class="num" id="LN4175">4175</td><td class="line"> <span class='keyword'>if</span> (!gtk_targets_include_uri (&amp;target, 1))</td></tr>
+<tr class="codeline" data-linenumber="4176"><td class="num" id="LN4176">4176</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4177"><td class="num" id="LN4177">4177</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4178"><td class="num" id="LN4178">4178</td><td class="line"> <span class='comment'>/* if the request is from another process this will return NULL */</span></td></tr>
+<tr class="codeline" data-linenumber="4179"><td class="num" id="LN4179">4179</td><td class="line"> src = gtk_drag_get_source_widget (context);</td></tr>
+<tr class="codeline" data-linenumber="4180"><td class="num" id="LN4180">4180</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4181"><td class="num" id="LN4181">4181</td><td class="line"> <span class='comment'>/* if the drag request originates from the current eom instance, ignore</span></td></tr>
+<tr class="codeline" data-linenumber="4182"><td class="num" id="LN4182">4182</td><td class="line"> <span class='comment'>the request if the source window is the same as the dest window */</span></td></tr>
+<tr class="codeline" data-linenumber="4183"><td class="num" id="LN4183">4183</td><td class="line"> <span class='keyword'>if</span> (src &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="4184"><td class="num" id="LN4184">4184</td><td class="line"> gtk_widget_get_toplevel (src) == gtk_widget_get_toplevel (widget))</td></tr>
+<tr class="codeline" data-linenumber="4185"><td class="num" id="LN4185">4185</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="4186"><td class="num" id="LN4186">4186</td><td class="line"> gdk_drag_status (context, 0, time);</td></tr>
+<tr class="codeline" data-linenumber="4187"><td class="num" id="LN4187">4187</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4188"><td class="num" id="LN4188">4188</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4189"><td class="num" id="LN4189">4189</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4190"><td class="num" id="LN4190">4190</td><td class="line"> <span class='keyword'>if</span> (gdk_drag_context_get_suggested_action (context) == GDK_ACTION_COPY) {</td></tr>
+<tr class="codeline" data-linenumber="4191"><td class="num" id="LN4191">4191</td><td class="line"> window = <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4192"><td class="num" id="LN4192">4192</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4193"><td class="num" id="LN4193">4193</td><td class="line"> file_list = eom_util_parse_uri_string_list_to_file_list ((<span class='keyword'>const</span> gchar *) gtk_selection_data_get_data (selection_data));</td></tr>
+<tr class="codeline" data-linenumber="4194"><td class="num" id="LN4194">4194</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4195"><td class="num" id="LN4195">4195</td><td class="line"> eom_window_open_file_list (window, file_list);</td></tr>
+<tr class="codeline" data-linenumber="4196"><td class="num" id="LN4196">4196</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4197"><td class="num" id="LN4197">4197</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4198"><td class="num" id="LN4198">4198</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4199"><td class="num" id="LN4199">4199</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4200"><td class="num" id="LN4200">4200</td><td class="line">eom_window_set_drag_dest (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4201"><td class="num" id="LN4201">4201</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4202"><td class="num" id="LN4202">4202</td><td class="line"> gtk_drag_dest_set (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4203"><td class="num" id="LN4203">4203</td><td class="line"> GTK_DEST_DEFAULT_MOTION | GTK_DEST_DEFAULT_DROP,</td></tr>
+<tr class="codeline" data-linenumber="4204"><td class="num" id="LN4204">4204</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, 0,</td></tr>
+<tr class="codeline" data-linenumber="4205"><td class="num" id="LN4205">4205</td><td class="line"> GDK_ACTION_COPY | GDK_ACTION_ASK);</td></tr>
+<tr class="codeline" data-linenumber="4206"><td class="num" id="LN4206">4206</td><td class="line"> gtk_drag_dest_add_uri_targets (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4207"><td class="num" id="LN4207">4207</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4208"><td class="num" id="LN4208">4208</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4209"><td class="num" id="LN4209">4209</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4210"><td class="num" id="LN4210">4210</td><td class="line">eom_window_sidebar_visibility_changed (GtkWidget *widget, EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4211"><td class="num" id="LN4211">4211</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4212"><td class="num" id="LN4212">4212</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="4213"><td class="num" id="LN4213">4213</td><td class="line"> gboolean visible;</td></tr>
+<tr class="codeline" data-linenumber="4214"><td class="num" id="LN4214">4214</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4215"><td class="num" id="LN4215">4215</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4216"><td class="num" id="LN4216">4216</td><td class="line"> visible = gtk_widget_get_visible (window-&gt;priv-&gt;sidebar);</td></tr>
+<tr class="codeline" data-linenumber="4217"><td class="num" id="LN4217">4217</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4218"><td class="num" id="LN4218">4218</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="4219"><td class="num" id="LN4219">4219</td><td class="line"> <span class='string_literal'>"ViewSidebar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4220"><td class="num" id="LN4220">4220</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4221"><td class="num" id="LN4221">4221</td><td class="line"> <span class='keyword'>if</span> (gtk_toggle_action_get_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>) != visible)</td></tr>
+<tr class="codeline" data-linenumber="4222"><td class="num" id="LN4222">4222</td><td class="line"> gtk_toggle_action_set_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>, visible);</td></tr>
+<tr class="codeline" data-linenumber="4223"><td class="num" id="LN4223">4223</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4224"><td class="num" id="LN4224">4224</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4225"><td class="num" id="LN4225">4225</td><td class="line"> <span class='comment'>/* Focus the image */</span></td></tr>
+<tr class="codeline" data-linenumber="4226"><td class="num" id="LN4226">4226</td><td class="line"> <span class='keyword'>if</span> (!visible &amp;&amp; window-&gt;priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4227"><td class="num" id="LN4227">4227</td><td class="line"> gtk_widget_grab_focus (window-&gt;priv-&gt;view);</td></tr>
+<tr class="codeline" data-linenumber="4228"><td class="num" id="LN4228">4228</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4229"><td class="num" id="LN4229">4229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4230"><td class="num" id="LN4230">4230</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4231"><td class="num" id="LN4231">4231</td><td class="line">eom_window_sidebar_page_added (EomSidebar *sidebar,</td></tr>
+<tr class="codeline" data-linenumber="4232"><td class="num" id="LN4232">4232</td><td class="line"> GtkWidget *main_widget,</td></tr>
+<tr class="codeline" data-linenumber="4233"><td class="num" id="LN4233">4233</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4234"><td class="num" id="LN4234">4234</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4235"><td class="num" id="LN4235">4235</td><td class="line"> <span class='keyword'>if</span> (eom_sidebar_get_n_pages (sidebar) == 1) {</td></tr>
+<tr class="codeline" data-linenumber="4236"><td class="num" id="LN4236">4236</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="4237"><td class="num" id="LN4237">4237</td><td class="line"> gboolean show;</td></tr>
+<tr class="codeline" data-linenumber="4238"><td class="num" id="LN4238">4238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4239"><td class="num" id="LN4239">4239</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4240"><td class="num" id="LN4240">4240</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="4241"><td class="num" id="LN4241">4241</td><td class="line"> <span class='string_literal'>"ViewSidebar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4242"><td class="num" id="LN4242">4242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4243"><td class="num" id="LN4243">4243</td><td class="line"> gtk_action_set_sensitive (action, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4244"><td class="num" id="LN4244">4244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4245"><td class="num" id="LN4245">4245</td><td class="line"> show = gtk_toggle_action_get_active (<span class='macro'>GTK_TOGGLE_ACTION (action)<span class='macro_popup'>((((GtkToggleAction*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((action)), ((gtk_toggle_action_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4246"><td class="num" id="LN4246">4246</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4247"><td class="num" id="LN4247">4247</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4248"><td class="num" id="LN4248">4248</td><td class="line"> <span class='keyword'>if</span> (show)</td></tr>
+<tr class="codeline" data-linenumber="4249"><td class="num" id="LN4249">4249</td><td class="line"> gtk_widget_show (<span class='macro'>GTK_WIDGET (sidebar)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidebar)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4250"><td class="num" id="LN4250">4250</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4251"><td class="num" id="LN4251">4251</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4252"><td class="num" id="LN4252">4252</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4253"><td class="num" id="LN4253">4253</td><td class="line">eom_window_sidebar_page_removed (EomSidebar *sidebar,</td></tr>
+<tr class="codeline" data-linenumber="4254"><td class="num" id="LN4254">4254</td><td class="line"> GtkWidget *main_widget,</td></tr>
+<tr class="codeline" data-linenumber="4255"><td class="num" id="LN4255">4255</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4256"><td class="num" id="LN4256">4256</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4257"><td class="num" id="LN4257">4257</td><td class="line"> <span class='keyword'>if</span> (eom_sidebar_is_empty (sidebar)) {</td></tr>
+<tr class="codeline" data-linenumber="4258"><td class="num" id="LN4258">4258</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="4259"><td class="num" id="LN4259">4259</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4260"><td class="num" id="LN4260">4260</td><td class="line"> gtk_widget_hide (<span class='macro'>GTK_WIDGET (sidebar)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((sidebar)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4261"><td class="num" id="LN4261">4261</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4262"><td class="num" id="LN4262">4262</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4263"><td class="num" id="LN4263">4263</td><td class="line"> action = gtk_action_group_get_action (window-&gt;priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="4264"><td class="num" id="LN4264">4264</td><td class="line"> <span class='string_literal'>"ViewSidebar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4265"><td class="num" id="LN4265">4265</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4266"><td class="num" id="LN4266">4266</td><td class="line"> gtk_action_set_sensitive (action, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4267"><td class="num" id="LN4267">4267</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4268"><td class="num" id="LN4268">4268</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4269"><td class="num" id="LN4269">4269</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4270"><td class="num" id="LN4270">4270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4271"><td class="num" id="LN4271">4271</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4272"><td class="num" id="LN4272">4272</td><td class="line">eom_window_finish_saving (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4273"><td class="num" id="LN4273">4273</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4274"><td class="num" id="LN4274">4274</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="4275"><td class="num" id="LN4275">4275</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4276"><td class="num" id="LN4276">4276</td><td class="line"> gtk_widget_set_sensitive (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4277"><td class="num" id="LN4277">4277</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4278"><td class="num" id="LN4278">4278</td><td class="line"> <span class='keyword'>do</span> {</td></tr>
+<tr class="codeline" data-linenumber="4279"><td class="num" id="LN4279">4279</td><td class="line"> gtk_main_iteration ();</td></tr>
+<tr class="codeline" data-linenumber="4280"><td class="num" id="LN4280">4280</td><td class="line"> } <span class='keyword'>while</span> (priv-&gt;save_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4281"><td class="num" id="LN4281">4281</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4282"><td class="num" id="LN4282">4282</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4283"><td class="num" id="LN4283">4283</td><td class="line"><span class='keyword'>static</span> GAppInfo *</td></tr>
+<tr class="codeline" data-linenumber="4284"><td class="num" id="LN4284">4284</td><td class="line">get_appinfo_for_editor (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4285"><td class="num" id="LN4285">4285</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4286"><td class="num" id="LN4286">4286</td><td class="line"> <span class='comment'>/* We want this function to always return the same thing, not</span></td></tr>
+<tr class="codeline" data-linenumber="4287"><td class="num" id="LN4287">4287</td><td class="line"> <span class='comment'>* just for performance reasons, but because if someone edits</span></td></tr>
+<tr class="codeline" data-linenumber="4288"><td class="num" id="LN4288">4288</td><td class="line"> <span class='comment'>* GConf while eom is running, the application could get into an</span></td></tr>
+<tr class="codeline" data-linenumber="4289"><td class="num" id="LN4289">4289</td><td class="line"> <span class='comment'>* inconsistent state. If the editor exists once, it gets added</span></td></tr>
+<tr class="codeline" data-linenumber="4290"><td class="num" id="LN4290">4290</td><td class="line"> <span class='comment'>* to the "available" list of the EggToolbarsModel (for which</span></td></tr>
+<tr class="codeline" data-linenumber="4291"><td class="num" id="LN4291">4291</td><td class="line"> <span class='comment'>* there is no API to remove it). If later the editor no longer</span></td></tr>
+<tr class="codeline" data-linenumber="4292"><td class="num" id="LN4292">4292</td><td class="line"> <span class='comment'>* existed when constructing a new window, we'd be unable to</span></td></tr>
+<tr class="codeline" data-linenumber="4293"><td class="num" id="LN4293">4293</td><td class="line"> <span class='comment'>* construct a GtkAction for the editor for that window, causing</span></td></tr>
+<tr class="codeline" data-linenumber="4294"><td class="num" id="LN4294">4294</td><td class="line"> <span class='comment'>* assertion failures when viewing the "Edit Toolbars" dialog</span></td></tr>
+<tr class="codeline" data-linenumber="4295"><td class="num" id="LN4295">4295</td><td class="line"> <span class='comment'>* (item is available, but can't find the GtkAction for it).</span></td></tr>
+<tr class="codeline" data-linenumber="4296"><td class="num" id="LN4296">4296</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="4297"><td class="num" id="LN4297">4297</td><td class="line"> <span class='comment'>* By ensuring we keep the GAppInfo around, we avoid the</span></td></tr>
+<tr class="codeline" data-linenumber="4298"><td class="num" id="LN4298">4298</td><td class="line"> <span class='comment'>* possibility of that situation occurring.</span></td></tr>
+<tr class="codeline" data-linenumber="4299"><td class="num" id="LN4299">4299</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="4300"><td class="num" id="LN4300">4300</td><td class="line"> <span class='keyword'>static</span> GDesktopAppInfo *app_info = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4301"><td class="num" id="LN4301">4301</td><td class="line"> <span class='keyword'>static</span> gboolean initialised;</td></tr>
+<tr class="codeline" data-linenumber="4302"><td class="num" id="LN4302">4302</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4303"><td class="num" id="LN4303">4303</td><td class="line"> <span class='keyword'>if</span> (!initialised) {</td></tr>
+<tr class="codeline" data-linenumber="4304"><td class="num" id="LN4304">4304</td><td class="line"> gchar *editor;</td></tr>
+<tr class="codeline" data-linenumber="4305"><td class="num" id="LN4305">4305</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4306"><td class="num" id="LN4306">4306</td><td class="line"> editor = g_settings_get_string (window-&gt;priv-&gt;ui_settings,</td></tr>
+<tr class="codeline" data-linenumber="4307"><td class="num" id="LN4307">4307</td><td class="line"> <span class='macro'>EOM_CONF_UI_EXTERNAL_EDITOR<span class='macro_popup'>"external-editor"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4308"><td class="num" id="LN4308">4308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4309"><td class="num" id="LN4309">4309</td><td class="line"> <span class='keyword'>if</span> (editor != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4310"><td class="num" id="LN4310">4310</td><td class="line"> app_info = g_desktop_app_info_new (editor);</td></tr>
+<tr class="codeline" data-linenumber="4311"><td class="num" id="LN4311">4311</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4312"><td class="num" id="LN4312">4312</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4313"><td class="num" id="LN4313">4313</td><td class="line"> initialised = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4314"><td class="num" id="LN4314">4314</td><td class="line"> g_free (editor);</td></tr>
+<tr class="codeline" data-linenumber="4315"><td class="num" id="LN4315">4315</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4316"><td class="num" id="LN4316">4316</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4317"><td class="num" id="LN4317">4317</td><td class="line"> <span class='keyword'>return</span> (GAppInfo *) app_info;</td></tr>
+<tr class="codeline" data-linenumber="4318"><td class="num" id="LN4318">4318</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4319"><td class="num" id="LN4319">4319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4320"><td class="num" id="LN4320">4320</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4321"><td class="num" id="LN4321">4321</td><td class="line">eom_window_open_editor (GtkAction *action,</td></tr>
+<tr class="codeline" data-linenumber="4322"><td class="num" id="LN4322">4322</td><td class="line"> EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4323"><td class="num" id="LN4323">4323</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4324"><td class="num" id="LN4324">4324</td><td class="line"> GdkAppLaunchContext *context;</td></tr>
+<tr class="codeline" data-linenumber="4325"><td class="num" id="LN4325">4325</td><td class="line"> GAppInfo *app_info;</td></tr>
+<tr class="codeline" data-linenumber="4326"><td class="num" id="LN4326">4326</td><td class="line"> GList *files = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4327"><td class="num" id="LN4327">4327</td><td class="line"> GFile *file;</td></tr>
+<tr class="codeline" data-linenumber="4328"><td class="num" id="LN4328">4328</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4329"><td class="num" id="LN4329">4329</td><td class="line"> app_info = get_appinfo_for_editor (window);</td></tr>
+<tr class="codeline" data-linenumber="4330"><td class="num" id="LN4330">4330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4331"><td class="num" id="LN4331">4331</td><td class="line"> <span class='keyword'>if</span> (app_info == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4332"><td class="num" id="LN4332">4332</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4333"><td class="num" id="LN4333">4333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4334"><td class="num" id="LN4334">4334</td><td class="line"> context = gdk_display_get_app_launch_context (</td></tr>
+<tr class="codeline" data-linenumber="4335"><td class="num" id="LN4335">4335</td><td class="line"> gtk_widget_get_display (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="4336"><td class="num" id="LN4336">4336</td><td class="line"> gdk_app_launch_context_set_screen (context,</td></tr>
+<tr class="codeline" data-linenumber="4337"><td class="num" id="LN4337">4337</td><td class="line"> gtk_widget_get_screen (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="4338"><td class="num" id="LN4338">4338</td><td class="line"> gdk_app_launch_context_set_icon (context,</td></tr>
+<tr class="codeline" data-linenumber="4339"><td class="num" id="LN4339">4339</td><td class="line"> g_app_info_get_icon (app_info));</td></tr>
+<tr class="codeline" data-linenumber="4340"><td class="num" id="LN4340">4340</td><td class="line"> gdk_app_launch_context_set_timestamp (context,</td></tr>
+<tr class="codeline" data-linenumber="4341"><td class="num" id="LN4341">4341</td><td class="line"> gtk_get_current_event_time ());</td></tr>
+<tr class="codeline" data-linenumber="4342"><td class="num" id="LN4342">4342</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4343"><td class="num" id="LN4343">4343</td><td class="line"> file = eom_image_get_file (window-&gt;priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="4344"><td class="num" id="LN4344">4344</td><td class="line"> files = g_list_append (files, file);</td></tr>
+<tr class="codeline" data-linenumber="4345"><td class="num" id="LN4345">4345</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4346"><td class="num" id="LN4346">4346</td><td class="line"> g_app_info_launch (app_info, files,</td></tr>
+<tr class="codeline" data-linenumber="4347"><td class="num" id="LN4347">4347</td><td class="line"> <span class='macro'>G_APP_LAUNCH_CONTEXT (context)<span class='macro_popup'>((((GAppLaunchContext*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((context)), ((g_app_launch_context_get_type<br> ()))))))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4348"><td class="num" id="LN4348">4348</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4349"><td class="num" id="LN4349">4349</td><td class="line"> g_list_free (files);</td></tr>
+<tr class="codeline" data-linenumber="4350"><td class="num" id="LN4350">4350</td><td class="line"> g_object_unref (file);</td></tr>
+<tr class="codeline" data-linenumber="4351"><td class="num" id="LN4351">4351</td><td class="line"> g_object_unref (context);</td></tr>
+<tr class="codeline" data-linenumber="4352"><td class="num" id="LN4352">4352</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4353"><td class="num" id="LN4353">4353</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4354"><td class="num" id="LN4354">4354</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4355"><td class="num" id="LN4355">4355</td><td class="line">eom_window_add_open_editor_action (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4356"><td class="num" id="LN4356">4356</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4357"><td class="num" id="LN4357">4357</td><td class="line"> EggToolbarsModel *model;</td></tr>
+<tr class="codeline" data-linenumber="4358"><td class="num" id="LN4358">4358</td><td class="line"> GAppInfo *app_info;</td></tr>
+<tr class="codeline" data-linenumber="4359"><td class="num" id="LN4359">4359</td><td class="line"> GtkAction *action;</td></tr>
+<tr class="codeline" data-linenumber="4360"><td class="num" id="LN4360">4360</td><td class="line"> gchar *tooltip;</td></tr>
+<tr class="codeline" data-linenumber="4361"><td class="num" id="LN4361">4361</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4362"><td class="num" id="LN4362">4362</td><td class="line"> app_info = get_appinfo_for_editor (window);</td></tr>
+<tr class="codeline" data-linenumber="4363"><td class="num" id="LN4363">4363</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4364"><td class="num" id="LN4364">4364</td><td class="line"> <span class='keyword'>if</span> (app_info == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4365"><td class="num" id="LN4365">4365</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="4366"><td class="num" id="LN4366">4366</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4367"><td class="num" id="LN4367">4367</td><td class="line"> model = eom_application_get_toolbars_model (<span class='macro'>EOM_APP<span class='macro_popup'>(eom_application_get_instance ())</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4368"><td class="num" id="LN4368">4368</td><td class="line"> egg_toolbars_model_set_name_flags (model, <span class='string_literal'>"OpenEditor"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4369"><td class="num" id="LN4369">4369</td><td class="line"> EGG_TB_MODEL_NAME_KNOWN);</td></tr>
+<tr class="codeline" data-linenumber="4370"><td class="num" id="LN4370">4370</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4371"><td class="num" id="LN4371">4371</td><td class="line"> tooltip = g_strdup_printf (<span class='macro'>_(<span class='string_literal'>"Edit the current image using %s"</span>)<span class='macro_popup'>gettext ("Edit the current image using %s")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4372"><td class="num" id="LN4372">4372</td><td class="line"> g_app_info_get_name (app_info));</td></tr>
+<tr class="codeline" data-linenumber="4373"><td class="num" id="LN4373">4373</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4374"><td class="num" id="LN4374">4374</td><td class="line"> action = gtk_action_new (<span class='string_literal'>"OpenEditor"</span>, <span class='macro'>_(<span class='string_literal'>"Edit Image"</span>)<span class='macro_popup'>gettext ("Edit Image")</span></span>, tooltip, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4375"><td class="num" id="LN4375">4375</td><td class="line"> gtk_action_set_gicon (action, g_app_info_get_icon (app_info));</td></tr>
+<tr class="codeline" data-linenumber="4376"><td class="num" id="LN4376">4376</td><td class="line"> gtk_action_set_is_important (action, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4377"><td class="num" id="LN4377">4377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4378"><td class="num" id="LN4378">4378</td><td class="line"> <span class='macro'>g_signal_connect (action, <span class='string_literal'>"activate"</span>,<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>eom_window_open_editor))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4379"><td class="num" id="LN4379">4379</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_open_editor),<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>eom_window_open_editor))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4380"><td class="num" id="LN4380">4380</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((action), ("activate"), (((GCallback) (<br>eom_window_open_editor))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4381"><td class="num" id="LN4381">4381</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4382"><td class="num" id="LN4382">4382</td><td class="line"> gtk_action_group_add_action (window-&gt;priv-&gt;actions_image, action);</td></tr>
+<tr class="codeline" data-linenumber="4383"><td class="num" id="LN4383">4383</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4384"><td class="num" id="LN4384">4384</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4385"><td class="num" id="LN4385">4385</td><td class="line"> g_object_unref (action);</td></tr>
+<tr class="codeline" data-linenumber="4386"><td class="num" id="LN4386">4386</td><td class="line"> g_free (tooltip);</td></tr>
+<tr class="codeline" data-linenumber="4387"><td class="num" id="LN4387">4387</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4388"><td class="num" id="LN4388">4388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4389"><td class="num" id="LN4389">4389</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4390"><td class="num" id="LN4390">4390</td><td class="line">eom_window_construct_ui (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4391"><td class="num" id="LN4391">4391</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4392"><td class="num" id="LN4392">4392</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="4393"><td class="num" id="LN4393">4393</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4394"><td class="num" id="LN4394">4394</td><td class="line"> GError *error = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4395"><td class="num" id="LN4395">4395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4396"><td class="num" id="LN4396">4396</td><td class="line"> GtkWidget *menubar;</td></tr>
+<tr class="codeline" data-linenumber="4397"><td class="num" id="LN4397">4397</td><td class="line"> GtkWidget *thumb_popup;</td></tr>
+<tr class="codeline" data-linenumber="4398"><td class="num" id="LN4398">4398</td><td class="line"> GtkWidget *view_popup;</td></tr>
+<tr class="codeline" data-linenumber="4399"><td class="num" id="LN4399">4399</td><td class="line"> GtkWidget *hpaned;</td></tr>
+<tr class="codeline" data-linenumber="4400"><td class="num" id="LN4400">4400</td><td class="line"> GtkWidget *menuitem;</td></tr>
+<tr class="codeline" data-linenumber="4401"><td class="num" id="LN4401">4401</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4402"><td class="num" id="LN4402">4402</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4403"><td class="num" id="LN4403">4403</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4404"><td class="num" id="LN4404">4404</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="4405"><td class="num" id="LN4405">4405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4406"><td class="num" id="LN4406">4406</td><td class="line"> priv-&gt;box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);</td></tr>
+<tr class="codeline" data-linenumber="4407"><td class="num" id="LN4407">4407</td><td class="line"> gtk_container_add (<span class='macro'>GTK_CONTAINER (window)<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_container_get_type ()))))))</span></span>, priv-&gt;box);</td></tr>
+<tr class="codeline" data-linenumber="4408"><td class="num" id="LN4408">4408</td><td class="line"> gtk_widget_show (priv-&gt;box);</td></tr>
+<tr class="codeline" data-linenumber="4409"><td class="num" id="LN4409">4409</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4410"><td class="num" id="LN4410">4410</td><td class="line"> priv-&gt;ui_mgr = gtk_ui_manager_new ();</td></tr>
+<tr class="codeline" data-linenumber="4411"><td class="num" id="LN4411">4411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4412"><td class="num" id="LN4412">4412</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4413"><td class="num" id="LN4413">4413</td><td class="line"> priv-&gt;actions_window = gtk_action_group_new (<span class='string_literal'>"MenuActionsWindow"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4414"><td class="num" id="LN4414">4414</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4415"><td class="num" id="LN4415">4415</td><td class="line"><span class='directive'>#ifdef <span class='macro'>ENABLE_NLS<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="4416"><td class="num" id="LN4416">4416</td><td class="line"> gtk_action_group_set_translation_domain (priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="4417"><td class="num" id="LN4417">4417</td><td class="line"> <span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4418"><td class="num" id="LN4418">4418</td><td class="line"><span class='directive'>#endif /* ENABLE_NLS */</span></td></tr>
+<tr class="codeline" data-linenumber="4419"><td class="num" id="LN4419">4419</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4420"><td class="num" id="LN4420">4420</td><td class="line"> gtk_action_group_add_actions (priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="4421"><td class="num" id="LN4421">4421</td><td class="line"> action_entries_window,</td></tr>
+<tr class="codeline" data-linenumber="4422"><td class="num" id="LN4422">4422</td><td class="line"> <span class='macro'>G_N_ELEMENTS (action_entries_window)<span class='macro_popup'>(sizeof (action_entries_window) / sizeof ((action_entries_window<br>)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4423"><td class="num" id="LN4423">4423</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="4424"><td class="num" id="LN4424">4424</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4425"><td class="num" id="LN4425">4425</td><td class="line"> gtk_action_group_add_toggle_actions (priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="4426"><td class="num" id="LN4426">4426</td><td class="line"> toggle_entries_window,</td></tr>
+<tr class="codeline" data-linenumber="4427"><td class="num" id="LN4427">4427</td><td class="line"> <span class='macro'>G_N_ELEMENTS (toggle_entries_window)<span class='macro_popup'>(sizeof (toggle_entries_window) / sizeof ((toggle_entries_window<br>)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4428"><td class="num" id="LN4428">4428</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="4429"><td class="num" id="LN4429">4429</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4430"><td class="num" id="LN4430">4430</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4431"><td class="num" id="LN4431">4431</td><td class="line"> gtk_ui_manager_insert_action_group (priv-&gt;ui_mgr, priv-&gt;actions_window, 0);</td></tr>
+<tr class="codeline" data-linenumber="4432"><td class="num" id="LN4432">4432</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4433"><td class="num" id="LN4433">4433</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4434"><td class="num" id="LN4434">4434</td><td class="line"> priv-&gt;actions_image = gtk_action_group_new (<span class='string_literal'>"MenuActionsImage"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4435"><td class="num" id="LN4435">4435</td><td class="line"><span class='directive'>#ifdef <span class='macro'>ENABLE_NLS<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="4436"><td class="num" id="LN4436">4436</td><td class="line"> gtk_action_group_set_translation_domain (priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="4437"><td class="num" id="LN4437">4437</td><td class="line"> <span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4438"><td class="num" id="LN4438">4438</td><td class="line"><span class='directive'>#endif /* ENABLE_NLS */</span></td></tr>
+<tr class="codeline" data-linenumber="4439"><td class="num" id="LN4439">4439</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4440"><td class="num" id="LN4440">4440</td><td class="line"> gtk_action_group_add_actions (priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="4441"><td class="num" id="LN4441">4441</td><td class="line"> action_entries_image,</td></tr>
+<tr class="codeline" data-linenumber="4442"><td class="num" id="LN4442">4442</td><td class="line"> <span class='macro'>G_N_ELEMENTS (action_entries_image)<span class='macro_popup'>(sizeof (action_entries_image) / sizeof ((action_entries_image<br>)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4443"><td class="num" id="LN4443">4443</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="4444"><td class="num" id="LN4444">4444</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4445"><td class="num" id="LN4445">4445</td><td class="line"> eom_window_add_open_editor_action (window);</td></tr>
+<tr class="codeline" data-linenumber="4446"><td class="num" id="LN4446">4446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4447"><td class="num" id="LN4447">4447</td><td class="line"> gtk_action_group_add_toggle_actions (priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="4448"><td class="num" id="LN4448">4448</td><td class="line"> toggle_entries_image,</td></tr>
+<tr class="codeline" data-linenumber="4449"><td class="num" id="LN4449">4449</td><td class="line"> <span class='macro'>G_N_ELEMENTS (toggle_entries_image)<span class='macro_popup'>(sizeof (toggle_entries_image) / sizeof ((toggle_entries_image<br>)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4450"><td class="num" id="LN4450">4450</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="4451"><td class="num" id="LN4451">4451</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4452"><td class="num" id="LN4452">4452</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4453"><td class="num" id="LN4453">4453</td><td class="line"> gtk_ui_manager_insert_action_group (priv-&gt;ui_mgr, priv-&gt;actions_image, 0);</td></tr>
+<tr class="codeline" data-linenumber="4454"><td class="num" id="LN4454">4454</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4455"><td class="num" id="LN4455">4455</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4456"><td class="num" id="LN4456">4456</td><td class="line"> priv-&gt;actions_collection = gtk_action_group_new (<span class='string_literal'>"MenuActionsCollection"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4457"><td class="num" id="LN4457">4457</td><td class="line"><span class='directive'>#ifdef <span class='macro'>ENABLE_NLS<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="4458"><td class="num" id="LN4458">4458</td><td class="line"> gtk_action_group_set_translation_domain (priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="4459"><td class="num" id="LN4459">4459</td><td class="line"> <span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4460"><td class="num" id="LN4460">4460</td><td class="line"><span class='directive'>#endif /* ENABLE_NLS */</span></td></tr>
+<tr class="codeline" data-linenumber="4461"><td class="num" id="LN4461">4461</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4462"><td class="num" id="LN4462">4462</td><td class="line"> gtk_action_group_add_actions (priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="4463"><td class="num" id="LN4463">4463</td><td class="line"> action_entries_collection,</td></tr>
+<tr class="codeline" data-linenumber="4464"><td class="num" id="LN4464">4464</td><td class="line"> <span class='macro'>G_N_ELEMENTS (action_entries_collection)<span class='macro_popup'>(sizeof (action_entries_collection) / sizeof ((action_entries_collection<br>)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4465"><td class="num" id="LN4465">4465</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="4466"><td class="num" id="LN4466">4466</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4467"><td class="num" id="LN4467">4467</td><td class="line"> gtk_action_group_add_toggle_actions (priv-&gt;actions_collection,</td></tr>
+<tr class="codeline" data-linenumber="4468"><td class="num" id="LN4468">4468</td><td class="line"> toggle_entries_collection,</td></tr>
+<tr class="codeline" data-linenumber="4469"><td class="num" id="LN4469">4469</td><td class="line"> <span class='macro'>G_N_ELEMENTS (toggle_entries_collection)<span class='macro_popup'>(sizeof (toggle_entries_collection) / sizeof ((toggle_entries_collection<br>)[0]))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4470"><td class="num" id="LN4470">4470</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="4471"><td class="num" id="LN4471">4471</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4472"><td class="num" id="LN4472">4472</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4473"><td class="num" id="LN4473">4473</td><td class="line"> set_action_properties (priv-&gt;actions_window,</td></tr>
+<tr class="codeline" data-linenumber="4474"><td class="num" id="LN4474">4474</td><td class="line"> priv-&gt;actions_image,</td></tr>
+<tr class="codeline" data-linenumber="4475"><td class="num" id="LN4475">4475</td><td class="line"> priv-&gt;actions_collection);</td></tr>
+<tr class="codeline" data-linenumber="4476"><td class="num" id="LN4476">4476</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4477"><td class="num" id="LN4477">4477</td><td class="line"> gtk_ui_manager_insert_action_group (priv-&gt;ui_mgr, priv-&gt;actions_collection, 0);</td></tr>
+<tr class="codeline" data-linenumber="4478"><td class="num" id="LN4478">4478</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4479"><td class="num" id="LN4479">4479</td><td class="line"> <span class='keyword'>if</span> (!gtk_ui_manager_add_ui_from_resource (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="4480"><td class="num" id="LN4480">4480</td><td class="line"> <span class='string_literal'>"/org/mate/eom/ui/eom-ui.xml"</span>,</td></tr>
+<tr class="codeline" data-linenumber="4481"><td class="num" id="LN4481">4481</td><td class="line"> &amp;error)) {</td></tr>
+<tr class="codeline" data-linenumber="4482"><td class="num" id="LN4482">4482</td><td class="line"> g_warning (<span class='string_literal'>"building menus failed: %s"</span>, error-&gt;message);</td></tr>
+<tr class="codeline" data-linenumber="4483"><td class="num" id="LN4483">4483</td><td class="line"> g_error_free (error);</td></tr>
+<tr class="codeline" data-linenumber="4484"><td class="num" id="LN4484">4484</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4485"><td class="num" id="LN4485">4485</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4486"><td class="num" id="LN4486">4486</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;ui_mgr, <span class='string_literal'>"connect_proxy"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;ui_mgr), ("connect_proxy"), (<br>((GCallback) (connect_proxy_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4487"><td class="num" id="LN4487">4487</td><td class="line"> <span class='macro'>G_CALLBACK (connect_proxy_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;ui_mgr), ("connect_proxy"), (<br>((GCallback) (connect_proxy_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4488"><td class="num" id="LN4488">4488</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;ui_mgr), ("connect_proxy"), (<br>((GCallback) (connect_proxy_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4489"><td class="num" id="LN4489">4489</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4490"><td class="num" id="LN4490">4490</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;ui_mgr, <span class='string_literal'>"disconnect_proxy"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;ui_mgr), ("disconnect_proxy"<br>), (((GCallback) (disconnect_proxy_cb))), (window), ((void*)0<br>), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4491"><td class="num" id="LN4491">4491</td><td class="line"> <span class='macro'>G_CALLBACK (disconnect_proxy_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;ui_mgr), ("disconnect_proxy"<br>), (((GCallback) (disconnect_proxy_cb))), (window), ((void*)0<br>), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4492"><td class="num" id="LN4492">4492</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;ui_mgr), ("disconnect_proxy"<br>), (((GCallback) (disconnect_proxy_cb))), (window), ((void*)0<br>), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4493"><td class="num" id="LN4493">4493</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4494"><td class="num" id="LN4494">4494</td><td class="line"> menubar = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, <span class='string_literal'>"/MainMenu"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4495"><td class="num" id="LN4495">4495</td><td class="line"> <span class='macro'>g_assert (GTK_IS_WIDGET (menubar))<span class='macro_popup'>do { if ((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((menubar)); GType __t = ((gtk_widget_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; }))))) ; else<br> g_assertion_message_expr ("EOM", "eom-window.c", 4495, ((const<br> char*) (__func__)), "GTK_IS_WIDGET (menubar)"); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4496"><td class="num" id="LN4496">4496</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;box)), ((gtk_box_get_type ()))))))</span></span>, menubar, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="4497"><td class="num" id="LN4497">4497</td><td class="line"> gtk_widget_show (menubar);</td></tr>
+<tr class="codeline" data-linenumber="4498"><td class="num" id="LN4498">4498</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4499"><td class="num" id="LN4499">4499</td><td class="line"> menuitem = gtk_ui_manager_get_widget (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="4500"><td class="num" id="LN4500">4500</td><td class="line"> <span class='string_literal'>"/MainMenu/Edit/EditFlipHorizontal"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4501"><td class="num" id="LN4501">4501</td><td class="line"> gtk_image_menu_item_set_always_show_image (</td></tr>
+<tr class="codeline" data-linenumber="4502"><td class="num" id="LN4502">4502</td><td class="line"> <span class='macro'>GTK_IMAGE_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkImageMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_image_menu_item_get_type (<br>)))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4503"><td class="num" id="LN4503">4503</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4504"><td class="num" id="LN4504">4504</td><td class="line"> menuitem = gtk_ui_manager_get_widget (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="4505"><td class="num" id="LN4505">4505</td><td class="line"> <span class='string_literal'>"/MainMenu/Edit/EditFlipVertical"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4506"><td class="num" id="LN4506">4506</td><td class="line"> gtk_image_menu_item_set_always_show_image (</td></tr>
+<tr class="codeline" data-linenumber="4507"><td class="num" id="LN4507">4507</td><td class="line"> <span class='macro'>GTK_IMAGE_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkImageMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_image_menu_item_get_type (<br>)))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4508"><td class="num" id="LN4508">4508</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4509"><td class="num" id="LN4509">4509</td><td class="line"> menuitem = gtk_ui_manager_get_widget (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="4510"><td class="num" id="LN4510">4510</td><td class="line"> <span class='string_literal'>"/MainMenu/Edit/EditRotate90"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4511"><td class="num" id="LN4511">4511</td><td class="line"> gtk_image_menu_item_set_always_show_image (</td></tr>
+<tr class="codeline" data-linenumber="4512"><td class="num" id="LN4512">4512</td><td class="line"> <span class='macro'>GTK_IMAGE_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkImageMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_image_menu_item_get_type (<br>)))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4513"><td class="num" id="LN4513">4513</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4514"><td class="num" id="LN4514">4514</td><td class="line"> menuitem = gtk_ui_manager_get_widget (priv-&gt;ui_mgr,</td></tr>
+<tr class="codeline" data-linenumber="4515"><td class="num" id="LN4515">4515</td><td class="line"> <span class='string_literal'>"/MainMenu/Edit/EditRotate270"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4516"><td class="num" id="LN4516">4516</td><td class="line"> gtk_image_menu_item_set_always_show_image (</td></tr>
+<tr class="codeline" data-linenumber="4517"><td class="num" id="LN4517">4517</td><td class="line"> <span class='macro'>GTK_IMAGE_MENU_ITEM (menuitem)<span class='macro_popup'>((((GtkImageMenuItem*) (void *) g_type_check_instance_cast ((<br>GTypeInstance*) ((menuitem)), ((gtk_image_menu_item_get_type (<br>)))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4518"><td class="num" id="LN4518">4518</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4519"><td class="num" id="LN4519">4519</td><td class="line"> priv-&gt;toolbar = <span class='macro'>GTK_WIDGET<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_editable_toolbar_get_type ()), "ui-manager"<br>, priv-&gt;ui_mgr, "popup-path", "/ToolbarPopup", "model", eom_application_get_toolbars_model<br> ((eom_application_get_instance ())), ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4520"><td class="num" id="LN4520">4520</td><td class="line"> <span class='macro'>(g_object_new (EGG_TYPE_EDITABLE_TOOLBAR,<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_editable_toolbar_get_type ()), "ui-manager"<br>, priv-&gt;ui_mgr, "popup-path", "/ToolbarPopup", "model", eom_application_get_toolbars_model<br> ((eom_application_get_instance ())), ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4521"><td class="num" id="LN4521">4521</td><td class="line"> <span class='string_literal'><span class='macro'>"ui-manager"</span>, priv-&gt;ui_mgr,<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_editable_toolbar_get_type ()), "ui-manager"<br>, priv-&gt;ui_mgr, "popup-path", "/ToolbarPopup", "model", eom_application_get_toolbars_model<br> ((eom_application_get_instance ())), ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4522"><td class="num" id="LN4522">4522</td><td class="line"> <span class='string_literal'><span class='macro'>"popup-path"</span>, <span class='string_literal'>"/ToolbarPopup"</span>,<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_editable_toolbar_get_type ()), "ui-manager"<br>, priv-&gt;ui_mgr, "popup-path", "/ToolbarPopup", "model", eom_application_get_toolbars_model<br> ((eom_application_get_instance ())), ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4523"><td class="num" id="LN4523">4523</td><td class="line"> <span class='string_literal'><span class='macro'>"model"</span>, eom_application_get_toolbars_model (EOM_APP),<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_editable_toolbar_get_type ()), "ui-manager"<br>, priv-&gt;ui_mgr, "popup-path", "/ToolbarPopup", "model", eom_application_get_toolbars_model<br> ((eom_application_get_instance ())), ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4524"><td class="num" id="LN4524">4524</td><td class="line"> <span class='macro'>NULL))<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((egg_editable_toolbar_get_type ()), "ui-manager"<br>, priv-&gt;ui_mgr, "popup-path", "/ToolbarPopup", "model", eom_application_get_toolbars_model<br> ((eom_application_get_instance ())), ((void*)0)))), ((gtk_widget_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4525"><td class="num" id="LN4525">4525</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4526"><td class="num" id="LN4526">4526</td><td class="line"> gtk_style_context_add_class (gtk_widget_get_style_context (<span class='macro'>GTK_WIDGET (priv-&gt;toolbar)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;toolbar)), ((gtk_widget_get_type ()))))))</span></span>),</td></tr>
+<tr class="codeline" data-linenumber="4527"><td class="num" id="LN4527">4527</td><td class="line"> <span class='macro'>GTK_STYLE_CLASS_PRIMARY_TOOLBAR<span class='macro_popup'>"primary-toolbar"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4528"><td class="num" id="LN4528">4528</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4529"><td class="num" id="LN4529">4529</td><td class="line"> egg_editable_toolbar_show (<span class='macro'>EGG_EDITABLE_TOOLBAR (priv-&gt;toolbar)<span class='macro_popup'>((((EggEditableToolbar*) (void *) g_type_check_instance_cast (<br>(GTypeInstance*) ((priv-&gt;toolbar)), ((egg_editable_toolbar_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4530"><td class="num" id="LN4530">4530</td><td class="line"> <span class='string_literal'>"Toolbar"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4531"><td class="num" id="LN4531">4531</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4532"><td class="num" id="LN4532">4532</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;box)), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4533"><td class="num" id="LN4533">4533</td><td class="line"> priv-&gt;toolbar,</td></tr>
+<tr class="codeline" data-linenumber="4534"><td class="num" id="LN4534">4534</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4535"><td class="num" id="LN4535">4535</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4536"><td class="num" id="LN4536">4536</td><td class="line"> 0);</td></tr>
+<tr class="codeline" data-linenumber="4537"><td class="num" id="LN4537">4537</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4538"><td class="num" id="LN4538">4538</td><td class="line"> gtk_widget_show (priv-&gt;toolbar);</td></tr>
+<tr class="codeline" data-linenumber="4539"><td class="num" id="LN4539">4539</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4540"><td class="num" id="LN4540">4540</td><td class="line"> gtk_window_add_accel_group (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4541"><td class="num" id="LN4541">4541</td><td class="line"> gtk_ui_manager_get_accel_group (priv-&gt;ui_mgr));</td></tr>
+<tr class="codeline" data-linenumber="4542"><td class="num" id="LN4542">4542</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4543"><td class="num" id="LN4543">4543</td><td class="line"> <span class='macro'>G_GNUC_BEGIN_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic push
+ clang diagnostic ignored "-Wdeprecated-declarations"<br>
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4544"><td class="num" id="LN4544">4544</td><td class="line"> priv-&gt;actions_recent = gtk_action_group_new (<span class='string_literal'>"RecentFilesActions"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4545"><td class="num" id="LN4545">4545</td><td class="line"><span class='directive'>#ifdef <span class='macro'>ENABLE_NLS<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="4546"><td class="num" id="LN4546">4546</td><td class="line"> gtk_action_group_set_translation_domain (priv-&gt;actions_recent,</td></tr>
+<tr class="codeline" data-linenumber="4547"><td class="num" id="LN4547">4547</td><td class="line"> <span class='macro'>GETTEXT_PACKAGE<span class='macro_popup'>"eom"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4548"><td class="num" id="LN4548">4548</td><td class="line"><span class='directive'>#endif /* ENABLE_NLS */</span></td></tr>
+<tr class="codeline" data-linenumber="4549"><td class="num" id="LN4549">4549</td><td class="line"> <span class='macro'>G_GNUC_END_IGNORE_DEPRECATIONS<span class='macro_popup'>clang diagnostic pop
+</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4550"><td class="num" id="LN4550">4550</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4551"><td class="num" id="LN4551">4551</td><td class="line"> <span class='macro'>g_signal_connect (gtk_recent_manager_get_default (), <span class='string_literal'>"changed"</span>,<span class='macro_popup'>g_signal_connect_data ((gtk_recent_manager_get_default ()), (<br>"changed"), (((GCallback) (eom_window_recent_manager_changed_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4552"><td class="num" id="LN4552">4552</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_recent_manager_changed_cb),<span class='macro_popup'>g_signal_connect_data ((gtk_recent_manager_get_default ()), (<br>"changed"), (((GCallback) (eom_window_recent_manager_changed_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4553"><td class="num" id="LN4553">4553</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((gtk_recent_manager_get_default ()), (<br>"changed"), (((GCallback) (eom_window_recent_manager_changed_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4554"><td class="num" id="LN4554">4554</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4555"><td class="num" id="LN4555">4555</td><td class="line"> eom_window_update_recent_files_menu (window);</td></tr>
+<tr class="codeline" data-linenumber="4556"><td class="num" id="LN4556">4556</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4557"><td class="num" id="LN4557">4557</td><td class="line"> gtk_ui_manager_insert_action_group (priv-&gt;ui_mgr, priv-&gt;actions_recent, 0);</td></tr>
+<tr class="codeline" data-linenumber="4558"><td class="num" id="LN4558">4558</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4559"><td class="num" id="LN4559">4559</td><td class="line"> priv-&gt;cbox = gtk_box_new (GTK_ORIENTATION_VERTICAL, 0);</td></tr>
+<tr class="codeline" data-linenumber="4560"><td class="num" id="LN4560">4560</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;box)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;cbox, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="4561"><td class="num" id="LN4561">4561</td><td class="line"> gtk_widget_show (priv-&gt;cbox);</td></tr>
+<tr class="codeline" data-linenumber="4562"><td class="num" id="LN4562">4562</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4563"><td class="num" id="LN4563">4563</td><td class="line"> priv-&gt;statusbar = eom_statusbar_new ();</td></tr>
+<tr class="codeline" data-linenumber="4564"><td class="num" id="LN4564">4564</td><td class="line"> gtk_box_pack_end (<span class='macro'>GTK_BOX (priv-&gt;box)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;box)), ((gtk_box_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4565"><td class="num" id="LN4565">4565</td><td class="line"> <span class='macro'>GTK_WIDGET (priv-&gt;statusbar)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_widget_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4566"><td class="num" id="LN4566">4566</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="4567"><td class="num" id="LN4567">4567</td><td class="line"> gtk_widget_show (priv-&gt;statusbar);</td></tr>
+<tr class="codeline" data-linenumber="4568"><td class="num" id="LN4568">4568</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4569"><td class="num" id="LN4569">4569</td><td class="line"> priv-&gt;image_info_message_cid =</td></tr>
+<tr class="codeline" data-linenumber="4570"><td class="num" id="LN4570">4570</td><td class="line"> gtk_statusbar_get_context_id (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4571"><td class="num" id="LN4571">4571</td><td class="line"> <span class='string_literal'>"image_info_message"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4572"><td class="num" id="LN4572">4572</td><td class="line"> priv-&gt;tip_message_cid =</td></tr>
+<tr class="codeline" data-linenumber="4573"><td class="num" id="LN4573">4573</td><td class="line"> gtk_statusbar_get_context_id (<span class='macro'>GTK_STATUSBAR (priv-&gt;statusbar)<span class='macro_popup'>((((GtkStatusbar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;statusbar)), ((gtk_statusbar_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4574"><td class="num" id="LN4574">4574</td><td class="line"> <span class='string_literal'>"tip_message"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4575"><td class="num" id="LN4575">4575</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4576"><td class="num" id="LN4576">4576</td><td class="line"> priv-&gt;layout = gtk_box_new (GTK_ORIENTATION_VERTICAL, 2);</td></tr>
+<tr class="codeline" data-linenumber="4577"><td class="num" id="LN4577">4577</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4578"><td class="num" id="LN4578">4578</td><td class="line"> hpaned = gtk_paned_new (GTK_ORIENTATION_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="4579"><td class="num" id="LN4579">4579</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4580"><td class="num" id="LN4580">4580</td><td class="line"> priv-&gt;sidebar = eom_sidebar_new ();</td></tr>
+<tr class="codeline" data-linenumber="4581"><td class="num" id="LN4581">4581</td><td class="line"> <span class='comment'>/* The sidebar shouldn't be shown automatically on show_all(),</span></td></tr>
+<tr class="codeline" data-linenumber="4582"><td class="num" id="LN4582">4582</td><td class="line"> <span class='comment'>but only when the user actually wants it. */</span></td></tr>
+<tr class="codeline" data-linenumber="4583"><td class="num" id="LN4583">4583</td><td class="line"> gtk_widget_set_no_show_all (priv-&gt;sidebar, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4584"><td class="num" id="LN4584">4584</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4585"><td class="num" id="LN4585">4585</td><td class="line"> gtk_widget_set_size_request (priv-&gt;sidebar, 210, -1);</td></tr>
+<tr class="codeline" data-linenumber="4586"><td class="num" id="LN4586">4586</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4587"><td class="num" id="LN4587">4587</td><td class="line"> <span class='macro'>g_signal_connect_after (priv-&gt;sidebar, <span class='string_literal'>"show"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("show"), (((GCallback<br>) (eom_window_sidebar_visibility_changed))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4588"><td class="num" id="LN4588">4588</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_sidebar_visibility_changed),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("show"), (((GCallback<br>) (eom_window_sidebar_visibility_changed))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4589"><td class="num" id="LN4589">4589</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("show"), (((GCallback<br>) (eom_window_sidebar_visibility_changed))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4590"><td class="num" id="LN4590">4590</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4591"><td class="num" id="LN4591">4591</td><td class="line"> <span class='macro'>g_signal_connect_after (priv-&gt;sidebar, <span class='string_literal'>"hide"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("hide"), (((GCallback<br>) (eom_window_sidebar_visibility_changed))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4592"><td class="num" id="LN4592">4592</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_sidebar_visibility_changed),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("hide"), (((GCallback<br>) (eom_window_sidebar_visibility_changed))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4593"><td class="num" id="LN4593">4593</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("hide"), (((GCallback<br>) (eom_window_sidebar_visibility_changed))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4594"><td class="num" id="LN4594">4594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4595"><td class="num" id="LN4595">4595</td><td class="line"> <span class='macro'>g_signal_connect_after (priv-&gt;sidebar, <span class='string_literal'>"page-added"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("page-added"), ((<br>(GCallback) (eom_window_sidebar_page_added))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4596"><td class="num" id="LN4596">4596</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_sidebar_page_added),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("page-added"), ((<br>(GCallback) (eom_window_sidebar_page_added))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4597"><td class="num" id="LN4597">4597</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("page-added"), ((<br>(GCallback) (eom_window_sidebar_page_added))), (window), ((void<br>*)0), G_CONNECT_AFTER)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4598"><td class="num" id="LN4598">4598</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4599"><td class="num" id="LN4599">4599</td><td class="line"> <span class='macro'>g_signal_connect_after (priv-&gt;sidebar, <span class='string_literal'>"page-removed"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("page-removed"), (<br>((GCallback) (eom_window_sidebar_page_removed))), (window), (<br>(void*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4600"><td class="num" id="LN4600">4600</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_sidebar_page_removed),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("page-removed"), (<br>((GCallback) (eom_window_sidebar_page_removed))), (window), (<br>(void*)0), G_CONNECT_AFTER)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4601"><td class="num" id="LN4601">4601</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;sidebar), ("page-removed"), (<br>((GCallback) (eom_window_sidebar_page_removed))), (window), (<br>(void*)0), G_CONNECT_AFTER)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4602"><td class="num" id="LN4602">4602</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4603"><td class="num" id="LN4603">4603</td><td class="line"> priv-&gt;view = eom_scroll_view_new ();</td></tr>
+<tr class="codeline" data-linenumber="4604"><td class="num" id="LN4604">4604</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4605"><td class="num" id="LN4605">4605</td><td class="line"> eom_sidebar_add_page (<span class='macro'>EOM_SIDEBAR (priv-&gt;sidebar)<span class='macro_popup'>((((EomSidebar*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;sidebar)), ((eom_sidebar_get_type()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4606"><td class="num" id="LN4606">4606</td><td class="line"> <span class='macro'>_(<span class='string_literal'>"Properties"</span>)<span class='macro_popup'>gettext ("Properties")</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4607"><td class="num" id="LN4607">4607</td><td class="line"> <span class='macro'>GTK_WIDGET (eom_metadata_sidebar_new (window))<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((eom_metadata_sidebar_new (window))), ((gtk_widget_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4608"><td class="num" id="LN4608">4608</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4609"><td class="num" id="LN4609">4609</td><td class="line"> gtk_widget_set_size_request (<span class='macro'>GTK_WIDGET (priv-&gt;view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((gtk_widget_get_type ()))))))</span></span>, 100, 100);</td></tr>
+<tr class="codeline" data-linenumber="4610"><td class="num" id="LN4610">4610</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;view, <span class='string_literal'>"zoom_changed"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("zoom_changed"), (((<br>GCallback) (view_zoom_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4611"><td class="num" id="LN4611">4611</td><td class="line"> <span class='macro'>G_CALLBACK (view_zoom_changed_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("zoom_changed"), (((<br>GCallback) (view_zoom_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4612"><td class="num" id="LN4612">4612</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;view), ("zoom_changed"), (((<br>GCallback) (view_zoom_changed_cb))), (window), ((void*)0), (GConnectFlags<br>) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4613"><td class="num" id="LN4613">4613</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4614"><td class="num" id="LN4614">4614</td><td class="line"> g_settings_bind (priv-&gt;view_settings, <span class='macro'>EOM_CONF_VIEW_SCROLL_WHEEL_ZOOM<span class='macro_popup'>"scroll-wheel-zoom"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4615"><td class="num" id="LN4615">4615</td><td class="line"> priv-&gt;view, <span class='string_literal'>"scrollwheel-zoom"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="4616"><td class="num" id="LN4616">4616</td><td class="line"> g_settings_bind (priv-&gt;view_settings, <span class='macro'>EOM_CONF_VIEW_ZOOM_MULTIPLIER<span class='macro_popup'>"zoom-multiplier"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4617"><td class="num" id="LN4617">4617</td><td class="line"> priv-&gt;view, <span class='string_literal'>"zoom-multiplier"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="4618"><td class="num" id="LN4618">4618</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4619"><td class="num" id="LN4619">4619</td><td class="line"> view_popup = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, <span class='string_literal'>"/ViewPopup"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4620"><td class="num" id="LN4620">4620</td><td class="line"> eom_scroll_view_set_popup (<span class='macro'>EOM_SCROLL_VIEW (priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;view)), ((eom_scroll_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4621"><td class="num" id="LN4621">4621</td><td class="line"> <span class='macro'>GTK_MENU (view_popup)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view_popup)), ((gtk_menu_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4622"><td class="num" id="LN4622">4622</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4623"><td class="num" id="LN4623">4623</td><td class="line"> gtk_paned_pack1 (<span class='macro'>GTK_PANED (hpaned)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hpaned)), ((gtk_paned_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4624"><td class="num" id="LN4624">4624</td><td class="line"> priv-&gt;sidebar,</td></tr>
+<tr class="codeline" data-linenumber="4625"><td class="num" id="LN4625">4625</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4626"><td class="num" id="LN4626">4626</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4627"><td class="num" id="LN4627">4627</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4628"><td class="num" id="LN4628">4628</td><td class="line"> gtk_paned_pack2 (<span class='macro'>GTK_PANED (hpaned)<span class='macro_popup'>((((GtkPaned*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((hpaned)), ((gtk_paned_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4629"><td class="num" id="LN4629">4629</td><td class="line"> priv-&gt;view,</td></tr>
+<tr class="codeline" data-linenumber="4630"><td class="num" id="LN4630">4630</td><td class="line"> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4631"><td class="num" id="LN4631">4631</td><td class="line"> <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4632"><td class="num" id="LN4632">4632</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4633"><td class="num" id="LN4633">4633</td><td class="line"> gtk_widget_show_all (hpaned);</td></tr>
+<tr class="codeline" data-linenumber="4634"><td class="num" id="LN4634">4634</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4635"><td class="num" id="LN4635">4635</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, hpaned, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="4636"><td class="num" id="LN4636">4636</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4637"><td class="num" id="LN4637">4637</td><td class="line"> priv-&gt;thumbview = <span class='macro'>g_object_ref (eom_thumb_view_new ())<span class='macro_popup'>((__typeof__ (eom_thumb_view_new ())) (g_object_ref) (eom_thumb_view_new<br> ()))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4638"><td class="num" id="LN4638">4638</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4639"><td class="num" id="LN4639">4639</td><td class="line"> <span class='comment'>/* giving shape to the view */</span></td></tr>
+<tr class="codeline" data-linenumber="4640"><td class="num" id="LN4640">4640</td><td class="line"> gtk_icon_view_set_margin (<span class='macro'>GTK_ICON_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((GtkIconView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((gtk_icon_view_get_type ()))))))</span></span>, 4);</td></tr>
+<tr class="codeline" data-linenumber="4641"><td class="num" id="LN4641">4641</td><td class="line"> gtk_icon_view_set_row_spacing (<span class='macro'>GTK_ICON_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((GtkIconView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((gtk_icon_view_get_type ()))))))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="4642"><td class="num" id="LN4642">4642</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4643"><td class="num" id="LN4643">4643</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;thumbview, <span class='string_literal'>"selection_changed"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("selection_changed"<br>), (((GCallback) (handle_image_selection_changed_cb))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4644"><td class="num" id="LN4644">4644</td><td class="line"> <span class='macro'>G_CALLBACK (handle_image_selection_changed_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("selection_changed"<br>), (((GCallback) (handle_image_selection_changed_cb))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4645"><td class="num" id="LN4645">4645</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;thumbview), ("selection_changed"<br>), (((GCallback) (handle_image_selection_changed_cb))), (window<br>), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4646"><td class="num" id="LN4646">4646</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4647"><td class="num" id="LN4647">4647</td><td class="line"> priv-&gt;nav = eom_thumb_nav_new (priv-&gt;thumbview,</td></tr>
+<tr class="codeline" data-linenumber="4648"><td class="num" id="LN4648">4648</td><td class="line"> EOM_THUMB_NAV_MODE_ONE_ROW,</td></tr>
+<tr class="codeline" data-linenumber="4649"><td class="num" id="LN4649">4649</td><td class="line"> g_settings_get_boolean (priv-&gt;ui_settings,</td></tr>
+<tr class="codeline" data-linenumber="4650"><td class="num" id="LN4650">4650</td><td class="line"> <span class='macro'>EOM_CONF_UI_SCROLL_BUTTONS<span class='macro_popup'>"scroll-buttons"</span></span>));</td></tr>
+<tr class="codeline" data-linenumber="4651"><td class="num" id="LN4651">4651</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4652"><td class="num" id="LN4652">4652</td><td class="line"> <span class='comment'>// Bind the scroll buttons to their GSettings key</span></td></tr>
+<tr class="codeline" data-linenumber="4653"><td class="num" id="LN4653">4653</td><td class="line"> g_settings_bind (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_SCROLL_BUTTONS<span class='macro_popup'>"scroll-buttons"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4654"><td class="num" id="LN4654">4654</td><td class="line"> priv-&gt;nav, <span class='string_literal'>"show-buttons"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="4655"><td class="num" id="LN4655">4655</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4656"><td class="num" id="LN4656">4656</td><td class="line"> thumb_popup = gtk_ui_manager_get_widget (priv-&gt;ui_mgr, <span class='string_literal'>"/ThumbnailPopup"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4657"><td class="num" id="LN4657">4657</td><td class="line"> eom_thumb_view_set_thumbnail_popup (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4658"><td class="num" id="LN4658">4658</td><td class="line"> <span class='macro'>GTK_MENU (thumb_popup)<span class='macro_popup'>((((GtkMenu*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((thumb_popup)), ((gtk_menu_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4659"><td class="num" id="LN4659">4659</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4660"><td class="num" id="LN4660">4660</td><td class="line"> gtk_box_pack_start (<span class='macro'>GTK_BOX (priv-&gt;layout)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;layout)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;nav, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="4661"><td class="num" id="LN4661">4661</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4662"><td class="num" id="LN4662">4662</td><td class="line"> gtk_box_pack_end (<span class='macro'>GTK_BOX (priv-&gt;cbox)<span class='macro_popup'>((((GtkBox*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;cbox)), ((gtk_box_get_type ()))))))</span></span>, priv-&gt;layout, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="4663"><td class="num" id="LN4663">4663</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4664"><td class="num" id="LN4664">4664</td><td class="line"> eom_window_can_save_changed_cb (priv-&gt;lockdown_settings,</td></tr>
+<tr class="codeline" data-linenumber="4665"><td class="num" id="LN4665">4665</td><td class="line"> <span class='macro'>EOM_CONF_LOCKDOWN_CAN_SAVE<span class='macro_popup'>"disable-save-to-disk"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4666"><td class="num" id="LN4666">4666</td><td class="line"> window);</td></tr>
+<tr class="codeline" data-linenumber="4667"><td class="num" id="LN4667">4667</td><td class="line"> g_settings_bind (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_IMAGE_COLLECTION_POSITION<span class='macro_popup'>"image-collection-position"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4668"><td class="num" id="LN4668">4668</td><td class="line"> window, <span class='string_literal'>"collection-position"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="4669"><td class="num" id="LN4669">4669</td><td class="line"> g_settings_bind (priv-&gt;ui_settings, <span class='macro'>EOM_CONF_UI_IMAGE_COLLECTION_RESIZABLE<span class='macro_popup'>"image-collection-resizable"</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4670"><td class="num" id="LN4670">4670</td><td class="line"> window, <span class='string_literal'>"collection-resizable"</span>, G_SETTINGS_BIND_GET);</td></tr>
+<tr class="codeline" data-linenumber="4671"><td class="num" id="LN4671">4671</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4672"><td class="num" id="LN4672">4672</td><td class="line"> update_action_groups_state (window);</td></tr>
+<tr class="codeline" data-linenumber="4673"><td class="num" id="LN4673">4673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4674"><td class="num" id="LN4674">4674</td><td class="line"> <span class='keyword'>if</span> ((priv-&gt;flags &amp; EOM_STARTUP_FULLSCREEN) ||</td></tr>
+<tr class="codeline" data-linenumber="4675"><td class="num" id="LN4675">4675</td><td class="line"> (priv-&gt;flags &amp; EOM_STARTUP_SLIDE_SHOW)) {</td></tr>
+<tr class="codeline" data-linenumber="4676"><td class="num" id="LN4676">4676</td><td class="line"> eom_window_run_fullscreen (window, (priv-&gt;flags &amp; EOM_STARTUP_SLIDE_SHOW));</td></tr>
+<tr class="codeline" data-linenumber="4677"><td class="num" id="LN4677">4677</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4678"><td class="num" id="LN4678">4678</td><td class="line"> priv-&gt;mode = EOM_WINDOW_MODE_NORMAL;</td></tr>
+<tr class="codeline" data-linenumber="4679"><td class="num" id="LN4679">4679</td><td class="line"> update_ui_visibility (window);</td></tr>
+<tr class="codeline" data-linenumber="4680"><td class="num" id="LN4680">4680</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4681"><td class="num" id="LN4681">4681</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4682"><td class="num" id="LN4682">4682</td><td class="line"> eom_window_set_drag_dest (window);</td></tr>
+<tr class="codeline" data-linenumber="4683"><td class="num" id="LN4683">4683</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4684"><td class="num" id="LN4684">4684</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4685"><td class="num" id="LN4685">4685</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4686"><td class="num" id="LN4686">4686</td><td class="line">eom_window_init (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="4687"><td class="num" id="LN4687">4687</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4688"><td class="num" id="LN4688">4688</td><td class="line"> GdkGeometry hints;</td></tr>
+<tr class="codeline" data-linenumber="4689"><td class="num" id="LN4689">4689</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="4690"><td class="num" id="LN4690">4690</td><td class="line"> GdkScreen *screen;</td></tr>
+<tr class="codeline" data-linenumber="4691"><td class="num" id="LN4691">4691</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="4692"><td class="num" id="LN4692">4692</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="4693"><td class="num" id="LN4693">4693</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4694"><td class="num" id="LN4694">4694</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 4694, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4695"><td class="num" id="LN4695">4695</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4696"><td class="num" id="LN4696">4696</td><td class="line"> GtkStyleContext *context;</td></tr>
+<tr class="codeline" data-linenumber="4697"><td class="num" id="LN4697">4697</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4698"><td class="num" id="LN4698">4698</td><td class="line"> context = gtk_widget_get_style_context (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4699"><td class="num" id="LN4699">4699</td><td class="line"> gtk_style_context_add_class (context, <span class='string_literal'>"eom-window"</span>);</td></tr>
+<tr class="codeline" data-linenumber="4700"><td class="num" id="LN4700">4700</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4701"><td class="num" id="LN4701">4701</td><td class="line"> hints.min_width = <span class='macro'>EOM_WINDOW_MIN_WIDTH<span class='macro_popup'>440</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4702"><td class="num" id="LN4702">4702</td><td class="line"> hints.min_height = <span class='macro'>EOM_WINDOW_MIN_HEIGHT<span class='macro_popup'>350</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4703"><td class="num" id="LN4703">4703</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4704"><td class="num" id="LN4704">4704</td><td class="line"> priv = window-&gt;priv = eom_window_get_instance_private (window);</td></tr>
+<tr class="codeline" data-linenumber="4705"><td class="num" id="LN4705">4705</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4706"><td class="num" id="LN4706">4706</td><td class="line"> priv-&gt;view_settings = g_settings_new (<span class='macro'>EOM_CONF_VIEW<span class='macro_popup'>"org.mate.eom"".view"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4707"><td class="num" id="LN4707">4707</td><td class="line"> priv-&gt;ui_settings = g_settings_new (<span class='macro'>EOM_CONF_UI<span class='macro_popup'>"org.mate.eom"".ui"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4708"><td class="num" id="LN4708">4708</td><td class="line"> priv-&gt;fullscreen_settings = g_settings_new (<span class='macro'>EOM_CONF_FULLSCREEN<span class='macro_popup'>"org.mate.eom"".full-screen"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4709"><td class="num" id="LN4709">4709</td><td class="line"> priv-&gt;lockdown_settings = g_settings_new (<span class='macro'>EOM_CONF_LOCKDOWN_SCHEMA<span class='macro_popup'>"org.mate.lockdown"</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4710"><td class="num" id="LN4710">4710</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4711"><td class="num" id="LN4711">4711</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;lockdown_settings, <span class='string_literal'>"changed::"</span> EOM_CONF_LOCKDOWN_CAN_SAVE,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;lockdown_settings), ("changed::"<br> "disable-save-to-disk"), (((GCallback) (eom_window_can_save_changed_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4712"><td class="num" id="LN4712">4712</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_can_save_changed_cb),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;lockdown_settings), ("changed::"<br> "disable-save-to-disk"), (((GCallback) (eom_window_can_save_changed_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="4713"><td class="num" id="LN4713">4713</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;lockdown_settings), ("changed::"<br> "disable-save-to-disk"), (((GCallback) (eom_window_can_save_changed_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4714"><td class="num" id="LN4714">4714</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4715"><td class="num" id="LN4715">4715</td><td class="line"> window-&gt;priv-&gt;store = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4716"><td class="num" id="LN4716">4716</td><td class="line"> window-&gt;priv-&gt;image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4717"><td class="num" id="LN4717">4717</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4718"><td class="num" id="LN4718">4718</td><td class="line"> window-&gt;priv-&gt;fullscreen_popup = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4719"><td class="num" id="LN4719">4719</td><td class="line"> window-&gt;priv-&gt;fullscreen_timeout_source = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4720"><td class="num" id="LN4720">4720</td><td class="line"> window-&gt;priv-&gt;slideshow_random = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4721"><td class="num" id="LN4721">4721</td><td class="line"> window-&gt;priv-&gt;slideshow_loop = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4722"><td class="num" id="LN4722">4722</td><td class="line"> window-&gt;priv-&gt;slideshow_switch_timeout = 0;</td></tr>
+<tr class="codeline" data-linenumber="4723"><td class="num" id="LN4723">4723</td><td class="line"> window-&gt;priv-&gt;slideshow_switch_source = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4724"><td class="num" id="LN4724">4724</td><td class="line"> window-&gt;priv-&gt;fullscreen_idle_inhibit_cookie = 0;</td></tr>
+<tr class="codeline" data-linenumber="4725"><td class="num" id="LN4725">4725</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4726"><td class="num" id="LN4726">4726</td><td class="line"> gtk_window_set_geometry_hints (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4727"><td class="num" id="LN4727">4727</td><td class="line"> <span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4728"><td class="num" id="LN4728">4728</td><td class="line"> &amp;hints,</td></tr>
+<tr class="codeline" data-linenumber="4729"><td class="num" id="LN4729">4729</td><td class="line"> GDK_HINT_MIN_SIZE);</td></tr>
+<tr class="codeline" data-linenumber="4730"><td class="num" id="LN4730">4730</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4731"><td class="num" id="LN4731">4731</td><td class="line"> gtk_window_set_default_size (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4732"><td class="num" id="LN4732">4732</td><td class="line"> <span class='macro'>EOM_WINDOW_DEFAULT_WIDTH<span class='macro_popup'>540</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4733"><td class="num" id="LN4733">4733</td><td class="line"> <span class='macro'>EOM_WINDOW_DEFAULT_HEIGHT<span class='macro_popup'>450</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4734"><td class="num" id="LN4734">4734</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4735"><td class="num" id="LN4735">4735</td><td class="line"> gtk_window_set_position (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, GTK_WIN_POS_CENTER);</td></tr>
+<tr class="codeline" data-linenumber="4736"><td class="num" id="LN4736">4736</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4737"><td class="num" id="LN4737">4737</td><td class="line"> window-&gt;priv-&gt;mode = EOM_WINDOW_MODE_UNKNOWN;</td></tr>
+<tr class="codeline" data-linenumber="4738"><td class="num" id="LN4738">4738</td><td class="line"> window-&gt;priv-&gt;status = EOM_WINDOW_STATUS_UNKNOWN;</td></tr>
+<tr class="codeline" data-linenumber="4739"><td class="num" id="LN4739">4739</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4740"><td class="num" id="LN4740">4740</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="4741"><td class="num" id="LN4741">4741</td><td class="line"> screen = gtk_widget_get_screen (<span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4742"><td class="num" id="LN4742">4742</td><td class="line"> window-&gt;priv-&gt;display_profile =</td></tr>
+<tr class="codeline" data-linenumber="4743"><td class="num" id="LN4743">4743</td><td class="line"> eom_window_get_display_profile (screen);</td></tr>
+<tr class="codeline" data-linenumber="4744"><td class="num" id="LN4744">4744</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="4745"><td class="num" id="LN4745">4745</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4746"><td class="num" id="LN4746">4746</td><td class="line"> window-&gt;priv-&gt;recent_menu_id = 0;</td></tr>
+<tr class="codeline" data-linenumber="4747"><td class="num" id="LN4747">4747</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4748"><td class="num" id="LN4748">4748</td><td class="line"> window-&gt;priv-&gt;collection_position = 0;</td></tr>
+<tr class="codeline" data-linenumber="4749"><td class="num" id="LN4749">4749</td><td class="line"> window-&gt;priv-&gt;collection_resizable = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4750"><td class="num" id="LN4750">4750</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4751"><td class="num" id="LN4751">4751</td><td class="line"> window-&gt;priv-&gt;save_disabled = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4752"><td class="num" id="LN4752">4752</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4753"><td class="num" id="LN4753">4753</td><td class="line"> window-&gt;priv-&gt;page_setup = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4754"><td class="num" id="LN4754">4754</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4755"><td class="num" id="LN4755">4755</td><td class="line"> gtk_window_set_application (<span class='macro'>GTK_WINDOW (window)<span class='macro_popup'>((((GtkWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_window_get_type ()))))))</span></span>, <span class='macro'>GTK_APPLICATION (EOM_APP)<span class='macro_popup'>((((GtkApplication*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ()))), ((gtk_application_get_type<br> ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4756"><td class="num" id="LN4756">4756</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4757"><td class="num" id="LN4757">4757</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4758"><td class="num" id="LN4758">4758</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="4759"><td class="num" id="LN4759">4759</td><td class="line">eom_window_dispose (GObject *object)</td></tr>
+<tr class="codeline" data-linenumber="4760"><td class="num" id="LN4760">4760</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4761"><td class="num" id="LN4761">4761</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="4762"><td class="num" id="LN4762">4762</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="4763"><td class="num" id="LN4763">4763</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4764"><td class="num" id="LN4764">4764</td><td class="line"> <span class='macro'>g_return_if_fail (object != NULL)<span class='macro_popup'>do { if ((object != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "object != NULL"); return<br>; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4765"><td class="num" id="LN4765">4765</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (object))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((object)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (object)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4766"><td class="num" id="LN4766">4766</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4767"><td class="num" id="LN4767">4767</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 4767, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4768"><td class="num" id="LN4768">4768</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4769"><td class="num" id="LN4769">4769</td><td class="line"> window = <span class='macro'>EOM_WINDOW (object)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4770"><td class="num" id="LN4770">4770</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="4771"><td class="num" id="LN4771">4771</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4772"><td class="num" id="LN4772">4772</td><td class="line"> peas_engine_garbage_collect (<span class='macro'>PEAS_ENGINE (EOM_APP-&gt;priv-&gt;plugin_engine)<span class='macro_popup'>((((PeasEngine*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ())-&gt;priv-&gt;plugin_engine<br>)), ((peas_engine_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4773"><td class="num" id="LN4773">4773</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4774"><td class="num" id="LN4774">4774</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;extensions != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4775"><td class="num" id="LN4775">4775</td><td class="line"> g_object_unref (priv-&gt;extensions);</td></tr>
+<tr class="codeline" data-linenumber="4776"><td class="num" id="LN4776">4776</td><td class="line"> priv-&gt;extensions = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4777"><td class="num" id="LN4777">4777</td><td class="line"> peas_engine_garbage_collect (<span class='macro'>PEAS_ENGINE (EOM_APP-&gt;priv-&gt;plugin_engine)<span class='macro_popup'>((((PeasEngine*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ())-&gt;priv-&gt;plugin_engine<br>)), ((peas_engine_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4778"><td class="num" id="LN4778">4778</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4779"><td class="num" id="LN4779">4779</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4780"><td class="num" id="LN4780">4780</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;page_setup != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4781"><td class="num" id="LN4781">4781</td><td class="line"> g_object_unref (priv-&gt;page_setup);</td></tr>
+<tr class="codeline" data-linenumber="4782"><td class="num" id="LN4782">4782</td><td class="line"> priv-&gt;page_setup = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4783"><td class="num" id="LN4783">4783</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4784"><td class="num" id="LN4784">4784</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4785"><td class="num" id="LN4785">4785</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;thumbview)</td></tr>
+<tr class="codeline" data-linenumber="4786"><td class="num" id="LN4786">4786</td><td class="line"> {</td></tr>
+<tr class="codeline" data-linenumber="4787"><td class="num" id="LN4787">4787</td><td class="line"> <span class='comment'>/* Disconnect so we don't get any unwanted callbacks</span></td></tr>
+<tr class="codeline" data-linenumber="4788"><td class="num" id="LN4788">4788</td><td class="line"> <span class='comment'>* when the thumb view is disposed. */</span></td></tr>
+<tr class="codeline" data-linenumber="4789"><td class="num" id="LN4789">4789</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;thumbview,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (handle_image_selection_changed_cb), (window<br>))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4790"><td class="num" id="LN4790">4790</td><td class="line"> <span class='macro'>handle_image_selection_changed_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (handle_image_selection_changed_cb), (window<br>))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4791"><td class="num" id="LN4791">4791</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;thumbview), (<br>GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA)<br>, 0, 0, ((void*)0), (handle_image_selection_changed_cb), (window<br>))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4792"><td class="num" id="LN4792">4792</td><td class="line"> <span class='macro'>g_clear_object (&amp;priv-&gt;thumbview)<span class='macro_popup'>do { _Static_assert (sizeof *((&amp;priv-&gt;thumbview)) == sizeof<br> (gpointer), "Expression evaluates to false"); __typeof__ (((<br>&amp;priv-&gt;thumbview))) _pp = ((&amp;priv-&gt;thumbview));<br> __typeof__ (*((&amp;priv-&gt;thumbview))) _ptr = *_pp; *_pp =<br> ((void*)0); if (_ptr) (g_object_unref) (_ptr); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4793"><td class="num" id="LN4793">4793</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4794"><td class="num" id="LN4794">4794</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4795"><td class="num" id="LN4795">4795</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;store != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4796"><td class="num" id="LN4796">4796</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;store,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;store), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_list_store_image_added), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4797"><td class="num" id="LN4797">4797</td><td class="line"> <span class='macro'>eom_window_list_store_image_added,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;store), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_list_store_image_added), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4798"><td class="num" id="LN4798">4798</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;store), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_list_store_image_added), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4799"><td class="num" id="LN4799">4799</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;store,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;store), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_list_store_image_removed), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4800"><td class="num" id="LN4800">4800</td><td class="line"> <span class='macro'>eom_window_list_store_image_removed,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;store), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_list_store_image_removed), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4801"><td class="num" id="LN4801">4801</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;store), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (eom_window_list_store_image_removed), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4802"><td class="num" id="LN4802">4802</td><td class="line"> g_object_unref (priv-&gt;store);</td></tr>
+<tr class="codeline" data-linenumber="4803"><td class="num" id="LN4803">4803</td><td class="line"> priv-&gt;store = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4804"><td class="num" id="LN4804">4804</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4805"><td class="num" id="LN4805">4805</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4806"><td class="num" id="LN4806">4806</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4807"><td class="num" id="LN4807">4807</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;image,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_thumb_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4808"><td class="num" id="LN4808">4808</td><td class="line"> <span class='macro'>image_thumb_changed_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_thumb_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4809"><td class="num" id="LN4809">4809</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_thumb_changed_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4810"><td class="num" id="LN4810">4810</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (priv-&gt;image,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_file_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4811"><td class="num" id="LN4811">4811</td><td class="line"> <span class='macro'>image_file_changed_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_file_changed_cb), (window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4812"><td class="num" id="LN4812">4812</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((priv-&gt;image), (GSignalMatchType<br>) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA), 0, 0, ((void*)<br>0), (image_file_changed_cb), (window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4813"><td class="num" id="LN4813">4813</td><td class="line"> g_object_unref (priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="4814"><td class="num" id="LN4814">4814</td><td class="line"> priv-&gt;image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4815"><td class="num" id="LN4815">4815</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4816"><td class="num" id="LN4816">4816</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4817"><td class="num" id="LN4817">4817</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;actions_window != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4818"><td class="num" id="LN4818">4818</td><td class="line"> g_object_unref (priv-&gt;actions_window);</td></tr>
+<tr class="codeline" data-linenumber="4819"><td class="num" id="LN4819">4819</td><td class="line"> priv-&gt;actions_window = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4820"><td class="num" id="LN4820">4820</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4821"><td class="num" id="LN4821">4821</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4822"><td class="num" id="LN4822">4822</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;actions_image != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4823"><td class="num" id="LN4823">4823</td><td class="line"> g_object_unref (priv-&gt;actions_image);</td></tr>
+<tr class="codeline" data-linenumber="4824"><td class="num" id="LN4824">4824</td><td class="line"> priv-&gt;actions_image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4825"><td class="num" id="LN4825">4825</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4826"><td class="num" id="LN4826">4826</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4827"><td class="num" id="LN4827">4827</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;actions_collection != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4828"><td class="num" id="LN4828">4828</td><td class="line"> g_object_unref (priv-&gt;actions_collection);</td></tr>
+<tr class="codeline" data-linenumber="4829"><td class="num" id="LN4829">4829</td><td class="line"> priv-&gt;actions_collection = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4830"><td class="num" id="LN4830">4830</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4831"><td class="num" id="LN4831">4831</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4832"><td class="num" id="LN4832">4832</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;actions_recent != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4833"><td class="num" id="LN4833">4833</td><td class="line"> g_object_unref (priv-&gt;actions_recent);</td></tr>
+<tr class="codeline" data-linenumber="4834"><td class="num" id="LN4834">4834</td><td class="line"> priv-&gt;actions_recent = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4835"><td class="num" id="LN4835">4835</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4836"><td class="num" id="LN4836">4836</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4837"><td class="num" id="LN4837">4837</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;actions_open_with != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4838"><td class="num" id="LN4838">4838</td><td class="line"> g_object_unref (priv-&gt;actions_open_with);</td></tr>
+<tr class="codeline" data-linenumber="4839"><td class="num" id="LN4839">4839</td><td class="line"> priv-&gt;actions_open_with = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4840"><td class="num" id="LN4840">4840</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4841"><td class="num" id="LN4841">4841</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4842"><td class="num" id="LN4842">4842</td><td class="line"> fullscreen_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="4843"><td class="num" id="LN4843">4843</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4844"><td class="num" id="LN4844">4844</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;fullscreen_popup != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4845"><td class="num" id="LN4845">4845</td><td class="line"> gtk_widget_destroy (priv-&gt;fullscreen_popup);</td></tr>
+<tr class="codeline" data-linenumber="4846"><td class="num" id="LN4846">4846</td><td class="line"> priv-&gt;fullscreen_popup = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4847"><td class="num" id="LN4847">4847</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4848"><td class="num" id="LN4848">4848</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4849"><td class="num" id="LN4849">4849</td><td class="line"> slideshow_clear_timeout (window);</td></tr>
+<tr class="codeline" data-linenumber="4850"><td class="num" id="LN4850">4850</td><td class="line"> eom_window_uninhibit_screensaver (window);</td></tr>
+<tr class="codeline" data-linenumber="4851"><td class="num" id="LN4851">4851</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4852"><td class="num" id="LN4852">4852</td><td class="line"> <span class='macro'>g_signal_handlers_disconnect_by_func (gtk_recent_manager_get_default (),<span class='macro_popup'>g_signal_handlers_disconnect_matched ((gtk_recent_manager_get_default<br> ()), (GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA<br>), 0, 0, ((void*)0), (eom_window_recent_manager_changed_cb), (<br>window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4853"><td class="num" id="LN4853">4853</td><td class="line"> <span class='macro'>eom_window_recent_manager_changed_cb,<span class='macro_popup'>g_signal_handlers_disconnect_matched ((gtk_recent_manager_get_default<br> ()), (GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA<br>), 0, 0, ((void*)0), (eom_window_recent_manager_changed_cb), (<br>window))</span></span></td></tr>
+<tr class="codeline" data-linenumber="4854"><td class="num" id="LN4854">4854</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_handlers_disconnect_matched ((gtk_recent_manager_get_default<br> ()), (GSignalMatchType) (G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA<br>), 0, 0, ((void*)0), (eom_window_recent_manager_changed_cb), (<br>window))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4855"><td class="num" id="LN4855">4855</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4856"><td class="num" id="LN4856">4856</td><td class="line"> priv-&gt;recent_menu_id = 0;</td></tr>
+<tr class="codeline" data-linenumber="4857"><td class="num" id="LN4857">4857</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4858"><td class="num" id="LN4858">4858</td><td class="line"> eom_window_clear_load_job (window);</td></tr>
+<tr class="codeline" data-linenumber="4859"><td class="num" id="LN4859">4859</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4860"><td class="num" id="LN4860">4860</td><td class="line"> eom_window_clear_transform_job (window);</td></tr>
+<tr class="codeline" data-linenumber="4861"><td class="num" id="LN4861">4861</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4862"><td class="num" id="LN4862">4862</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;view_settings) {</td></tr>
+<tr class="codeline" data-linenumber="4863"><td class="num" id="LN4863">4863</td><td class="line"> g_object_unref (priv-&gt;view_settings);</td></tr>
+<tr class="codeline" data-linenumber="4864"><td class="num" id="LN4864">4864</td><td class="line"> priv-&gt;view_settings = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4865"><td class="num" id="LN4865">4865</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4866"><td class="num" id="LN4866">4866</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;ui_settings) {</td></tr>
+<tr class="codeline" data-linenumber="4867"><td class="num" id="LN4867">4867</td><td class="line"> g_object_unref (priv-&gt;ui_settings);</td></tr>
+<tr class="codeline" data-linenumber="4868"><td class="num" id="LN4868">4868</td><td class="line"> priv-&gt;ui_settings = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4869"><td class="num" id="LN4869">4869</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4870"><td class="num" id="LN4870">4870</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;fullscreen_settings) {</td></tr>
+<tr class="codeline" data-linenumber="4871"><td class="num" id="LN4871">4871</td><td class="line"> g_object_unref (priv-&gt;fullscreen_settings);</td></tr>
+<tr class="codeline" data-linenumber="4872"><td class="num" id="LN4872">4872</td><td class="line"> priv-&gt;fullscreen_settings = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4873"><td class="num" id="LN4873">4873</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4874"><td class="num" id="LN4874">4874</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;lockdown_settings) {</td></tr>
+<tr class="codeline" data-linenumber="4875"><td class="num" id="LN4875">4875</td><td class="line"> g_object_unref (priv-&gt;lockdown_settings);</td></tr>
+<tr class="codeline" data-linenumber="4876"><td class="num" id="LN4876">4876</td><td class="line"> priv-&gt;lockdown_settings = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4877"><td class="num" id="LN4877">4877</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4878"><td class="num" id="LN4878">4878</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4879"><td class="num" id="LN4879">4879</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;file_list != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4880"><td class="num" id="LN4880">4880</td><td class="line"> g_slist_free_full (priv-&gt;file_list, g_object_unref);</td></tr>
+<tr class="codeline" data-linenumber="4881"><td class="num" id="LN4881">4881</td><td class="line"> priv-&gt;file_list = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4882"><td class="num" id="LN4882">4882</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4883"><td class="num" id="LN4883">4883</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4884"><td class="num" id="LN4884">4884</td><td class="line"><span class='directive'>#if defined(<span class='macro'>HAVE_LCMS<span class='macro_popup'>1</span></span>) &amp;&amp; defined(GDK_WINDOWING_X11)</span></td></tr>
+<tr class="codeline" data-linenumber="4885"><td class="num" id="LN4885">4885</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;display_profile != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4886"><td class="num" id="LN4886">4886</td><td class="line"> cmsCloseProfile (priv-&gt;display_profile);</td></tr>
+<tr class="codeline" data-linenumber="4887"><td class="num" id="LN4887">4887</td><td class="line"> priv-&gt;display_profile = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4888"><td class="num" id="LN4888">4888</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4889"><td class="num" id="LN4889">4889</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="4890"><td class="num" id="LN4890">4890</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4891"><td class="num" id="LN4891">4891</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;last_save_as_folder != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4892"><td class="num" id="LN4892">4892</td><td class="line"> g_object_unref (priv-&gt;last_save_as_folder);</td></tr>
+<tr class="codeline" data-linenumber="4893"><td class="num" id="LN4893">4893</td><td class="line"> priv-&gt;last_save_as_folder = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4894"><td class="num" id="LN4894">4894</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4895"><td class="num" id="LN4895">4895</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4896"><td class="num" id="LN4896">4896</td><td class="line"> peas_engine_garbage_collect (<span class='macro'>PEAS_ENGINE (EOM_APP-&gt;priv-&gt;plugin_engine)<span class='macro_popup'>((((PeasEngine*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ())-&gt;priv-&gt;plugin_engine<br>)), ((peas_engine_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4897"><td class="num" id="LN4897">4897</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4898"><td class="num" id="LN4898">4898</td><td class="line"> <span class='macro'>G_OBJECT_CLASS (eom_window_parent_class)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_window_parent_class)), (((GType) ((20) &lt;&lt; (2))<br>))))))</span></span>-&gt;dispose (object);</td></tr>
+<tr class="codeline" data-linenumber="4899"><td class="num" id="LN4899">4899</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4900"><td class="num" id="LN4900">4900</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4901"><td class="num" id="LN4901">4901</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="4902"><td class="num" id="LN4902">4902</td><td class="line">eom_window_delete (GtkWidget *widget, GdkEventAny *event)</td></tr>
+<tr class="codeline" data-linenumber="4903"><td class="num" id="LN4903">4903</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4904"><td class="num" id="LN4904">4904</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="4905"><td class="num" id="LN4905">4905</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="4906"><td class="num" id="LN4906">4906</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4907"><td class="num" id="LN4907">4907</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (widget), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((widget)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (widget)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4908"><td class="num" id="LN4908">4908</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4909"><td class="num" id="LN4909">4909</td><td class="line"> window = <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4910"><td class="num" id="LN4910">4910</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="4911"><td class="num" id="LN4911">4911</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4912"><td class="num" id="LN4912">4912</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;save_job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4913"><td class="num" id="LN4913">4913</td><td class="line"> eom_window_finish_saving (window);</td></tr>
+<tr class="codeline" data-linenumber="4914"><td class="num" id="LN4914">4914</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4915"><td class="num" id="LN4915">4915</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4916"><td class="num" id="LN4916">4916</td><td class="line"> <span class='keyword'>if</span> (eom_window_unsaved_images_confirm (window)) {</td></tr>
+<tr class="codeline" data-linenumber="4917"><td class="num" id="LN4917">4917</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4918"><td class="num" id="LN4918">4918</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4919"><td class="num" id="LN4919">4919</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4920"><td class="num" id="LN4920">4920</td><td class="line"> gtk_widget_destroy (widget);</td></tr>
+<tr class="codeline" data-linenumber="4921"><td class="num" id="LN4921">4921</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4922"><td class="num" id="LN4922">4922</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4923"><td class="num" id="LN4923">4923</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="4924"><td class="num" id="LN4924">4924</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4925"><td class="num" id="LN4925">4925</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="4926"><td class="num" id="LN4926">4926</td><td class="line">eom_window_key_press (GtkWidget *widget, GdkEventKey *event)</td></tr>
+<tr class="codeline" data-linenumber="4927"><td class="num" id="LN4927">4927</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="4928"><td class="num" id="LN4928">4928</td><td class="line"> GtkContainer *tbcontainer = <span class='macro'>GTK_CONTAINER ((EOM_WINDOW (widget)-&gt;priv-&gt;toolbar))<span class='macro_popup'>((((GtkContainer*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;toolbar<br>))), ((gtk_container_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4929"><td class="num" id="LN4929">4929</td><td class="line"> gint result = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4930"><td class="num" id="LN4930">4930</td><td class="line"> gboolean handle_selection = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4931"><td class="num" id="LN4931">4931</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4932"><td class="num" id="LN4932">4932</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;keyval) {</td></tr>
+<tr class="codeline" data-linenumber="4933"><td class="num" id="LN4933">4933</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_space<span class='macro_popup'>0x020</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4934"><td class="num" id="LN4934">4934</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_CONTROL_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="4935"><td class="num" id="LN4935">4935</td><td class="line"> handle_selection = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4936"><td class="num" id="LN4936">4936</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4937"><td class="num" id="LN4937">4937</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4938"><td class="num" id="LN4938">4938</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Return<span class='macro_popup'>0xff0d</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4939"><td class="num" id="LN4939">4939</td><td class="line"> <span class='keyword'>if</span> (gtk_container_get_focus_child (tbcontainer) == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4940"><td class="num" id="LN4940">4940</td><td class="line"> <span class='comment'>/* Image properties dialog case */</span></td></tr>
+<tr class="codeline" data-linenumber="4941"><td class="num" id="LN4941">4941</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_MOD1_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="4942"><td class="num" id="LN4942">4942</td><td class="line"> result = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4943"><td class="num" id="LN4943">4943</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4944"><td class="num" id="LN4944">4944</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4945"><td class="num" id="LN4945">4945</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4946"><td class="num" id="LN4946">4946</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_SHIFT_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="4947"><td class="num" id="LN4947">4947</td><td class="line"> eom_window_cmd_go_prev (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4948"><td class="num" id="LN4948">4948</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4949"><td class="num" id="LN4949">4949</td><td class="line"> eom_window_cmd_go_next (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4950"><td class="num" id="LN4950">4950</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4951"><td class="num" id="LN4951">4951</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4952"><td class="num" id="LN4952">4952</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4953"><td class="num" id="LN4953">4953</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4954"><td class="num" id="LN4954">4954</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_p<span class='macro_popup'>0x070</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4955"><td class="num" id="LN4955">4955</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_P<span class='macro_popup'>0x050</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4956"><td class="num" id="LN4956">4956</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;mode == EOM_WINDOW_MODE_FULLSCREEN || <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW) {</td></tr>
+<tr class="codeline" data-linenumber="4957"><td class="num" id="LN4957">4957</td><td class="line"> gboolean slideshow;</td></tr>
+<tr class="codeline" data-linenumber="4958"><td class="num" id="LN4958">4958</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="4959"><td class="num" id="LN4959">4959</td><td class="line"> slideshow = <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW;</td></tr>
+<tr class="codeline" data-linenumber="4960"><td class="num" id="LN4960">4960</td><td class="line"> eom_window_run_fullscreen (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>, !slideshow);</td></tr>
+<tr class="codeline" data-linenumber="4961"><td class="num" id="LN4961">4961</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4962"><td class="num" id="LN4962">4962</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4963"><td class="num" id="LN4963">4963</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Q<span class='macro_popup'>0x051</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4964"><td class="num" id="LN4964">4964</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_q<span class='macro_popup'>0x071</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4965"><td class="num" id="LN4965">4965</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Escape<span class='macro_popup'>0xff1b</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4966"><td class="num" id="LN4966">4966</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;mode == EOM_WINDOW_MODE_FULLSCREEN) {</td></tr>
+<tr class="codeline" data-linenumber="4967"><td class="num" id="LN4967">4967</td><td class="line"> eom_window_stop_fullscreen (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4968"><td class="num" id="LN4968">4968</td><td class="line"> } <span class='keyword'>else</span> <span class='keyword'>if</span> (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW) {</td></tr>
+<tr class="codeline" data-linenumber="4969"><td class="num" id="LN4969">4969</td><td class="line"> eom_window_stop_fullscreen (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4970"><td class="num" id="LN4970">4970</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4971"><td class="num" id="LN4971">4971</td><td class="line"> eom_window_cmd_close_window (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4972"><td class="num" id="LN4972">4972</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4973"><td class="num" id="LN4973">4973</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4974"><td class="num" id="LN4974">4974</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4975"><td class="num" id="LN4975">4975</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Left<span class='macro_popup'>0xff51</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4976"><td class="num" id="LN4976">4976</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_MOD1_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="4977"><td class="num" id="LN4977">4977</td><td class="line"> <span class='comment'>/* Alt+Left moves to previous image */</span></td></tr>
+<tr class="codeline" data-linenumber="4978"><td class="num" id="LN4978">4978</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>is_rtl<span class='macro_popup'>(gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL)</span></span>) { <span class='comment'>/* move to next in RTL mode */</span></td></tr>
+<tr class="codeline" data-linenumber="4979"><td class="num" id="LN4979">4979</td><td class="line"> eom_window_cmd_go_next (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4980"><td class="num" id="LN4980">4980</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="4981"><td class="num" id="LN4981">4981</td><td class="line"> eom_window_cmd_go_prev (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4982"><td class="num" id="LN4982">4982</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4983"><td class="num" id="LN4983">4983</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="4984"><td class="num" id="LN4984">4984</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4985"><td class="num" id="LN4985">4985</td><td class="line"> } <span class='comment'>/* else fall-trough is intended */</span></td></tr>
+<tr class="codeline" data-linenumber="4986"><td class="num" id="LN4986">4986</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Up<span class='macro_popup'>0xff52</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="4987"><td class="num" id="LN4987">4987</td><td class="line"> <span class='keyword'>if</span> (eom_scroll_view_scrollbars_visible (<span class='macro'>EOM_SCROLL_VIEW (EOM_WINDOW (widget)-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;view<br>)), ((eom_scroll_view_get_type ()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="4988"><td class="num" id="LN4988">4988</td><td class="line"> <span class='comment'>/* break to let scrollview handle the key */</span></td></tr>
+<tr class="codeline" data-linenumber="4989"><td class="num" id="LN4989">4989</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4990"><td class="num" id="LN4990">4990</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="4991"><td class="num" id="LN4991">4991</td><td class="line"> <span class='keyword'>if</span> (gtk_container_get_focus_child (tbcontainer) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="4992"><td class="num" id="LN4992">4992</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="4993"><td class="num" id="LN4993">4993</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_visible (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;nav)) {</td></tr>
+<tr class="codeline" data-linenumber="4994"><td class="num" id="LN4994">4994</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>is_rtl<span class='macro_popup'>(gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL)</span></span> &amp;&amp; event-&gt;keyval == <span class='macro'>GDK_KEY_Left<span class='macro_popup'>0xff51</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="4995"><td class="num" id="LN4995">4995</td><td class="line"> <span class='comment'>/* handle RTL fall-through,</span></td></tr>
+<tr class="codeline" data-linenumber="4996"><td class="num" id="LN4996">4996</td><td class="line"> <span class='comment'>* need to behave like GDK_Down then */</span></td></tr>
+<tr class="codeline" data-linenumber="4997"><td class="num" id="LN4997">4997</td><td class="line"> eom_window_cmd_go_next (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="4998"><td class="num" id="LN4998">4998</td><td class="line"> <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="4999"><td class="num" id="LN4999">4999</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="5000"><td class="num" id="LN5000">5000</td><td class="line"> eom_window_cmd_go_prev (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5001"><td class="num" id="LN5001">5001</td><td class="line"> <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5002"><td class="num" id="LN5002">5002</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5003"><td class="num" id="LN5003">5003</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5004"><td class="num" id="LN5004">5004</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5005"><td class="num" id="LN5005">5005</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5006"><td class="num" id="LN5006">5006</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Right<span class='macro_popup'>0xff53</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="5007"><td class="num" id="LN5007">5007</td><td class="line"> <span class='keyword'>if</span> (event-&gt;state &amp; GDK_MOD1_MASK) {</td></tr>
+<tr class="codeline" data-linenumber="5008"><td class="num" id="LN5008">5008</td><td class="line"> <span class='comment'>/* Alt+Right moves to next image */</span></td></tr>
+<tr class="codeline" data-linenumber="5009"><td class="num" id="LN5009">5009</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>is_rtl<span class='macro_popup'>(gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL)</span></span>) { <span class='comment'>/* move to previous in RTL mode */</span></td></tr>
+<tr class="codeline" data-linenumber="5010"><td class="num" id="LN5010">5010</td><td class="line"> eom_window_cmd_go_prev (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5011"><td class="num" id="LN5011">5011</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="5012"><td class="num" id="LN5012">5012</td><td class="line"> eom_window_cmd_go_next (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5013"><td class="num" id="LN5013">5013</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5014"><td class="num" id="LN5014">5014</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5015"><td class="num" id="LN5015">5015</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5016"><td class="num" id="LN5016">5016</td><td class="line"> } <span class='comment'>/* else fall-trough is intended */</span></td></tr>
+<tr class="codeline" data-linenumber="5017"><td class="num" id="LN5017">5017</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Down<span class='macro_popup'>0xff54</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="5018"><td class="num" id="LN5018">5018</td><td class="line"> <span class='keyword'>if</span> (eom_scroll_view_scrollbars_visible (<span class='macro'>EOM_SCROLL_VIEW (EOM_WINDOW (widget)-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;view<br>)), ((eom_scroll_view_get_type ()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="5019"><td class="num" id="LN5019">5019</td><td class="line"> <span class='comment'>/* break to let scrollview handle the key */</span></td></tr>
+<tr class="codeline" data-linenumber="5020"><td class="num" id="LN5020">5020</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5021"><td class="num" id="LN5021">5021</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5022"><td class="num" id="LN5022">5022</td><td class="line"> <span class='keyword'>if</span> (gtk_container_get_focus_child (tbcontainer) != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5023"><td class="num" id="LN5023">5023</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5024"><td class="num" id="LN5024">5024</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_visible (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;nav)) {</td></tr>
+<tr class="codeline" data-linenumber="5025"><td class="num" id="LN5025">5025</td><td class="line"> <span class='keyword'>if</span> (<span class='macro'>is_rtl<span class='macro_popup'>(gtk_widget_get_default_direction () == GTK_TEXT_DIR_RTL)</span></span> &amp;&amp; event-&gt;keyval == <span class='macro'>GDK_KEY_Right<span class='macro_popup'>0xff53</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="5026"><td class="num" id="LN5026">5026</td><td class="line"> <span class='comment'>/* handle RTL fall-through,</span></td></tr>
+<tr class="codeline" data-linenumber="5027"><td class="num" id="LN5027">5027</td><td class="line"> <span class='comment'>* need to behave like GDK_Up then */</span></td></tr>
+<tr class="codeline" data-linenumber="5028"><td class="num" id="LN5028">5028</td><td class="line"> eom_window_cmd_go_prev (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5029"><td class="num" id="LN5029">5029</td><td class="line"> <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5030"><td class="num" id="LN5030">5030</td><td class="line"> } <span class='keyword'>else</span> {</td></tr>
+<tr class="codeline" data-linenumber="5031"><td class="num" id="LN5031">5031</td><td class="line"> eom_window_cmd_go_next (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5032"><td class="num" id="LN5032">5032</td><td class="line"> <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5033"><td class="num" id="LN5033">5033</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5034"><td class="num" id="LN5034">5034</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5035"><td class="num" id="LN5035">5035</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5036"><td class="num" id="LN5036">5036</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5037"><td class="num" id="LN5037">5037</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Page_Up<span class='macro_popup'>0xff55</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="5038"><td class="num" id="LN5038">5038</td><td class="line"> <span class='keyword'>if</span> (!eom_scroll_view_scrollbars_visible (<span class='macro'>EOM_SCROLL_VIEW (EOM_WINDOW (widget)-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;view<br>)), ((eom_scroll_view_get_type ()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="5039"><td class="num" id="LN5039">5039</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_visible (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;nav)) {</td></tr>
+<tr class="codeline" data-linenumber="5040"><td class="num" id="LN5040">5040</td><td class="line"> <span class='comment'>/* If the iconview is not visible skip to the</span></td></tr>
+<tr class="codeline" data-linenumber="5041"><td class="num" id="LN5041">5041</td><td class="line"> <span class='comment'>* previous image manually as it won't handle</span></td></tr>
+<tr class="codeline" data-linenumber="5042"><td class="num" id="LN5042">5042</td><td class="line"> <span class='comment'>* the keypress then. */</span></td></tr>
+<tr class="codeline" data-linenumber="5043"><td class="num" id="LN5043">5043</td><td class="line"> eom_window_cmd_go_prev (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5044"><td class="num" id="LN5044">5044</td><td class="line"> <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5045"><td class="num" id="LN5045">5045</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5046"><td class="num" id="LN5046">5046</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5047"><td class="num" id="LN5047">5047</td><td class="line"> handle_selection = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5048"><td class="num" id="LN5048">5048</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5049"><td class="num" id="LN5049">5049</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5050"><td class="num" id="LN5050">5050</td><td class="line"> <span class='keyword'>case</span> <span class='macro'>GDK_KEY_Page_Down<span class='macro_popup'>0xff56</span></span>:</td></tr>
+<tr class="codeline" data-linenumber="5051"><td class="num" id="LN5051">5051</td><td class="line"> <span class='keyword'>if</span> (!eom_scroll_view_scrollbars_visible (<span class='macro'>EOM_SCROLL_VIEW (EOM_WINDOW (widget)-&gt;priv-&gt;view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;view<br>)), ((eom_scroll_view_get_type ()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="5052"><td class="num" id="LN5052">5052</td><td class="line"> <span class='keyword'>if</span> (!gtk_widget_get_visible (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;nav)) {</td></tr>
+<tr class="codeline" data-linenumber="5053"><td class="num" id="LN5053">5053</td><td class="line"> <span class='comment'>/* If the iconview is not visible skip to the</span></td></tr>
+<tr class="codeline" data-linenumber="5054"><td class="num" id="LN5054">5054</td><td class="line"> <span class='comment'>* next image manually as it won't handle</span></td></tr>
+<tr class="codeline" data-linenumber="5055"><td class="num" id="LN5055">5055</td><td class="line"> <span class='comment'>* the keypress then. */</span></td></tr>
+<tr class="codeline" data-linenumber="5056"><td class="num" id="LN5056">5056</td><td class="line"> eom_window_cmd_go_next (<span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5057"><td class="num" id="LN5057">5057</td><td class="line"> <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5058"><td class="num" id="LN5058">5058</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5059"><td class="num" id="LN5059">5059</td><td class="line"> } <span class='keyword'>else</span></td></tr>
+<tr class="codeline" data-linenumber="5060"><td class="num" id="LN5060">5060</td><td class="line"> handle_selection = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5061"><td class="num" id="LN5061">5061</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5062"><td class="num" id="LN5062">5062</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5063"><td class="num" id="LN5063">5063</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5064"><td class="num" id="LN5064">5064</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5065"><td class="num" id="LN5065">5065</td><td class="line"> <span class='comment'>/* Update slideshow timeout */</span></td></tr>
+<tr class="codeline" data-linenumber="5066"><td class="num" id="LN5066">5066</td><td class="line"> <span class='keyword'>if</span> (result &amp;&amp; (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW)) {</td></tr>
+<tr class="codeline" data-linenumber="5067"><td class="num" id="LN5067">5067</td><td class="line"> slideshow_set_timeout (<span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5068"><td class="num" id="LN5068">5068</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5069"><td class="num" id="LN5069">5069</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5070"><td class="num" id="LN5070">5070</td><td class="line"> <span class='keyword'>if</span> (handle_selection == <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span> &amp;&amp; result == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="5071"><td class="num" id="LN5071">5071</td><td class="line"> gtk_widget_grab_focus (<span class='macro'>GTK_WIDGET (EOM_WINDOW (widget)-&gt;priv-&gt;thumbview)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;thumbview<br>)), ((gtk_widget_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5072"><td class="num" id="LN5072">5072</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5073"><td class="num" id="LN5073">5073</td><td class="line"> result = gtk_widget_event (<span class='macro'>GTK_WIDGET (EOM_WINDOW (widget)-&gt;priv-&gt;thumbview)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;thumbview<br>)), ((gtk_widget_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5074"><td class="num" id="LN5074">5074</td><td class="line"> (GdkEvent *) event);</td></tr>
+<tr class="codeline" data-linenumber="5075"><td class="num" id="LN5075">5075</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5076"><td class="num" id="LN5076">5076</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5077"><td class="num" id="LN5077">5077</td><td class="line"> <span class='comment'>/* If the focus is not in the toolbar and we still haven't handled the</span></td></tr>
+<tr class="codeline" data-linenumber="5078"><td class="num" id="LN5078">5078</td><td class="line"> <span class='comment'>event, give the scrollview a chance to do it. */</span></td></tr>
+<tr class="codeline" data-linenumber="5079"><td class="num" id="LN5079">5079</td><td class="line"> <span class='keyword'>if</span> (!gtk_container_get_focus_child (tbcontainer) &amp;&amp; result == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="5080"><td class="num" id="LN5080">5080</td><td class="line"> gtk_widget_get_realized (<span class='macro'>GTK_WIDGET (EOM_WINDOW (widget)-&gt;priv-&gt;view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;view<br>)), ((gtk_widget_get_type ()))))))</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="5081"><td class="num" id="LN5081">5081</td><td class="line"> result = gtk_widget_event (<span class='macro'>GTK_WIDGET (EOM_WINDOW (widget)-&gt;priv-&gt;view)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))-&gt;priv-&gt;view<br>)), ((gtk_widget_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5082"><td class="num" id="LN5082">5082</td><td class="line"> (GdkEvent *) event);</td></tr>
+<tr class="codeline" data-linenumber="5083"><td class="num" id="LN5083">5083</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5084"><td class="num" id="LN5084">5084</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5085"><td class="num" id="LN5085">5085</td><td class="line"> <span class='keyword'>if</span> (result == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span> &amp;&amp; <span class='macro'>GTK_WIDGET_CLASS (eom_window_parent_class)<span class='macro_popup'>((((GtkWidgetClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_window_parent_class)), ((gtk_widget_get_type ())))))<br>)</span></span>-&gt;key_press_event) {</td></tr>
+<tr class="codeline" data-linenumber="5086"><td class="num" id="LN5086">5086</td><td class="line"> result = (* <span class='macro'>GTK_WIDGET_CLASS (eom_window_parent_class)<span class='macro_popup'>((((GtkWidgetClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_window_parent_class)), ((gtk_widget_get_type ())))))<br>)</span></span>-&gt;key_press_event) (widget, event);</td></tr>
+<tr class="codeline" data-linenumber="5087"><td class="num" id="LN5087">5087</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5088"><td class="num" id="LN5088">5088</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5089"><td class="num" id="LN5089">5089</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="5090"><td class="num" id="LN5090">5090</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5091"><td class="num" id="LN5091">5091</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5092"><td class="num" id="LN5092">5092</td><td class="line"><span class='keyword'>static</span> gint</td></tr>
+<tr class="codeline" data-linenumber="5093"><td class="num" id="LN5093">5093</td><td class="line">eom_window_button_press (GtkWidget *widget, GdkEventButton *event)</td></tr>
+<tr class="codeline" data-linenumber="5094"><td class="num" id="LN5094">5094</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5095"><td class="num" id="LN5095">5095</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5096"><td class="num" id="LN5096">5096</td><td class="line"> gint result = <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5097"><td class="num" id="LN5097">5097</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5098"><td class="num" id="LN5098">5098</td><td class="line"> <span class='keyword'>if</span> (event-&gt;type == GDK_BUTTON_PRESS) {</td></tr>
+<tr class="codeline" data-linenumber="5099"><td class="num" id="LN5099">5099</td><td class="line"> <span class='keyword'>switch</span> (event-&gt;button) {</td></tr>
+<tr class="codeline" data-linenumber="5100"><td class="num" id="LN5100">5100</td><td class="line"> <span class='keyword'>case</span> 6:</td></tr>
+<tr class="codeline" data-linenumber="5101"><td class="num" id="LN5101">5101</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (window-&gt;priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;thumbview)), ((eom_thumb_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5102"><td class="num" id="LN5102">5102</td><td class="line"> EOM_THUMB_VIEW_SELECT_LEFT);</td></tr>
+<tr class="codeline" data-linenumber="5103"><td class="num" id="LN5103">5103</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5104"><td class="num" id="LN5104">5104</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5105"><td class="num" id="LN5105">5105</td><td class="line"> <span class='keyword'>case</span> 7:</td></tr>
+<tr class="codeline" data-linenumber="5106"><td class="num" id="LN5106">5106</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (window-&gt;priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;thumbview)), ((eom_thumb_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5107"><td class="num" id="LN5107">5107</td><td class="line"> EOM_THUMB_VIEW_SELECT_RIGHT);</td></tr>
+<tr class="codeline" data-linenumber="5108"><td class="num" id="LN5108">5108</td><td class="line"> result = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5109"><td class="num" id="LN5109">5109</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5110"><td class="num" id="LN5110">5110</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5111"><td class="num" id="LN5111">5111</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5112"><td class="num" id="LN5112">5112</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5113"><td class="num" id="LN5113">5113</td><td class="line"> <span class='keyword'>if</span> (result == <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span> &amp;&amp; <span class='macro'>GTK_WIDGET_CLASS (eom_window_parent_class)<span class='macro_popup'>((((GtkWidgetClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_window_parent_class)), ((gtk_widget_get_type ())))))<br>)</span></span>-&gt;button_press_event) {</td></tr>
+<tr class="codeline" data-linenumber="5114"><td class="num" id="LN5114">5114</td><td class="line"> result = (* <span class='macro'>GTK_WIDGET_CLASS (eom_window_parent_class)<span class='macro_popup'>((((GtkWidgetClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_window_parent_class)), ((gtk_widget_get_type ())))))<br>)</span></span>-&gt;button_press_event) (widget, event);</td></tr>
+<tr class="codeline" data-linenumber="5115"><td class="num" id="LN5115">5115</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5116"><td class="num" id="LN5116">5116</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5117"><td class="num" id="LN5117">5117</td><td class="line"> <span class='keyword'>return</span> result;</td></tr>
+<tr class="codeline" data-linenumber="5118"><td class="num" id="LN5118">5118</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5119"><td class="num" id="LN5119">5119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5120"><td class="num" id="LN5120">5120</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="5121"><td class="num" id="LN5121">5121</td><td class="line">eom_window_focus_out_event (GtkWidget *widget, GdkEventFocus *event)</td></tr>
+<tr class="codeline" data-linenumber="5122"><td class="num" id="LN5122">5122</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5123"><td class="num" id="LN5123">5123</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (widget)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((widget)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5124"><td class="num" id="LN5124">5124</td><td class="line"> EomWindowPrivate *priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="5125"><td class="num" id="LN5125">5125</td><td class="line"> gboolean fullscreen;</td></tr>
+<tr class="codeline" data-linenumber="5126"><td class="num" id="LN5126">5126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5127"><td class="num" id="LN5127">5127</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 5127, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5128"><td class="num" id="LN5128">5128</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5129"><td class="num" id="LN5129">5129</td><td class="line"> fullscreen = priv-&gt;mode == EOM_WINDOW_MODE_FULLSCREEN ||</td></tr>
+<tr class="codeline" data-linenumber="5130"><td class="num" id="LN5130">5130</td><td class="line"> priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW;</td></tr>
+<tr class="codeline" data-linenumber="5131"><td class="num" id="LN5131">5131</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5132"><td class="num" id="LN5132">5132</td><td class="line"> <span class='keyword'>if</span> (fullscreen) {</td></tr>
+<tr class="codeline" data-linenumber="5133"><td class="num" id="LN5133">5133</td><td class="line"> gtk_widget_hide (priv-&gt;fullscreen_popup);</td></tr>
+<tr class="codeline" data-linenumber="5134"><td class="num" id="LN5134">5134</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5135"><td class="num" id="LN5135">5135</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5136"><td class="num" id="LN5136">5136</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>GTK_WIDGET_CLASS (eom_window_parent_class)<span class='macro_popup'>((((GtkWidgetClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_window_parent_class)), ((gtk_widget_get_type ())))))<br>)</span></span>-&gt;focus_out_event (widget, event);</td></tr>
+<tr class="codeline" data-linenumber="5137"><td class="num" id="LN5137">5137</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5138"><td class="num" id="LN5138">5138</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5139"><td class="num" id="LN5139">5139</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5140"><td class="num" id="LN5140">5140</td><td class="line">eom_window_set_property (GObject *object,</td></tr>
+<tr class="codeline" data-linenumber="5141"><td class="num" id="LN5141">5141</td><td class="line"> guint property_id,</td></tr>
+<tr class="codeline" data-linenumber="5142"><td class="num" id="LN5142">5142</td><td class="line"> <span class='keyword'>const</span> GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="5143"><td class="num" id="LN5143">5143</td><td class="line"> GParamSpec *pspec)</td></tr>
+<tr class="codeline" data-linenumber="5144"><td class="num" id="LN5144">5144</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5145"><td class="num" id="LN5145">5145</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="5146"><td class="num" id="LN5146">5146</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="5147"><td class="num" id="LN5147">5147</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5148"><td class="num" id="LN5148">5148</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (object))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((object)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (object)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5149"><td class="num" id="LN5149">5149</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5150"><td class="num" id="LN5150">5150</td><td class="line"> window = <span class='macro'>EOM_WINDOW (object)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5151"><td class="num" id="LN5151">5151</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="5152"><td class="num" id="LN5152">5152</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5153"><td class="num" id="LN5153">5153</td><td class="line"> <span class='keyword'>switch</span> (property_id) {</td></tr>
+<tr class="codeline" data-linenumber="5154"><td class="num" id="LN5154">5154</td><td class="line"> <span class='keyword'>case</span> PROP_COLLECTION_POS:</td></tr>
+<tr class="codeline" data-linenumber="5155"><td class="num" id="LN5155">5155</td><td class="line"> eom_window_set_collection_mode (window, g_value_get_enum (value),</td></tr>
+<tr class="codeline" data-linenumber="5156"><td class="num" id="LN5156">5156</td><td class="line"> priv-&gt;collection_resizable);</td></tr>
+<tr class="codeline" data-linenumber="5157"><td class="num" id="LN5157">5157</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5158"><td class="num" id="LN5158">5158</td><td class="line"> <span class='keyword'>case</span> PROP_COLLECTION_RESIZABLE:</td></tr>
+<tr class="codeline" data-linenumber="5159"><td class="num" id="LN5159">5159</td><td class="line"> eom_window_set_collection_mode (window, priv-&gt;collection_position,</td></tr>
+<tr class="codeline" data-linenumber="5160"><td class="num" id="LN5160">5160</td><td class="line"> g_value_get_boolean (value));</td></tr>
+<tr class="codeline" data-linenumber="5161"><td class="num" id="LN5161">5161</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5162"><td class="num" id="LN5162">5162</td><td class="line"> <span class='keyword'>case</span> PROP_STARTUP_FLAGS:</td></tr>
+<tr class="codeline" data-linenumber="5163"><td class="num" id="LN5163">5163</td><td class="line"> priv-&gt;flags = g_value_get_flags (value);</td></tr>
+<tr class="codeline" data-linenumber="5164"><td class="num" id="LN5164">5164</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5165"><td class="num" id="LN5165">5165</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5166"><td class="num" id="LN5166">5166</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="5167"><td class="num" id="LN5167">5167</td><td class="line"> <span class='macro'>G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec)<span class='macro_popup'>do { GObject *_glib__object = (GObject*) ((object)); GParamSpec<br> *_glib__pspec = (GParamSpec*) ((pspec)); guint _glib__property_id<br> = ((property_id)); g_warning ("%s:%d: invalid %s id %u for \"%s\" of type '%s' in '%s'"<br>, "eom-window.c", 5167, ("property"), _glib__property_id, _glib__pspec<br>-&gt;name, g_type_name ((((((GTypeClass*) (((GTypeInstance*) (<br>_glib__pspec))-&gt;g_class))-&gt;g_type)))), (g_type_name (((<br>(((GTypeClass*) (((GTypeInstance*) (_glib__object))-&gt;g_class<br>))-&gt;g_type)))))); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5168"><td class="num" id="LN5168">5168</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5169"><td class="num" id="LN5169">5169</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5170"><td class="num" id="LN5170">5170</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5171"><td class="num" id="LN5171">5171</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5172"><td class="num" id="LN5172">5172</td><td class="line">eom_window_get_property (GObject *object,</td></tr>
+<tr class="codeline" data-linenumber="5173"><td class="num" id="LN5173">5173</td><td class="line"> guint property_id,</td></tr>
+<tr class="codeline" data-linenumber="5174"><td class="num" id="LN5174">5174</td><td class="line"> GValue *value,</td></tr>
+<tr class="codeline" data-linenumber="5175"><td class="num" id="LN5175">5175</td><td class="line"> GParamSpec *pspec)</td></tr>
+<tr class="codeline" data-linenumber="5176"><td class="num" id="LN5176">5176</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5177"><td class="num" id="LN5177">5177</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="5178"><td class="num" id="LN5178">5178</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="5179"><td class="num" id="LN5179">5179</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5180"><td class="num" id="LN5180">5180</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (object))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((object)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (object)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5181"><td class="num" id="LN5181">5181</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5182"><td class="num" id="LN5182">5182</td><td class="line"> window = <span class='macro'>EOM_WINDOW (object)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5183"><td class="num" id="LN5183">5183</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="5184"><td class="num" id="LN5184">5184</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5185"><td class="num" id="LN5185">5185</td><td class="line"> <span class='keyword'>switch</span> (property_id) {</td></tr>
+<tr class="codeline" data-linenumber="5186"><td class="num" id="LN5186">5186</td><td class="line"> <span class='keyword'>case</span> PROP_COLLECTION_POS:</td></tr>
+<tr class="codeline" data-linenumber="5187"><td class="num" id="LN5187">5187</td><td class="line"> g_value_set_enum (value, priv-&gt;collection_position);</td></tr>
+<tr class="codeline" data-linenumber="5188"><td class="num" id="LN5188">5188</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5189"><td class="num" id="LN5189">5189</td><td class="line"> <span class='keyword'>case</span> PROP_COLLECTION_RESIZABLE:</td></tr>
+<tr class="codeline" data-linenumber="5190"><td class="num" id="LN5190">5190</td><td class="line"> g_value_set_boolean (value, priv-&gt;collection_resizable);</td></tr>
+<tr class="codeline" data-linenumber="5191"><td class="num" id="LN5191">5191</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5192"><td class="num" id="LN5192">5192</td><td class="line"> <span class='keyword'>case</span> PROP_STARTUP_FLAGS:</td></tr>
+<tr class="codeline" data-linenumber="5193"><td class="num" id="LN5193">5193</td><td class="line"> g_value_set_flags (value, priv-&gt;flags);</td></tr>
+<tr class="codeline" data-linenumber="5194"><td class="num" id="LN5194">5194</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5195"><td class="num" id="LN5195">5195</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5196"><td class="num" id="LN5196">5196</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="5197"><td class="num" id="LN5197">5197</td><td class="line"> <span class='macro'>G_OBJECT_WARN_INVALID_PROPERTY_ID (object, property_id, pspec)<span class='macro_popup'>do { GObject *_glib__object = (GObject*) ((object)); GParamSpec<br> *_glib__pspec = (GParamSpec*) ((pspec)); guint _glib__property_id<br> = ((property_id)); g_warning ("%s:%d: invalid %s id %u for \"%s\" of type '%s' in '%s'"<br>, "eom-window.c", 5197, ("property"), _glib__property_id, _glib__pspec<br>-&gt;name, g_type_name ((((((GTypeClass*) (((GTypeInstance*) (<br>_glib__pspec))-&gt;g_class))-&gt;g_type)))), (g_type_name (((<br>(((GTypeClass*) (((GTypeInstance*) (_glib__object))-&gt;g_class<br>))-&gt;g_type)))))); } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5198"><td class="num" id="LN5198">5198</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5199"><td class="num" id="LN5199">5199</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5200"><td class="num" id="LN5200">5200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5201"><td class="num" id="LN5201">5201</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5202"><td class="num" id="LN5202">5202</td><td class="line">on_extension_added (PeasExtensionSet *set,</td></tr>
+<tr class="codeline" data-linenumber="5203"><td class="num" id="LN5203">5203</td><td class="line"> PeasPluginInfo *info,</td></tr>
+<tr class="codeline" data-linenumber="5204"><td class="num" id="LN5204">5204</td><td class="line"> PeasExtension *exten,</td></tr>
+<tr class="codeline" data-linenumber="5205"><td class="num" id="LN5205">5205</td><td class="line"> GtkWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5206"><td class="num" id="LN5206">5206</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5207"><td class="num" id="LN5207">5207</td><td class="line"> peas_extension_call (exten, <span class='string_literal'>"activate"</span>, window);</td></tr>
+<tr class="codeline" data-linenumber="5208"><td class="num" id="LN5208">5208</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5209"><td class="num" id="LN5209">5209</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5210"><td class="num" id="LN5210">5210</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5211"><td class="num" id="LN5211">5211</td><td class="line">on_extension_removed (PeasExtensionSet *set,</td></tr>
+<tr class="codeline" data-linenumber="5212"><td class="num" id="LN5212">5212</td><td class="line"> PeasPluginInfo *info,</td></tr>
+<tr class="codeline" data-linenumber="5213"><td class="num" id="LN5213">5213</td><td class="line"> PeasExtension *exten,</td></tr>
+<tr class="codeline" data-linenumber="5214"><td class="num" id="LN5214">5214</td><td class="line"> GtkWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5215"><td class="num" id="LN5215">5215</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5216"><td class="num" id="LN5216">5216</td><td class="line"> peas_extension_call (exten, <span class='string_literal'>"deactivate"</span>, window);</td></tr>
+<tr class="codeline" data-linenumber="5217"><td class="num" id="LN5217">5217</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5218"><td class="num" id="LN5218">5218</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5219"><td class="num" id="LN5219">5219</td><td class="line"><span class='keyword'>static</span> GObject *</td></tr>
+<tr class="codeline" data-linenumber="5220"><td class="num" id="LN5220">5220</td><td class="line">eom_window_constructor (GType type,</td></tr>
+<tr class="codeline" data-linenumber="5221"><td class="num" id="LN5221">5221</td><td class="line"> guint n_construct_properties,</td></tr>
+<tr class="codeline" data-linenumber="5222"><td class="num" id="LN5222">5222</td><td class="line"> GObjectConstructParam *construct_params)</td></tr>
+<tr class="codeline" data-linenumber="5223"><td class="num" id="LN5223">5223</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5224"><td class="num" id="LN5224">5224</td><td class="line"> GObject *object;</td></tr>
+<tr class="codeline" data-linenumber="5225"><td class="num" id="LN5225">5225</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="5226"><td class="num" id="LN5226">5226</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5227"><td class="num" id="LN5227">5227</td><td class="line"> object = <span class='macro'>G_OBJECT_CLASS (eom_window_parent_class)<span class='macro_popup'>((((GObjectClass*) (void *) g_type_check_class_cast ((GTypeClass<br>*) ((eom_window_parent_class)), (((GType) ((20) &lt;&lt; (2))<br>))))))</span></span>-&gt;constructor</td></tr>
+<tr class="codeline" data-linenumber="5228"><td class="num" id="LN5228">5228</td><td class="line"> (type, n_construct_properties, construct_params);</td></tr>
+<tr class="codeline" data-linenumber="5229"><td class="num" id="LN5229">5229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5230"><td class="num" id="LN5230">5230</td><td class="line"> priv = <span class='macro'>EOM_WINDOW (object)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_window_get_type ()))))))</span></span>-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="5231"><td class="num" id="LN5231">5231</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5232"><td class="num" id="LN5232">5232</td><td class="line"> eom_window_construct_ui (<span class='macro'>EOM_WINDOW (object)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_window_get_type ()))))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5233"><td class="num" id="LN5233">5233</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5234"><td class="num" id="LN5234">5234</td><td class="line"> priv-&gt;extensions = peas_extension_set_new (<span class='macro'>PEAS_ENGINE (EOM_APP-&gt;priv-&gt;plugin_engine)<span class='macro_popup'>((((PeasEngine*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) (((eom_application_get_instance ())-&gt;priv-&gt;plugin_engine<br>)), ((peas_engine_get_type ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5235"><td class="num" id="LN5235">5235</td><td class="line"> <span class='macro'>EOM_TYPE_WINDOW_ACTIVATABLE<span class='macro_popup'>(eom_window_activatable_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5236"><td class="num" id="LN5236">5236</td><td class="line"> <span class='string_literal'>"window"</span>,</td></tr>
+<tr class="codeline" data-linenumber="5237"><td class="num" id="LN5237">5237</td><td class="line"> <span class='macro'>EOM_WINDOW (object)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((object)), ((eom_window_get_type ()))))))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5238"><td class="num" id="LN5238">5238</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5239"><td class="num" id="LN5239">5239</td><td class="line"> peas_extension_set_call (priv-&gt;extensions, <span class='string_literal'>"activate"</span>);</td></tr>
+<tr class="codeline" data-linenumber="5240"><td class="num" id="LN5240">5240</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5241"><td class="num" id="LN5241">5241</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;extensions, <span class='string_literal'>"extension-added"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;extensions), ("extension-added"<br>), (((GCallback) (on_extension_added))), (object), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5242"><td class="num" id="LN5242">5242</td><td class="line"> <span class='macro'>G_CALLBACK (on_extension_added),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;extensions), ("extension-added"<br>), (((GCallback) (on_extension_added))), (object), ((void*)0)<br>, (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5243"><td class="num" id="LN5243">5243</td><td class="line"> <span class='macro'>object)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;extensions), ("extension-added"<br>), (((GCallback) (on_extension_added))), (object), ((void*)0)<br>, (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5244"><td class="num" id="LN5244">5244</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;extensions, <span class='string_literal'>"extension-removed"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;extensions), ("extension-removed"<br>), (((GCallback) (on_extension_removed))), (object), ((void*)<br>0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5245"><td class="num" id="LN5245">5245</td><td class="line"> <span class='macro'>G_CALLBACK (on_extension_removed),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;extensions), ("extension-removed"<br>), (((GCallback) (on_extension_removed))), (object), ((void*)<br>0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5246"><td class="num" id="LN5246">5246</td><td class="line"> <span class='macro'>object)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;extensions), ("extension-removed"<br>), (((GCallback) (on_extension_removed))), (object), ((void*)<br>0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5247"><td class="num" id="LN5247">5247</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5248"><td class="num" id="LN5248">5248</td><td class="line"> <span class='keyword'>return</span> object;</td></tr>
+<tr class="codeline" data-linenumber="5249"><td class="num" id="LN5249">5249</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5250"><td class="num" id="LN5250">5250</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5251"><td class="num" id="LN5251">5251</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5252"><td class="num" id="LN5252">5252</td><td class="line">eom_window_class_init (EomWindowClass *class)</td></tr>
+<tr class="codeline" data-linenumber="5253"><td class="num" id="LN5253">5253</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5254"><td class="num" id="LN5254">5254</td><td class="line"> GObjectClass *g_object_class = (GObjectClass *) class;</td></tr>
+<tr class="codeline" data-linenumber="5255"><td class="num" id="LN5255">5255</td><td class="line"> GtkWidgetClass *widget_class = (GtkWidgetClass *) class;</td></tr>
+<tr class="codeline" data-linenumber="5256"><td class="num" id="LN5256">5256</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5257"><td class="num" id="LN5257">5257</td><td class="line"> g_object_class-&gt;constructor = eom_window_constructor;</td></tr>
+<tr class="codeline" data-linenumber="5258"><td class="num" id="LN5258">5258</td><td class="line"> g_object_class-&gt;dispose = eom_window_dispose;</td></tr>
+<tr class="codeline" data-linenumber="5259"><td class="num" id="LN5259">5259</td><td class="line"> g_object_class-&gt;set_property = eom_window_set_property;</td></tr>
+<tr class="codeline" data-linenumber="5260"><td class="num" id="LN5260">5260</td><td class="line"> g_object_class-&gt;get_property = eom_window_get_property;</td></tr>
+<tr class="codeline" data-linenumber="5261"><td class="num" id="LN5261">5261</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5262"><td class="num" id="LN5262">5262</td><td class="line"> widget_class-&gt;delete_event = eom_window_delete;</td></tr>
+<tr class="codeline" data-linenumber="5263"><td class="num" id="LN5263">5263</td><td class="line"> widget_class-&gt;key_press_event = eom_window_key_press;</td></tr>
+<tr class="codeline" data-linenumber="5264"><td class="num" id="LN5264">5264</td><td class="line"> widget_class-&gt;button_press_event = eom_window_button_press;</td></tr>
+<tr class="codeline" data-linenumber="5265"><td class="num" id="LN5265">5265</td><td class="line"> widget_class-&gt;drag_data_received = eom_window_drag_data_received;</td></tr>
+<tr class="codeline" data-linenumber="5266"><td class="num" id="LN5266">5266</td><td class="line"> widget_class-&gt;focus_out_event = eom_window_focus_out_event;</td></tr>
+<tr class="codeline" data-linenumber="5267"><td class="num" id="LN5267">5267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5268"><td class="num" id="LN5268">5268</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5269"><td class="num" id="LN5269">5269</td><td class="line"> <span class='comment'>* EomWindow:collection-position:</span></td></tr>
+<tr class="codeline" data-linenumber="5270"><td class="num" id="LN5270">5270</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5271"><td class="num" id="LN5271">5271</td><td class="line"> <span class='comment'>* Determines the position of the image collection in the window</span></td></tr>
+<tr class="codeline" data-linenumber="5272"><td class="num" id="LN5272">5272</td><td class="line"> <span class='comment'>* relative to the image.</span></td></tr>
+<tr class="codeline" data-linenumber="5273"><td class="num" id="LN5273">5273</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="5274"><td class="num" id="LN5274">5274</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="5275"><td class="num" id="LN5275">5275</td><td class="line"> g_object_class, PROP_COLLECTION_POS,</td></tr>
+<tr class="codeline" data-linenumber="5276"><td class="num" id="LN5276">5276</td><td class="line"> g_param_spec_enum (<span class='string_literal'>"collection-position"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5277"><td class="num" id="LN5277">5277</td><td class="line"> <span class='macro'>EOM_TYPE_WINDOW_COLLECTION_POS<span class='macro_popup'>(eom_window_collection_pos_get_type())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5278"><td class="num" id="LN5278">5278</td><td class="line"> EOM_WINDOW_COLLECTION_POS_BOTTOM,</td></tr>
+<tr class="codeline" data-linenumber="5279"><td class="num" id="LN5279">5279</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="5280"><td class="num" id="LN5280">5280</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5281"><td class="num" id="LN5281">5281</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5282"><td class="num" id="LN5282">5282</td><td class="line"> <span class='comment'>* EomWindow:collection-resizable:</span></td></tr>
+<tr class="codeline" data-linenumber="5283"><td class="num" id="LN5283">5283</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5284"><td class="num" id="LN5284">5284</td><td class="line"> <span class='comment'>* If %TRUE the collection will be resizable by the user otherwise it will be</span></td></tr>
+<tr class="codeline" data-linenumber="5285"><td class="num" id="LN5285">5285</td><td class="line"> <span class='comment'>* in single column/row mode.</span></td></tr>
+<tr class="codeline" data-linenumber="5286"><td class="num" id="LN5286">5286</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="5287"><td class="num" id="LN5287">5287</td><td class="line"> g_object_class_install_property (</td></tr>
+<tr class="codeline" data-linenumber="5288"><td class="num" id="LN5288">5288</td><td class="line"> g_object_class, PROP_COLLECTION_RESIZABLE,</td></tr>
+<tr class="codeline" data-linenumber="5289"><td class="num" id="LN5289">5289</td><td class="line"> g_param_spec_boolean (<span class='string_literal'>"collection-resizable"</span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5290"><td class="num" id="LN5290">5290</td><td class="line"> G_PARAM_READWRITE | G_PARAM_STATIC_NAME));</td></tr>
+<tr class="codeline" data-linenumber="5291"><td class="num" id="LN5291">5291</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5292"><td class="num" id="LN5292">5292</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5293"><td class="num" id="LN5293">5293</td><td class="line"> <span class='comment'>* EomWindow:startup-flags:</span></td></tr>
+<tr class="codeline" data-linenumber="5294"><td class="num" id="LN5294">5294</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5295"><td class="num" id="LN5295">5295</td><td class="line"> <span class='comment'>* A bitwise OR of #EomStartupFlags elements, indicating how the window</span></td></tr>
+<tr class="codeline" data-linenumber="5296"><td class="num" id="LN5296">5296</td><td class="line"> <span class='comment'>* should behave upon creation.</span></td></tr>
+<tr class="codeline" data-linenumber="5297"><td class="num" id="LN5297">5297</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="5298"><td class="num" id="LN5298">5298</td><td class="line"> g_object_class_install_property (g_object_class,</td></tr>
+<tr class="codeline" data-linenumber="5299"><td class="num" id="LN5299">5299</td><td class="line"> PROP_STARTUP_FLAGS,</td></tr>
+<tr class="codeline" data-linenumber="5300"><td class="num" id="LN5300">5300</td><td class="line"> g_param_spec_flags (<span class='string_literal'>"startup-flags"</span>,</td></tr>
+<tr class="codeline" data-linenumber="5301"><td class="num" id="LN5301">5301</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5302"><td class="num" id="LN5302">5302</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5303"><td class="num" id="LN5303">5303</td><td class="line"> <span class='macro'>EOM_TYPE_STARTUP_FLAGS<span class='macro_popup'>(eom_startup_flags_get_type())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5304"><td class="num" id="LN5304">5304</td><td class="line"> 0,</td></tr>
+<tr class="codeline" data-linenumber="5305"><td class="num" id="LN5305">5305</td><td class="line"> G_PARAM_READWRITE |</td></tr>
+<tr class="codeline" data-linenumber="5306"><td class="num" id="LN5306">5306</td><td class="line"> G_PARAM_CONSTRUCT_ONLY));</td></tr>
+<tr class="codeline" data-linenumber="5307"><td class="num" id="LN5307">5307</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5308"><td class="num" id="LN5308">5308</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5309"><td class="num" id="LN5309">5309</td><td class="line"> <span class='comment'>* EomWindow::prepared:</span></td></tr>
+<tr class="codeline" data-linenumber="5310"><td class="num" id="LN5310">5310</td><td class="line"> <span class='comment'>* @window: the object which received the signal.</span></td></tr>
+<tr class="codeline" data-linenumber="5311"><td class="num" id="LN5311">5311</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5312"><td class="num" id="LN5312">5312</td><td class="line"> <span class='comment'>* The #EomWindow::prepared signal is emitted when the @window is ready</span></td></tr>
+<tr class="codeline" data-linenumber="5313"><td class="num" id="LN5313">5313</td><td class="line"> <span class='comment'>* to be shown.</span></td></tr>
+<tr class="codeline" data-linenumber="5314"><td class="num" id="LN5314">5314</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="5315"><td class="num" id="LN5315">5315</td><td class="line"> signals [SIGNAL_PREPARED] =</td></tr>
+<tr class="codeline" data-linenumber="5316"><td class="num" id="LN5316">5316</td><td class="line"> g_signal_new (<span class='string_literal'>"prepared"</span>,</td></tr>
+<tr class="codeline" data-linenumber="5317"><td class="num" id="LN5317">5317</td><td class="line"> <span class='macro'>EOM_TYPE_WINDOW<span class='macro_popup'>(eom_window_get_type ())</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5318"><td class="num" id="LN5318">5318</td><td class="line"> G_SIGNAL_RUN_LAST,</td></tr>
+<tr class="codeline" data-linenumber="5319"><td class="num" id="LN5319">5319</td><td class="line"> <span class='macro'>G_STRUCT_OFFSET (EomWindowClass, prepared)<span class='macro_popup'>((glong) __builtin_offsetof(EomWindowClass, prepared))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5320"><td class="num" id="LN5320">5320</td><td class="line"> <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5321"><td class="num" id="LN5321">5321</td><td class="line"> g_cclosure_marshal_VOID__VOID,</td></tr>
+<tr class="codeline" data-linenumber="5322"><td class="num" id="LN5322">5322</td><td class="line"> <span class='macro'>G_TYPE_NONE<span class='macro_popup'>((GType) ((1) &lt;&lt; (2)))</span></span>, 0);</td></tr>
+<tr class="codeline" data-linenumber="5323"><td class="num" id="LN5323">5323</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5324"><td class="num" id="LN5324">5324</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5325"><td class="num" id="LN5325">5325</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5326"><td class="num" id="LN5326">5326</td><td class="line"> <span class='comment'>* eom_window_new:</span></td></tr>
+<tr class="codeline" data-linenumber="5327"><td class="num" id="LN5327">5327</td><td class="line"> <span class='comment'>* @flags: the initialization parameters for the new window.</span></td></tr>
+<tr class="codeline" data-linenumber="5328"><td class="num" id="LN5328">5328</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5329"><td class="num" id="LN5329">5329</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5330"><td class="num" id="LN5330">5330</td><td class="line"> <span class='comment'>* Creates a new and empty #EomWindow. Use @flags to indicate</span></td></tr>
+<tr class="codeline" data-linenumber="5331"><td class="num" id="LN5331">5331</td><td class="line"> <span class='comment'>* if the window should be initialized fullscreen, in slideshow mode,</span></td></tr>
+<tr class="codeline" data-linenumber="5332"><td class="num" id="LN5332">5332</td><td class="line"> <span class='comment'>* and/or without the thumbnails collection visible. See #EomStartupFlags.</span></td></tr>
+<tr class="codeline" data-linenumber="5333"><td class="num" id="LN5333">5333</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5334"><td class="num" id="LN5334">5334</td><td class="line"> <span class='comment'>* Returns: a newly created #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5335"><td class="num" id="LN5335">5335</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5336"><td class="num" id="LN5336">5336</td><td class="line">GtkWidget*</td></tr>
+<tr class="codeline" data-linenumber="5337"><td class="num" id="LN5337">5337</td><td class="line">eom_window_new (EomStartupFlags flags)</td></tr>
+<tr class="codeline" data-linenumber="5338"><td class="num" id="LN5338">5338</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5339"><td class="num" id="LN5339">5339</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="5340"><td class="num" id="LN5340">5340</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5341"><td class="num" id="LN5341">5341</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 5341, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5342"><td class="num" id="LN5342">5342</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5343"><td class="num" id="LN5343">5343</td><td class="line"> window = <span class='macro'>EOM_WINDOW (g_object_new (EOM_TYPE_WINDOW,<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_window_get_type ()), "type", GTK_WINDOW_TOPLEVEL<br>, "application", (eom_application_get_instance ()), "show-menubar"<br>, (0), "startup-flags", flags, ((void*)0)))), ((eom_window_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="5344"><td class="num" id="LN5344">5344</td><td class="line"> <span class='string_literal'><span class='macro'>"type"</span>, GTK_WINDOW_TOPLEVEL,<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_window_get_type ()), "type", GTK_WINDOW_TOPLEVEL<br>, "application", (eom_application_get_instance ()), "show-menubar"<br>, (0), "startup-flags", flags, ((void*)0)))), ((eom_window_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="5345"><td class="num" id="LN5345">5345</td><td class="line"> <span class='string_literal'><span class='macro'>"application"</span>, EOM_APP,<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_window_get_type ()), "type", GTK_WINDOW_TOPLEVEL<br>, "application", (eom_application_get_instance ()), "show-menubar"<br>, (0), "startup-flags", flags, ((void*)0)))), ((eom_window_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="5346"><td class="num" id="LN5346">5346</td><td class="line"> <span class='string_literal'><span class='macro'>"show-menubar"</span>, FALSE,<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_window_get_type ()), "type", GTK_WINDOW_TOPLEVEL<br>, "application", (eom_application_get_instance ()), "show-menubar"<br>, (0), "startup-flags", flags, ((void*)0)))), ((eom_window_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="5347"><td class="num" id="LN5347">5347</td><td class="line"> <span class='string_literal'><span class='macro'>"startup-flags"</span>, flags,<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_window_get_type ()), "type", GTK_WINDOW_TOPLEVEL<br>, "application", (eom_application_get_instance ()), "show-menubar"<br>, (0), "startup-flags", flags, ((void*)0)))), ((eom_window_get_type<br> ()))))))</span></span></td></tr>
+<tr class="codeline" data-linenumber="5348"><td class="num" id="LN5348">5348</td><td class="line"> <span class='macro'>NULL))<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_window_get_type ()), "type", GTK_WINDOW_TOPLEVEL<br>, "application", (eom_application_get_instance ()), "show-menubar"<br>, (0), "startup-flags", flags, ((void*)0)))), ((eom_window_get_type<br> ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5349"><td class="num" id="LN5349">5349</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5350"><td class="num" id="LN5350">5350</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>GTK_WIDGET (window)<span class='macro_popup'>((((GtkWidget*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window)), ((gtk_widget_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5351"><td class="num" id="LN5351">5351</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5352"><td class="num" id="LN5352">5352</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5353"><td class="num" id="LN5353">5353</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5354"><td class="num" id="LN5354">5354</td><td class="line">eom_window_list_store_image_added (GtkTreeModel *tree_model,</td></tr>
+<tr class="codeline" data-linenumber="5355"><td class="num" id="LN5355">5355</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="5356"><td class="num" id="LN5356">5356</td><td class="line"> GtkTreeIter *iter,</td></tr>
+<tr class="codeline" data-linenumber="5357"><td class="num" id="LN5357">5357</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="5358"><td class="num" id="LN5358">5358</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5359"><td class="num" id="LN5359">5359</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5360"><td class="num" id="LN5360">5360</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5361"><td class="num" id="LN5361">5361</td><td class="line"> update_image_pos (window);</td></tr>
+<tr class="codeline" data-linenumber="5362"><td class="num" id="LN5362">5362</td><td class="line"> update_action_groups_state (window);</td></tr>
+<tr class="codeline" data-linenumber="5363"><td class="num" id="LN5363">5363</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5364"><td class="num" id="LN5364">5364</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5365"><td class="num" id="LN5365">5365</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5366"><td class="num" id="LN5366">5366</td><td class="line">eom_window_list_store_image_removed (GtkTreeModel *tree_model,</td></tr>
+<tr class="codeline" data-linenumber="5367"><td class="num" id="LN5367">5367</td><td class="line"> GtkTreePath *path,</td></tr>
+<tr class="codeline" data-linenumber="5368"><td class="num" id="LN5368">5368</td><td class="line"> gpointer user_data)</td></tr>
+<tr class="codeline" data-linenumber="5369"><td class="num" id="LN5369">5369</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5370"><td class="num" id="LN5370">5370</td><td class="line"> EomWindow *window = <span class='macro'>EOM_WINDOW (user_data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((user_data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5371"><td class="num" id="LN5371">5371</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5372"><td class="num" id="LN5372">5372</td><td class="line"> update_image_pos (window);</td></tr>
+<tr class="codeline" data-linenumber="5373"><td class="num" id="LN5373">5373</td><td class="line"> update_action_groups_state (window);</td></tr>
+<tr class="codeline" data-linenumber="5374"><td class="num" id="LN5374">5374</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5375"><td class="num" id="LN5375">5375</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5376"><td class="num" id="LN5376">5376</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5377"><td class="num" id="LN5377">5377</td><td class="line">eom_job_model_cb (EomJobModel *job, gpointer data)</td></tr>
+<tr class="codeline" data-linenumber="5378"><td class="num" id="LN5378">5378</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5379"><td class="num" id="LN5379">5379</td><td class="line"> EomWindow *window;</td></tr>
+<tr class="codeline" data-linenumber="5380"><td class="num" id="LN5380">5380</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="5381"><td class="num" id="LN5381">5381</td><td class="line"> gint n_images;</td></tr>
+<tr class="codeline" data-linenumber="5382"><td class="num" id="LN5382">5382</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5383"><td class="num" id="LN5383">5383</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 5383, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5384"><td class="num" id="LN5384">5384</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5385"><td class="num" id="LN5385">5385</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXIF<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="5386"><td class="num" id="LN5386">5386</td><td class="line"> <span class='keyword'>int</span> i;</td></tr>
+<tr class="codeline" data-linenumber="5387"><td class="num" id="LN5387">5387</td><td class="line"> EomImage *image;</td></tr>
+<tr class="codeline" data-linenumber="5388"><td class="num" id="LN5388">5388</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="5389"><td class="num" id="LN5389">5389</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5390"><td class="num" id="LN5390">5390</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (data))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((data)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (data)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5391"><td class="num" id="LN5391">5391</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5392"><td class="num" id="LN5392">5392</td><td class="line"> window = <span class='macro'>EOM_WINDOW (data)<span class='macro_popup'>((((EomWindow*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((data)), ((eom_window_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5393"><td class="num" id="LN5393">5393</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="5394"><td class="num" id="LN5394">5394</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5395"><td class="num" id="LN5395">5395</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;store != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="5396"><td class="num" id="LN5396">5396</td><td class="line"> g_object_unref (priv-&gt;store);</td></tr>
+<tr class="codeline" data-linenumber="5397"><td class="num" id="LN5397">5397</td><td class="line"> priv-&gt;store = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5398"><td class="num" id="LN5398">5398</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5399"><td class="num" id="LN5399">5399</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5400"><td class="num" id="LN5400">5400</td><td class="line"> priv-&gt;store = <span class='macro'>g_object_ref (job-&gt;store)<span class='macro_popup'>((__typeof__ (job-&gt;store)) (g_object_ref) (job-&gt;store))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5401"><td class="num" id="LN5401">5401</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5402"><td class="num" id="LN5402">5402</td><td class="line"> n_images = eom_list_store_length (<span class='macro'>EOM_LIST_STORE (priv-&gt;store)<span class='macro_popup'>((((EomListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), (eom_list_store_get_type())))))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5403"><td class="num" id="LN5403">5403</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5404"><td class="num" id="LN5404">5404</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_EXIF<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="5405"><td class="num" id="LN5405">5405</td><td class="line"> <span class='keyword'>if</span> (g_settings_get_boolean (priv-&gt;view_settings, <span class='macro'>EOM_CONF_VIEW_AUTOROTATE<span class='macro_popup'>"autorotate"</span></span>)) {</td></tr>
+<tr class="codeline" data-linenumber="5406"><td class="num" id="LN5406">5406</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; n_images; i++) {</td></tr>
+<tr class="codeline" data-linenumber="5407"><td class="num" id="LN5407">5407</td><td class="line"> image = eom_list_store_get_image_by_pos (priv-&gt;store, i);</td></tr>
+<tr class="codeline" data-linenumber="5408"><td class="num" id="LN5408">5408</td><td class="line"> eom_image_autorotate (image);</td></tr>
+<tr class="codeline" data-linenumber="5409"><td class="num" id="LN5409">5409</td><td class="line"> g_object_unref (image);</td></tr>
+<tr class="codeline" data-linenumber="5410"><td class="num" id="LN5410">5410</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5411"><td class="num" id="LN5411">5411</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5412"><td class="num" id="LN5412">5412</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="5413"><td class="num" id="LN5413">5413</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5414"><td class="num" id="LN5414">5414</td><td class="line"> eom_thumb_view_set_model (<span class='macro'>EOM_THUMB_VIEW (priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;thumbview)), ((eom_thumb_view_get_type ()))))))</span></span>, priv-&gt;store);</td></tr>
+<tr class="codeline" data-linenumber="5415"><td class="num" id="LN5415">5415</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5416"><td class="num" id="LN5416">5416</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;store, <span class='string_literal'>"row-inserted"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;store), ("row-inserted"), ((<br>(GCallback) (eom_window_list_store_image_added))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5417"><td class="num" id="LN5417">5417</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_list_store_image_added),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;store), ("row-inserted"), ((<br>(GCallback) (eom_window_list_store_image_added))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5418"><td class="num" id="LN5418">5418</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;store), ("row-inserted"), ((<br>(GCallback) (eom_window_list_store_image_added))), (window), (<br>(void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5419"><td class="num" id="LN5419">5419</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5420"><td class="num" id="LN5420">5420</td><td class="line"> <span class='macro'>g_signal_connect (priv-&gt;store, <span class='string_literal'>"row-deleted"</span>,<span class='macro_popup'>g_signal_connect_data ((priv-&gt;store), ("row-deleted"), (((<br>GCallback) (eom_window_list_store_image_removed))), (window),<br> ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5421"><td class="num" id="LN5421">5421</td><td class="line"> <span class='macro'>G_CALLBACK (eom_window_list_store_image_removed),<span class='macro_popup'>g_signal_connect_data ((priv-&gt;store), ("row-deleted"), (((<br>GCallback) (eom_window_list_store_image_removed))), (window),<br> ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5422"><td class="num" id="LN5422">5422</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((priv-&gt;store), ("row-deleted"), (((<br>GCallback) (eom_window_list_store_image_removed))), (window),<br> ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5423"><td class="num" id="LN5423">5423</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5424"><td class="num" id="LN5424">5424</td><td class="line"> <span class='keyword'>if</span> (n_images == 0) {</td></tr>
+<tr class="codeline" data-linenumber="5425"><td class="num" id="LN5425">5425</td><td class="line"> gint n_files;</td></tr>
+<tr class="codeline" data-linenumber="5426"><td class="num" id="LN5426">5426</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5427"><td class="num" id="LN5427">5427</td><td class="line"> priv-&gt;status = EOM_WINDOW_STATUS_NORMAL;</td></tr>
+<tr class="codeline" data-linenumber="5428"><td class="num" id="LN5428">5428</td><td class="line"> update_action_groups_state (window);</td></tr>
+<tr class="codeline" data-linenumber="5429"><td class="num" id="LN5429">5429</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5430"><td class="num" id="LN5430">5430</td><td class="line"> n_files = g_slist_length (priv-&gt;file_list);</td></tr>
+<tr class="codeline" data-linenumber="5431"><td class="num" id="LN5431">5431</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5432"><td class="num" id="LN5432">5432</td><td class="line"> <span class='keyword'>if</span> (n_files &gt; 0) {</td></tr>
+<tr class="codeline" data-linenumber="5433"><td class="num" id="LN5433">5433</td><td class="line"> GtkWidget *message_area;</td></tr>
+<tr class="codeline" data-linenumber="5434"><td class="num" id="LN5434">5434</td><td class="line"> GFile *file = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5435"><td class="num" id="LN5435">5435</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5436"><td class="num" id="LN5436">5436</td><td class="line"> <span class='keyword'>if</span> (n_files == 1) {</td></tr>
+<tr class="codeline" data-linenumber="5437"><td class="num" id="LN5437">5437</td><td class="line"> file = (GFile *) priv-&gt;file_list-&gt;data;</td></tr>
+<tr class="codeline" data-linenumber="5438"><td class="num" id="LN5438">5438</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5439"><td class="num" id="LN5439">5439</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5440"><td class="num" id="LN5440">5440</td><td class="line"> message_area = eom_no_images_error_message_area_new (file);</td></tr>
+<tr class="codeline" data-linenumber="5441"><td class="num" id="LN5441">5441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5442"><td class="num" id="LN5442">5442</td><td class="line"> eom_window_set_message_area (window, message_area);</td></tr>
+<tr class="codeline" data-linenumber="5443"><td class="num" id="LN5443">5443</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5444"><td class="num" id="LN5444">5444</td><td class="line"> gtk_widget_show (message_area);</td></tr>
+<tr class="codeline" data-linenumber="5445"><td class="num" id="LN5445">5445</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5446"><td class="num" id="LN5446">5446</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5447"><td class="num" id="LN5447">5447</td><td class="line"> g_signal_emit (window, signals[SIGNAL_PREPARED], 0);</td></tr>
+<tr class="codeline" data-linenumber="5448"><td class="num" id="LN5448">5448</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5449"><td class="num" id="LN5449">5449</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5450"><td class="num" id="LN5450">5450</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5451"><td class="num" id="LN5451">5451</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5452"><td class="num" id="LN5452">5452</td><td class="line"> <span class='comment'>* eom_window_open_file_list:</span></td></tr>
+<tr class="codeline" data-linenumber="5453"><td class="num" id="LN5453">5453</td><td class="line"> <span class='comment'>* @window: An #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5454"><td class="num" id="LN5454">5454</td><td class="line"> <span class='comment'>* @file_list: (element-type GFile): A %NULL-terminated list of #GFile's.</span></td></tr>
+<tr class="codeline" data-linenumber="5455"><td class="num" id="LN5455">5455</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5456"><td class="num" id="LN5456">5456</td><td class="line"> <span class='comment'>* Opens a list of files, adding them to the collection in @window.</span></td></tr>
+<tr class="codeline" data-linenumber="5457"><td class="num" id="LN5457">5457</td><td class="line"> <span class='comment'>* Files will be checked to be readable and later filtered according</span></td></tr>
+<tr class="codeline" data-linenumber="5458"><td class="num" id="LN5458">5458</td><td class="line"> <span class='comment'>* with eom_list_store_add_files().</span></td></tr>
+<tr class="codeline" data-linenumber="5459"><td class="num" id="LN5459">5459</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5460"><td class="num" id="LN5460">5460</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5461"><td class="num" id="LN5461">5461</td><td class="line">eom_window_open_file_list (EomWindow *window, GSList *file_list)</td></tr>
+<tr class="codeline" data-linenumber="5462"><td class="num" id="LN5462">5462</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5463"><td class="num" id="LN5463">5463</td><td class="line"> EomJob *job;</td></tr>
+<tr class="codeline" data-linenumber="5464"><td class="num" id="LN5464">5464</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5465"><td class="num" id="LN5465">5465</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 5465, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5466"><td class="num" id="LN5466">5466</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5467"><td class="num" id="LN5467">5467</td><td class="line"> window-&gt;priv-&gt;status = EOM_WINDOW_STATUS_INIT;</td></tr>
+<tr class="codeline" data-linenumber="5468"><td class="num" id="LN5468">5468</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5469"><td class="num" id="LN5469">5469</td><td class="line"> g_slist_foreach (file_list, (GFunc) g_object_ref, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5470"><td class="num" id="LN5470">5470</td><td class="line"> window-&gt;priv-&gt;file_list = file_list;</td></tr>
+<tr class="codeline" data-linenumber="5471"><td class="num" id="LN5471">5471</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5472"><td class="num" id="LN5472">5472</td><td class="line"> job = eom_job_model_new (file_list);</td></tr>
+<tr class="codeline" data-linenumber="5473"><td class="num" id="LN5473">5473</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5474"><td class="num" id="LN5474">5474</td><td class="line"> <span class='macro'>g_signal_connect (job, <span class='string_literal'>"finished"</span>,<span class='macro_popup'>g_signal_connect_data ((job), ("finished"), (((GCallback) (eom_job_model_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5475"><td class="num" id="LN5475">5475</td><td class="line"> <span class='macro'>G_CALLBACK (eom_job_model_cb),<span class='macro_popup'>g_signal_connect_data ((job), ("finished"), (((GCallback) (eom_job_model_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span></td></tr>
+<tr class="codeline" data-linenumber="5476"><td class="num" id="LN5476">5476</td><td class="line"> <span class='macro'>window)<span class='macro_popup'>g_signal_connect_data ((job), ("finished"), (((GCallback) (eom_job_model_cb<br>))), (window), ((void*)0), (GConnectFlags) 0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5477"><td class="num" id="LN5477">5477</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5478"><td class="num" id="LN5478">5478</td><td class="line"> eom_job_queue_add_job (job);</td></tr>
+<tr class="codeline" data-linenumber="5479"><td class="num" id="LN5479">5479</td><td class="line"> g_object_unref (job);</td></tr>
+<tr class="codeline" data-linenumber="5480"><td class="num" id="LN5480">5480</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5481"><td class="num" id="LN5481">5481</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5482"><td class="num" id="LN5482">5482</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5483"><td class="num" id="LN5483">5483</td><td class="line"> <span class='comment'>* eom_window_get_ui_manager:</span></td></tr>
+<tr class="codeline" data-linenumber="5484"><td class="num" id="LN5484">5484</td><td class="line"> <span class='comment'>* @window: An #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5485"><td class="num" id="LN5485">5485</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5486"><td class="num" id="LN5486">5486</td><td class="line"> <span class='comment'>* Gets the #GtkUIManager that describes the UI of @window.</span></td></tr>
+<tr class="codeline" data-linenumber="5487"><td class="num" id="LN5487">5487</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5488"><td class="num" id="LN5488">5488</td><td class="line"> <span class='comment'>* Returns: (transfer none): A #GtkUIManager.</span></td></tr>
+<tr class="codeline" data-linenumber="5489"><td class="num" id="LN5489">5489</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5490"><td class="num" id="LN5490">5490</td><td class="line">GtkUIManager *</td></tr>
+<tr class="codeline" data-linenumber="5491"><td class="num" id="LN5491">5491</td><td class="line">eom_window_get_ui_manager (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5492"><td class="num" id="LN5492">5492</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5493"><td class="num" id="LN5493">5493</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5494"><td class="num" id="LN5494">5494</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5495"><td class="num" id="LN5495">5495</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;ui_mgr;</td></tr>
+<tr class="codeline" data-linenumber="5496"><td class="num" id="LN5496">5496</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5497"><td class="num" id="LN5497">5497</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5498"><td class="num" id="LN5498">5498</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5499"><td class="num" id="LN5499">5499</td><td class="line"> <span class='comment'>* eom_window_get_mode:</span></td></tr>
+<tr class="codeline" data-linenumber="5500"><td class="num" id="LN5500">5500</td><td class="line"> <span class='comment'>* @window: An #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5501"><td class="num" id="LN5501">5501</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5502"><td class="num" id="LN5502">5502</td><td class="line"> <span class='comment'>* Gets the mode of @window. See #EomWindowMode for details.</span></td></tr>
+<tr class="codeline" data-linenumber="5503"><td class="num" id="LN5503">5503</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5504"><td class="num" id="LN5504">5504</td><td class="line"> <span class='comment'>* Returns: An #EomWindowMode.</span></td></tr>
+<tr class="codeline" data-linenumber="5505"><td class="num" id="LN5505">5505</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5506"><td class="num" id="LN5506">5506</td><td class="line">EomWindowMode</td></tr>
+<tr class="codeline" data-linenumber="5507"><td class="num" id="LN5507">5507</td><td class="line">eom_window_get_mode (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5508"><td class="num" id="LN5508">5508</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5509"><td class="num" id="LN5509">5509</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), EOM_WINDOW_MODE_UNKNOWN)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (EOM_WINDOW_MODE_UNKNOWN<br>); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5510"><td class="num" id="LN5510">5510</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5511"><td class="num" id="LN5511">5511</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;mode;</td></tr>
+<tr class="codeline" data-linenumber="5512"><td class="num" id="LN5512">5512</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5513"><td class="num" id="LN5513">5513</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5514"><td class="num" id="LN5514">5514</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5515"><td class="num" id="LN5515">5515</td><td class="line"> <span class='comment'>* eom_window_set_mode:</span></td></tr>
+<tr class="codeline" data-linenumber="5516"><td class="num" id="LN5516">5516</td><td class="line"> <span class='comment'>* @window: an #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5517"><td class="num" id="LN5517">5517</td><td class="line"> <span class='comment'>* @mode: an #EomWindowMode value.</span></td></tr>
+<tr class="codeline" data-linenumber="5518"><td class="num" id="LN5518">5518</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5519"><td class="num" id="LN5519">5519</td><td class="line"> <span class='comment'>* Changes the mode of @window to normal, fullscreen, or slideshow.</span></td></tr>
+<tr class="codeline" data-linenumber="5520"><td class="num" id="LN5520">5520</td><td class="line"> <span class='comment'>* See #EomWindowMode for details.</span></td></tr>
+<tr class="codeline" data-linenumber="5521"><td class="num" id="LN5521">5521</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5522"><td class="num" id="LN5522">5522</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5523"><td class="num" id="LN5523">5523</td><td class="line">eom_window_set_mode (EomWindow *window, EomWindowMode mode)</td></tr>
+<tr class="codeline" data-linenumber="5524"><td class="num" id="LN5524">5524</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5525"><td class="num" id="LN5525">5525</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5526"><td class="num" id="LN5526">5526</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5527"><td class="num" id="LN5527">5527</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;mode == mode)</td></tr>
+<tr class="codeline" data-linenumber="5528"><td class="num" id="LN5528">5528</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="5529"><td class="num" id="LN5529">5529</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5530"><td class="num" id="LN5530">5530</td><td class="line"> <span class='keyword'>switch</span> (mode) {</td></tr>
+<tr class="codeline" data-linenumber="5531"><td class="num" id="LN5531">5531</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_MODE_NORMAL:</td></tr>
+<tr class="codeline" data-linenumber="5532"><td class="num" id="LN5532">5532</td><td class="line"> eom_window_stop_fullscreen (window,</td></tr>
+<tr class="codeline" data-linenumber="5533"><td class="num" id="LN5533">5533</td><td class="line"> window-&gt;priv-&gt;mode == EOM_WINDOW_MODE_SLIDESHOW);</td></tr>
+<tr class="codeline" data-linenumber="5534"><td class="num" id="LN5534">5534</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5535"><td class="num" id="LN5535">5535</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_MODE_FULLSCREEN:</td></tr>
+<tr class="codeline" data-linenumber="5536"><td class="num" id="LN5536">5536</td><td class="line"> eom_window_run_fullscreen (window, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5537"><td class="num" id="LN5537">5537</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5538"><td class="num" id="LN5538">5538</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_MODE_SLIDESHOW:</td></tr>
+<tr class="codeline" data-linenumber="5539"><td class="num" id="LN5539">5539</td><td class="line"> eom_window_run_fullscreen (window, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5540"><td class="num" id="LN5540">5540</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5541"><td class="num" id="LN5541">5541</td><td class="line"> <span class='keyword'>case</span> EOM_WINDOW_MODE_UNKNOWN:</td></tr>
+<tr class="codeline" data-linenumber="5542"><td class="num" id="LN5542">5542</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="5543"><td class="num" id="LN5543">5543</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5544"><td class="num" id="LN5544">5544</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5545"><td class="num" id="LN5545">5545</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5546"><td class="num" id="LN5546">5546</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5547"><td class="num" id="LN5547">5547</td><td class="line"> <span class='comment'>* eom_window_get_store:</span></td></tr>
+<tr class="codeline" data-linenumber="5548"><td class="num" id="LN5548">5548</td><td class="line"> <span class='comment'>* @window: An #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5549"><td class="num" id="LN5549">5549</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5550"><td class="num" id="LN5550">5550</td><td class="line"> <span class='comment'>* Gets the #EomListStore that contains the images in the collection</span></td></tr>
+<tr class="codeline" data-linenumber="5551"><td class="num" id="LN5551">5551</td><td class="line"> <span class='comment'>* of @window.</span></td></tr>
+<tr class="codeline" data-linenumber="5552"><td class="num" id="LN5552">5552</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5553"><td class="num" id="LN5553">5553</td><td class="line"> <span class='comment'>* Returns: (transfer none): an #EomListStore.</span></td></tr>
+<tr class="codeline" data-linenumber="5554"><td class="num" id="LN5554">5554</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5555"><td class="num" id="LN5555">5555</td><td class="line">EomListStore *</td></tr>
+<tr class="codeline" data-linenumber="5556"><td class="num" id="LN5556">5556</td><td class="line">eom_window_get_store (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5557"><td class="num" id="LN5557">5557</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5558"><td class="num" id="LN5558">5558</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5559"><td class="num" id="LN5559">5559</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5560"><td class="num" id="LN5560">5560</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>EOM_LIST_STORE (window-&gt;priv-&gt;store)<span class='macro_popup'>((((EomListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;store)), (eom_list_store_get_type())<br>))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5561"><td class="num" id="LN5561">5561</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5562"><td class="num" id="LN5562">5562</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5563"><td class="num" id="LN5563">5563</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5564"><td class="num" id="LN5564">5564</td><td class="line"> <span class='comment'>* eom_window_get_view:</span></td></tr>
+<tr class="codeline" data-linenumber="5565"><td class="num" id="LN5565">5565</td><td class="line"> <span class='comment'>* @window: An #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5566"><td class="num" id="LN5566">5566</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5567"><td class="num" id="LN5567">5567</td><td class="line"> <span class='comment'>* Gets the #EomScrollView in the window.</span></td></tr>
+<tr class="codeline" data-linenumber="5568"><td class="num" id="LN5568">5568</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5569"><td class="num" id="LN5569">5569</td><td class="line"> <span class='comment'>* Returns: (transfer none): the #EomScrollView.</span></td></tr>
+<tr class="codeline" data-linenumber="5570"><td class="num" id="LN5570">5570</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5571"><td class="num" id="LN5571">5571</td><td class="line">GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="5572"><td class="num" id="LN5572">5572</td><td class="line">eom_window_get_view (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5573"><td class="num" id="LN5573">5573</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5574"><td class="num" id="LN5574">5574</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5575"><td class="num" id="LN5575">5575</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5576"><td class="num" id="LN5576">5576</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;view;</td></tr>
+<tr class="codeline" data-linenumber="5577"><td class="num" id="LN5577">5577</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5578"><td class="num" id="LN5578">5578</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5579"><td class="num" id="LN5579">5579</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5580"><td class="num" id="LN5580">5580</td><td class="line"> <span class='comment'>* eom_window_get_sidebar:</span></td></tr>
+<tr class="codeline" data-linenumber="5581"><td class="num" id="LN5581">5581</td><td class="line"> <span class='comment'>* @window: An #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5582"><td class="num" id="LN5582">5582</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5583"><td class="num" id="LN5583">5583</td><td class="line"> <span class='comment'>* Gets the sidebar widget of @window.</span></td></tr>
+<tr class="codeline" data-linenumber="5584"><td class="num" id="LN5584">5584</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5585"><td class="num" id="LN5585">5585</td><td class="line"> <span class='comment'>* Returns: (transfer none): the #EomSidebar.</span></td></tr>
+<tr class="codeline" data-linenumber="5586"><td class="num" id="LN5586">5586</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5587"><td class="num" id="LN5587">5587</td><td class="line">GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="5588"><td class="num" id="LN5588">5588</td><td class="line">eom_window_get_sidebar (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5589"><td class="num" id="LN5589">5589</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5590"><td class="num" id="LN5590">5590</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5591"><td class="num" id="LN5591">5591</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5592"><td class="num" id="LN5592">5592</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;sidebar;</td></tr>
+<tr class="codeline" data-linenumber="5593"><td class="num" id="LN5593">5593</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5594"><td class="num" id="LN5594">5594</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5595"><td class="num" id="LN5595">5595</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5596"><td class="num" id="LN5596">5596</td><td class="line"> <span class='comment'>* eom_window_get_thumb_view:</span></td></tr>
+<tr class="codeline" data-linenumber="5597"><td class="num" id="LN5597">5597</td><td class="line"> <span class='comment'>* @window: an #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5598"><td class="num" id="LN5598">5598</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5599"><td class="num" id="LN5599">5599</td><td class="line"> <span class='comment'>* Gets the thumbnails view in @window.</span></td></tr>
+<tr class="codeline" data-linenumber="5600"><td class="num" id="LN5600">5600</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5601"><td class="num" id="LN5601">5601</td><td class="line"> <span class='comment'>* Returns: (transfer none): an #EomThumbView.</span></td></tr>
+<tr class="codeline" data-linenumber="5602"><td class="num" id="LN5602">5602</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5603"><td class="num" id="LN5603">5603</td><td class="line">GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="5604"><td class="num" id="LN5604">5604</td><td class="line">eom_window_get_thumb_view (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5605"><td class="num" id="LN5605">5605</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5606"><td class="num" id="LN5606">5606</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5607"><td class="num" id="LN5607">5607</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5608"><td class="num" id="LN5608">5608</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;thumbview;</td></tr>
+<tr class="codeline" data-linenumber="5609"><td class="num" id="LN5609">5609</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5610"><td class="num" id="LN5610">5610</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5611"><td class="num" id="LN5611">5611</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5612"><td class="num" id="LN5612">5612</td><td class="line"> <span class='comment'>* eom_window_get_thumb_nav:</span></td></tr>
+<tr class="codeline" data-linenumber="5613"><td class="num" id="LN5613">5613</td><td class="line"> <span class='comment'>* @window: an #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5614"><td class="num" id="LN5614">5614</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5615"><td class="num" id="LN5615">5615</td><td class="line"> <span class='comment'>* Gets the thumbnails navigation pane in @window.</span></td></tr>
+<tr class="codeline" data-linenumber="5616"><td class="num" id="LN5616">5616</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5617"><td class="num" id="LN5617">5617</td><td class="line"> <span class='comment'>* Returns: (transfer none): an #EomThumbNav.</span></td></tr>
+<tr class="codeline" data-linenumber="5618"><td class="num" id="LN5618">5618</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5619"><td class="num" id="LN5619">5619</td><td class="line">GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="5620"><td class="num" id="LN5620">5620</td><td class="line">eom_window_get_thumb_nav (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5621"><td class="num" id="LN5621">5621</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5622"><td class="num" id="LN5622">5622</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5623"><td class="num" id="LN5623">5623</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5624"><td class="num" id="LN5624">5624</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;nav;</td></tr>
+<tr class="codeline" data-linenumber="5625"><td class="num" id="LN5625">5625</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5626"><td class="num" id="LN5626">5626</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5627"><td class="num" id="LN5627">5627</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5628"><td class="num" id="LN5628">5628</td><td class="line"> <span class='comment'>* eom_window_get_statusbar:</span></td></tr>
+<tr class="codeline" data-linenumber="5629"><td class="num" id="LN5629">5629</td><td class="line"> <span class='comment'>* @window: an #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5630"><td class="num" id="LN5630">5630</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5631"><td class="num" id="LN5631">5631</td><td class="line"> <span class='comment'>* Gets the statusbar in @window.</span></td></tr>
+<tr class="codeline" data-linenumber="5632"><td class="num" id="LN5632">5632</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5633"><td class="num" id="LN5633">5633</td><td class="line"> <span class='comment'>* Returns: (transfer none): a #EomStatusBar.</span></td></tr>
+<tr class="codeline" data-linenumber="5634"><td class="num" id="LN5634">5634</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5635"><td class="num" id="LN5635">5635</td><td class="line">GtkWidget *</td></tr>
+<tr class="codeline" data-linenumber="5636"><td class="num" id="LN5636">5636</td><td class="line">eom_window_get_statusbar (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5637"><td class="num" id="LN5637">5637</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5638"><td class="num" id="LN5638">5638</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5639"><td class="num" id="LN5639">5639</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5640"><td class="num" id="LN5640">5640</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;statusbar;</td></tr>
+<tr class="codeline" data-linenumber="5641"><td class="num" id="LN5641">5641</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5642"><td class="num" id="LN5642">5642</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5643"><td class="num" id="LN5643">5643</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5644"><td class="num" id="LN5644">5644</td><td class="line"> <span class='comment'>* eom_window_get_image:</span></td></tr>
+<tr class="codeline" data-linenumber="5645"><td class="num" id="LN5645">5645</td><td class="line"> <span class='comment'>* @window: an #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5646"><td class="num" id="LN5646">5646</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5647"><td class="num" id="LN5647">5647</td><td class="line"> <span class='comment'>* Gets the image currently displayed in @window or %NULL if</span></td></tr>
+<tr class="codeline" data-linenumber="5648"><td class="num" id="LN5648">5648</td><td class="line"> <span class='comment'>* no image is being displayed.</span></td></tr>
+<tr class="codeline" data-linenumber="5649"><td class="num" id="LN5649">5649</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5650"><td class="num" id="LN5650">5650</td><td class="line"> <span class='comment'>* Returns: (transfer none): an #EomImage.</span></td></tr>
+<tr class="codeline" data-linenumber="5651"><td class="num" id="LN5651">5651</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5652"><td class="num" id="LN5652">5652</td><td class="line">EomImage *</td></tr>
+<tr class="codeline" data-linenumber="5653"><td class="num" id="LN5653">5653</td><td class="line">eom_window_get_image (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5654"><td class="num" id="LN5654">5654</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5655"><td class="num" id="LN5655">5655</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5656"><td class="num" id="LN5656">5656</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5657"><td class="num" id="LN5657">5657</td><td class="line"> <span class='keyword'>return</span> window-&gt;priv-&gt;image;</td></tr>
+<tr class="codeline" data-linenumber="5658"><td class="num" id="LN5658">5658</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5659"><td class="num" id="LN5659">5659</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5660"><td class="num" id="LN5660">5660</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="5661"><td class="num" id="LN5661">5661</td><td class="line"> <span class='comment'>* eom_window_is_empty:</span></td></tr>
+<tr class="codeline" data-linenumber="5662"><td class="num" id="LN5662">5662</td><td class="line"> <span class='comment'>* @window: an #EomWindow.</span></td></tr>
+<tr class="codeline" data-linenumber="5663"><td class="num" id="LN5663">5663</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5664"><td class="num" id="LN5664">5664</td><td class="line"> <span class='comment'>* Tells whether @window is currently empty or not.</span></td></tr>
+<tr class="codeline" data-linenumber="5665"><td class="num" id="LN5665">5665</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5666"><td class="num" id="LN5666">5666</td><td class="line"> <span class='comment'>* Returns: %TRUE if @window has no images, %FALSE otherwise.</span></td></tr>
+<tr class="codeline" data-linenumber="5667"><td class="num" id="LN5667">5667</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="5668"><td class="num" id="LN5668">5668</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="5669"><td class="num" id="LN5669">5669</td><td class="line">eom_window_is_empty (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5670"><td class="num" id="LN5670">5670</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5671"><td class="num" id="LN5671">5671</td><td class="line"> EomWindowPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="5672"><td class="num" id="LN5672">5672</td><td class="line"> gboolean empty = <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5673"><td class="num" id="LN5673">5673</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5674"><td class="num" id="LN5674">5674</td><td class="line"> eom_debug (<span class='macro'>DEBUG_WINDOW<span class='macro_popup'>EOM_DEBUG_WINDOW, "eom-window.c", 5674, ((const char*) (__func__<br>))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5675"><td class="num" id="LN5675">5675</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5676"><td class="num" id="LN5676">5676</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_WINDOW (window), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5677"><td class="num" id="LN5677">5677</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5678"><td class="num" id="LN5678">5678</td><td class="line"> priv = window-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="5679"><td class="num" id="LN5679">5679</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5680"><td class="num" id="LN5680">5680</td><td class="line"> <span class='keyword'>if</span> (priv-&gt;store != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="5681"><td class="num" id="LN5681">5681</td><td class="line"> empty = (eom_list_store_length (<span class='macro'>EOM_LIST_STORE (priv-&gt;store)<span class='macro_popup'>((((EomListStore*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((priv-&gt;store)), (eom_list_store_get_type())))))</span></span>) == 0);</td></tr>
+<tr class="codeline" data-linenumber="5682"><td class="num" id="LN5682">5682</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="5683"><td class="num" id="LN5683">5683</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5684"><td class="num" id="LN5684">5684</td><td class="line"> <span class='keyword'>return</span> empty;</td></tr>
+<tr class="codeline" data-linenumber="5685"><td class="num" id="LN5685">5685</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="5686"><td class="num" id="LN5686">5686</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5687"><td class="num" id="LN5687">5687</td><td class="line"><span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="5688"><td class="num" id="LN5688">5688</td><td class="line">eom_window_reload_image (EomWindow *window)</td></tr>
+<tr class="codeline" data-linenumber="5689"><td class="num" id="LN5689">5689</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="5690"><td class="num" id="LN5690">5690</td><td class="line"> GtkWidget *view;</td></tr>
+<tr class="codeline" data-linenumber="5691"><td class="num" id="LN5691">5691</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5692"><td class="num" id="LN5692">5692</td><td class="line"> <span class='macro'>g_return_if_fail (EOM_IS_WINDOW (window))<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((window)); GType __t = ((eom_window_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_WINDOW (window)"); return; } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5693"><td class="num" id="LN5693">5693</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5694"><td class="num" id="LN5694">5694</td><td class="line"> <span class='keyword'>if</span> (window-&gt;priv-&gt;image == <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>)</td></tr>
+<tr class="codeline" data-linenumber="5695"><td class="num" id="LN5695">5695</td><td class="line"> <span class='keyword'>return</span>;</td></tr>
+<tr class="codeline" data-linenumber="5696"><td class="num" id="LN5696">5696</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5697"><td class="num" id="LN5697">5697</td><td class="line"> g_object_unref (window-&gt;priv-&gt;image);</td></tr>
+<tr class="codeline" data-linenumber="5698"><td class="num" id="LN5698">5698</td><td class="line"> window-&gt;priv-&gt;image = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="5699"><td class="num" id="LN5699">5699</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5700"><td class="num" id="LN5700">5700</td><td class="line"> view = eom_window_get_view (window);</td></tr>
+<tr class="codeline" data-linenumber="5701"><td class="num" id="LN5701">5701</td><td class="line"> eom_scroll_view_set_image (<span class='macro'>EOM_SCROLL_VIEW (view)<span class='macro_popup'>((((EomScrollView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((view)), ((eom_scroll_view_get_type ()))))))</span></span>, <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="5702"><td class="num" id="LN5702">5702</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="5703"><td class="num" id="LN5703">5703</td><td class="line"> eom_thumb_view_select_single (<span class='macro'>EOM_THUMB_VIEW (window-&gt;priv-&gt;thumbview)<span class='macro_popup'>((((EomThumbView*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((window-&gt;priv-&gt;thumbview)), ((eom_thumb_view_get_type<br> ()))))))</span></span>,</td></tr>
+<tr class="codeline" data-linenumber="5704"><td class="num" id="LN5704">5704</td><td class="line"> EOM_THUMB_VIEW_SELECT_CURRENT);</td></tr>
+<tr class="codeline" data-linenumber="5705"><td class="num" id="LN5705">5705</td><td class="line">}</td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f92f6b.html b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f92f6b.html
new file mode 100644
index 0000000..7dd2aea
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/report-f92f6b.html
@@ -0,0 +1,1126 @@
+<!doctype html>
+<html>
+<head>
+<title>eom-transform.c</title>
+
+<style type="text/css">
+body { color:#000000; background-color:#ffffff }
+body { font-family:Helvetica, sans-serif; font-size:10pt }
+h1 { font-size:14pt }
+.FileName { margin-top: 5px; margin-bottom: 5px; display: inline; }
+.FileNav { margin-left: 5px; margin-right: 5px; display: inline; }
+.FileNav a { text-decoration:none; font-size: larger; }
+.divider { margin-top: 30px; margin-bottom: 30px; height: 15px; }
+.divider { background-color: gray; }
+.code { border-collapse:collapse; width:100%; }
+.code { font-family: "Monospace", monospace; font-size:10pt }
+.code { line-height: 1.2em }
+.comment { color: green; font-style: oblique }
+.keyword { color: blue }
+.string_literal { color: red }
+.directive { color: darkmagenta }
+
+/* Macros and variables could have pop-up notes hidden by default.
+ - Macro pop-up: expansion of the macro
+ - Variable pop-up: value (table) of the variable */
+.macro_popup, .variable_popup { display: none; }
+
+/* Pop-up appears on mouse-hover event. */
+.macro:hover .macro_popup, .variable:hover .variable_popup {
+ display: block;
+ padding: 2px;
+ -webkit-border-radius:5px;
+ -webkit-box-shadow:1px 1px 7px #000;
+ border-radius:5px;
+ box-shadow:1px 1px 7px #000;
+ position: absolute;
+ top: -1em;
+ left:10em;
+ z-index: 1
+}
+
+.macro_popup {
+ border: 2px solid red;
+ background-color:#FFF0F0;
+ font-weight: normal;
+}
+
+.variable_popup {
+ border: 2px solid blue;
+ background-color:#F0F0FF;
+ font-weight: bold;
+ font-family: Helvetica, sans-serif;
+ font-size: 9pt;
+}
+
+/* Pop-up notes needs a relative position as a base where they pops up. */
+.macro, .variable {
+ background-color: PaleGoldenRod;
+ position: relative;
+}
+.macro { color: DarkMagenta; }
+
+#tooltiphint {
+ position: fixed;
+ width: 50em;
+ margin-left: -25em;
+ left: 50%;
+ padding: 10px;
+ border: 1px solid #b0b0b0;
+ border-radius: 2px;
+ box-shadow: 1px 1px 7px black;
+ background-color: #c0c0c0;
+ z-index: 2;
+}
+
+.num { width:2.5em; padding-right:2ex; background-color:#eeeeee }
+.num { text-align:right; font-size:8pt }
+.num { color:#444444 }
+.line { padding-left: 1ex; border-left: 3px solid #ccc }
+.line { white-space: pre }
+.msg { -webkit-box-shadow:1px 1px 7px #000 }
+.msg { box-shadow:1px 1px 7px #000 }
+.msg { -webkit-border-radius:5px }
+.msg { border-radius:5px }
+.msg { font-family:Helvetica, sans-serif; font-size:8pt }
+.msg { float:left }
+.msg { position:relative }
+.msg { padding:0.25em 1ex 0.25em 1ex }
+.msg { margin-top:10px; margin-bottom:10px }
+.msg { font-weight:bold }
+.msg { max-width:60em; word-wrap: break-word; white-space: pre-wrap }
+.msgT { padding:0x; spacing:0x }
+.msgEvent { background-color:#fff8b4; color:#000000 }
+.msgControl { background-color:#bbbbbb; color:#000000 }
+.msgNote { background-color:#ddeeff; color:#000000 }
+.mrange { background-color:#dfddf3 }
+.mrange { border-bottom:1px solid #6F9DBE }
+.PathIndex { font-weight: bold; padding:0px 5px; margin-right:5px; }
+.PathIndex { -webkit-border-radius:8px }
+.PathIndex { border-radius:8px }
+.PathIndexEvent { background-color:#bfba87 }
+.PathIndexControl { background-color:#8c8c8c }
+.PathIndexPopUp { background-color: #879abc; }
+.PathNav a { text-decoration:none; font-size: larger }
+.CodeInsertionHint { font-weight: bold; background-color: #10dd10 }
+.CodeRemovalHint { background-color:#de1010 }
+.CodeRemovalHint { border-bottom:1px solid #6F9DBE }
+.msg.selected{ background-color:orange !important; }
+
+table.simpletable {
+ padding: 5px;
+ font-size:12pt;
+ margin:20px;
+ border-collapse: collapse; border-spacing: 0px;
+}
+td.rowname {
+ text-align: right;
+ vertical-align: top;
+ font-weight: bold;
+ color:#444444;
+ padding-right:2ex;
+}
+
+/* Hidden text. */
+input.spoilerhider + label {
+ cursor: pointer;
+ text-decoration: underline;
+ display: block;
+}
+input.spoilerhider {
+ display: none;
+}
+input.spoilerhider ~ .spoiler {
+ overflow: hidden;
+ margin: 10px auto 0;
+ height: 0;
+ opacity: 0;
+}
+input.spoilerhider:checked + label + .spoiler{
+ height: auto;
+ opacity: 1;
+}
+</style>
+</head>
+<body>
+<!-- BUGDESC This statement is never executed -->
+
+<!-- BUGTYPE Unreachable code -->
+
+<!-- BUGCATEGORY Unused code -->
+
+<!-- BUGFILE /rootdir/src/eom-transform.c -->
+
+<!-- FILENAME eom-transform.c -->
+
+<!-- FUNCTIONNAME eom_transform_get_transform_type -->
+
+<!-- ISSUEHASHCONTENTOFLINEINCONTEXT f92f6b3e8ef5046174cf2fb84d339051 -->
+
+<!-- BUGLINE 431 -->
+
+<!-- BUGCOLUMN 10 -->
+
+<!-- BUGPATHLENGTH 1 -->
+
+<!-- BUGMETAEND -->
+<!-- REPORTHEADER -->
+<h3>Bug Summary</h3>
+<table class="simpletable">
+<tr><td class="rowname">File:</td><td>src/eom-transform.c</td></tr>
+<tr><td class="rowname">Warning:</td><td><a href="#EndPath">line 431, column 10</a><br />This statement is never executed</td></tr>
+
+</table>
+<!-- REPORTSUMMARYEXTRA -->
+<h3>Annotated Source Code</h3>
+<p>Press <a href="#" onclick="toggleHelp(); return false;">'?'</a>
+ to see keyboard shortcuts</p>
+<input type="checkbox" class="spoilerhider" id="showinvocation" />
+<label for="showinvocation" >Show analyzer invocation</label>
+<div class="spoiler">clang -cc1 -cc1 -triple x86_64-redhat-linux-gnu -analyze -disable-free -clear-ast-before-backend -disable-llvm-verifier -discard-value-names -main-file-name eom-transform.c -analyzer-checker=core -analyzer-checker=apiModeling -analyzer-checker=unix -analyzer-checker=deadcode -analyzer-checker=security.insecureAPI.UncheckedReturn -analyzer-checker=security.insecureAPI.getpw -analyzer-checker=security.insecureAPI.gets -analyzer-checker=security.insecureAPI.mktemp -analyzer-checker=security.insecureAPI.mkstemp -analyzer-checker=security.insecureAPI.vfork -analyzer-checker=nullability.NullPassedToNonnull -analyzer-checker=nullability.NullReturnedFromNonnull -analyzer-output plist -w -setup-static-analyzer -mrelocation-model pic -pic-level 2 -fhalf-no-semantic-interposition -mframe-pointer=all -fmath-errno -ffp-contract=on -fno-rounding-math -mconstructor-aliases -funwind-tables=2 -target-cpu x86-64 -tune-cpu generic -debugger-tuning=gdb -fcoverage-compilation-dir=/rootdir/src -resource-dir /usr/bin/../lib/clang/17 -D HAVE_CONFIG_H -I . -I .. -I . -I .. -I ../jpegutils -I ../cut-n-paste/toolbar-editor -D G_LOG_DOMAIN="EOM" -D EOM_DATA_DIR="/usr/local/share/eom" -D EOM_LOCALE_DIR="/usr/local/share/locale" -D EOM_PLUGIN_DIR="/usr/local/lib/eom/plugins" -D LIBDIR="/usr/local/lib" -I /usr/include/librsvg-2.0 -I /usr/include/exempi-2.0 -I /usr/include/libpeas-1.0 -I /usr/include/gtk-3.0/unix-print -I /usr/include/mate-desktop-2.0 -I /usr/include/gtk-3.0 -I /usr/include/pango-1.0 -I /usr/include/startup-notification-1.0 -I /usr/include/cairo -I /usr/include/gobject-introspection-1.0 -I /usr/include/gio-unix-2.0 -I /usr/include/gdk-pixbuf-2.0 -I /usr/include/dbus-1.0 -I /usr/lib64/dbus-1.0/include -I /usr/include/atk-1.0 -I /usr/include/harfbuzz -I /usr/include/freetype2 -I /usr/include/glib-2.0 -I /usr/lib64/glib-2.0/include -I /usr/include/at-spi2-atk/2.0 -I /usr/include/cloudproviders -I /usr/include/dconf -I /usr/include/at-spi-2.0 -I /usr/include/blkid -I /usr/include/pixman-1 -I /usr/include/libxml2 -I /usr/include/libmount -I /usr/include/fribidi -I /usr/include/libpng16 -I /usr/include/sysprof-6 -D PIC -internal-isystem /usr/bin/../lib/clang/17/include -internal-isystem /usr/local/include -internal-isystem /usr/bin/../lib/gcc/x86_64-redhat-linux/13/../../../../x86_64-redhat-linux/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -Wno-unused-parameter -fdebug-compilation-dir=/rootdir/src -ferror-limit 19 -fgnuc-version=4.2.1 -analyzer-checker deadcode.DeadStores -analyzer-checker alpha.deadcode.UnreachableCode -analyzer-checker alpha.core.CastSize -analyzer-checker alpha.core.CastToStruct -analyzer-checker alpha.core.IdenticalExpr -analyzer-checker alpha.core.SizeofPtr -analyzer-checker alpha.security.ArrayBoundV2 -analyzer-checker alpha.security.MallocOverflow -analyzer-checker alpha.security.ReturnPtrRange -analyzer-checker alpha.unix.SimpleStream -analyzer-checker alpha.unix.cstring.BufferOverlap -analyzer-checker alpha.unix.cstring.NotNullTerminated -analyzer-checker alpha.unix.cstring.OutOfBounds -analyzer-checker alpha.core.FixedAddr -analyzer-checker security.insecureAPI.strcpy -analyzer-output=html -faddrsig -D__GCC_HAVE_DWARF2_CFI_ASM=1 -o /rootdir/html-report/2023-11-21-142043-6427-1 -x c eom-transform.c
+</div>
+<div id='tooltiphint' hidden="true">
+ <p>Keyboard shortcuts: </p>
+ <ul>
+ <li>Use 'j/k' keys for keyboard navigation</li>
+ <li>Use 'Shift+S' to show/hide relevant lines</li>
+ <li>Use '?' to toggle this window</li>
+ </ul>
+ <a href="#" onclick="toggleHelp(); return false;">Close</a>
+</div>
+<script type='text/javascript'>
+var relevant_lines = {"1": {"431": 1}};
+
+var filterCounterexample = function (hide) {
+ var tables = document.getElementsByClassName("code");
+ for (var t=0; t<tables.length; t++) {
+ var table = tables[t];
+ var file_id = table.getAttribute("data-fileid");
+ var lines_in_fid = relevant_lines[file_id];
+ if (!lines_in_fid) {
+ lines_in_fid = {};
+ }
+ var lines = table.getElementsByClassName("codeline");
+ for (var i=0; i<lines.length; i++) {
+ var el = lines[i];
+ var lineNo = el.getAttribute("data-linenumber");
+ if (!lines_in_fid[lineNo]) {
+ if (hide) {
+ el.setAttribute("hidden", "");
+ } else {
+ el.removeAttribute("hidden");
+ }
+ }
+ }
+ }
+}
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // SHIFT + S
+ if (event.shiftKey && event.keyCode == 83) {
+ var checked = document.getElementsByName("showCounterexample")[0].checked;
+ filterCounterexample(!checked);
+ document.getElementsByName("showCounterexample")[0].click();
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+
+document.addEventListener("DOMContentLoaded", function() {
+ document.querySelector('input[name="showCounterexample"]').onchange=
+ function (event) {
+ filterCounterexample(this.checked);
+ };
+});
+</script>
+
+<form>
+ <input type="checkbox" name="showCounterexample" id="showCounterexample" />
+ <label for="showCounterexample">
+ Show only relevant lines
+ </label>
+ <input type="checkbox" name="showArrows"
+ id="showArrows" style="margin-left: 10px" />
+ <label for="showArrows">
+ Show control flow arrows
+ </label>
+</form>
+
+<script type='text/javascript'>
+// Return range of numbers from a range [lower, upper).
+function range(lower, upper) {
+ var array = [];
+ for (var i = lower; i <= upper; ++i) {
+ array.push(i);
+ }
+ return array;
+}
+
+var getRelatedArrowIndices = function(pathId) {
+ // HTML numeration of events is a bit different than it is in the path.
+ // Everything is rotated one step to the right, so the last element
+ // (error diagnostic) has index 0.
+ if (pathId == 0) {
+ // arrowIndices has at least 2 elements
+ pathId = arrowIndices.length - 1;
+ }
+
+ return range(arrowIndices[pathId], arrowIndices[pathId - 1]);
+}
+
+var highlightArrowsForSelectedEvent = function() {
+ const selectedNum = findNum();
+ const arrowIndicesToHighlight = getRelatedArrowIndices(selectedNum);
+ arrowIndicesToHighlight.forEach((index) => {
+ var arrow = document.querySelector("#arrow" + index);
+ if(arrow) {
+ classListAdd(arrow, "selected")
+ }
+ });
+}
+
+var getAbsoluteBoundingRect = function(element) {
+ const relative = element.getBoundingClientRect();
+ return {
+ left: relative.left + window.pageXOffset,
+ right: relative.right + window.pageXOffset,
+ top: relative.top + window.pageYOffset,
+ bottom: relative.bottom + window.pageYOffset,
+ height: relative.height,
+ width: relative.width
+ };
+}
+
+var drawArrow = function(index) {
+ // This function is based on the great answer from SO:
+ // https://stackoverflow.com/a/39575674/11582326
+ var start = document.querySelector("#start" + index);
+ var end = document.querySelector("#end" + index);
+ var arrow = document.querySelector("#arrow" + index);
+
+ var startRect = getAbsoluteBoundingRect(start);
+ var endRect = getAbsoluteBoundingRect(end);
+
+ // It is an arrow from a token to itself, no need to visualize it.
+ if (startRect.top == endRect.top &&
+ startRect.left == endRect.left)
+ return;
+
+ // Each arrow is a very simple Bézier curve, with two nodes and
+ // two handles. So, we need to calculate four points in the window:
+ // * start node
+ var posStart = { x: 0, y: 0 };
+ // * end node
+ var posEnd = { x: 0, y: 0 };
+ // * handle for the start node
+ var startHandle = { x: 0, y: 0 };
+ // * handle for the end node
+ var endHandle = { x: 0, y: 0 };
+ // One can visualize it as follows:
+ //
+ // start handle
+ // /
+ // X"""_.-""""X
+ // .' \
+ // / start node
+ // |
+ // |
+ // | end node
+ // \ /
+ // `->X
+ // X-'
+ // \
+ // end handle
+ //
+ // NOTE: (0, 0) is the top left corner of the window.
+
+ // We have 3 similar, but still different scenarios to cover:
+ //
+ // 1. Two tokens on different lines.
+ // -xxx
+ // /
+ // \
+ // -> xxx
+ // In this situation, we draw arrow on the left curving to the left.
+ // 2. Two tokens on the same line, and the destination is on the right.
+ // ____
+ // / \
+ // / V
+ // xxx xxx
+ // In this situation, we draw arrow above curving upwards.
+ // 3. Two tokens on the same line, and the destination is on the left.
+ // xxx xxx
+ // ^ /
+ // \____/
+ // In this situation, we draw arrow below curving downwards.
+ const onDifferentLines = startRect.top <= endRect.top - 5 ||
+ startRect.top >= endRect.top + 5;
+ const leftToRight = startRect.left < endRect.left;
+
+ // NOTE: various magic constants are chosen empirically for
+ // better positioning and look
+ if (onDifferentLines) {
+ // Case #1
+ const topToBottom = startRect.top < endRect.top;
+ posStart.x = startRect.left - 1;
+ // We don't want to start it at the top left corner of the token,
+ // it doesn't feel like this is where the arrow comes from.
+ // For this reason, we start it in the middle of the left side
+ // of the token.
+ posStart.y = startRect.top + startRect.height / 2;
+
+ // End node has arrow head and we give it a bit more space.
+ posEnd.x = endRect.left - 4;
+ posEnd.y = endRect.top;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ // We want bottom-to-top arrow to curve a bit more, so it doesn't
+ // overlap much with top-to-bottom curves (much more frequent).
+ x: topToBottom ? 15 : 25,
+ y: Math.min((posEnd.y - posStart.y) / 3, 10)
+ }
+
+ // When destination is on the different line, we can make a
+ // curvier arrow because we have space for it.
+ // So, instead of using
+ //
+ // startHandle.x = posStart.x - curvature.x
+ // endHandle.x = posEnd.x - curvature.x
+ //
+ // We use the leftmost of these two values for both handles.
+ startHandle.x = Math.min(posStart.x, posEnd.x) - curvature.x;
+ endHandle.x = startHandle.x;
+
+ // Curving downwards from the start node...
+ startHandle.y = posStart.y + curvature.y;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else if (leftToRight) {
+ // Case #2
+ // Starting from the top right corner...
+ posStart.x = startRect.right - 1;
+ posStart.y = startRect.top;
+
+ // ...and ending at the top left corner of the end token.
+ posEnd.x = endRect.left + 1;
+ posEnd.y = endRect.top - 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posEnd.x - posStart.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the right...
+ startHandle.x = posStart.x + curvature.x;
+ // ... and upwards from the start node.
+ startHandle.y = posStart.y - curvature.y;
+
+ // And to the left...
+ endHandle.x = posEnd.x - curvature.x;
+ // ... and upwards from the end node.
+ endHandle.y = posEnd.y - curvature.y;
+
+ } else {
+ // Case #3
+ // Starting from the bottom right corner...
+ posStart.x = startRect.right;
+ posStart.y = startRect.bottom;
+
+ // ...and ending also at the bottom right corner, but of the end token.
+ posEnd.x = endRect.right - 1;
+ posEnd.y = endRect.bottom + 1;
+
+ // Utility object with x and y offsets for handles.
+ var curvature = {
+ x: Math.min((posStart.x - posEnd.x) / 3, 15),
+ y: 5
+ }
+
+ // Curving to the left...
+ startHandle.x = posStart.x - curvature.x;
+ // ... and downwards from the start node.
+ startHandle.y = posStart.y + curvature.y;
+
+ // And to the right...
+ endHandle.x = posEnd.x + curvature.x;
+ // ... and downwards from the end node.
+ endHandle.y = posEnd.y + curvature.y;
+ }
+
+ // Put it all together into a path.
+ // More information on the format:
+ // https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/Paths
+ var pathStr = "M" + posStart.x + "," + posStart.y + " " +
+ "C" + startHandle.x + "," + startHandle.y + " " +
+ endHandle.x + "," + endHandle.y + " " +
+ posEnd.x + "," + posEnd.y;
+
+ arrow.setAttribute("d", pathStr);
+};
+
+var drawArrows = function() {
+ const numOfArrows = document.querySelectorAll("path[id^=arrow]").length;
+ for (var i = 0; i < numOfArrows; ++i) {
+ drawArrow(i);
+ }
+}
+
+var toggleArrows = function(event) {
+ const arrows = document.querySelector("#arrows");
+ if (event.target.checked) {
+ arrows.setAttribute("visibility", "visible");
+ } else {
+ arrows.setAttribute("visibility", "hidden");
+ }
+}
+
+window.addEventListener("resize", drawArrows);
+document.addEventListener("DOMContentLoaded", function() {
+ // Whenever we show invocation, locations change, i.e. we
+ // need to redraw arrows.
+ document
+ .querySelector('input[id="showinvocation"]')
+ .addEventListener("click", drawArrows);
+ // Hiding irrelevant lines also should cause arrow rerender.
+ document
+ .querySelector('input[name="showCounterexample"]')
+ .addEventListener("change", drawArrows);
+ document
+ .querySelector('input[name="showArrows"]')
+ .addEventListener("change", toggleArrows);
+ drawArrows();
+ // Default highlighting for the last event.
+ highlightArrowsForSelectedEvent();
+});
+</script>
+
+<script type='text/javascript'>
+var digitMatcher = new RegExp("[0-9]+");
+
+var querySelectorAllArray = function(selector) {
+ return Array.prototype.slice.call(
+ document.querySelectorAll(selector));
+}
+
+document.addEventListener("DOMContentLoaded", function() {
+ querySelectorAllArray(".PathNav > a").forEach(
+ function(currentValue, currentIndex) {
+ var hrefValue = currentValue.getAttribute("href");
+ currentValue.onclick = function() {
+ scrollTo(document.querySelector(hrefValue));
+ return false;
+ };
+ });
+});
+
+var findNum = function() {
+ var s = document.querySelector(".msg.selected");
+ if (!s || s.id == "EndPath") {
+ return 0;
+ }
+ var out = parseInt(digitMatcher.exec(s.id)[0]);
+ return out;
+};
+
+var classListAdd = function(el, theClass) {
+ if(!el.className.baseVal)
+ el.className += " " + theClass;
+ else
+ el.className.baseVal += " " + theClass;
+};
+
+var classListRemove = function(el, theClass) {
+ var className = (!el.className.baseVal) ?
+ el.className : el.className.baseVal;
+ className = className.replace(" " + theClass, "");
+ if(!el.className.baseVal)
+ el.className = className;
+ else
+ el.className.baseVal = className;
+};
+
+var scrollTo = function(el) {
+ querySelectorAllArray(".selected").forEach(function(s) {
+ classListRemove(s, "selected");
+ });
+ classListAdd(el, "selected");
+ window.scrollBy(0, el.getBoundingClientRect().top -
+ (window.innerHeight / 2));
+ highlightArrowsForSelectedEvent();
+};
+
+var move = function(num, up, numItems) {
+ if (num == 1 && up || num == numItems - 1 && !up) {
+ return 0;
+ } else if (num == 0 && up) {
+ return numItems - 1;
+ } else if (num == 0 && !up) {
+ return 1 % numItems;
+ }
+ return up ? num - 1 : num + 1;
+}
+
+var numToId = function(num) {
+ if (num == 0) {
+ return document.getElementById("EndPath")
+ }
+ return document.getElementById("Path" + num);
+};
+
+var navigateTo = function(up) {
+ var numItems = document.querySelectorAll(
+ ".line > .msgEvent, .line > .msgControl").length;
+ var currentSelected = findNum();
+ var newSelected = move(currentSelected, up, numItems);
+ var newEl = numToId(newSelected, numItems);
+
+ // Scroll element into center.
+ scrollTo(newEl);
+};
+
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ // key 'j'
+ if (event.keyCode == 74) {
+ navigateTo(/*up=*/false);
+ // key 'k'
+ } else if (event.keyCode == 75) {
+ navigateTo(/*up=*/true);
+ } else {
+ return;
+ }
+ event.preventDefault();
+}, true);
+</script>
+
+<script type='text/javascript'>
+
+var toggleHelp = function() {
+ var hint = document.querySelector("#tooltiphint");
+ var attributeName = "hidden";
+ if (hint.hasAttribute(attributeName)) {
+ hint.removeAttribute(attributeName);
+ } else {
+ hint.setAttribute("hidden", "true");
+ }
+};
+window.addEventListener("keydown", function (event) {
+ if (event.defaultPrevented) {
+ return;
+ }
+ if (event.key == "?") {
+ toggleHelp();
+ } else {
+ return;
+ }
+ event.preventDefault();
+});
+</script>
+
+<style type="text/css">
+ svg {
+ position:absolute;
+ top:0;
+ left:0;
+ height:100%;
+ width:100%;
+ pointer-events: none;
+ overflow: visible
+ }
+ .arrow {
+ stroke-opacity: 0.2;
+ stroke-width: 1;
+ marker-end: url(#arrowhead);
+ }
+
+ .arrow.selected {
+ stroke-opacity: 0.6;
+ stroke-width: 2;
+ marker-end: url(#arrowheadSelected);
+ }
+
+ .arrowhead {
+ orient: auto;
+ stroke: none;
+ opacity: 0.6;
+ fill: blue;
+ }
+</style>
+<svg xmlns="http://www.w3.org/2000/svg">
+ <defs>
+ <marker id="arrowheadSelected" class="arrowhead" opacity="0.6"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ <marker id="arrowhead" class="arrowhead" opacity="0.2"
+ viewBox="0 0 10 10" refX="3" refY="5"
+ markerWidth="4" markerHeight="4">
+ <path d="M 0 0 L 10 5 L 0 10 z" />
+ </marker>
+ </defs>
+ <g id="arrows" fill="none" stroke="blue" visibility="hidden">
+
+ </g>
+</svg>
+<script type='text/javascript'>
+const arrowIndices = [ 0,0 ]
+</script>
+<table class="code" data-fileid="1">
+<tr class="codeline" data-linenumber="1"><td class="num" id="LN1">1</td><td class="line"><span class='comment'>/* Eye Of MATE -- Affine Transformations</span></td></tr>
+<tr class="codeline" data-linenumber="2"><td class="num" id="LN2">2</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="3"><td class="num" id="LN3">3</td><td class="line"> <span class='comment'>* Copyright (C) 2003-2009 The Free Software Foundation</span></td></tr>
+<tr class="codeline" data-linenumber="4"><td class="num" id="LN4">4</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="5"><td class="num" id="LN5">5</td><td class="line"> <span class='comment'>* Portions based on code from libart_lgpl by Raph Levien.</span></td></tr>
+<tr class="codeline" data-linenumber="6"><td class="num" id="LN6">6</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="7"><td class="num" id="LN7">7</td><td class="line"> <span class='comment'>* This program is free software; you can redistribute it and/or modify</span></td></tr>
+<tr class="codeline" data-linenumber="8"><td class="num" id="LN8">8</td><td class="line"> <span class='comment'>* it under the terms of the GNU General Public License as published by</span></td></tr>
+<tr class="codeline" data-linenumber="9"><td class="num" id="LN9">9</td><td class="line"> <span class='comment'>* the Free Software Foundation; either version 2 of the License, or</span></td></tr>
+<tr class="codeline" data-linenumber="10"><td class="num" id="LN10">10</td><td class="line"> <span class='comment'>* (at your option) any later version.</span></td></tr>
+<tr class="codeline" data-linenumber="11"><td class="num" id="LN11">11</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="12"><td class="num" id="LN12">12</td><td class="line"> <span class='comment'>* This program is distributed in the hope that it will be useful,</span></td></tr>
+<tr class="codeline" data-linenumber="13"><td class="num" id="LN13">13</td><td class="line"> <span class='comment'>* but WITHOUT ANY WARRANTY; without even the implied warranty of</span></td></tr>
+<tr class="codeline" data-linenumber="14"><td class="num" id="LN14">14</td><td class="line"> <span class='comment'>* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the</span></td></tr>
+<tr class="codeline" data-linenumber="15"><td class="num" id="LN15">15</td><td class="line"> <span class='comment'>* GNU General Public License for more details.</span></td></tr>
+<tr class="codeline" data-linenumber="16"><td class="num" id="LN16">16</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="17"><td class="num" id="LN17">17</td><td class="line"> <span class='comment'>* You should have received a copy of the GNU General Public License</span></td></tr>
+<tr class="codeline" data-linenumber="18"><td class="num" id="LN18">18</td><td class="line"> <span class='comment'>* along with this program; if not, write to the Free Software Foundation,</span></td></tr>
+<tr class="codeline" data-linenumber="19"><td class="num" id="LN19">19</td><td class="line"> <span class='comment'>* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</span></td></tr>
+<tr class="codeline" data-linenumber="20"><td class="num" id="LN20">20</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="21"><td class="num" id="LN21">21</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="22"><td class="num" id="LN22">22</td><td class="line"><span class='directive'>#ifdef <span class='macro'>HAVE_CONFIG_H<span class='macro_popup'>1</span></span></span></td></tr>
+<tr class="codeline" data-linenumber="23"><td class="num" id="LN23">23</td><td class="line"><span class='directive'>#include &lt;config.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="24"><td class="num" id="LN24">24</td><td class="line"><span class='directive'>#endif</span></td></tr>
+<tr class="codeline" data-linenumber="25"><td class="num" id="LN25">25</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="26"><td class="num" id="LN26">26</td><td class="line"><span class='directive'>#include &lt;time.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="27"><td class="num" id="LN27">27</td><td class="line"><span class='directive'>#include &lt;stdlib.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="28"><td class="num" id="LN28">28</td><td class="line"><span class='directive'>#include &lt;math.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="29"><td class="num" id="LN29">29</td><td class="line"><span class='directive'>#include &lt;gtk/gtk.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="30"><td class="num" id="LN30">30</td><td class="line"><span class='directive'>#include &lt;cairo/cairo.h&gt;</span></td></tr>
+<tr class="codeline" data-linenumber="31"><td class="num" id="LN31">31</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="32"><td class="num" id="LN32">32</td><td class="line"><span class='directive'>#include "eom-transform.h"</span></td></tr>
+<tr class="codeline" data-linenumber="33"><td class="num" id="LN33">33</td><td class="line"><span class='directive'>#include "eom-jobs.h"</span></td></tr>
+<tr class="codeline" data-linenumber="34"><td class="num" id="LN34">34</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="35"><td class="num" id="LN35">35</td><td class="line"><span class='comment'>/* The number of progress updates per transformation */</span></td></tr>
+<tr class="codeline" data-linenumber="36"><td class="num" id="LN36">36</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_TRANSFORM_N_PROG_UPDATES<span class='macro_popup'>20</span></span> 20</span></td></tr>
+<tr class="codeline" data-linenumber="37"><td class="num" id="LN37">37</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="38"><td class="num" id="LN38">38</td><td class="line"><span class='keyword'>struct</span> _EomTransformPrivate {</td></tr>
+<tr class="codeline" data-linenumber="39"><td class="num" id="LN39">39</td><td class="line"> cairo_matrix_t affine;</td></tr>
+<tr class="codeline" data-linenumber="40"><td class="num" id="LN40">40</td><td class="line">};</td></tr>
+<tr class="codeline" data-linenumber="41"><td class="num" id="LN41">41</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="42"><td class="num" id="LN42">42</td><td class="line"><span class='keyword'>typedef</span> <span class='keyword'>struct</span> {</td></tr>
+<tr class="codeline" data-linenumber="43"><td class="num" id="LN43">43</td><td class="line"> gdouble x;</td></tr>
+<tr class="codeline" data-linenumber="44"><td class="num" id="LN44">44</td><td class="line"> gdouble y;</td></tr>
+<tr class="codeline" data-linenumber="45"><td class="num" id="LN45">45</td><td class="line">} EomPoint;</td></tr>
+<tr class="codeline" data-linenumber="46"><td class="num" id="LN46">46</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="47"><td class="num" id="LN47">47</td><td class="line"><span class='comment'>/* Convert degrees into radians */</span></td></tr>
+<tr class="codeline" data-linenumber="48"><td class="num" id="LN48">48</td><td class="line"><span class='directive'>#define <span class='macro'>EOM_DEG_TO_RAD(degree)<span class='macro_popup'>((degree) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span> ((degree) * (<span class='macro'>G_PI<span class='macro_popup'>3.1415926535897932384626433832795028841971693993751</span></span>/180.0))</span></td></tr>
+<tr class="codeline" data-linenumber="49"><td class="num" id="LN49">49</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="50"><td class="num" id="LN50">50</td><td class="line"><span class='macro'>G_DEFINE_TYPE_WITH_PRIVATE (EomTransform, eom_transform, G_TYPE_OBJECT)<span class='macro_popup'>static void eom_transform_init (EomTransform *self); static void<br> eom_transform_class_init (EomTransformClass *klass); static GType<br> eom_transform_get_type_once (void); static gpointer eom_transform_parent_class<br> = ((void*)0); static gint EomTransform_private_offset; static<br> void eom_transform_class_intern_init (gpointer klass) { eom_transform_parent_class<br> = g_type_class_peek_parent (klass); if (EomTransform_private_offset<br> != 0) g_type_class_adjust_private_offset (klass, &amp;EomTransform_private_offset<br>); eom_transform_class_init ((EomTransformClass*) klass); } __attribute__<br> ((__unused__)) static inline gpointer eom_transform_get_instance_private<br> (EomTransform *self) { return (((gpointer) ((guint8*) (self)<br> + (glong) (EomTransform_private_offset)))); } GType eom_transform_get_type<br> (void) { static gsize static_g_define_type_id = 0; if ((__extension__<br> ({ _Static_assert (sizeof *(&amp;static_g_define_type_id) ==<br> sizeof (gpointer), "Expression evaluates to false"); (void) (<br>0 ? (gpointer) *(&amp;static_g_define_type_id) : ((void*)0));<br> (!(__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); __typeof__<br> (*(&amp;static_g_define_type_id)) gapg_temp_newval; __typeof__<br> ((&amp;static_g_define_type_id)) gapg_temp_atomic = (&amp;static_g_define_type_id<br>); __atomic_load (gapg_temp_atomic, &amp;gapg_temp_newval, 5)<br>; gapg_temp_newval; })) &amp;&amp; g_once_init_enter (&amp;static_g_define_type_id<br>)); }))) { GType g_define_type_id = eom_transform_get_type_once<br> (); (__extension__ ({ _Static_assert (sizeof *(&amp;static_g_define_type_id<br>) == sizeof (gpointer), "Expression evaluates to false"); 0 ?<br> (void) (*(&amp;static_g_define_type_id) = (g_define_type_id)<br>) : (void) 0; g_once_init_leave ((&amp;static_g_define_type_id<br>), (gsize) (g_define_type_id)); })); } return static_g_define_type_id<br>; } __attribute__ ((__noinline__)) static GType eom_transform_get_type_once<br> (void) { GType g_define_type_id = g_type_register_static_simple<br> (((GType) ((20) &lt;&lt; (2))), g_intern_static_string ("EomTransform"<br>), sizeof (EomTransformClass), (GClassInitFunc)(void (*)(void<br>)) eom_transform_class_intern_init, sizeof (EomTransform), (GInstanceInitFunc<br>)(void (*)(void)) eom_transform_init, (GTypeFlags) 0); { {{ EomTransform_private_offset<br> = g_type_add_instance_private (g_define_type_id, sizeof (EomTransformPrivate<br>)); };} } return g_define_type_id; }</span></span></td></tr>
+<tr class="codeline" data-linenumber="51"><td class="num" id="LN51">51</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="52"><td class="num" id="LN52">52</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="53"><td class="num" id="LN53">53</td><td class="line">eom_transform_init (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="54"><td class="num" id="LN54">54</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="55"><td class="num" id="LN55">55</td><td class="line"> trans-&gt;priv = eom_transform_get_instance_private (trans);</td></tr>
+<tr class="codeline" data-linenumber="56"><td class="num" id="LN56">56</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="57"><td class="num" id="LN57">57</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="58"><td class="num" id="LN58">58</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="59"><td class="num" id="LN59">59</td><td class="line">eom_transform_class_init (EomTransformClass *klass)</td></tr>
+<tr class="codeline" data-linenumber="60"><td class="num" id="LN60">60</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="61"><td class="num" id="LN61">61</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="62"><td class="num" id="LN62">62</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="63"><td class="num" id="LN63">63</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="64"><td class="num" id="LN64">64</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="65"><td class="num" id="LN65">65</td><td class="line"> <span class='comment'>* eom_transform_apply:</span></td></tr>
+<tr class="codeline" data-linenumber="66"><td class="num" id="LN66">66</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="67"><td class="num" id="LN67">67</td><td class="line"> <span class='comment'>* @pixbuf: a #GdkPixbuf</span></td></tr>
+<tr class="codeline" data-linenumber="68"><td class="num" id="LN68">68</td><td class="line"> <span class='comment'>* @job: a #EomJob</span></td></tr>
+<tr class="codeline" data-linenumber="69"><td class="num" id="LN69">69</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="70"><td class="num" id="LN70">70</td><td class="line"> <span class='comment'>* Applies the transformation in @trans to @pixbuf, setting its progress in @job.</span></td></tr>
+<tr class="codeline" data-linenumber="71"><td class="num" id="LN71">71</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="72"><td class="num" id="LN72">72</td><td class="line"> <span class='comment'>* Returns: (transfer full): A new #GdkPixbuf with the transformation applied.</span></td></tr>
+<tr class="codeline" data-linenumber="73"><td class="num" id="LN73">73</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="74"><td class="num" id="LN74">74</td><td class="line">GdkPixbuf*</td></tr>
+<tr class="codeline" data-linenumber="75"><td class="num" id="LN75">75</td><td class="line">eom_transform_apply (EomTransform *trans, GdkPixbuf *pixbuf, EomJob *job)</td></tr>
+<tr class="codeline" data-linenumber="76"><td class="num" id="LN76">76</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="77"><td class="num" id="LN77">77</td><td class="line"> EomPoint dest_top_left;</td></tr>
+<tr class="codeline" data-linenumber="78"><td class="num" id="LN78">78</td><td class="line"> EomPoint dest_bottom_right;</td></tr>
+<tr class="codeline" data-linenumber="79"><td class="num" id="LN79">79</td><td class="line"> EomPoint vertices[4] = { {0, 0}, {1, 0}, {1, 1}, {0, 1} };</td></tr>
+<tr class="codeline" data-linenumber="80"><td class="num" id="LN80">80</td><td class="line"> <span class='keyword'>double</span> r_det;</td></tr>
+<tr class="codeline" data-linenumber="81"><td class="num" id="LN81">81</td><td class="line"> <span class='keyword'>int</span> inverted [6];</td></tr>
+<tr class="codeline" data-linenumber="82"><td class="num" id="LN82">82</td><td class="line"> EomPoint dest;</td></tr>
+<tr class="codeline" data-linenumber="83"><td class="num" id="LN83">83</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="84"><td class="num" id="LN84">84</td><td class="line"> <span class='keyword'>int</span> src_width;</td></tr>
+<tr class="codeline" data-linenumber="85"><td class="num" id="LN85">85</td><td class="line"> <span class='keyword'>int</span> src_height;</td></tr>
+<tr class="codeline" data-linenumber="86"><td class="num" id="LN86">86</td><td class="line"> <span class='keyword'>int</span> src_rowstride;</td></tr>
+<tr class="codeline" data-linenumber="87"><td class="num" id="LN87">87</td><td class="line"> <span class='keyword'>int</span> src_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="88"><td class="num" id="LN88">88</td><td class="line"> guchar *src_buffer;</td></tr>
+<tr class="codeline" data-linenumber="89"><td class="num" id="LN89">89</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="90"><td class="num" id="LN90">90</td><td class="line"> GdkPixbuf *dest_pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="91"><td class="num" id="LN91">91</td><td class="line"> <span class='keyword'>int</span> dest_width;</td></tr>
+<tr class="codeline" data-linenumber="92"><td class="num" id="LN92">92</td><td class="line"> <span class='keyword'>int</span> dest_height;</td></tr>
+<tr class="codeline" data-linenumber="93"><td class="num" id="LN93">93</td><td class="line"> <span class='keyword'>int</span> dest_rowstride;</td></tr>
+<tr class="codeline" data-linenumber="94"><td class="num" id="LN94">94</td><td class="line"> <span class='keyword'>int</span> dest_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="95"><td class="num" id="LN95">95</td><td class="line"> guchar *dest_buffer;</td></tr>
+<tr class="codeline" data-linenumber="96"><td class="num" id="LN96">96</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="97"><td class="num" id="LN97">97</td><td class="line"> guchar *src_pos;</td></tr>
+<tr class="codeline" data-linenumber="98"><td class="num" id="LN98">98</td><td class="line"> guchar *dest_pos;</td></tr>
+<tr class="codeline" data-linenumber="99"><td class="num" id="LN99">99</td><td class="line"> <span class='keyword'>int</span> dx, dy, sx, sy;</td></tr>
+<tr class="codeline" data-linenumber="100"><td class="num" id="LN100">100</td><td class="line"> <span class='keyword'>int</span> i, x, y;</td></tr>
+<tr class="codeline" data-linenumber="101"><td class="num" id="LN101">101</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="102"><td class="num" id="LN102">102</td><td class="line"> <span class='keyword'>int</span> progress_delta;</td></tr>
+<tr class="codeline" data-linenumber="103"><td class="num" id="LN103">103</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="104"><td class="num" id="LN104">104</td><td class="line"> <span class='macro'>g_return_val_if_fail (pixbuf != NULL, NULL)<span class='macro_popup'>do { if ((pixbuf != ((void*)0))) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "pixbuf != NULL"); return<br> (((void*)0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="105"><td class="num" id="LN105">105</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="106"><td class="num" id="LN106">106</td><td class="line"> <span class='macro'>g_object_ref (pixbuf)<span class='macro_popup'>((__typeof__ (pixbuf)) (g_object_ref) (pixbuf))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="107"><td class="num" id="LN107">107</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="108"><td class="num" id="LN108">108</td><td class="line"> src_width = gdk_pixbuf_get_width (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="109"><td class="num" id="LN109">109</td><td class="line"> src_height = gdk_pixbuf_get_height (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="110"><td class="num" id="LN110">110</td><td class="line"> src_rowstride = gdk_pixbuf_get_rowstride (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="111"><td class="num" id="LN111">111</td><td class="line"> src_n_channels = gdk_pixbuf_get_n_channels (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="112"><td class="num" id="LN112">112</td><td class="line"> src_buffer = gdk_pixbuf_get_pixels (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="113"><td class="num" id="LN113">113</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="114"><td class="num" id="LN114">114</td><td class="line"> <span class='comment'>/* find out the dimension of the destination pixbuf */</span></td></tr>
+<tr class="codeline" data-linenumber="115"><td class="num" id="LN115">115</td><td class="line"> dest_top_left.x = 100000;</td></tr>
+<tr class="codeline" data-linenumber="116"><td class="num" id="LN116">116</td><td class="line"> dest_top_left.y = 100000;</td></tr>
+<tr class="codeline" data-linenumber="117"><td class="num" id="LN117">117</td><td class="line"> dest_bottom_right.x = -100000;</td></tr>
+<tr class="codeline" data-linenumber="118"><td class="num" id="LN118">118</td><td class="line"> dest_bottom_right.y = -100000;</td></tr>
+<tr class="codeline" data-linenumber="119"><td class="num" id="LN119">119</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="120"><td class="num" id="LN120">120</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; 4; i++) {</td></tr>
+<tr class="codeline" data-linenumber="121"><td class="num" id="LN121">121</td><td class="line"> dest.x = vertices[i].x * (src_width - 1);</td></tr>
+<tr class="codeline" data-linenumber="122"><td class="num" id="LN122">122</td><td class="line"> dest.y = vertices[i].y * (src_height -1);</td></tr>
+<tr class="codeline" data-linenumber="123"><td class="num" id="LN123">123</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="124"><td class="num" id="LN124">124</td><td class="line"> cairo_matrix_transform_point (&amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="125"><td class="num" id="LN125">125</td><td class="line"> &amp;dest.x, &amp;dest.y);</td></tr>
+<tr class="codeline" data-linenumber="126"><td class="num" id="LN126">126</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="127"><td class="num" id="LN127">127</td><td class="line"> dest_top_left.x = <span class='macro'>MIN (dest_top_left.x, dest.x)<span class='macro_popup'>(((dest_top_left.x) &lt; (dest.x)) ? (dest_top_left.x) : (dest<br>.x))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="128"><td class="num" id="LN128">128</td><td class="line"> dest_top_left.y = <span class='macro'>MIN (dest_top_left.y, dest.y)<span class='macro_popup'>(((dest_top_left.y) &lt; (dest.y)) ? (dest_top_left.y) : (dest<br>.y))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="129"><td class="num" id="LN129">129</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="130"><td class="num" id="LN130">130</td><td class="line"> dest_bottom_right.x = <span class='macro'>MAX (dest_bottom_right.x, dest.x)<span class='macro_popup'>(((dest_bottom_right.x) &gt; (dest.x)) ? (dest_bottom_right.x<br>) : (dest.x))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="131"><td class="num" id="LN131">131</td><td class="line"> dest_bottom_right.y = <span class='macro'>MAX (dest_bottom_right.y, dest.y)<span class='macro_popup'>(((dest_bottom_right.y) &gt; (dest.y)) ? (dest_bottom_right.y<br>) : (dest.y))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="132"><td class="num" id="LN132">132</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="133"><td class="num" id="LN133">133</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="134"><td class="num" id="LN134">134</td><td class="line"> <span class='comment'>/* create the resulting pixbuf */</span></td></tr>
+<tr class="codeline" data-linenumber="135"><td class="num" id="LN135">135</td><td class="line"> dest_width = abs ((<span class='keyword'>int</span>) (dest_bottom_right.x - dest_top_left.x + 1));</td></tr>
+<tr class="codeline" data-linenumber="136"><td class="num" id="LN136">136</td><td class="line"> dest_height = abs ((<span class='keyword'>int</span>) (dest_bottom_right.y - dest_top_left.y + 1));</td></tr>
+<tr class="codeline" data-linenumber="137"><td class="num" id="LN137">137</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="138"><td class="num" id="LN138">138</td><td class="line"> dest_pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB,</td></tr>
+<tr class="codeline" data-linenumber="139"><td class="num" id="LN139">139</td><td class="line"> gdk_pixbuf_get_has_alpha (pixbuf),</td></tr>
+<tr class="codeline" data-linenumber="140"><td class="num" id="LN140">140</td><td class="line"> gdk_pixbuf_get_bits_per_sample (pixbuf),</td></tr>
+<tr class="codeline" data-linenumber="141"><td class="num" id="LN141">141</td><td class="line"> dest_width,</td></tr>
+<tr class="codeline" data-linenumber="142"><td class="num" id="LN142">142</td><td class="line"> dest_height);</td></tr>
+<tr class="codeline" data-linenumber="143"><td class="num" id="LN143">143</td><td class="line"> dest_rowstride = gdk_pixbuf_get_rowstride (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="144"><td class="num" id="LN144">144</td><td class="line"> dest_n_channels = gdk_pixbuf_get_n_channels (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="145"><td class="num" id="LN145">145</td><td class="line"> dest_buffer = gdk_pixbuf_get_pixels (dest_pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="146"><td class="num" id="LN146">146</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="147"><td class="num" id="LN147">147</td><td class="line"> <span class='comment'>/* invert the matrix so that we can compute the source pixel</span></td></tr>
+<tr class="codeline" data-linenumber="148"><td class="num" id="LN148">148</td><td class="line"> <span class='comment'>from the target pixel and convert the values to integer</span></td></tr>
+<tr class="codeline" data-linenumber="149"><td class="num" id="LN149">149</td><td class="line"> <span class='comment'>ones (faster!) FIXME: Maybe we can do some more</span></td></tr>
+<tr class="codeline" data-linenumber="150"><td class="num" id="LN150">150</td><td class="line"> <span class='comment'>improvements by using special mmx/3dnow features if</span></td></tr>
+<tr class="codeline" data-linenumber="151"><td class="num" id="LN151">151</td><td class="line"> <span class='comment'>available.</span></td></tr>
+<tr class="codeline" data-linenumber="152"><td class="num" id="LN152">152</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="153"><td class="num" id="LN153">153</td><td class="line"> r_det = 1.0 / (trans-&gt;priv-&gt;affine.xx * trans-&gt;priv-&gt;affine.yy - trans-&gt;priv-&gt;affine.yx * trans-&gt;priv-&gt;affine.xy);</td></tr>
+<tr class="codeline" data-linenumber="154"><td class="num" id="LN154">154</td><td class="line"> inverted[0] = trans-&gt;priv-&gt;affine.yy * r_det;</td></tr>
+<tr class="codeline" data-linenumber="155"><td class="num" id="LN155">155</td><td class="line"> inverted[1] = -trans-&gt;priv-&gt;affine.yx * r_det;</td></tr>
+<tr class="codeline" data-linenumber="156"><td class="num" id="LN156">156</td><td class="line"> inverted[2] = -trans-&gt;priv-&gt;affine.xy * r_det;</td></tr>
+<tr class="codeline" data-linenumber="157"><td class="num" id="LN157">157</td><td class="line"> inverted[3] = trans-&gt;priv-&gt;affine.xx * r_det;</td></tr>
+<tr class="codeline" data-linenumber="158"><td class="num" id="LN158">158</td><td class="line"> inverted[4] = -trans-&gt;priv-&gt;affine.x0 * inverted[0] - trans-&gt;priv-&gt;affine.y0 * inverted[2];</td></tr>
+<tr class="codeline" data-linenumber="159"><td class="num" id="LN159">159</td><td class="line"> inverted[5] = -trans-&gt;priv-&gt;affine.x0 * inverted[1] - trans-&gt;priv-&gt;affine.y0 * inverted[3];</td></tr>
+<tr class="codeline" data-linenumber="160"><td class="num" id="LN160">160</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="161"><td class="num" id="LN161">161</td><td class="line"> progress_delta = <span class='macro'>MAX (1, dest_height / EOM_TRANSFORM_N_PROG_UPDATES)<span class='macro_popup'>(((1) &gt; (dest_height / 20)) ? (1) : (dest_height / 20))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="162"><td class="num" id="LN162">162</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="163"><td class="num" id="LN163">163</td><td class="line"> <span class='comment'>/*</span></td></tr>
+<tr class="codeline" data-linenumber="164"><td class="num" id="LN164">164</td><td class="line"> <span class='comment'>* for every destination pixel (dx,dy) compute the source pixel (sx, sy)</span></td></tr>
+<tr class="codeline" data-linenumber="165"><td class="num" id="LN165">165</td><td class="line"> <span class='comment'>* and copy the color values</span></td></tr>
+<tr class="codeline" data-linenumber="166"><td class="num" id="LN166">166</td><td class="line"> <span class='comment'>*/</span></td></tr>
+<tr class="codeline" data-linenumber="167"><td class="num" id="LN167">167</td><td class="line"> <span class='keyword'>for</span> (y = 0, dy = dest_top_left.y; y &lt; dest_height; y++, dy++) {</td></tr>
+<tr class="codeline" data-linenumber="168"><td class="num" id="LN168">168</td><td class="line"> <span class='keyword'>for</span> (x = 0, dx = dest_top_left.x; x &lt; dest_width; x++, dx++) {</td></tr>
+<tr class="codeline" data-linenumber="169"><td class="num" id="LN169">169</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="170"><td class="num" id="LN170">170</td><td class="line"> sx = dx * inverted[0] + dy * inverted[2] + inverted[4];</td></tr>
+<tr class="codeline" data-linenumber="171"><td class="num" id="LN171">171</td><td class="line"> sy = dx * inverted[1] + dy * inverted[3] + inverted[5];</td></tr>
+<tr class="codeline" data-linenumber="172"><td class="num" id="LN172">172</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="173"><td class="num" id="LN173">173</td><td class="line"> <span class='keyword'>if</span> (sx &gt;= 0 &amp;&amp; sx &lt; src_width &amp;&amp; sy &gt;= 0 &amp;&amp; sy &lt; src_height) {</td></tr>
+<tr class="codeline" data-linenumber="174"><td class="num" id="LN174">174</td><td class="line"> src_pos = src_buffer + sy * src_rowstride + sx * src_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="175"><td class="num" id="LN175">175</td><td class="line"> dest_pos = dest_buffer + y * dest_rowstride + x * dest_n_channels;</td></tr>
+<tr class="codeline" data-linenumber="176"><td class="num" id="LN176">176</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="177"><td class="num" id="LN177">177</td><td class="line"> <span class='keyword'>for</span> (i = 0; i &lt; src_n_channels; i++) {</td></tr>
+<tr class="codeline" data-linenumber="178"><td class="num" id="LN178">178</td><td class="line"> dest_pos[i] = src_pos[i];</td></tr>
+<tr class="codeline" data-linenumber="179"><td class="num" id="LN179">179</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="180"><td class="num" id="LN180">180</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="181"><td class="num" id="LN181">181</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="182"><td class="num" id="LN182">182</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="183"><td class="num" id="LN183">183</td><td class="line"> <span class='keyword'>if</span> (job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span> &amp;&amp; y % progress_delta == 0) {</td></tr>
+<tr class="codeline" data-linenumber="184"><td class="num" id="LN184">184</td><td class="line"> gfloat progress;</td></tr>
+<tr class="codeline" data-linenumber="185"><td class="num" id="LN185">185</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="186"><td class="num" id="LN186">186</td><td class="line"> progress = (gfloat) (y + 1.0) / (gfloat) dest_height;</td></tr>
+<tr class="codeline" data-linenumber="187"><td class="num" id="LN187">187</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="188"><td class="num" id="LN188">188</td><td class="line"> eom_job_set_progress (job, progress);</td></tr>
+<tr class="codeline" data-linenumber="189"><td class="num" id="LN189">189</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="190"><td class="num" id="LN190">190</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="191"><td class="num" id="LN191">191</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="192"><td class="num" id="LN192">192</td><td class="line"> g_object_unref (pixbuf);</td></tr>
+<tr class="codeline" data-linenumber="193"><td class="num" id="LN193">193</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="194"><td class="num" id="LN194">194</td><td class="line"> <span class='keyword'>if</span> (job != <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>) {</td></tr>
+<tr class="codeline" data-linenumber="195"><td class="num" id="LN195">195</td><td class="line"> eom_job_set_progress (job, 1.0);</td></tr>
+<tr class="codeline" data-linenumber="196"><td class="num" id="LN196">196</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="197"><td class="num" id="LN197">197</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="198"><td class="num" id="LN198">198</td><td class="line"> <span class='keyword'>return</span> dest_pixbuf;</td></tr>
+<tr class="codeline" data-linenumber="199"><td class="num" id="LN199">199</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="200"><td class="num" id="LN200">200</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="201"><td class="num" id="LN201">201</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="202"><td class="num" id="LN202">202</td><td class="line">_eom_cairo_matrix_copy (<span class='keyword'>const</span> cairo_matrix_t *src, cairo_matrix_t *dest)</td></tr>
+<tr class="codeline" data-linenumber="203"><td class="num" id="LN203">203</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="204"><td class="num" id="LN204">204</td><td class="line"> cairo_matrix_init (dest, src-&gt;xx, src-&gt;yx, src-&gt;xy, src-&gt;yy, src-&gt;x0, src-&gt;y0);</td></tr>
+<tr class="codeline" data-linenumber="205"><td class="num" id="LN205">205</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="206"><td class="num" id="LN206">206</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="207"><td class="num" id="LN207">207</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span> 1e-6</span></td></tr>
+<tr class="codeline" data-linenumber="208"><td class="num" id="LN208">208</td><td class="line"><span class='directive'>#define <span class='macro'>DOUBLE_EQUAL(a,b)<span class='macro_popup'>(fabs (a - b) &lt; 1e-6)</span></span> (fabs (a - b) &lt; <span class='macro'>DOUBLE_EQUAL_MAX_DIFF<span class='macro_popup'>1e-6</span></span>)</span></td></tr>
+<tr class="codeline" data-linenumber="209"><td class="num" id="LN209">209</td><td class="line"><span class='comment'>/* art_affine_equal modified to work with cairo_matrix_t */</span></td></tr>
+<tr class="codeline" data-linenumber="210"><td class="num" id="LN210">210</td><td class="line"><span class='keyword'>static</span> gboolean</td></tr>
+<tr class="codeline" data-linenumber="211"><td class="num" id="LN211">211</td><td class="line">_eom_cairo_matrix_equal (<span class='keyword'>const</span> cairo_matrix_t *a, <span class='keyword'>const</span> cairo_matrix_t *b)</td></tr>
+<tr class="codeline" data-linenumber="212"><td class="num" id="LN212">212</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="213"><td class="num" id="LN213">213</td><td class="line"> <span class='keyword'>return</span> (<span class='macro'>DOUBLE_EQUAL (a-&gt;xx, b-&gt;xx)<span class='macro_popup'>(fabs (a-&gt;xx - b-&gt;xx) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;yx, b-&gt;yx)<span class='macro_popup'>(fabs (a-&gt;yx - b-&gt;yx) &lt; 1e-6)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="214"><td class="num" id="LN214">214</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (a-&gt;xy, b-&gt;xy)<span class='macro_popup'>(fabs (a-&gt;xy - b-&gt;xy) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;yy, b-&gt;yy)<span class='macro_popup'>(fabs (a-&gt;yy - b-&gt;yy) &lt; 1e-6)</span></span> &amp;&amp;</td></tr>
+<tr class="codeline" data-linenumber="215"><td class="num" id="LN215">215</td><td class="line"> <span class='macro'>DOUBLE_EQUAL (a-&gt;x0, b-&gt;x0)<span class='macro_popup'>(fabs (a-&gt;x0 - b-&gt;x0) &lt; 1e-6)</span></span> &amp;&amp; <span class='macro'>DOUBLE_EQUAL (a-&gt;y0, b-&gt;y0)<span class='macro_popup'>(fabs (a-&gt;y0 - b-&gt;y0) &lt; 1e-6)</span></span> );</td></tr>
+<tr class="codeline" data-linenumber="216"><td class="num" id="LN216">216</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="217"><td class="num" id="LN217">217</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="218"><td class="num" id="LN218">218</td><td class="line"><span class='comment'>/* art_affine_flip modified to work with cairo_matrix_t */</span></td></tr>
+<tr class="codeline" data-linenumber="219"><td class="num" id="LN219">219</td><td class="line"><span class='keyword'>static</span> <span class='keyword'>void</span></td></tr>
+<tr class="codeline" data-linenumber="220"><td class="num" id="LN220">220</td><td class="line">_eom_cairo_matrix_flip (cairo_matrix_t *dst, <span class='keyword'>const</span> cairo_matrix_t *src, gboolean horiz, gboolean vert)</td></tr>
+<tr class="codeline" data-linenumber="221"><td class="num" id="LN221">221</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="222"><td class="num" id="LN222">222</td><td class="line"> dst-&gt;xx = horiz ? -src-&gt;xx : src-&gt;xx;</td></tr>
+<tr class="codeline" data-linenumber="223"><td class="num" id="LN223">223</td><td class="line"> dst-&gt;yx = horiz ? -src-&gt;yx : src-&gt;yx;</td></tr>
+<tr class="codeline" data-linenumber="224"><td class="num" id="LN224">224</td><td class="line"> dst-&gt;xy = vert ? -src-&gt;xy : src-&gt;xy;</td></tr>
+<tr class="codeline" data-linenumber="225"><td class="num" id="LN225">225</td><td class="line"> dst-&gt;yy = vert ? -src-&gt;yy : src-&gt;yy;</td></tr>
+<tr class="codeline" data-linenumber="226"><td class="num" id="LN226">226</td><td class="line"> dst-&gt;x0 = horiz ? -src-&gt;x0 : src-&gt;x0;</td></tr>
+<tr class="codeline" data-linenumber="227"><td class="num" id="LN227">227</td><td class="line"> dst-&gt;y0 = vert ? -src-&gt;y0 : src-&gt;y0;</td></tr>
+<tr class="codeline" data-linenumber="228"><td class="num" id="LN228">228</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="229"><td class="num" id="LN229">229</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="230"><td class="num" id="LN230">230</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="231"><td class="num" id="LN231">231</td><td class="line"> <span class='comment'>* eom_transform_reverse:</span></td></tr>
+<tr class="codeline" data-linenumber="232"><td class="num" id="LN232">232</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="233"><td class="num" id="LN233">233</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="234"><td class="num" id="LN234">234</td><td class="line"> <span class='comment'>* Creates the reverse transformation of @trans</span></td></tr>
+<tr class="codeline" data-linenumber="235"><td class="num" id="LN235">235</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="236"><td class="num" id="LN236">236</td><td class="line"> <span class='comment'>* Returns: (transfer full): a new transformation</span></td></tr>
+<tr class="codeline" data-linenumber="237"><td class="num" id="LN237">237</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="238"><td class="num" id="LN238">238</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="239"><td class="num" id="LN239">239</td><td class="line">eom_transform_reverse (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="240"><td class="num" id="LN240">240</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="241"><td class="num" id="LN241">241</td><td class="line"> EomTransform *reverse;</td></tr>
+<tr class="codeline" data-linenumber="242"><td class="num" id="LN242">242</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="243"><td class="num" id="LN243">243</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="244"><td class="num" id="LN244">244</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="245"><td class="num" id="LN245">245</td><td class="line"> reverse = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="246"><td class="num" id="LN246">246</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="247"><td class="num" id="LN247">247</td><td class="line"> _eom_cairo_matrix_copy (&amp;trans-&gt;priv-&gt;affine, &amp;reverse-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="248"><td class="num" id="LN248">248</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="249"><td class="num" id="LN249">249</td><td class="line"> <span class='macro'>g_return_val_if_fail (cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine) == CAIRO_STATUS_SUCCESS, reverse)<span class='macro_popup'>do { if ((cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine<br>) == CAIRO_STATUS_SUCCESS)) { } else { g_return_if_fail_warning<br> ("EOM", ((const char*) (__func__)), "cairo_matrix_invert (&amp;reverse-&gt;priv-&gt;affine) == CAIRO_STATUS_SUCCESS"<br>); return (reverse); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="250"><td class="num" id="LN250">250</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="251"><td class="num" id="LN251">251</td><td class="line"> <span class='keyword'>return</span> reverse;</td></tr>
+<tr class="codeline" data-linenumber="252"><td class="num" id="LN252">252</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="253"><td class="num" id="LN253">253</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="254"><td class="num" id="LN254">254</td><td class="line"><span class='comment'>/**</span></td></tr>
+<tr class="codeline" data-linenumber="255"><td class="num" id="LN255">255</td><td class="line"> <span class='comment'>* eom_transform_compose:</span></td></tr>
+<tr class="codeline" data-linenumber="256"><td class="num" id="LN256">256</td><td class="line"> <span class='comment'>* @trans: a #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="257"><td class="num" id="LN257">257</td><td class="line"> <span class='comment'>* @compose: another #EomTransform</span></td></tr>
+<tr class="codeline" data-linenumber="258"><td class="num" id="LN258">258</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="259"><td class="num" id="LN259">259</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="260"><td class="num" id="LN260">260</td><td class="line"> <span class='comment'>*</span></td></tr>
+<tr class="codeline" data-linenumber="261"><td class="num" id="LN261">261</td><td class="line"> <span class='comment'>* Returns: (transfer full): a new transform</span></td></tr>
+<tr class="codeline" data-linenumber="262"><td class="num" id="LN262">262</td><td class="line"> <span class='comment'>**/</span></td></tr>
+<tr class="codeline" data-linenumber="263"><td class="num" id="LN263">263</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="264"><td class="num" id="LN264">264</td><td class="line">eom_transform_compose (EomTransform *trans, EomTransform *compose)</td></tr>
+<tr class="codeline" data-linenumber="265"><td class="num" id="LN265">265</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="266"><td class="num" id="LN266">266</td><td class="line"> EomTransform *composition;</td></tr>
+<tr class="codeline" data-linenumber="267"><td class="num" id="LN267">267</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="268"><td class="num" id="LN268">268</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="269"><td class="num" id="LN269">269</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (compose), NULL)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((compose)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (compose)"); return (((void*)0)); } } while<br> (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="270"><td class="num" id="LN270">270</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="271"><td class="num" id="LN271">271</td><td class="line"> composition = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="272"><td class="num" id="LN272">272</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="273"><td class="num" id="LN273">273</td><td class="line"> cairo_matrix_multiply (&amp;composition-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="274"><td class="num" id="LN274">274</td><td class="line"> &amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="275"><td class="num" id="LN275">275</td><td class="line"> &amp;compose-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="276"><td class="num" id="LN276">276</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="277"><td class="num" id="LN277">277</td><td class="line"> <span class='keyword'>return</span> composition;</td></tr>
+<tr class="codeline" data-linenumber="278"><td class="num" id="LN278">278</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="279"><td class="num" id="LN279">279</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="280"><td class="num" id="LN280">280</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="281"><td class="num" id="LN281">281</td><td class="line">eom_transform_is_identity (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="282"><td class="num" id="LN282">282</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="283"><td class="num" id="LN283">283</td><td class="line"> <span class='keyword'>static</span> <span class='keyword'>const</span> cairo_matrix_t identity = { 1, 0, 0, 1, 0, 0 };</td></tr>
+<tr class="codeline" data-linenumber="284"><td class="num" id="LN284">284</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="285"><td class="num" id="LN285">285</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="286"><td class="num" id="LN286">286</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="287"><td class="num" id="LN287">287</td><td class="line"> <span class='keyword'>return</span> _eom_cairo_matrix_equal (&amp;identity, &amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="288"><td class="num" id="LN288">288</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="289"><td class="num" id="LN289">289</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="290"><td class="num" id="LN290">290</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="291"><td class="num" id="LN291">291</td><td class="line">eom_transform_identity_new (<span class='keyword'>void</span>)</td></tr>
+<tr class="codeline" data-linenumber="292"><td class="num" id="LN292">292</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="293"><td class="num" id="LN293">293</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="294"><td class="num" id="LN294">294</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="295"><td class="num" id="LN295">295</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="296"><td class="num" id="LN296">296</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="297"><td class="num" id="LN297">297</td><td class="line"> cairo_matrix_init_identity (&amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="298"><td class="num" id="LN298">298</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="299"><td class="num" id="LN299">299</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="300"><td class="num" id="LN300">300</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="301"><td class="num" id="LN301">301</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="302"><td class="num" id="LN302">302</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="303"><td class="num" id="LN303">303</td><td class="line">eom_transform_rotate_new (<span class='keyword'>int</span> degree)</td></tr>
+<tr class="codeline" data-linenumber="304"><td class="num" id="LN304">304</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="305"><td class="num" id="LN305">305</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="306"><td class="num" id="LN306">306</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="307"><td class="num" id="LN307">307</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="308"><td class="num" id="LN308">308</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="309"><td class="num" id="LN309">309</td><td class="line"> cairo_matrix_init_rotate (&amp;trans-&gt;priv-&gt;affine, <span class='macro'>EOM_DEG_TO_RAD(degree)<span class='macro_popup'>((degree) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="310"><td class="num" id="LN310">310</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="311"><td class="num" id="LN311">311</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="312"><td class="num" id="LN312">312</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="313"><td class="num" id="LN313">313</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="314"><td class="num" id="LN314">314</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="315"><td class="num" id="LN315">315</td><td class="line">eom_transform_flip_new (EomTransformType type)</td></tr>
+<tr class="codeline" data-linenumber="316"><td class="num" id="LN316">316</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="317"><td class="num" id="LN317">317</td><td class="line"> EomTransform *trans;</td></tr>
+<tr class="codeline" data-linenumber="318"><td class="num" id="LN318">318</td><td class="line"> gboolean horiz, vert;</td></tr>
+<tr class="codeline" data-linenumber="319"><td class="num" id="LN319">319</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="320"><td class="num" id="LN320">320</td><td class="line"> trans = <span class='macro'>EOM_TRANSFORM (g_object_new (EOM_TYPE_TRANSFORM, NULL))<span class='macro_popup'>((((EomTransform*) (void *) g_type_check_instance_cast ((GTypeInstance<br>*) ((g_object_new ((eom_transform_get_type ()), ((void*)0))))<br>, ((eom_transform_get_type ()))))))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="321"><td class="num" id="LN321">321</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="322"><td class="num" id="LN322">322</td><td class="line"> cairo_matrix_init_identity (&amp;trans-&gt;priv-&gt;affine);</td></tr>
+<tr class="codeline" data-linenumber="323"><td class="num" id="LN323">323</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="324"><td class="num" id="LN324">324</td><td class="line"> horiz = (type == EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="325"><td class="num" id="LN325">325</td><td class="line"> vert = (type == EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="326"><td class="num" id="LN326">326</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="327"><td class="num" id="LN327">327</td><td class="line"> _eom_cairo_matrix_flip (&amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="328"><td class="num" id="LN328">328</td><td class="line"> &amp;trans-&gt;priv-&gt;affine,</td></tr>
+<tr class="codeline" data-linenumber="329"><td class="num" id="LN329">329</td><td class="line"> horiz, vert);</td></tr>
+<tr class="codeline" data-linenumber="330"><td class="num" id="LN330">330</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="331"><td class="num" id="LN331">331</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="332"><td class="num" id="LN332">332</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="333"><td class="num" id="LN333">333</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="334"><td class="num" id="LN334">334</td><td class="line">EomTransform*</td></tr>
+<tr class="codeline" data-linenumber="335"><td class="num" id="LN335">335</td><td class="line">eom_transform_new (EomTransformType type)</td></tr>
+<tr class="codeline" data-linenumber="336"><td class="num" id="LN336">336</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="337"><td class="num" id="LN337">337</td><td class="line"> EomTransform *trans = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="338"><td class="num" id="LN338">338</td><td class="line"> EomTransform *temp1 = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>, *temp2 = <span class='macro'>NULL<span class='macro_popup'>((void*)0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="339"><td class="num" id="LN339">339</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="340"><td class="num" id="LN340">340</td><td class="line"> <span class='keyword'>switch</span> (type) {</td></tr>
+<tr class="codeline" data-linenumber="341"><td class="num" id="LN341">341</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_NONE:</td></tr>
+<tr class="codeline" data-linenumber="342"><td class="num" id="LN342">342</td><td class="line"> trans = eom_transform_identity_new ();</td></tr>
+<tr class="codeline" data-linenumber="343"><td class="num" id="LN343">343</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="344"><td class="num" id="LN344">344</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_HORIZONTAL:</td></tr>
+<tr class="codeline" data-linenumber="345"><td class="num" id="LN345">345</td><td class="line"> trans = eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="346"><td class="num" id="LN346">346</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="347"><td class="num" id="LN347">347</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_180:</td></tr>
+<tr class="codeline" data-linenumber="348"><td class="num" id="LN348">348</td><td class="line"> trans = eom_transform_rotate_new (180);</td></tr>
+<tr class="codeline" data-linenumber="349"><td class="num" id="LN349">349</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="350"><td class="num" id="LN350">350</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_FLIP_VERTICAL:</td></tr>
+<tr class="codeline" data-linenumber="351"><td class="num" id="LN351">351</td><td class="line"> trans = eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="352"><td class="num" id="LN352">352</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="353"><td class="num" id="LN353">353</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSPOSE:</td></tr>
+<tr class="codeline" data-linenumber="354"><td class="num" id="LN354">354</td><td class="line"> temp1 = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="355"><td class="num" id="LN355">355</td><td class="line"> temp2 = eom_transform_flip_new (EOM_TRANSFORM_FLIP_HORIZONTAL);</td></tr>
+<tr class="codeline" data-linenumber="356"><td class="num" id="LN356">356</td><td class="line"> trans = eom_transform_compose (temp1, temp2);</td></tr>
+<tr class="codeline" data-linenumber="357"><td class="num" id="LN357">357</td><td class="line"> g_object_unref (temp1);</td></tr>
+<tr class="codeline" data-linenumber="358"><td class="num" id="LN358">358</td><td class="line"> g_object_unref (temp2);</td></tr>
+<tr class="codeline" data-linenumber="359"><td class="num" id="LN359">359</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="360"><td class="num" id="LN360">360</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_90:</td></tr>
+<tr class="codeline" data-linenumber="361"><td class="num" id="LN361">361</td><td class="line"> trans = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="362"><td class="num" id="LN362">362</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="363"><td class="num" id="LN363">363</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_TRANSVERSE:</td></tr>
+<tr class="codeline" data-linenumber="364"><td class="num" id="LN364">364</td><td class="line"> temp1 = eom_transform_rotate_new (90);</td></tr>
+<tr class="codeline" data-linenumber="365"><td class="num" id="LN365">365</td><td class="line"> temp2 = eom_transform_flip_new (EOM_TRANSFORM_FLIP_VERTICAL);</td></tr>
+<tr class="codeline" data-linenumber="366"><td class="num" id="LN366">366</td><td class="line"> trans = eom_transform_compose (temp1, temp2);</td></tr>
+<tr class="codeline" data-linenumber="367"><td class="num" id="LN367">367</td><td class="line"> g_object_unref (temp1);</td></tr>
+<tr class="codeline" data-linenumber="368"><td class="num" id="LN368">368</td><td class="line"> g_object_unref (temp2);</td></tr>
+<tr class="codeline" data-linenumber="369"><td class="num" id="LN369">369</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="370"><td class="num" id="LN370">370</td><td class="line"> <span class='keyword'>case</span> EOM_TRANSFORM_ROT_270:</td></tr>
+<tr class="codeline" data-linenumber="371"><td class="num" id="LN371">371</td><td class="line"> trans = eom_transform_rotate_new (270);</td></tr>
+<tr class="codeline" data-linenumber="372"><td class="num" id="LN372">372</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="373"><td class="num" id="LN373">373</td><td class="line"> <span class='keyword'>default</span>:</td></tr>
+<tr class="codeline" data-linenumber="374"><td class="num" id="LN374">374</td><td class="line"> trans = eom_transform_identity_new ();</td></tr>
+<tr class="codeline" data-linenumber="375"><td class="num" id="LN375">375</td><td class="line"> <span class='keyword'>break</span>;</td></tr>
+<tr class="codeline" data-linenumber="376"><td class="num" id="LN376">376</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="377"><td class="num" id="LN377">377</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="378"><td class="num" id="LN378">378</td><td class="line"> <span class='keyword'>return</span> trans;</td></tr>
+<tr class="codeline" data-linenumber="379"><td class="num" id="LN379">379</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="380"><td class="num" id="LN380">380</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="381"><td class="num" id="LN381">381</td><td class="line">EomTransformType</td></tr>
+<tr class="codeline" data-linenumber="382"><td class="num" id="LN382">382</td><td class="line">eom_transform_get_transform_type (EomTransform *trans)</td></tr>
+<tr class="codeline" data-linenumber="383"><td class="num" id="LN383">383</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="384"><td class="num" id="LN384">384</td><td class="line"> cairo_matrix_t affine, a1, a2;</td></tr>
+<tr class="codeline" data-linenumber="385"><td class="num" id="LN385">385</td><td class="line"> EomTransformPrivate *priv;</td></tr>
+<tr class="codeline" data-linenumber="386"><td class="num" id="LN386">386</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="387"><td class="num" id="LN387">387</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), EOM_TRANSFORM_NONE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return (EOM_TRANSFORM_NONE);<br> } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="388"><td class="num" id="LN388">388</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="389"><td class="num" id="LN389">389</td><td class="line"> priv = trans-&gt;priv;</td></tr>
+<tr class="codeline" data-linenumber="390"><td class="num" id="LN390">390</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="391"><td class="num" id="LN391">391</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(90)<span class='macro_popup'>((90) * (3.1415926535897932384626433832795028841971693993751/<br>180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="392"><td class="num" id="LN392">392</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="393"><td class="num" id="LN393">393</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_90;</td></tr>
+<tr class="codeline" data-linenumber="394"><td class="num" id="LN394">394</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="395"><td class="num" id="LN395">395</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="396"><td class="num" id="LN396">396</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(180)<span class='macro_popup'>((180) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="397"><td class="num" id="LN397">397</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="398"><td class="num" id="LN398">398</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_180;</td></tr>
+<tr class="codeline" data-linenumber="399"><td class="num" id="LN399">399</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="400"><td class="num" id="LN400">400</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="401"><td class="num" id="LN401">401</td><td class="line"> cairo_matrix_init_rotate (&amp;affine, <span class='macro'>EOM_DEG_TO_RAD(270)<span class='macro_popup'>((270) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="402"><td class="num" id="LN402">402</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="403"><td class="num" id="LN403">403</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_ROT_270;</td></tr>
+<tr class="codeline" data-linenumber="404"><td class="num" id="LN404">404</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="405"><td class="num" id="LN405">405</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="406"><td class="num" id="LN406">406</td><td class="line"> cairo_matrix_init_identity (&amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="407"><td class="num" id="LN407">407</td><td class="line"> _eom_cairo_matrix_flip (&amp;affine, &amp;affine, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="408"><td class="num" id="LN408">408</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="409"><td class="num" id="LN409">409</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_FLIP_HORIZONTAL;</td></tr>
+<tr class="codeline" data-linenumber="410"><td class="num" id="LN410">410</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="411"><td class="num" id="LN411">411</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="412"><td class="num" id="LN412">412</td><td class="line"> cairo_matrix_init_identity (&amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="413"><td class="num" id="LN413">413</td><td class="line"> _eom_cairo_matrix_flip (&amp;affine, &amp;affine, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="414"><td class="num" id="LN414">414</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="415"><td class="num" id="LN415">415</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_FLIP_VERTICAL;</td></tr>
+<tr class="codeline" data-linenumber="416"><td class="num" id="LN416">416</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="417"><td class="num" id="LN417">417</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="418"><td class="num" id="LN418">418</td><td class="line"> cairo_matrix_init_rotate (&amp;a1, <span class='macro'>EOM_DEG_TO_RAD(90)<span class='macro_popup'>((90) * (3.1415926535897932384626433832795028841971693993751/<br>180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="419"><td class="num" id="LN419">419</td><td class="line"> cairo_matrix_init_identity (&amp;a2);</td></tr>
+<tr class="codeline" data-linenumber="420"><td class="num" id="LN420">420</td><td class="line"> _eom_cairo_matrix_flip (&amp;a2, &amp;a2, <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>, <span class='macro'>FALSE<span class='macro_popup'>(0)</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="421"><td class="num" id="LN421">421</td><td class="line"> cairo_matrix_multiply(&amp;affine, &amp;a1, &amp;a2);</td></tr>
+<tr class="codeline" data-linenumber="422"><td class="num" id="LN422">422</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;affine, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="423"><td class="num" id="LN423">423</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_TRANSPOSE;</td></tr>
+<tr class="codeline" data-linenumber="424"><td class="num" id="LN424">424</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="425"><td class="num" id="LN425">425</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="426"><td class="num" id="LN426">426</td><td class="line"> <span class='comment'>/* A transversion is a 180° rotation followed by a transposition */</span></td></tr>
+<tr class="codeline" data-linenumber="427"><td class="num" id="LN427">427</td><td class="line"> <span class='comment'>/* Reuse the transposition from the previous step for this. */</span></td></tr>
+<tr class="codeline" data-linenumber="428"><td class="num" id="LN428">428</td><td class="line"> cairo_matrix_init_rotate (&amp;a1, <span class='macro'>EOM_DEG_TO_RAD(180)<span class='macro_popup'>((180) * (3.1415926535897932384626433832795028841971693993751<br>/180.0))</span></span>);</td></tr>
+<tr class="codeline" data-linenumber="429"><td class="num" id="LN429">429</td><td class="line"> cairo_matrix_multiply(&amp;a2, &amp;a1, &amp;affine);</td></tr>
+<tr class="codeline" data-linenumber="430"><td class="num" id="LN430">430</td><td class="line"> <span class='keyword'>if</span> (_eom_cairo_matrix_equal (&amp;a2, &amp;priv-&gt;affine)) {</td></tr>
+<tr class="codeline" data-linenumber="431"><td class="num" id="LN431">431</td><td class="line"> <span class='keyword'>return</span> <span class="mrange">EOM_TRANSFORM_TRANSVERSE</span>;</td></tr>
+<tr><td class="num"></td><td class="line"><div id="EndPath" class="msg msgEvent" style="margin-left:24ex">This statement is never executed</div></td></tr>
+<tr class="codeline" data-linenumber="432"><td class="num" id="LN432">432</td><td class="line"> }</td></tr>
+<tr class="codeline" data-linenumber="433"><td class="num" id="LN433">433</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="434"><td class="num" id="LN434">434</td><td class="line"> <span class='keyword'>return</span> EOM_TRANSFORM_NONE;</td></tr>
+<tr class="codeline" data-linenumber="435"><td class="num" id="LN435">435</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="436"><td class="num" id="LN436">436</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="437"><td class="num" id="LN437">437</td><td class="line">gboolean</td></tr>
+<tr class="codeline" data-linenumber="438"><td class="num" id="LN438">438</td><td class="line">eom_transform_get_affine (EomTransform *trans, cairo_matrix_t *affine)</td></tr>
+<tr class="codeline" data-linenumber="439"><td class="num" id="LN439">439</td><td class="line">{</td></tr>
+<tr class="codeline" data-linenumber="440"><td class="num" id="LN440">440</td><td class="line"> <span class='macro'>g_return_val_if_fail (EOM_IS_TRANSFORM (trans), FALSE)<span class='macro_popup'>do { if (((((__extension__ ({ GTypeInstance *__inst = (GTypeInstance<br>*) ((trans)); GType __t = ((eom_transform_get_type ())); gboolean<br> __r; if (!__inst) __r = (0); else if (__inst-&gt;g_class &amp;&amp;<br> __inst-&gt;g_class-&gt;g_type == __t) __r = (!(0)); else __r<br> = g_type_check_instance_is_a (__inst, __t); __r; })))))) { }<br> else { g_return_if_fail_warning ("EOM", ((const char*) (__func__<br>)), "EOM_IS_TRANSFORM (trans)"); return ((0)); } } while (0)</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="441"><td class="num" id="LN441">441</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="442"><td class="num" id="LN442">442</td><td class="line"> _eom_cairo_matrix_copy (&amp;trans-&gt;priv-&gt;affine, affine);</td></tr>
+<tr class="codeline" data-linenumber="443"><td class="num" id="LN443">443</td><td class="line"> </td></tr>
+<tr class="codeline" data-linenumber="444"><td class="num" id="LN444">444</td><td class="line"> <span class='keyword'>return</span> <span class='macro'>TRUE<span class='macro_popup'>(!(0))</span></span>;</td></tr>
+<tr class="codeline" data-linenumber="445"><td class="num" id="LN445">445</td><td class="line">}</td></tr>
+<tr class="codeline" data-linenumber="446"><td class="num" id="LN446">446</td><td class="line"> </td></tr>
+</table></body></html>
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/scanview.css b/2023-11-21-142043-6427-1@768f2bbd2a11_master/scanview.css
new file mode 100644
index 0000000..cf8a5a6
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/scanview.css
@@ -0,0 +1,62 @@
+body { color:#000000; background-color:#ffffff }
+body { font-family: Helvetica, sans-serif; font-size:9pt }
+h1 { font-size: 14pt; }
+h2 { font-size: 12pt; }
+table { font-size:9pt }
+table { border-spacing: 0px; border: 1px solid black }
+th, table thead {
+ background-color:#eee; color:#666666;
+ font-weight: bold; cursor: default;
+ text-align:center;
+ font-weight: bold; font-family: Verdana;
+ white-space:nowrap;
+}
+.W { font-size:0px }
+th, td { padding:5px; padding-left:8px; text-align:left }
+td.SUMM_DESC { padding-left:12px }
+td.DESC { white-space:pre }
+td.Q { text-align:right }
+td { text-align:left }
+tbody.scrollContent { overflow:auto }
+
+table.form_group {
+ background-color: #ccc;
+ border: 1px solid #333;
+ padding: 2px;
+}
+
+table.form_inner_group {
+ background-color: #ccc;
+ border: 1px solid #333;
+ padding: 0px;
+}
+
+table.form {
+ background-color: #999;
+ border: 1px solid #333;
+ padding: 2px;
+}
+
+td.form_label {
+ text-align: right;
+ vertical-align: top;
+}
+/* For one line entires */
+td.form_clabel {
+ text-align: right;
+ vertical-align: center;
+}
+td.form_value {
+ text-align: left;
+ vertical-align: top;
+}
+td.form_submit {
+ text-align: right;
+ vertical-align: top;
+}
+
+h1.SubmitFail {
+ color: #f00;
+}
+h1.SubmitOk {
+}
diff --git a/2023-11-21-142043-6427-1@768f2bbd2a11_master/sorttable.js b/2023-11-21-142043-6427-1@768f2bbd2a11_master/sorttable.js
new file mode 100644
index 0000000..32faa07
--- /dev/null
+++ b/2023-11-21-142043-6427-1@768f2bbd2a11_master/sorttable.js
@@ -0,0 +1,492 @@
+/*
+ SortTable
+ version 2
+ 7th April 2007
+ Stuart Langridge, http://www.kryogenix.org/code/browser/sorttable/
+
+ Instructions:
+ Download this file
+ Add <script src="sorttable.js"></script> to your HTML
+ Add class="sortable" to any table you'd like to make sortable
+ Click on the headers to sort
+
+ Thanks to many, many people for contributions and suggestions.
+ Licenced as X11: http://www.kryogenix.org/code/browser/licence.html
+ This basically means: do what you want with it.
+*/
+
+
+var stIsIE = /*@cc_on!@*/false;
+
+sorttable = {
+ init: function() {
+ // quit if this function has already been called
+ if (arguments.callee.done) return;
+ // flag this function so we don't do the same thing twice
+ arguments.callee.done = true;
+ // kill the timer
+ if (_timer) clearInterval(_timer);
+
+ if (!document.createElement || !document.getElementsByTagName) return;
+
+ sorttable.DATE_RE = /^(\d\d?)[\/\.-](\d\d?)[\/\.-]((\d\d)?\d\d)$/;
+
+ forEach(document.getElementsByTagName('table'), function(table) {
+ if (table.className.search(/\bsortable\b/) != -1) {
+ sorttable.makeSortable(table);
+ }
+ });
+
+ },
+
+ makeSortable: function(table) {
+ if (table.getElementsByTagName('thead').length == 0) {
+ // table doesn't have a tHead. Since it should have, create one and
+ // put the first table row in it.
+ the = document.createElement('thead');
+ the.appendChild(table.rows[0]);
+ table.insertBefore(the,table.firstChild);
+ }
+ // Safari doesn't support table.tHead, sigh
+ if (table.tHead == null) table.tHead = table.getElementsByTagName('thead')[0];
+
+ if (table.tHead.rows.length != 1) return; // can't cope with two header rows
+
+ // Sorttable v1 put rows with a class of "sortbottom" at the bottom (as
+ // "total" rows, for example). This is B&R, since what you're supposed
+ // to do is put them in a tfoot. So, if there are sortbottom rows,
+ // for backward compatibility, move them to tfoot (creating it if needed).
+ sortbottomrows = [];
+ for (var i=0; i<table.rows.length; i++) {
+ if (table.rows[i].className.search(/\bsortbottom\b/) != -1) {
+ sortbottomrows[sortbottomrows.length] = table.rows[i];
+ }
+ }
+ if (sortbottomrows) {
+ if (table.tFoot == null) {
+ // table doesn't have a tfoot. Create one.
+ tfo = document.createElement('tfoot');
+ table.appendChild(tfo);
+ }
+ for (var i=0; i<sortbottomrows.length; i++) {
+ tfo.appendChild(sortbottomrows[i]);
+ }
+ delete sortbottomrows;
+ }
+
+ // work through each column and calculate its type
+ headrow = table.tHead.rows[0].cells;
+ for (var i=0; i<headrow.length; i++) {
+ // manually override the type with a sorttable_type attribute
+ if (!headrow[i].className.match(/\bsorttable_nosort\b/)) { // skip this col
+ mtch = headrow[i].className.match(/\bsorttable_([a-z0-9]+)\b/);
+ if (mtch) { override = mtch[1]; }
+ if (mtch && typeof sorttable["sort_"+override] == 'function') {
+ headrow[i].sorttable_sortfunction = sorttable["sort_"+override];
+ } else {
+ headrow[i].sorttable_sortfunction = sorttable.guessType(table,i);
+ }
+ // make it clickable to sort
+ headrow[i].sorttable_columnindex = i;
+ headrow[i].sorttable_tbody = table.tBodies[0];
+ dean_addEvent(headrow[i],"click", function(e) {
+
+ if (this.className.search(/\bsorttable_sorted\b/) != -1) {
+ // if we're already sorted by this column, just
+ // reverse the table, which is quicker
+ sorttable.reverse(this.sorttable_tbody);
+ this.className = this.className.replace('sorttable_sorted',
+ 'sorttable_sorted_reverse');
+ this.removeChild(document.getElementById('sorttable_sortfwdind'));
+ sortrevind = document.createElement('span');
+ sortrevind.id = "sorttable_sortrevind";
+ sortrevind.innerHTML = stIsIE ? '&nbsp<font face="webdings">5</font>' : '&nbsp;&#x25B4;';
+ this.appendChild(sortrevind);
+ return;
+ }
+ if (this.className.search(/\bsorttable_sorted_reverse\b/) != -1) {
+ // if we're already sorted by this column in reverse, just
+ // re-reverse the table, which is quicker
+ sorttable.reverse(this.sorttable_tbody);
+ this.className = this.className.replace('sorttable_sorted_reverse',
+ 'sorttable_sorted');
+ this.removeChild(document.getElementById('sorttable_sortrevind'));
+ sortfwdind = document.createElement('span');
+ sortfwdind.id = "sorttable_sortfwdind";
+ sortfwdind.innerHTML = stIsIE ? '&nbsp<font face="webdings">6</font>' : '&nbsp;&#x25BE;';
+ this.appendChild(sortfwdind);
+ return;
+ }
+
+ // remove sorttable_sorted classes
+ theadrow = this.parentNode;
+ forEach(theadrow.childNodes, function(cell) {
+ if (cell.nodeType == 1) { // an element
+ cell.className = cell.className.replace('sorttable_sorted_reverse','');
+ cell.className = cell.className.replace('sorttable_sorted','');
+ }
+ });
+ sortfwdind = document.getElementById('sorttable_sortfwdind');
+ if (sortfwdind) { sortfwdind.parentNode.removeChild(sortfwdind); }
+ sortrevind = document.getElementById('sorttable_sortrevind');
+ if (sortrevind) { sortrevind.parentNode.removeChild(sortrevind); }
+
+ this.className += ' sorttable_sorted';
+ sortfwdind = document.createElement('span');
+ sortfwdind.id = "sorttable_sortfwdind";
+ sortfwdind.innerHTML = stIsIE ? '&nbsp<font face="webdings">6</font>' : '&nbsp;&#x25BE;';
+ this.appendChild(sortfwdind);
+
+ // build an array to sort. This is a Schwartzian transform thing,
+ // i.e., we "decorate" each row with the actual sort key,
+ // sort based on the sort keys, and then put the rows back in order
+ // which is a lot faster because you only do getInnerText once per row
+ row_array = [];
+ col = this.sorttable_columnindex;
+ rows = this.sorttable_tbody.rows;
+ for (var j=0; j<rows.length; j++) {
+ row_array[row_array.length] = [sorttable.getInnerText(rows[j].cells[col]), rows[j]];
+ }
+ /* If you want a stable sort, uncomment the following line */
+ sorttable.shaker_sort(row_array, this.sorttable_sortfunction);
+ /* and comment out this one */
+ //row_array.sort(this.sorttable_sortfunction);
+
+ tb = this.sorttable_tbody;
+ for (var j=0; j<row_array.length; j++) {
+ tb.appendChild(row_array[j][1]);
+ }
+
+ delete row_array;
+ });
+ }
+ }
+ },
+
+ guessType: function(table, column) {
+ // guess the type of a column based on its first non-blank row
+ sortfn = sorttable.sort_alpha;
+ for (var i=0; i<table.tBodies[0].rows.length; i++) {
+ text = sorttable.getInnerText(table.tBodies[0].rows[i].cells[column]);
+ if (text != '') {
+ if (text.match(/^-?[�$�]?[\d,.]+%?$/)) {
+ return sorttable.sort_numeric;
+ }
+ // check for a date: dd/mm/yyyy or dd/mm/yy
+ // can have / or . or - as separator
+ // can be mm/dd as well
+ possdate = text.match(sorttable.DATE_RE)
+ if (possdate) {
+ // looks like a date
+ first = parseInt(possdate[1]);
+ second = parseInt(possdate[2]);
+ if (first > 12) {
+ // definitely dd/mm
+ return sorttable.sort_ddmm;
+ } else if (second > 12) {
+ return sorttable.sort_mmdd;
+ } else {
+ // looks like a date, but we can't tell which, so assume
+ // that it's dd/mm (English imperialism!) and keep looking
+ sortfn = sorttable.sort_ddmm;
+ }
+ }
+ }
+ }
+ return sortfn;
+ },
+
+ getInnerText: function(node) {
+ // gets the text we want to use for sorting for a cell.
+ // strips leading and trailing whitespace.
+ // this is *not* a generic getInnerText function; it's special to sorttable.
+ // for example, you can override the cell text with a customkey attribute.
+ // it also gets .value for <input> fields.
+
+ hasInputs = (typeof node.getElementsByTagName == 'function') &&
+ node.getElementsByTagName('input').length;
+
+ if (node.getAttribute("sorttable_customkey") != null) {
+ return node.getAttribute("sorttable_customkey");
+ }
+ else if (typeof node.textContent != 'undefined' && !hasInputs) {
+ return node.textContent.replace(/^\s+|\s+$/g, '');
+ }
+ else if (typeof node.innerText != 'undefined' && !hasInputs) {
+ return node.innerText.replace(/^\s+|\s+$/g, '');
+ }
+ else if (typeof node.text != 'undefined' && !hasInputs) {
+ return node.text.replace(/^\s+|\s+$/g, '');
+ }
+ else {
+ switch (node.nodeType) {
+ case 3:
+ if (node.nodeName.toLowerCase() == 'input') {
+ return node.value.replace(/^\s+|\s+$/g, '');
+ }
+ case 4:
+ return node.nodeValue.replace(/^\s+|\s+$/g, '');
+ break;
+ case 1:
+ case 11:
+ var innerText = '';
+ for (var i = 0; i < node.childNodes.length; i++) {
+ innerText += sorttable.getInnerText(node.childNodes[i]);
+ }
+ return innerText.replace(/^\s+|\s+$/g, '');
+ break;
+ default:
+ return '';
+ }
+ }
+ },
+
+ reverse: function(tbody) {
+ // reverse the rows in a tbody
+ newrows = [];
+ for (var i=0; i<tbody.rows.length; i++) {
+ newrows[newrows.length] = tbody.rows[i];
+ }
+ for (var i=newrows.length-1; i>=0; i--) {
+ tbody.appendChild(newrows[i]);
+ }
+ delete newrows;
+ },
+
+ /* sort functions
+ each sort function takes two parameters, a and b
+ you are comparing a[0] and b[0] */
+ sort_numeric: function(a,b) {
+ aa = parseFloat(a[0].replace(/[^0-9.-]/g,''));
+ if (isNaN(aa)) aa = 0;
+ bb = parseFloat(b[0].replace(/[^0-9.-]/g,''));
+ if (isNaN(bb)) bb = 0;
+ return aa-bb;
+ },
+ sort_alpha: function(a,b) {
+ if (a[0]==b[0]) return 0;
+ if (a[0]<b[0]) return -1;
+ return 1;
+ },
+ sort_ddmm: function(a,b) {
+ mtch = a[0].match(sorttable.DATE_RE);
+ y = mtch[3]; m = mtch[2]; d = mtch[1];
+ if (m.length == 1) m = '0'+m;
+ if (d.length == 1) d = '0'+d;
+ dt1 = y+m+d;
+ mtch = b[0].match(sorttable.DATE_RE);
+ y = mtch[3]; m = mtch[2]; d = mtch[1];
+ if (m.length == 1) m = '0'+m;
+ if (d.length == 1) d = '0'+d;
+ dt2 = y+m+d;
+ if (dt1==dt2) return 0;
+ if (dt1<dt2) return -1;
+ return 1;
+ },
+ sort_mmdd: function(a,b) {
+ mtch = a[0].match(sorttable.DATE_RE);
+ y = mtch[3]; d = mtch[2]; m = mtch[1];
+ if (m.length == 1) m = '0'+m;
+ if (d.length == 1) d = '0'+d;
+ dt1 = y+m+d;
+ mtch = b[0].match(sorttable.DATE_RE);
+ y = mtch[3]; d = mtch[2]; m = mtch[1];
+ if (m.length == 1) m = '0'+m;
+ if (d.length == 1) d = '0'+d;
+ dt2 = y+m+d;
+ if (dt1==dt2) return 0;
+ if (dt1<dt2) return -1;
+ return 1;
+ },
+
+ shaker_sort: function(list, comp_func) {
+ // A stable sort function to allow multi-level sorting of data
+ // see: http://en.wikipedia.org/wiki/Cocktail_sort
+ // thanks to Joseph Nahmias
+ var b = 0;
+ var t = list.length - 1;
+ var swap = true;
+
+ while(swap) {
+ swap = false;
+ for(var i = b; i < t; ++i) {
+ if ( comp_func(list[i], list[i+1]) > 0 ) {
+ var q = list[i]; list[i] = list[i+1]; list[i+1] = q;
+ swap = true;
+ }
+ } // for
+ t--;
+
+ if (!swap) break;
+
+ for(var i = t; i > b; --i) {
+ if ( comp_func(list[i], list[i-1]) < 0 ) {
+ var q = list[i]; list[i] = list[i-1]; list[i-1] = q;
+ swap = true;
+ }
+ } // for
+ b++;
+
+ } // while(swap)
+ }
+}
+
+/* ******************************************************************
+ Supporting functions: bundled here to avoid depending on a library
+ ****************************************************************** */
+
+// Dean Edwards/Matthias Miller/John Resig
+
+/* for Mozilla/Opera9 */
+if (document.addEventListener) {
+ document.addEventListener("DOMContentLoaded", sorttable.init, false);
+}
+
+/* for Internet Explorer */
+/*@cc_on @*/
+/*@if (@_win32)
+ document.write("<script id=__ie_onload defer src=javascript:void(0)><\/script>");
+ var script = document.getElementById("__ie_onload");
+ script.onreadystatechange = function() {
+ if (this.readyState == "complete") {
+ sorttable.init(); // call the onload handler
+ }
+ };
+/*@end @*/
+
+/* for Safari */
+if (/WebKit/i.test(navigator.userAgent)) { // sniff
+ var _timer = setInterval(function() {
+ if (/loaded|complete/.test(document.readyState)) {
+ sorttable.init(); // call the onload handler
+ }
+ }, 10);
+}
+
+/* for other browsers */
+window.onload = sorttable.init;
+
+// written by Dean Edwards, 2005
+// with input from Tino Zijdel, Matthias Miller, Diego Perini
+
+// http://dean.edwards.name/weblog/2005/10/add-event/
+
+function dean_addEvent(element, type, handler) {
+ if (element.addEventListener) {
+ element.addEventListener(type, handler, false);
+ } else {
+ // assign each event handler a unique ID
+ if (!handler.$$guid) handler.$$guid = dean_addEvent.guid++;
+ // create a hash table of event types for the element
+ if (!element.events) element.events = {};
+ // create a hash table of event handlers for each element/event pair
+ var handlers = element.events[type];
+ if (!handlers) {
+ handlers = element.events[type] = {};
+ // store the existing event handler (if there is one)
+ if (element["on" + type]) {
+ handlers[0] = element["on" + type];
+ }
+ }
+ // store the event handler in the hash table
+ handlers[handler.$$guid] = handler;
+ // assign a global event handler to do all the work
+ element["on" + type] = handleEvent;
+ }
+};
+// a counter used to create unique IDs
+dean_addEvent.guid = 1;
+
+function removeEvent(element, type, handler) {
+ if (element.removeEventListener) {
+ element.removeEventListener(type, handler, false);
+ } else {
+ // delete the event handler from the hash table
+ if (element.events && element.events[type]) {
+ delete element.events[type][handler.$$guid];
+ }
+ }
+};
+
+function handleEvent(event) {
+ var returnValue = true;
+ // grab the event object (IE uses a global event object)
+ event = event || fixEvent(((this.ownerDocument || this.document || this).parentWindow || window).event);
+ // get a reference to the hash table of event handlers
+ var handlers = this.events[event.type];
+ // execute each event handler
+ for (var i in handlers) {
+ this.$$handleEvent = handlers[i];
+ if (this.$$handleEvent(event) === false) {
+ returnValue = false;
+ }
+ }
+ return returnValue;
+};
+
+function fixEvent(event) {
+ // add W3C standard event methods
+ event.preventDefault = fixEvent.preventDefault;
+ event.stopPropagation = fixEvent.stopPropagation;
+ return event;
+};
+fixEvent.preventDefault = function() {
+ this.returnValue = false;
+};
+fixEvent.stopPropagation = function() {
+ this.cancelBubble = true;
+}
+
+// Dean's forEach: http://dean.edwards.name/base/forEach.js
+/*
+ forEach, version 1.0
+ Copyright 2006, Dean Edwards
+ License: http://www.opensource.org/licenses/mit-license.php
+*/
+
+// array-like enumeration
+if (!Array.forEach) { // mozilla already supports this
+ Array.forEach = function(array, block, context) {
+ for (var i = 0; i < array.length; i++) {
+ block.call(context, array[i], i, array);
+ }
+ };
+}
+
+// generic enumeration
+Function.prototype.forEach = function(object, block, context) {
+ for (var key in object) {
+ if (typeof this.prototype[key] == "undefined") {
+ block.call(context, object[key], key, object);
+ }
+ }
+};
+
+// character enumeration
+String.forEach = function(string, block, context) {
+ Array.forEach(string.split(""), function(chr, index) {
+ block.call(context, chr, index, string);
+ });
+};
+
+// globally resolve forEach enumeration
+var forEach = function(object, block, context) {
+ if (object) {
+ var resolve = Object; // default
+ if (object instanceof Function) {
+ // functions have a "length" property
+ resolve = Function;
+ } else if (object.forEach instanceof Function) {
+ // the object implements a custom forEach method so use that
+ object.forEach(block, context);
+ return;
+ } else if (typeof object == "string") {
+ // the object is a string
+ resolve = String;
+ } else if (typeof object.length == "number") {
+ // the object is array-like
+ resolve = Array;
+ }
+ resolve.forEach(object, block, context);
+ }
+};