Frameworks/Adium Framework/Source/AIColorPickerSliders.m
branchadium-1.5.10.5
changeset 6003 6e8c6761ee0d
parent 4897 5ea3bd51010d
--- a/Frameworks/Adium Framework/Source/AIColorPickerSliders.m	Thu Nov 14 16:26:13 2019 -0500
+++ b/Frameworks/Adium Framework/Source/AIColorPickerSliders.m	Thu Nov 14 18:10:18 2019 -0500
@@ -53,7 +53,8 @@
 - (void)_setupProfileUI
 {
 	//Must be sure to the original implementation
-	method_invoke(self, class_getInstanceMethod([AIColorPickerSliders class], @selector(_setupProfileUI)));
+    static void (*__setupProfileUI_method_invoke)(id, Method) = (void (*)(id, Method)) method_invoke;
+	__setupProfileUI_method_invoke(self, class_getInstanceMethod([AIColorPickerSliders class], @selector(_setupProfileUI)));
 
 	if (sliderModePopUp && [sliderModePopUp isKindOfClass:[NSPopUpButton class]]) {
 		NSMenu			*menu = [sliderModePopUp menu];