Page MenuHome GnuPG

214_0001-GtkSecureEntry-warning-fixes.patch
AbandonedPublic

Authored by agx on Apr 3 2009, 12:08 PM.

Details

Reviewers
None
Summary

From 89e254e9b58ec509f8ffc66bff0132fee96837a0 Mon Sep 17 00:00:00 2001
From: =?utf-8?q?Guido=20G=C3=BCnther?= <agx@sigxcpu.org>
Date: Fri, 3 Apr 2009 11:27:42 +0200
Subject: [PATCH] GtkSecureEntry warning fixes

  • gtk_secure_entry_state_changed: drop duplicate declaration
  • g_malloc: use G_SIZE_FORMAT for gsize type
  • g_malloc0: likewise
  • gtk_secure_entry_get_type: add missing initializer
  • gtk_secure_entry_delete_cb: drop, unused static function
  • gtk_secure_entry_toggle_overwrite: likewise
  • activate_cb: likewise
  • unichar_chosen_func: likewise
  • gtk_secure_entry_append_text: drop, deprecated in GtkEntry since 2.0 and missing declaration in gtksecentry.h
  • gtk_secure_entry_prepend_text: likewise
  • gtk_entry_set_position: likewise
  • gtk_entry_select_region: likewise
  • gtk_secure_entry_new_with_max_length: add missing declaration
  • gtk_secure_entry_layout_index_to_text_index: likewise
  • gtk_secure_entry_text_index_to_layout_index: likewise
  • declare unused parameters as G_GNUC_UNUSED --- gtk+-2/gtksecentry.c | 120 +++++++++------------------------------------ gtk+-2/gtksecentry.h | 8 +++ 2 files changed, 32 insertions(+), 96 deletions(-)

1.6.2.1

Test Plan

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped