[evince] libmisc: Use G_PARAM_STATIC_STRINGS



commit 4ec61f5ed9cc9dc82e97ed1560d4e2a79d754205
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]