projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psppire-window: Avoid doubled separator in Windows menu.
[pspp]
/
src
/
ui
/
gui
/
psppire-syntax-window.c
diff --git
a/src/ui/gui/psppire-syntax-window.c
b/src/ui/gui/psppire-syntax-window.c
index 1ad906a18212c904e0ca72e867325736df699d3e..0c05fdc58e167436ac0419faaf118ca894f3f200 100644
(file)
--- a/
src/ui/gui/psppire-syntax-window.c
+++ b/
src/ui/gui/psppire-syntax-window.c
@@
-1,5
+1,5
@@
/* PSPPIRE - a graphical user interface for PSPP.
/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation
+ Copyright (C) 2008, 2009, 2010, 2011
, 2012
Free Software Foundation
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-31,6
+31,7
@@
#include "ui/gui/executor.h"
#include "ui/gui/help-menu.h"
#include "ui/gui/helper.h"
#include "ui/gui/executor.h"
#include "ui/gui/help-menu.h"
#include "ui/gui/helper.h"
+#include "ui/gui/builder-wrapper.h"
#include "ui/gui/psppire-data-window.h"
#include "ui/gui/psppire-encoding-selector.h"
#include "ui/gui/psppire-lex-reader.h"
#include "ui/gui/psppire-data-window.h"
#include "ui/gui/psppire-encoding-selector.h"
#include "ui/gui/psppire-lex-reader.h"
@@
-375,7
+376,6
@@
contents_received_callback (GtkClipboard *clipboard,
GtkSelectionData *sd,
gpointer data)
{
GtkSelectionData *sd,
gpointer data)
{
- gchar *c;
PsppireSyntaxWindow *syntax_window = data;
if ( sd->length < 0 )
PsppireSyntaxWindow *syntax_window = data;
if ( sd->length < 0 )
@@
-384,8
+384,6
@@
contents_received_callback (GtkClipboard *clipboard,
if ( sd->type != gdk_atom_intern ("UTF8_STRING", FALSE))
return;
if ( sd->type != gdk_atom_intern ("UTF8_STRING", FALSE))
return;
- c = (gchar *) sd->data;
-
gtk_text_buffer_insert_at_cursor (GTK_TEXT_BUFFER (syntax_window->buffer),
(gchar *) sd->data,
sd->length);
gtk_text_buffer_insert_at_cursor (GTK_TEXT_BUFFER (syntax_window->buffer),
(gchar *) sd->data,
sd->length);