File denemo-OBS.patch of Package denemo
diff -up denemo-2.4.0/src/printview/printview.c.orig denemo-2.4.0/src/printview/printview.c
--- denemo-2.4.0/src/printview/printview.c.orig 2020-03-09 17:56:15.000000000 +0100
+++ denemo-2.4.0/src/printview/printview.c 2020-05-17 18:54:55.216207058 +0200
@@ -1542,7 +1542,9 @@ static gboolean
printarea_leave_notify (void)
{
show_tooltip (NULL, NULL, NULL);
+ return FALSE;
}
+
static gboolean
printarea_motion_notify (G_GNUC_UNUSED GtkWidget * widget, GdkEventMotion * event)
{
@@ -2551,6 +2553,7 @@ static gchar *create_new_condition (void
Denemo.project->criteria = g_list_append (Denemo.project->criteria, condition);
conditions_menu ();
}
+ return NULL;
}
static GtkWidget *condition_button;
diff -up denemo-2.4.0/src/scripting/scheme-callbacks.c.orig denemo-2.4.0/src/scripting/scheme-callbacks.c
--- denemo-2.4.0/src/scripting/scheme-callbacks.c.orig 2020-04-14 17:00:14.649876783 +0200
+++ denemo-2.4.0/src/scripting/scheme-callbacks.c 2020-05-17 18:49:35.536797417 +0200
@@ -4546,9 +4546,8 @@ scheme_get_keypress (SCM putback)
g_free (str);
return scm;
}
- else
- return SCM_BOOL (FALSE);
}
+ return SCM_BOOL (FALSE);
}
/* get last keypress that successfully invoked a command */
diff -up denemo-2.4.0/src/source/proof.c.orig denemo-2.4.0/src/source/proof.c
--- denemo-2.4.0/src/source/proof.c.orig 2020-03-09 17:56:15.000000000 +0100
+++ denemo-2.4.0/src/source/proof.c 2020-05-17 19:06:37.907505667 +0200
@@ -493,9 +493,9 @@ get_view (gchar * filename)
}
else {
warningdialog (_("This PDF file contains no annotations. It has to be a PDF file generated by Denemo for the current score to which annotations have been added."));
- return NULL;
}
}
+ return NULL;
}
gboolean
diff -up denemo-2.4.0/src/ui/mousing.c.orig denemo-2.4.0/src/ui/mousing.c
--- denemo-2.4.0/src/ui/mousing.c.orig 2020-03-09 17:56:15.676378192 +0100
+++ denemo-2.4.0/src/ui/mousing.c 2020-05-17 18:49:35.536797417 +0200
@@ -917,6 +917,7 @@ gboolean activate_right_click (gint stat
call_out_to_guile ("(d-EditSimilar 'once)");
return TRUE;
}
+ return FALSE;
}
/**
* Mouse button press callback