[evince/wip/app] libmisc: Use G_PARAM_STATIC_STRINGS



commit 8fbfbf21e25a5d25d6331160c7e54cbbeece392e
Author: Christian Persch <chpe gnome org>
Date:   Wed Jun 13 21:07:22 2012 +0200

    libmisc: Use G_PARAM_STATIC_STRINGS
    
    This saves some string copies.

 libmisc/ev-page-action.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libmisc/ev-page-action.c b/libmisc/ev-page-action.c
index ff1f9fe..7674f1a 100644
--- a/libmisc/ev-page-action.c
+++ b/libmisc/ev-page-action.c
@@ -233,7 +233,8 @@ ev_page_action_class_init (EvPageActionClass *class)
 							      "Model",
 							      "Current Links Model",
 							      GTK_TYPE_TREE_MODEL,
-							      G_PARAM_READWRITE));
+							      G_PARAM_READWRITE |
+                                                              G_PARAM_STATIC_STRINGS));
 
 	g_type_class_add_private (object_class, sizeof (EvPageActionPrivate));
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]