[Xfce4-commits] [xfce/xfdesktop] 01/01: Fix typo

noreply at xfce.org noreply at xfce.org
Fri Dec 21 16:52:40 CET 2018


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

a   n   d   r   e       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/xfdesktop.

commit f35b26e3327880963ece73aad63ab0fbd23cb856
Author: Andre Miranda <andreldm at xfce.org>
Date:   Fri Dec 21 12:50:53 2018 -0300

    Fix typo
---
 settings/main.c     | 6 +++---
 src/xfce-backdrop.c | 4 ++--
 src/xfce-backdrop.h | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/settings/main.c b/settings/main.c
index 79ced49..a99175b 100644
--- a/settings/main.c
+++ b/settings/main.c
@@ -995,7 +995,7 @@ update_backdrop_cycle_spinbox(AppearancePanel *panel)
     if(gtk_widget_get_sensitive(panel->combo_backdrop_cycle_period)) {
         period = gtk_combo_box_get_active(GTK_COMBO_BOX(panel->combo_backdrop_cycle_period));
         if(period == XFCE_BACKDROP_PERIOD_SECONDS ||
-           period == XFCE_BACKDROP_PERIOD_MINUES  ||
+           period == XFCE_BACKDROP_PERIOD_MINUTES  ||
            period == XFCE_BACKDROP_PERIOD_HOURS)
         {
             sensitive = TRUE;
@@ -1435,7 +1435,7 @@ xfdesktop_settings_background_tab_change_bindings(AppearancePanel *panel,
                                G_OBJECT(panel->combo_backdrop_cycle_period), "active");
     } else {
         /* default is minutes, set that before we bind to it */
-        gtk_combo_box_set_active(GTK_COMBO_BOX(panel->combo_backdrop_cycle_period), XFCE_BACKDROP_PERIOD_MINUES);
+        gtk_combo_box_set_active(GTK_COMBO_BOX(panel->combo_backdrop_cycle_period), XFCE_BACKDROP_PERIOD_MINUTES);
 
         xfconf_g_property_bind(channel, buf, G_TYPE_INT,
                                G_OBJECT(panel->combo_backdrop_cycle_period), "active");
@@ -1968,7 +1968,7 @@ xfdesktop_settings_dialog_setup_tabs(GtkBuilder *main_gxml,
                                                                      "chk_random_backdrop_order"));
 
     /* Pick the first entry so something shows up */
-    gtk_combo_box_set_active(GTK_COMBO_BOX(panel->combo_backdrop_cycle_period), XFCE_BACKDROP_PERIOD_MINUES);
+    gtk_combo_box_set_active(GTK_COMBO_BOX(panel->combo_backdrop_cycle_period), XFCE_BACKDROP_PERIOD_MINUTES);
 
     g_signal_connect(G_OBJECT(panel->backdrop_cycle_chkbox), "toggled",
                     G_CALLBACK(cb_xfdesktop_chk_cycle_backdrop_toggled),
diff --git a/src/xfce-backdrop.c b/src/xfce-backdrop.c
index 3212586..6e230b7 100644
--- a/src/xfce-backdrop.c
+++ b/src/xfce-backdrop.c
@@ -738,7 +738,7 @@ xfce_backdrop_class_init(XfceBackdropClass *klass)
                                                       "backdrop-cycle-period",
                                                       "backdrop-cycle-period",
                                                       XFCE_TYPE_BACKDROP_CYCLE_PERIOD,
-                                                      XFCE_BACKDROP_PERIOD_MINUES,
+                                                      XFCE_BACKDROP_PERIOD_MINUTES,
                                                       XFDESKTOP_PARAM_FLAGS));
 
     g_object_class_install_property(gobject_class, PROP_BACKDROP_CYCLE_TIMER,
@@ -1354,7 +1354,7 @@ xfce_backdrop_set_cycle_timer(XfceBackdrop *backdrop, guint cycle_timer)
                 cycle_interval = backdrop->priv->cycle_timer;
                 break;
 
-            case XFCE_BACKDROP_PERIOD_MINUES:
+            case XFCE_BACKDROP_PERIOD_MINUTES:
                 cycle_interval = backdrop->priv->cycle_timer * 60;
                 break;
 
diff --git a/src/xfce-backdrop.h b/src/xfce-backdrop.h
index 6462aee..a927bf1 100644
--- a/src/xfce-backdrop.h
+++ b/src/xfce-backdrop.h
@@ -63,7 +63,7 @@ typedef enum
 {
     XFCE_BACKDROP_PERIOD_INVALID = -1,
     XFCE_BACKDROP_PERIOD_SECONDS = 0,
-    XFCE_BACKDROP_PERIOD_MINUES,
+    XFCE_BACKDROP_PERIOD_MINUTES,
     XFCE_BACKDROP_PERIOD_HOURS,
     XFCE_BACKDROP_PERIOD_STARTUP,
     XFCE_BACKDROP_PERIOD_HOURLY,

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


More information about the Xfce4-commits mailing list