code-

gboolean modify_content = TRUE;
  
        if (GTK_IS_MENU_BUTTON (button) ||
 -	  GTK_IS_LINK_BUTTON (button) ||
  	  GTK_IS_SCALE_BUTTON (button))
  	modify_content = FALSE;

**source- plugins/gtk+/glade-button-editor.c**

**GitHub link-https://github.com/GNOME/glade/pull/3/commits/f5291bad15cef1298f0e597314470154d125f2ee**