* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the Free
- * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * License along with this library; if not, write to the
+ * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ * Boston, MA 02111-1307, USA.
*/
#include <stdlib.h>
#include <string.h>
static const gchar *tooltips_data_key = "_GtkTooltipsData";
guint
-gtk_tooltips_get_type ()
+gtk_tooltips_get_type (void)
{
static guint tooltips_type = 0;
sizeof (GtkTooltipsClass),
(GtkClassInitFunc) gtk_tooltips_class_init,
(GtkObjectInitFunc) gtk_tooltips_init,
- (GtkArgSetFunc) NULL,
- (GtkArgGetFunc) NULL,
+ /* reversed_1 */ NULL,
+ /* reversed_2 */ NULL,
+ (GtkClassInitFunc) NULL,
};
tooltips_type = gtk_type_unique (gtk_data_get_type (), &tooltips_info);
}
GtkTooltips *
-gtk_tooltips_new ()
+gtk_tooltips_new (void)
{
return gtk_type_new (gtk_tooltips_get_type ());
}
-void
+static void
gtk_tooltips_free_string (gpointer data, gpointer user_data)
{
if (data)
switch (event->type)
{
case GDK_MOTION_NOTIFY:
+ case GDK_EXPOSE:
/* do nothing */
break;