]> Pileus Git - ~andy/gtk/blobdiff - tests/testfontchooser.c
stylecontext: Do invalidation on first resize container
[~andy/gtk] / tests / testfontchooser.c
index be81e1b7131048385ce9482995172356a038b37b..a2f54e042eea2e1fdeefe05a84c511df09558e36 100644 (file)
@@ -12,9 +12,7 @@
  * 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., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see <http://www.gnu.org/licenses/>.
  */
 
 #include <gtk/gtk.h>
@@ -28,8 +26,8 @@ notify_font_cb (GtkFontChooser *fontchooser, GParamSpec *pspec, gpointer data)
 
   g_debug ("Changed font name %s", gtk_font_chooser_get_font (fontchooser));
 
-  family = gtk_font_chooser_get_family (fontchooser);
-  face = gtk_font_chooser_get_face (fontchooser);
+  family = gtk_font_chooser_get_font_family (fontchooser);
+  face = gtk_font_chooser_get_font_face (fontchooser);
   if (family)
     {
        g_debug ("  Family: %s is-monospace:%s",