Changeset 2408

Show
Ignore:
Timestamp:
01/10/06 22:56:38
Author:
chipx86
Message:

Fix some C99 usage.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/libnotify-ng/ChangeLog

    r2404 r2408  
     1Tue Jan 10 22:55:35 PST 2006  Christian Hammond <chipx86@chipx86.com> 
     2 
     3    * tests/test-default-action.c: 
     4    * tools/notify-send.c: 
     5      - Fix some C99 usage. 
     6 
    17Tue Jan 10 16:20:27 MST 2006  David Trowbridge <trowbrds@gmail.com> 
    28 
  • trunk/libnotify-ng/tests/test-default-action.c

    r2391 r2408  
    5050{ 
    5151        NotifyNotification *n; 
     52    DBusConnection *conn; 
    5253 
    5354    if (!notify_init("Default Action Test")) exit(1); 
    5455 
    55     DBusConnection *conn = dbus_bus_get(DBUS_BUS_SESSION, NULL); 
     56    conn = dbus_bus_get(DBUS_BUS_SESSION, NULL); 
    5657    loop = g_main_loop_new(NULL, FALSE); 
    5758 
  • trunk/libnotify-ng/tools/notify-send.c

    r2372 r2408  
    4545        NotifyNotification *notify; 
    4646 
    47         g_type_init ();  
    48  
    4947    struct poptOption options[] = 
    5048    { 
     
    6664        POPT_TABLEEND 
    6765    }; 
     66 
     67        g_type_init ();  
    6868 
    6969    opt_ctx = poptGetContext("notify-send", argc, argv, options, 0);