[totem/wip/hadess/clean-private: 17/21] main: Remove unused macro totem_set_sensitivity()




commit acd94b2c39beea84217cab07935323f465aff0d4
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Apr 7 13:35:23 2022 +0200

    main: Remove unused macro totem_set_sensitivity()

 src/totem-private.h | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/totem-private.h b/src/totem-private.h
index 460d88915..9c377b344 100644
--- a/src/totem-private.h
+++ b/src/totem-private.h
@@ -36,12 +36,6 @@
 #include "totem-open-location.h"
 #include "totem-plugins-engine.h"
 
-#define totem_set_sensitivity(xml, name, state)                                        \
-       {                                                                       \
-               GtkWidget *widget;                                              \
-               widget = GTK_WIDGET (gtk_builder_get_object (xml, name));       \
-               gtk_widget_set_sensitive (widget, state);                       \
-       }
 #define totem_controls_set_sensitivity(name, state) gtk_widget_set_sensitive (GTK_WIDGET 
(gtk_builder_get_object (totem->xml, name)), state)
 
 #define totem_object_set_sensitivity2(name, state)                                     \


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