1 | /* |
2 | * This library is free software; you can redistribute it and/or |
3 | * modify it under the terms of the GNU Library General Public |
4 | * License as published by the Free Software Foundation; either |
5 | * version 2 of the License, or (at your option) any later version. |
6 | * |
7 | * This library is distributed in the hope that it will be useful, |
8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
10 | * Library General Public License for more details. |
11 | * |
12 | * You should have received a copy of the GNU Library General Public |
13 | * License along with this library. If not, see <http://www.gnu.org/licenses/>. |
14 | */ |
15 | |
16 | #include "config.h" |
17 | |
18 | #include <gtk/gtk.h> |
19 | |
20 | |
21 | G_MODULE_EXPORT void |
22 | statusbar_remove_all (GtkStatusbar *s) |
23 | { |
24 | gtk_statusbar_push (statusbar: s, context_id: 0, text: "One" ); |
25 | gtk_statusbar_push (statusbar: s, context_id: 0, text: "Two" ); |
26 | gtk_statusbar_remove_all (statusbar: s, context_id: 0); |
27 | } |
28 | |