projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gui: Provide substitute for gtk_widget_get_realized() for GTK+ < 2.20.
[pspp]
/
src
/
ui
/
gui
/
psppire-var-view.c
diff --git
a/src/ui/gui/psppire-var-view.c
b/src/ui/gui/psppire-var-view.c
index a840539dcba38087d037fdc56235b9bee8460d74..009aad62d03eec6539a22ffaf9a9580452058e2c 100644
(file)
--- a/
src/ui/gui/psppire-var-view.c
+++ b/
src/ui/gui/psppire-var-view.c
@@
-1,5
+1,5
@@
/* PSPPIRE - a graphical user interface for PSPP.
/* PSPPIRE - a graphical user interface for PSPP.
- Copyright (C) 2009, 2011 Free Software Foundation
+ Copyright (C) 2009, 201
0, 201
1 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
@@
-16,8
+16,7
@@
#include <config.h>
#include <config.h>
-#include <gtk/gtktreeview.h>
-#include <gtk/gtkcellrenderertext.h>
+#include <gtk/gtk.h>
#include "psppire-var-view.h"
#include "psppire-var-ptr.h"
#include "psppire-select-dest.h"
#include "psppire-var-view.h"
#include "psppire-var-ptr.h"
#include "psppire-select-dest.h"
@@
-141,7
+140,7
@@
display_cell_var_name (GtkTreeViewColumn *tree_column,
g_value_unset (&value);
g_value_unset (&value);
- g_object_set (cell, "text", var ? var_get_name (var) : "
<unset>
", NULL);
+ g_object_set (cell, "text", var ? var_get_name (var) : "", NULL);
}
}