summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Davis <christopherdavis@gnome.org>2022-02-11 17:08:17 -0800
committerChristopher Davis <brainblasted@disroot.org>2022-02-12 01:17:33 +0000
commit1bc2078b0aecf35fd8caaa2a20d00e9223f20ca6 (patch)
treeb818658af08c2cf5ad6ef031ed8f1a80e30b762e
parent222570e1a7e12097a6c42053e4de1caa255a0d65 (diff)
downloadgnome-font-viewer-1bc2078b0aecf35fd8caaa2a20d00e9223f20ca6.tar.gz
font-view: Remove unused variables
-rw-r--r--src/font-view.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/font-view.c b/src/font-view.c
index f162567..8337192 100644
--- a/src/font-view.c
+++ b/src/font-view.c
@@ -974,9 +974,6 @@ font_view_application_do_open (FontViewApplication *self,
/* add install button */
if (self->install_button == NULL) {
- g_autoptr (GtkSizeGroup) install_size_group =
- gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
-
self->install_button = GTK_BUTTON (gtk_button_new ());
gtk_button_set_label (self->install_button, _ ("Install"));
gtk_widget_set_valign (GTK_WIDGET (self->install_button),
@@ -1208,7 +1205,7 @@ static void
ensure_window (FontViewApplication *self)
{
g_autoptr (GtkBuilder) builder = NULL;
- GtkWidget *swin, *box, *image;
+ GtkWidget *swin, *box;
GtkApplicationWindow *window;
GMenuModel *menu;