[Xfce4-commits] [xfce/xfce4-panel] 01/01: clock: Fix incorrect types

noreply at xfce.org noreply at xfce.org
Sun Nov 4 00:48:29 CET 2018


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/xfce4-panel.

commit d53065b521caa24eede448be140386c5b009cae3
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Sun Nov 4 00:47:51 2018 +0100

    clock: Fix incorrect types
---
 plugins/clock/clock.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/plugins/clock/clock.c b/plugins/clock/clock.c
index fc2396c..071a1c5 100644
--- a/plugins/clock/clock.c
+++ b/plugins/clock/clock.c
@@ -772,7 +772,7 @@ clock_plugin_configure_plugin_chooser_separator (GtkTreeModel *model,
 
 
 static void
-clock_plugin_validate_format_specifier (GtkEntry *entry, gchar *format, ClockPlugin *plugin)
+clock_plugin_validate_format_specifier (GtkEntry *entry, const gchar *format, ClockPlugin *plugin)
 {
   GtkStyleContext *context;
 
@@ -792,8 +792,8 @@ clock_plugin_validate_entry_text (GtkEditable *entry,
 {
   ClockPlugin *plugin = user_data;
 
-  clock_plugin_validate_format_specifier (entry,
-                                          gtk_entry_get_text(GTK_ENTRY (entry)),
+  clock_plugin_validate_format_specifier (GTK_ENTRY (entry),
+                                          gtk_entry_get_text (GTK_ENTRY (entry)),
                                           plugin);
 }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list