summaryrefslogtreecommitdiff
path: root/src/terminal-app.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-02-17 10:59:47 +0100
committerStefano Karapetsas <[email protected]>2014-02-17 10:59:47 +0100
commit43895e3aa9292d6e7a429126527cc43f50b93483 (patch)
tree248c9f73e9e9ae30c4714127aa29774bdcfc52b5 /src/terminal-app.c
parentdafab9dd2196739bf283ac0207a60168734e3105 (diff)
parentd6483a80a9eef3a9ba4ea1394558ebbaa39a7cbe (diff)
downloadmate-terminal-43895e3aa9292d6e7a429126527cc43f50b93483.tar.bz2
mate-terminal-43895e3aa9292d6e7a429126527cc43f50b93483.tar.xz
Merge pull request #55 from markbt/warnings
Fix some warnings.
Diffstat (limited to 'src/terminal-app.c')
-rw-r--r--src/terminal-app.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/terminal-app.c b/src/terminal-app.c
index 91b3d02..caf3533 100644
--- a/src/terminal-app.c
+++ b/src/terminal-app.c
@@ -364,7 +364,6 @@ terminal_app_get_profile_liststore (TerminalApp *app,
GtkListStore *store;
GtkTreeIter iter;
GList *profiles, *l;
- TerminalProfile *default_profile;
store = gtk_list_store_new (NUM_COLUMNS, TERMINAL_TYPE_PROFILE);
@@ -375,7 +374,6 @@ terminal_app_get_profile_liststore (TerminalApp *app,
selected_profile = NULL;
profiles = terminal_app_get_profile_list (app);
- default_profile = terminal_app_get_default_profile (app);
for (l = profiles; l != NULL; l = l->next)
{
@@ -976,7 +974,6 @@ terminal_app_enable_mnemonics_notify_cb (GSettings *settings,
gpointer user_data)
{
TerminalApp *app = TERMINAL_APP (user_data);
- GVariant *settings_value;
gboolean enable;
enable = g_settings_get_boolean (settings, key);
@@ -1311,8 +1308,6 @@ G_DEFINE_TYPE (TerminalApp, terminal_app, G_TYPE_OBJECT)
static void
terminal_app_init (TerminalApp *app)
{
- GError *error = NULL;
-
global_app = app;
gtk_window_set_default_icon_name (MATE_TERMINAL_ICON_NAME);