Changeset 5101


Ignore:
Timestamp:
Feb 24, 2008, 3:46:51 PM (14 years ago)
Author:
charles
Message:

(gtk) use G_GNUC_PRINTF where appropriate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/util.h

    r5015 r5101  
    9494   otherwise show it when wind becomes mapped */
    9595void
    96 errmsg( GtkWindow * wind, const char * format, ... )
    97 #ifdef __GNUC__
    98     __attribute__ (( format ( printf, 2, 3 ) ))
    99 #endif
    100     ;
     96errmsg( GtkWindow * wind, const char * format, ... ) G_GNUC_PRINTF(2,3);
    10197
    10298/* create an error dialog but do not gtk_widget_show() it,
     
    104100GtkWidget *
    105101errmsg_full( GtkWindow * wind, callbackfunc_t func, void * data,
    106              const char * format, ... )
    107 #ifdef __GNUC__
    108     __attribute__ (( format ( printf, 4, 5 ) ))
    109 #endif
    110     ;
     102             const char * format, ... ) G_GNUC_PRINTF(4,5);
    111103
    112104/* varargs version of errmsg_full() */
Note: See TracChangeset for help on using the changeset viewer.