source: branches/1.3x/gtk/actions.h @ 6489

Last change on this file since 6489 was 6489, checked in by charles, 14 years ago

(1.3x) lots of C correctness tweaks suggested by sparse/cgcc

  • Property svn:keywords set to Date Rev Author Id
File size: 883 bytes
Line 
1/*
2 * This file Copyright (C) 2007-2008 Charles Kerr <charles@rebelbase.com>
3 *
4 * This file is licensed by the GPL version 2.  Works owned by the
5 * Transmission project are granted a special exemption to clause 2(b)
6 * so that the bulk of its code can remain under the MIT license.
7 * This exemption does not extend to derived works not owned by
8 * the Transmission project.
9 *
10 * $Id: actions.h 6489 2008-08-11 19:05:00Z charles $
11 */
12
13#ifndef TR_ACTIONS_H
14#define TR_ACTIONS_H
15
16#include <gtk/gtk.h>
17#include "tr-core.h"
18
19void actions_init ( GtkUIManager * ui_manager, gpointer callback_user_data );
20
21void actions_set_core( TrCore * core );
22
23void action_activate ( const char * name );
24
25void action_sensitize ( const char * name, gboolean b );
26
27void action_toggle ( const char * name, gboolean b );
28
29GtkWidget* action_get_widget ( const char * path );
30
31void doAction( const char * action_name, gpointer user_data );
32
33#endif
Note: See TracBrowser for help on using the repository browser.