Revision: 15693
          http://sourceforge.net/p/skim-app/code/15693
Author:   hofman
Date:     2025-10-09 15:29:21 +0000 (Thu, 09 Oct 2025)
Log Message:
-----------
implement all designated initializers of button cell subclasses

Modified Paths:
--------------
    trunk/SKFontWell.m

Modified: trunk/SKFontWell.m
===================================================================
--- trunk/SKFontWell.m  2025-10-08 14:47:43 UTC (rev 15692)
+++ trunk/SKFontWell.m  2025-10-09 15:29:21 UTC (rev 15693)
@@ -396,13 +396,21 @@
 }
  
 - (instancetype)initTextCell:(NSString *)aString {
-       self = [super initTextCell:aString];
+    self = [super initTextCell:aString];
     if (self) {
-               [self commonInit];
-       }
-       return self;
+        [self commonInit];
+    }
+    return self;
 }
 
+- (instancetype)initImageCell:(NSImage *)anImage {
+    self = [super initImageCell:anImage];
+    if (self) {
+        [self commonInit];
+    }
+    return self;
+}
+
 - (instancetype)initWithCoder:(NSCoder *)decoder {
        self = [super initWithCoder:decoder];
     if (self) {

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to