[Xfce4-commits] <thunar:master> Reduce text renderer structure size a tiny bit.
Nick Schermer
noreply at xfce.org
Sun Nov 4 10:40:05 CET 2012
Updating branch refs/heads/master
to d3a6b9fef305fc7513905e953b5243586cad99b4 (commit)
from 5c79330053c4b84cd8eadb06d54ca28edac4d893 (commit)
commit d3a6b9fef305fc7513905e953b5243586cad99b4
Author: Nick Schermer <nick at xfce.org>
Date: Sun Nov 4 10:25:05 2012 +0100
Reduce text renderer structure size a tiny bit.
thunar/thunar-text-renderer.c | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/thunar/thunar-text-renderer.c b/thunar/thunar-text-renderer.c
index ee12286..4b41262 100644
--- a/thunar/thunar-text-renderer.c
+++ b/thunar/thunar-text-renderer.c
@@ -119,24 +119,25 @@ struct _ThunarTextRenderer
{
GtkCellRenderer __parent__;
+ /* pango renderer properties */
PangoLayout *layout;
GtkWidget *widget;
- gboolean text_static;
+ guint text_static : 1;
gchar *text;
gint char_width;
gint char_height;
PangoWrapMode wrap_mode;
gint wrap_width;
- gboolean follow_state;
+ guint follow_state : 1;
gint focus_width;;
PangoAlignment alignment;
/* underline prelited rows */
- gboolean follow_prelit;
+ guint follow_prelit : 1;
/* cell editing support */
GtkWidget *entry;
- gboolean entry_menu_active;
+ guint entry_menu_active : 1;
guint entry_menu_popdown_timer_id;
};
More information about the Xfce4-commits
mailing list