summaryrefslogtreecommitdiff
path: root/src/terminal-app.c
diff options
context:
space:
mode:
authorMark Thomas <[email protected]>2014-02-12 00:05:23 +0000
committerMark Thomas <[email protected]>2014-02-12 00:05:23 +0000
commitd6483a80a9eef3a9ba4ea1394558ebbaa39a7cbe (patch)
tree572dc84b68da056778ce6540d7e03247350b2232 /src/terminal-app.c
parent393743c91f597abe846057d0485a32b46cd5bb3c (diff)
downloadmate-terminal-d6483a80a9eef3a9ba4ea1394558ebbaa39a7cbe.tar.bz2
mate-terminal-d6483a80a9eef3a9ba4ea1394558ebbaa39a7cbe.tar.xz
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);