diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-11-25 22:20:59 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-11-25 22:20:59 (GMT) |
commit | b4d1a25a22371fa67c5d73bc8fcca08e045556f3 (patch) | |
tree | 9223e3de1e2d05933fe4230bd1b099df72712a1e /src/dialogs/binparts.c | |
parent | 7a42f3772ab31bb9c756fc5c5c86c531c04b1d70 (diff) |
Removed all references to old GTK stock icons and thus removed GCC warnings.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@428 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/dialogs/binparts.c')
-rw-r--r-- | src/dialogs/binparts.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dialogs/binparts.c b/src/dialogs/binparts.c index 708f364..2d86432 100644 --- a/src/dialogs/binparts.c +++ b/src/dialogs/binparts.c @@ -24,6 +24,9 @@ #include "binparts.h" +#include <i18n.h> + + #include <stdio.h> @@ -32,9 +35,6 @@ -#define _(str) str - - /* Colonnes de la liste des symboles */ typedef enum _PartsColumn @@ -269,10 +269,10 @@ GtkWidget *create_sections_dialog(GLoadedBinary *binary, GtkWindow *parent) /* Boutons de contrĂ´le principaux */ - button = qck_create_button_from_stock(NULL, NULL, "gtk-ok", G_CALLBACK(save_current_selection), ref); + button = qck_create_button(NULL, NULL, _("_Ok"), G_CALLBACK(save_current_selection), ref); gtk_container_add(GTK_CONTAINER(hbuttonbox1), button); - button = qck_create_button_from_stock(NULL, NULL, "gtk-cancel", G_CALLBACK(close_editor), result); + button = qck_create_button(NULL, NULL, _("_Cancel"), G_CALLBACK(close_editor), result); gtk_container_add(GTK_CONTAINER(hbuttonbox1), button); /* Actualisation de l'interface */ |