Mercurial > pidgin
comparison src/gtkstatusbox.c @ 12816:ff267281e882
[gaim-migrate @ 15164]
Get rid of a compile warning by changing the definition of
(*GaimPrefCallback) to pass a gconstpointer val instead of
gpointer
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Wed, 11 Jan 2006 04:32:12 +0000 |
parents | 57d94c725dbc |
children | 0f40c44348f4 |
comparison
equal
deleted
inserted
replaced
12815:a8bffa7fb6ac | 12816:ff267281e882 |
---|---|
619 icon_size, "GtkGaimStatusBox"); | 619 icon_size, "GtkGaimStatusBox"); |
620 } | 620 } |
621 | 621 |
622 static void | 622 static void |
623 current_status_pref_changed_cb(const char *name, GaimPrefType type, | 623 current_status_pref_changed_cb(const char *name, GaimPrefType type, |
624 gpointer val, gpointer data) | 624 gconstpointer val, gpointer data) |
625 { | 625 { |
626 GtkGaimStatusBox *box = data; | 626 GtkGaimStatusBox *box = data; |
627 | 627 |
628 /* Make sure our current status is added to the list of popular statuses */ | 628 /* Make sure our current status is added to the list of popular statuses */ |
629 gtk_gaim_status_box_regenerate(box); | 629 gtk_gaim_status_box_regenerate(box); |
635 update_to_reflect_current_status(box); | 635 update_to_reflect_current_status(box); |
636 } | 636 } |
637 | 637 |
638 static void | 638 static void |
639 buddy_list_details_pref_changed_cb(const char *name, GaimPrefType type, | 639 buddy_list_details_pref_changed_cb(const char *name, GaimPrefType type, |
640 gpointer val, gpointer data) | 640 gconstpointer val, gpointer data) |
641 { | 641 { |
642 GtkGaimStatusBox *status_box = (GtkGaimStatusBox *)data; | 642 GtkGaimStatusBox *status_box = (GtkGaimStatusBox *)data; |
643 | 643 |
644 cache_pixbufs(status_box); | 644 cache_pixbufs(status_box); |
645 gtk_gaim_status_box_regenerate(status_box); | 645 gtk_gaim_status_box_regenerate(status_box); |
646 update_size(status_box); | 646 update_size(status_box); |
647 } | 647 } |
648 | 648 |
649 static void | 649 static void |
650 spellcheck_prefs_cb(const char *name, GaimPrefType type, | 650 spellcheck_prefs_cb(const char *name, GaimPrefType type, |
651 gpointer value, gpointer data) | 651 gconstpointer value, gpointer data) |
652 { | 652 { |
653 #ifdef USE_GTKSPELL | 653 #ifdef USE_GTKSPELL |
654 GtkGaimStatusBox *status_box = (GtkGaimStatusBox *)data; | 654 GtkGaimStatusBox *status_box = (GtkGaimStatusBox *)data; |
655 | 655 |
656 if (value) | 656 if (value) |