[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Denemo-devel] [bug #46376] denemo-2.0.0 fails to compile/link
From: |
Richard Shann |
Subject: |
[Denemo-devel] [bug #46376] denemo-2.0.0 fails to compile/link |
Date: |
Wed, 04 Nov 2015 15:40:08 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.3.0 |
Follow-up Comment #5, bug #46376 (project denemo):
I've reviewed the code and can see a discrepancy involving precisely those
functions complained of. I've pushed a commit to git that fixes the
discrepancy. Even though I don't understand what your system is doing, this
should fix the problem.
author Richard Shann <address@hidden>
Wed, 4 Nov 2015 15:25:32 +0000 (15:25 +0000)
committer Richard Shann <address@hidden>
Wed, 4 Nov 2015 15:25:32 +0000 (15:25 +0000)
diff --git a/src/export/print.c b/src/export/print.c
index 0c96e97..d01541c 100644 (file)
--- a/src/export/print.c
+++ b/src/export/print.c
@@ -544,6 +544,9 @@ create_pdf (gboolean part_only, gboolean all_movements)
void create_pdf_for_lilypond (gchar *lilypond)
{
+#ifndef USE_EVINCE
+ g_debug("This feature requires denemo to be built with evince");
+#else
if (get_print_status()->printpid != GPID_NONE)
{
if (confirm (_("Already Typesetting"), _("Abandon this typeset?")))
@@ -567,6 +570,7 @@ void create_pdf_for_lilypond (gchar *lilypond)
get_print_status()->invalid = 0;
run_lilypond_for_pdf (filename, lilyfile);
g_child_watch_add (get_print_status()->printpid, (GChildWatchFunc)
printview_finished, (gpointer) (FALSE));
+#endif
}
/**
* Dialog function used to select measure range
diff --git a/src/ui/markup.c b/src/ui/markup.c
index 9116401..0c99424 100644 (file)
--- a/src/ui/markup.c
+++ b/src/ui/markup.c
@@ -240,7 +240,11 @@ static gboolean keypress_callback (G_GNUC_UNUSED
GtkWidget * w, GdkEventKey * ev
gboolean get_user_markup (GString *user_text, GString *marked_up_text, gchar*
title, char *instruction, gchar *initial_value, gboolean modal, gboolean
format_only)
{
+#ifndef USE_EVINCE
+ g_debug("This feature requires denemo to be built with evince");
+#else
implement_show_print_view (FALSE);
+#endif
GtkWidget *hbox = gtk_hbox_new (FALSE, 8);
GtkWidget *button = gtk_button_new_with_label (_("Paste Current
Snippet"));
gtk_widget_set_tooltip_text (button, _("Pastes the music captured in the
currently selected Snippet into the text at the cursor.\nThe music appears
here in the LilyPond syntax.\nIt will print as typeset music embedded in the
sentence you are writing.\nYou can edit the syntax following the LilyPond
syntax.\n"));
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?46376>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Denemo-devel] [bug #46376] denemo-2.0.0 fails to compile/link, Timo Gurr, 2015/11/04
- [Denemo-devel] [bug #46376] denemo-2.0.0 fails to compile/link, Richard Shann, 2015/11/04
- [Denemo-devel] [bug #46376] denemo-2.0.0 fails to compile/link, Timo Gurr, 2015/11/04
- [Denemo-devel] [bug #46376] denemo-2.0.0 fails to compile/link, Richard Shann, 2015/11/04
- [Denemo-devel] [bug #46376] denemo-2.0.0 fails to compile/link, Timo Gurr, 2015/11/04
- [Denemo-devel] [bug #46376] denemo-2.0.0 fails to compile/link,
Richard Shann <=
- [Denemo-devel] [bug #46376] denemo-2.0.0 fails to compile/link, Timo Gurr, 2015/11/04
- [Denemo-devel] [bug #46376] denemo-2.0.0 fails to compile/link, Richard Shann, 2015/11/04
- [Denemo-devel] [bug #46376] denemo-2.0.0 fails to compile/link, Timo Gurr, 2015/11/04