Closed
      
        Bug 787971
      
      
        Opened 13 years ago
          Closed 13 years ago
      
        
    
  
Fix warnings about function pointers in gtk2 webapprt
Categories
(Firefox Graveyard :: Webapp Runtime, defect)
        Firefox Graveyard
          
        
        
      
        
    
        Webapp Runtime
          
        
        
      
        
    Tracking
(Not tracked)
        RESOLVED
        FIXED
        
    
  
        
            Firefox 18
        
    
  
People
(Reporter: Ms2ger, Assigned: Ms2ger)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
| 
        
        
         3.04 KB,
          patch         
       | 
      
           glandium
 :
              
              review+
           | 
      Details | Diff | Splinter Review | 
      No description provided.
        Attachment #657879 -
        Flags: review?(mh+mozilla)
          Comment 1•13 years ago
           
         | 
      ||
Can you do the same for nsAlertsIconListener?
          Comment 2•13 years ago
           
         | 
      ||
Comment on attachment 657879 [details] [diff] [review]
Patch v1
Review of attachment 657879 [details] [diff] [review]:
-----------------------------------------------------------------
::: webapprt/gtk2/webapprt.cpp
@@ +273,5 @@
>       * Passing the fourth argument as NULL is binary compatible.
>       */
> +    typedef void  (*notify_init_t)(const char*);
> +    typedef void* (*notify_notification_new_t)(const char*, const char*, const char*, const char*);
> +    typedef void  (*notify_notification_show_t)(void*, void*);
Since you're touching the second argument, you might as well make it a void ** (since it's a GError **).
        Attachment #657879 -
        Flags: review?(mh+mozilla) → review+
| Assignee | ||
          Comment 3•13 years ago
           
         | 
      ||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 18
          Updated•9 years ago
           
         | 
      
Product: Firefox → Firefox Graveyard
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•