mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Remove unused functions in and stop wrapping print-session.[ch].
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15732 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
9ec20373ab
commit
d2dd9cd7be
@ -17,7 +17,6 @@
|
||||
#include <gnc-menu-extensions.h>
|
||||
#include <gnc-plugin-file-history.h>
|
||||
#include <gnc-ui.h>
|
||||
#include <print-session.h>
|
||||
#include <gnc-splash.h>
|
||||
|
||||
SCM scm_init_sw_gnome_utils_module (void);
|
||||
@ -36,8 +35,6 @@ void gnc_options_dialog_build_contents(GNCOptionWin *propertybox,
|
||||
void gnc_options_dialog_set_scm_callbacks (GNCOptionWin *win,
|
||||
SCM apply_cb, SCM close_cb);
|
||||
|
||||
%include "print-session.h"
|
||||
|
||||
gboolean
|
||||
gnc_verify_dialog(GtkWidget *parent, gboolean yes_is_default,
|
||||
const gchar *format, ...);
|
||||
|
@ -80,19 +80,6 @@ gnc_print_session_destroy(PrintSession * ps)
|
||||
g_free(ps);
|
||||
}
|
||||
|
||||
void
|
||||
gnc_print_session_moveto(PrintSession * ps, double x, double y)
|
||||
{
|
||||
gnome_print_moveto(ps->context, x, y);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
gnc_print_session_text(PrintSession * ps, const char * text)
|
||||
{
|
||||
gnome_print_show(ps->context, (guchar*)text);
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
gnc_print_session_done(PrintSession * ps)
|
||||
@ -118,27 +105,3 @@ gnc_print_session_done(PrintSession * ps)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
gnc_print_session_rotate(PrintSession *ps, double theta_in_degrees)
|
||||
{
|
||||
gnome_print_rotate(ps->context, theta_in_degrees);
|
||||
}
|
||||
|
||||
void
|
||||
gnc_print_session_translate(PrintSession *ps, double x, double y)
|
||||
{
|
||||
gnome_print_translate(ps->context, x, y);
|
||||
}
|
||||
|
||||
void
|
||||
gnc_print_session_gsave(PrintSession *ps)
|
||||
{
|
||||
gnome_print_gsave(ps->context);
|
||||
}
|
||||
|
||||
void
|
||||
gnc_print_session_grestore(PrintSession *ps)
|
||||
{
|
||||
gnome_print_grestore(ps->context);
|
||||
}
|
||||
|
@ -82,18 +82,6 @@ void gnc_print_session_destroy(PrintSession * ps);
|
||||
*/
|
||||
void gnc_print_session_done(PrintSession * ps);
|
||||
|
||||
/** @} */
|
||||
|
||||
/** @addtogroup Adding Output to a Page
|
||||
@{ */
|
||||
void gnc_print_session_moveto(PrintSession * ps, double x, double y);
|
||||
void gnc_print_session_text(PrintSession * ps, const char * text);
|
||||
|
||||
void gnc_print_session_rotate(PrintSession *ps, double theta_in_degrees);
|
||||
void gnc_print_session_translate(PrintSession *ps, double x, double y);
|
||||
|
||||
void gnc_print_session_gsave(PrintSession *ps);
|
||||
void gnc_print_session_grestore(PrintSession *ps);
|
||||
/** @} */
|
||||
/** @} */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user