diff options
author | monsta <[email protected]> | 2016-01-13 16:07:32 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-13 16:08:50 +0300 |
commit | f21f8e9197d414d069754b06ef2f2aad5270ed10 (patch) | |
tree | 87dd77fd2a7ff3893729f354cd4f125963fbc275 /capplets/about-me/mate-about-me.c | |
parent | 4f252b91221de56383ee6f7451b79c5b5edad41e (diff) | |
download | mate-control-center-f21f8e9197d414d069754b06ef2f2aad5270ed10.tar.bz2 mate-control-center-f21f8e9197d414d069754b06ef2f2aad5270ed10.tar.xz |
about-me: remove unused variables and functions
Diffstat (limited to 'capplets/about-me/mate-about-me.c')
-rw-r--r-- | capplets/about-me/mate-about-me.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/capplets/about-me/mate-about-me.c b/capplets/about-me/mate-about-me.c index 03d6331a..0d4607fd 100644 --- a/capplets/about-me/mate-about-me.c +++ b/capplets/about-me/mate-about-me.c @@ -66,21 +66,6 @@ typedef struct { static MateAboutMe *me = NULL; -/*** Utility functions ***/ -static void -about_me_error (GtkWindow *parent, gchar *str) -{ - GtkWidget *dialog; - - dialog = gtk_message_dialog_new (parent, - GTK_DIALOG_MODAL, GTK_MESSAGE_ERROR, - GTK_BUTTONS_OK, "%s", str); - - gtk_dialog_run (GTK_DIALOG (dialog)); - gtk_widget_destroy (dialog); -} - -/********************/ static void about_me_destroy (void) { @@ -120,16 +105,12 @@ about_me_load_photo (MateAboutMe *me) static void about_me_update_photo (MateAboutMe *me) { - GtkBuilder *dialog; gchar *file; GError *error; - gboolean result; guchar *data; gsize length; - dialog = me->dialog; - if (me->image_changed && me->have_image) { GdkPixbufLoader *loader = gdk_pixbuf_loader_new (); GdkPixbuf *pixbuf = NULL, *scaled = NULL; @@ -406,7 +387,6 @@ about_me_setup_dialog (void) GtkWidget *main_dialog; GtkIconInfo *icon; GtkBuilder *dialog; - GError *error = NULL; gchar *str; me = g_new0 (MateAboutMe, 1); |